Fast micromirror selection and angle setting algorithm for freeform pupil in the illumination system for immersion lithography machines Authors: Zhenxin Huang, Zenghui Yang, Aijun Zeng Published: 2025 ABSTRACT As lithography resolution improves, the performance requirements for illumination pupils in immersion lithography machines have become increasingly stringent, particularly regarding energy balance and polarization properties. These characteristics are primarily achieved by adjusting the angular distribution of the micromirror array (MMA). For technology nodes below 40 nm, the impact of light polarization on imaging must be considered. This paper proposes a micro-mirror selection and angle setting algorithm to maintain key characteristics of the freeform pupil, ensuring energy balance in both unpolarized and polarized states. Energy balance in the unpolarized state is influenced by the eccentricity of light, while energy balance in the polarized state depends on both the eccentricity and polarization properties of light. To validate the accuracy of the algorithm, simulations were conducted using freeform pupil illumination optical models for both unpolarized and polarized states. The results demonstrated a significant improvement in energy balance, with a reduction to 0.08% in both states. For engineering applications, the computational speed of the algorithm was enhanced, reducing the calculation time from 600 to 0.1 s.Supplementary InformationThe online version contains supplementary material available at 10.1038/s41598-025-26968-0. Introduction Lithography techniques are categorized into electron beam lithography, ion beam lithography, X-ray lithography, nanoimprint lithography, laser direct writing technology, holographic lithography1, and optical lithography. These can be utilized in chip manufacturing and processing of metasurface components2. However, apart from optical lithography technology, the exposure efficiencies of these methods are relatively low, rendering them unsuitable for large-scale industrial production. Optical lithography has been widely applied in large-scale integrated circuit manufacturing production lines owing to its highly efficient exposure performance. Typical optical lithography techniques include contact lithography, proximity lithography, step-and-repeat projection lithography, step-and-scan projection lithography, and extreme ultraviolet lithography3. As the feature sizes of integrated circuits scale down to 28 nm and below, immersion lithography machines have emerged as the mainstream equipment for fabricating ultra-large-scale integrated circuits. With improvements in lithography resolution, the‌immersion lithography machine has higher demands for the performance index of the illumination pupil, such as energy balance and polarization performance. The methods of pupil generation using an ‌Immersion Lithography Machine are mainly divided into optical paths based on optical diffraction elements (DOE) and optical paths based on micromirror arrays (MMAs). In contrast to optical-diffraction-based elements, any pupil illumination mode (freeform pupil illumination) can be achieved without replacing the optical shaping unit element of a lithography machine illumination system. Lighting can be categorized into illumination with a polarized state and illumination without a polarized state, where non-polarized illumination can be converted into polarized illumination4. Below the 40-nm technology node, the impact of light polarization characteristics on imaging must be considered. Liu Yong conducted a polarization imaging analysis under a large numerical aperture5. In their doctoral thesis, Zhou Ruyi discussed the polarization design and simulation of an immersed lithography lighting system in detail6. In addition, Du Meng described the application of micromirror arrays in beam shaping7. Moreover, Zeng Zongshun proposed an algorithm to calculate the distribution of spot positions according to pupil distribution8.In addition, a preliminary analysis of the position relationship between the subpupil and micromirror in the MMA in the unpolarized state was presented; however, but did not solve the problem of uneven polarization performance caused by the tilt of light. Yu elaborated on an evaluation method for pupil characteristic parameters in his paper9. Huang Zhenxin proposed a partition algorithm; however, its calculation speed was insufficient for practical product applications. Moreover, it did not explain the spot position and micromirror angle conversion relationship10. Micromirror arrays achieve off-axis illumination primarily by controlling each micromirror in the array.Deflection in the two-dimensional direction modulates the spatial angle of the light incident on the micromirror. This technology was first proposed and applied by ASML11.ASML is strictly confidential about how it ensures pupil energy balance.Jörg from Zeiss studied methods for evaluating the difference between free-pupil illumination and the target pupil12 (both through parameter fitting and by calculating the pupil CD difference), but did not investigate the pupil’s polarization performance. It’s worth noting that ASML’s illumination system is provided by Zeiss.This paper builds on the pupil characteristic parameter method, elucidates the relationship between spot position and micromirror angle conversion, and proposes a fast partitioning algorithm—analogous to reinforcement learning13—that ensures energy balance in both unpolarized and polarized states. Pupil mode The immersion lithography lighting pupil includes a dipole, quadrupole, ring, and custom lighting. This is primarily due to the use of off-axis lighting, which plays an important role in improving lithography resolution and enhancing focal depth. The light intensity distribution on the pupil for the various lighting methods is as follows Fig. 1: Fig. 1Schematic diagram of the light intensity distribution on the pupil by various lighting modes14. Schematic diagram of the light intensity distribution on the pupil by various lighting modes14. Polarized illumination. Polarized illumination. Polarized illumination. In traditional lithography imaging, the polarization characteristic of light is not a factor to be considered. At this time, the CD (P/2) of the graph on the mask is much greater than the wavelength of the exposure source(CD represents critical dimension and P represents the minimum period of dense lines on the mask), and the incidence angle of the exposure light on the wafer surface (θ = arcsin (λ/P))) is minute. The imaging difference between the polarized and unpolarized light is negligible. Below the 40-nm technical node, the CD on the mask approaches 160 mm, which is less than the wavelength of the exposure light source (193 nm). The numerical aperture of the 193-nm‌immersion lithography machine has reached 1.35 by injecting water between the lens and the wafer. A larger numerical aperture implies that the incident angle of light on the surface of the wafer is larger during exposure. Using NA = 1.35 exposure, for example, the maximum angle of incidence of the exposure beam on the wafer surface is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\theta _{\hbox{max} }}$$\end{document}, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\theta _{{\text{max}}}}={\text{arcsin}}\left( {NA/{\text{n}}} \right)={69.6^ \circ }$$\end{document}, At this point, the influence of the polarization properties of the light on the imaging must be considered. The figure below presents a schematic diagram of interference with different polarizations14. Fig. 2Interference of different polarizations1. Interference of different polarizations1. Assume that the complex amplitudes of the two coherent light beams are\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${E_1}$$\end{document}and\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${E_2}$$\end{document}, respectively, and their angles with the normal to the imaging plane are\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\alpha$$\end{document}and\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\text{-}}\alpha$$\end{document}. The light intensity distribution on the imaging plane is the coherent superposition of the two beams. For s-polarization, as shown in Figure (a) above, the two beams have the same polarization direction, and their interference intensity distribution is1\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${I_s}={\left| {{E_1}+{E_2}} \right|^2}={\left| {{E_1}} \right|^2}+{\left| {{E_2}} \right|^2}+2R{\text{e}}\left\{ {{E_1}{E_2}^{{\text{*}}}} \right\}$$\end{document} Its contrast ratio2\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${C_s}=\frac{{{I_{s\hbox{max} }} - {I_{s\hbox{min} }}}}{{{I_{s\hbox{max} }}+{I_{s\hbox{min} }}}}=\frac{{2\left| {{E_1}} \right|\left| {E2} \right|}}{{{{\left| {{E_1}} \right|}^2}+{{\left| {{E_2}} \right|}^2}}}$$\end{document} For p-polarization, as shown in Fig. 2 (b) above, the two beams have an angle of 2a between their polarization directions, and their interference intensity distribution is3\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${I_s}={\left| {{E_1}\cos \alpha +{E_2}\cos \alpha } \right|^2}+{\left| {{E_1}\sin \alpha - {E_2}\sin \alpha } \right|^2}={\left| {{E_1}} \right|^2}+{\left| {{E_2}} \right|^2}+2R{\text{e}}\left\{ {{E_1}{E_2}^{{\text{*}}}} \right\}\cos 2\alpha$$\end{document} Its contrast ratio4\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${C_s}=\frac{{{I_{p\hbox{max} }} - {I_{p\hbox{min} }}}}{{{I_{p\hbox{max} }}+{I_{p\hbox{min} }}}}=\frac{{2\left| {{E_1}} \right|\left| {E2} \right|}}{{{{\left| {{E_1}} \right|}^2}+{{\left| {{E_2}} \right|}^2}}}\cos 2\alpha$$\end{document} Fig. 3Interference imaging of two beams (the electric field intensity E of the incident light can be decomposed into two perpendicular components—TE and TM)15. Interference imaging of two beams (the electric field intensity E of the incident light can be decomposed into two perpendicular components—TE and TM)15. The image contrast created by the TE component (s-light) does not change with increasing incident angle; the contrast of the TM (p-light) component decreases with increasing incident angle. The figure on the left shows the variation of image contrast with incident angle under different polarization conditions. At an incident angle of 45°, the image contrast of the TM component is zero. Unpolarized light contains both TE and TM components. As the incident angle increases, the image contrast of TM gradually disappears, while the image contrast of TE remains. Therefore, the image contrast of unpolarized light is between TE and TM. Higher image contrast improves the quality of lithographic patterns and expands the lithography process window. Figures 3, 4 shows the imaging contrast under different polarization states, and Fig. 5 shows the curve of imaging contrast changing with the incident angle under different polarization conditions. Figure 6 shows olarization models for illumination pupil. Fig. 4Image contrast under different polarization states15. Image contrast under different polarization states15. Fig. 5Curves showing how imaging contrast ((Imax-Imin) (Imax + Imin)) changes with incident angle under different polarization conditions15. Curves showing how imaging contrast ((Imax-Imin) (Imax + Imin)) changes with incident angle under different polarization conditions15. Fig. 6Polarization models for illumination pupil. Polarization models for illumination pupil. Freeform pupil illumination Freeform Pupil illumination technology realizes arbitrary illumination patterns of the beam by adjusting the angular spectrum of the MMA. The pupil intensity distribution is formed by the superposition of the subspots formed by thousands of micromirrors on the pupil plane. In the ‌Immersion Lithography Machine, the freeform pupil illumination module is mainly composed of polarization purification components, polarization control components, energy equalization components, beam segmentation components, the MMA unit, and the Fourier transform unit. In the Fig. 7, the polarization-purified component realizes the onset bias of the incident light, and the polarization-control component is used to control the generation of different polarization states, thereby realizing the conversion of the X- and Y-polarization modes. The energy equalization component (Homogenization unit) is composed of an imaging microlens array and light condenser lens, which homogenize the incident light to weaken or eliminate the influence of uneven beam intensity distribution or fluctuation on the intensity distribution of the pupil. The beam-segmentation component (BDE) consists of a microlens array on which the incident beam is segmented and clustered to reduce the requirement for the micromirror reflection surface duty cycle in the MMA. The MMA is located at the rear focal surface of the beam segmentation assembly and coincides with the incoming pupil plane of the Fourier-transform lens assembly. The Fourier transform lens component can perform a Fourier transform, combined with MMA, to form the desired freeform pupil intensity distribution on the rear focal plane8. Fig. 7Schematic diagram of the freeform pupil illumination module. (a) Freeform pupil illumination module, (b) Spot produced by the micro-mirror angle set. Schematic diagram of the freeform pupil illumination module. (a) Freeform pupil illumination module, (b) Spot produced by the micro-mirror angle set. In the Fig. 8, the four sub-beams on the pupil plane are distributed in space about the optical axis, leading to a large telecentricity of the sub-spot beam on the pupil plane (calculated according to the centroid after each sub-beam combination). In Fig. 8(b), the four sub-beams formed on the pupil plane are spatially symmetrically distributed about the optical axis, improving the distance of the outgoing beam on the pupil plane. Fig. 8Schematic diagram of MMA subspot formation on the pupil surface: (a) unpartitioned angle position distribution algorithm, and (b) partitioned angle position distribution algorithm. Schematic diagram of MMA subspot formation on the pupil surface: (a) unpartitioned angle position distribution algorithm, and (b) partitioned angle position distribution algorithm. It is necessary not only to calculate the angular position data of each micromirror on the MMA of the micromirror array but also to calculate the corresponding angular position distribution of the MMA of the corresponding pupil point. Computational relationship between light spot position and micromirror turn angle According to the design of optical components, the basic coordinate system\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_B}{x_B}{y_B}{z_B}$$\end{document}, global coordinate system \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{whole}}{x_{whole}}{y_{whole}}{z_{whole}}$$\end{document}, and micromirror substrate coordinate system \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{mir}}{x_{mir}}{y_{mir}}{z_{mir}}$$\end{document} are established, in which,\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_B}$$\end{document}, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{whole}}$$\end{document}, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{mir}}$$\end{document}, and O are the same point, and the optical pupil surface coordinate system \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{\text{P}}}{x_{\text{P}}}{y_P}{{\text{z}}_{\text{P}}}$$\end{document} is established simultaneously. Figure 9 presents a schematic diagram of the position relationship of each coordinate system, where yellow is the basic coordinate system \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_B}{x_B}{y_B}{z_B}$$\end{document}, red is the global coordinate system \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{whole}}{x_{whole}}{y_{whole}}{z_{whole}}$$\end{document}, black is the micromirror coordinate system \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{mir}}{x_{mir}}{y_{mir}}{z_{mir}}$$\end{document}, and the x-axis is inward. The green line represents the incident light, and the blue line represents the reflected light. According to the right-hand rule (the figure is clockwise), the angle between the coordinate systems of the micromirror substrate and the basic coordinate system is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\theta _T}$$\end{document}, and the Fourier optical axis coincides with the global coordinate system. The angle between the global and basic coordinate systems is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$2{\theta _T}$$\end{document}, and the angle between the micromirror substrate and global coordinate systems is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\text{-}}{\theta _T}$$\end{document}. Fig. 9Schematic diagram of the position relationship of each coordinate system. Schematic diagram of the position relationship of each coordinate system. Figure 10 presents a schematic of the relationship between the central coordinates of the spot and the reflected light, where R represents the projection of the reflected light in the corresponding plane. Thus, the reflected light can establish an accurate ideal function relationship with the central coordinates of a spot. Fig. 10Schematic diagram of the relationship between light spot coordinates and reflected light. Schematic diagram of the relationship between light spot coordinates and reflected light. As shown in the figure above, according to the design requirements of the Fourier transform unit, the front focal surface of the Fourier transform lens group coincides with the reflection surface of the micromirror in the MMA, and the rear focal surface coincides with the optical pupil surface. Based on the corner range of the MMA and the diameter of the pupil surface, DP, the focal length f of the Fourier transform lens group can be calculated as follows:5\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${f_F}=\frac{{{D_P}/2}}{{\sin (2{\theta _M})}}$$\end{document} where θM is the deflection angle of the micromirror. To transform the reflected light and the reflected light into the micromirror coordinate system, a spatial transformation algorithm of the coordinate system is required. (1) Introduction of the rotation matrix, according to the Euclidian space transformation theory: Rotation around the x-axis:\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\alpha$$\end{document}6\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${R_x}=\left[ {\begin{array}{*{20}{c}} 1&0&0 \\ 0&{\cos \alpha }&{ - \sin \alpha } \\ 0&{\sin \alpha }&{\cos \alpha } \end{array}} \right]$$\end{document} Rotation around the y-axis:\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta$$\end{document}7\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${R_{\text{y}}}=\left[ {\begin{array}{*{20}{c}} {\cos \beta }&0&{\sin \beta } \\ 0&1&0 \\ {{\text{-}}\sin \beta }&0&{\cos \beta } \end{array}} \right]$$\end{document} As shown in the Fig. 11, the global coordinate system overlaps with the world coordinate system when rotated clockwise (the positive direction). To convert a vector from the to world coordinate system into the global coordinate system, apply the clockwise rotation; to convert from the global coordinate system back to the world coordinate system, apply the inverse rotation (counterclockwise) According to the left-hand rule, rotations from the starting axis to the ending axis in the clockwise direction are negative, while those in the counterclockwise direction are positive. The unit vector of the Z axis represents the attitude of the coordinate system and the position of the origin of the z-axis indicates the position of the coordinate system. For example, the attitude of micromirror matrix in its coordinate system is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${U_{mir}}={\left[ {\begin{array}{*{20}{c}} 0&0&1 \end{array}} \right]^T}$$\end{document}. (2) Conversion of incident light lines and reflected light to the micromirror substrate coordinate system. Conversion of the base coordinate system to the micromirror substrate coordinate system (for transformation of incident light lines):\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\theta ={\theta _T}$$\end{document}8\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${U_{mir}}={R_x} {\theta _T}\bullet {U_B}$$\end{document} Global coordinate system conversion to a micromirror substrate coordinate system (for transformation of reflected light):\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\theta ={\text{-}}{\theta _T}$$\end{document}9\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${U_{mir}}={R_x}{\text{-}}{\theta _T}\bullet {U_{whole}}$$\end{document} As shown in Fig. 11, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${O_{\text{P}}}{x_{\text{P}}}{y_P}{{\text{z}}_{\text{P}}}$$\end{document} is the schematic diagram of the projection relationship of the optical path coordinate system, which is the pupil plane coordinate system. Thus, the center of the spot falls on the position corresponding to the pupil surface coordinate system through the rotation of the micromirror mirror. Fig. 11Schematic diagram of the projection relationship from the optical-path coordinate system to the global coordinate system. Schematic diagram of the projection relationship from the optical-path coordinate system to the global coordinate system. The direction vector of the reflected ray in Fig. 11 (Corresponding to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathop b\limits^{ \to }$$\end{document} in Fig. 12) is calculated as10\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathop b\limits^{ \to } =\left[ {{\text{-}}{x_P},{\text{-}}{y_P},{f_F}} \right]={f_F} \bullet \left[ {{\text{-}}\tan {\theta _x} {\text{-}}\tan {\theta _y} 1} \right]$$\end{document} Fig. 12Schematic of the light reflection. Schematic of the light reflection. Therefore, for a known incident light(\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathop a\limits^{ \to }$$\end{document}) in Fig. 12, the normal(\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathop n\limits^{ \to }$$\end{document}) in Fig. 12 is determined using the following equation:11\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ \begin{gathered} - \frac{{\mathop a\limits^{ \to } }}{{\left| {\mathop a\limits^{ \to } } \right|}}+\frac{{\mathop b\limits^{ \to } }}{{\left| {\mathop b\limits^{ \to } } \right|}}=\mathop n\limits^{ \to } \hfill \\ \mathop n\limits^{ \to } =\frac{{\mathop n\limits^{ \to } }}{{\left| {\mathop n\limits^{ \to } } \right|}} \hfill \\ \end{gathered} \right.$$\end{document} The angle between two planes is given by:12\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\text{cos}}\theta ={\text{cos}}\left( {\mathop {\begin{array}{*{20}{c}} {{n_1}}&{{n_2}} \end{array}}\limits^{ \wedge } } \right)=\frac{{{{\mathop n\limits^{ \to } }_{_{1}}} \bullet \mathop {{n_2}}\limits^{ \to } }}{{\left| {{{\mathop n\limits^{ \to } }_{_{1}}}} \right| \bullet \left| {\mathop {{n_2}}\limits^{ \to } } \right|}}=\frac{{{A_1}{A_2}+{B_1}{B_2}+{C_1}{C_2}}}{{\sqrt {{A_1}^{2}+{B_1}^{2}+{C_1}^{2}} \bullet \sqrt {{A_2}^{2}+{B_2}^{2}+{C_2}^{2}} }}$$\end{document} Here, nX = [1, 0, 0] and nY = [0, 1, 0] are the normal vectors to the yoz and xoz planes, and θX and θY denote the micromirror rotation angles about the x- and y-axes, respectively:\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\alpha$$\end{document}and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta$$\end{document}.13\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\alpha ={\text{arcsin}}\frac{{\mathop n\limits^{ \to } \bullet \mathop {{n_ - }X}\limits^{ \to } }}{{\left| {\mathop n\limits^{ \to } } \right|\left| {\mathop {{n_ - }X}\limits^{ \to } } \right|}},\beta ={\text{arcsin}}\frac{{\mathop n\limits^{ \to } \bullet \mathop {{n_ - }Y}\limits^{ \to } }}{{\left| {\mathop n\limits^{ \to } } \right|\left| {\mathop {{n_ - }Y}\limits^{ \to } } \right|}}$$\end{document}, Micro-mirror select and angle set algorithm design Algorithm design For the MMA in Fig. 13, the coordinates of the K points are, fX, and fY, which represent the point functions at the X and Y positions, respectively, and we can define the end of R and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\theta$$\end{document} to change the starting point. Similarly, for the pupil plane(angle set), the coordinates of N points are (XN, YN), gX, and gY, representing the point function at the X and Y position point functions, respectively, and we can define the end of R and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\theta$$\end{document} to change the starting point. Figure 13 shows the schematic diagram of point-taking and queue generation14\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{array}{l}{X_K} = {f_X}(R,\theta )\\{Y_K} = {f_Y}(R,\theta )\end{array}, \begin{gathered} {X_N}={g_X}(R,\theta ) \hfill \\ {Y_N}={g_Y}(R,\theta ) \hfill \\ \end{gathered}$$\end{document} Fig. 13Schematic diagram of point-taking and queue generation. Schematic diagram of point-taking and queue generation. Four cohorts were generated on each of the four quadrants. Figure 14 shows the schematic representation of the cohort classification.15\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ \begin{gathered} \left( {{X_{{K_1}}},{Y_{{K_1}}}} \right) \hfill \\ \left( {{X_{{K_2}}},{Y_{{K_2}}}} \right) \hfill \\ \left( {{X_{{K_3}}},{Y_{{K_3}}}} \right) \hfill \\ \left( {{X_{{K_4}}},{Y_{{K_4}}}} \right) \hfill \\ \end{gathered} \right.,\left\{ \begin{array}{l}\left( {{X_{{N_1}}},{Y_{{N_1}}}} \right)\\\left( {{X_{{N_2}}},{Y_{{N_2}}}} \right)\\\left( {{X_{{N_3}}},{Y_{{N_3}}}} \right)\\ \left( {{X_{{N_4}}},{Y_{{N_4}}}} \right)\end{array} \right.$$\end{document} Fig. 14Schematic representation of the cohort classification. Schematic representation of the cohort classification. The following formula are the mapping relation of micromirror and pupil surface:16\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{array}{*{20}{c}} {{K_1}}& \to &{{N_1}} \\ {{{(K+1)}_1}}& \to &{{N_2}} \\ {{{(K+2)}_2}}& \to &{{N_3}} \\ {{{(K+3)}_3}}& \to &{{N_4}} \\ {{K_2}}& \to &{{{(N+1)}_1}} \\ \ldots & \to & \ldots \\ {{K_4}}& \to &{{{(N+3)}_1}} \\ \ldots & \to & \ldots \\ { (K+ (M{\text{-}}1) \times 4){ _1}}& \to &{ (N+ (N{\text{-}}1) \times 4){ _1}} \\ \ldots & \to & \ldots \end{array}$$\end{document} Fast partitioning algorithm Constraints The physical quantity IPS (intensity in preferred state) is often used to describe the percentage of polarized light in the total illumination intensity. The higher the IPS, the better the image contrast. Generally, IPS greater than 95% is required. Therefore, the IPS at each position can be used to represent the polarized light intensity. According to the overall structure of the free pupil illumination module, the reflected light within the same radius from the center point of the MMA has the same beam inclination angle incident on the polarization conversion component, so the polarization performance change caused by the beam inclination is also the same. Based on this, in order to ensure the polarization pupil’s polarization balance, the following three constraints are proposed for the MMA angular position algorithm. (1) Points are taken along the circumferential direction of the same radius in the MMA and placed at the symmetrical positions of the four poles to ensure the balance of the four poles. Figure 15 shows an example of 45° quadrupole illumination. Points 1, 2, 3, and 4 on the MMA correspond to the four symmetrical points on the pupil. Fig. 15Take adjacent points on a circle with the same radius and distribute them symmetrically on the pupil plane. Take adjacent points on a circle with the same radius and distribute them symmetrically on the pupil plane. (2) Based on requirement (1), other points on the same radius or the closest radius are placed along the tangential direction of each pole. This can ensure the intra-pole balance of each pole as much as possible, mainly referring to the XY polar balance. Figure 16 uses 45° quadrupole illumination as an example. The five points on the MMA correspond to a tangential position on each pole. Fig. 16Place points on the same circle tangentially in the extreme inner direction. Place points on the same circle tangentially in the extreme inner direction. (3) As shown in Fig. 17, as the incident angle increases, the IPS changes in the form of a parabola. The smaller the incident angle, the less obvious the polarization performance change caused by the incident angle difference. In order to reduce the difference in polar balance caused by the incident angle difference, on the basis of meeting requirements (1) and (2), points are taken as much as possible along the center of the MMA outward to ensure that the incident angle of each point in the pole is as small as possible. Fig. 17Direct relationship between incident angle and IPS change. Direct relationship between incident angle and IPS change. Algorithm design The basic principle of the fast partition algorithm is to record the mapping relationship of all positions on the pupil surface and then extract the corresponding position, which is determined according to the center of the spot position of the pupil. The detailed process of the fast partition algorithm is a follows:\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D(X,Y)$$\end{document}17\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ \begin{gathered} {X_K} \in {D_X} (X,Y) \hfill \\ {Y_K} \in {D_Y} (X,Y) \hfill \\ \end{gathered} \right.$$\end{document} As shown in Fig. 18, the value in “seci” represents the number of light spots at this position, that is, how many micromirrors are pointing to this position. The value in “priority” represents the order in which microreflections are assigned to this position on the pupil surface relative to other positions(Fig. 19). If the value is small, the micromirror is assigned to this position first.“reorder” means removing invalid data and reordering them.The essence of this is to calculate the order of all positions in advance, and then directly map them to the ones that are actually needed. This enhancement is mainly reflected in calculating all the data in advance. Fig. 18Generation of the actual optical pupil queue matrix. Generation of the actual optical pupil queue matrix. Fig. 19Generation of the ranking matrix. Generation of the ranking matrix. The corresponding relationship between micro mirrors and spot positions is as follows(Figs. 20 and 21): Fig. 20Schematic of the spot position mapping for microscopy and pupil surface. Schematic of the spot position mapping for microscopy and pupil surface. Fig. 21MMA and pupil planeposition tracing. MMA and pupil planeposition tracing. Evaluation method of optical pupil energy balance5 The energy uniformity of the light-intensity distribution in the unpolarized state was quantified by four metrics: ellipticity, X-axis balance, Y-axis balance, and four-quadrant balance. A schematic diagram showing the division of the pupil regions is presented below. Fig. 22Schematic diagram of the pupil region division. Schematic diagram of the pupil region division. Pupil ellipticity was divided into HV and ST pupil ellipticities. The HV pupil ellipticity is defined as the difference in energy between the X- and Y-directions on the pupil surface and can be expressed as18\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Ellipticity\_HV=\left| {\frac{{E\left( Y \right)}}{{E\left( X \right)}} - 1} \right| \times 100\%$$\end{document} where E (X) and E (Y) represent the total integrated energies in the X and Y directions, respectively.The X- and Y-direction regions were divided as shown in Fig. 22. The ST pupil ellipticity is defined as the difference in energy between the S and T directions on the pupil surface and can be expressed as19\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Ellipticity\_ST=\left| {\frac{{E\left( T \right)}}{{E\left( S \right)}} - 1} \right| \times 100\%$$\end{document} where E (S) and E (T) represent the total energies of regions S and T, respectively. The S- and T-direction regions were divided as shown in Fig. 22. The pupil pole balance in the X-direction is defined as the energy difference between the X-positive and X-negative directions, and can be expressed as20\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Non - balance~X=\frac{{\left| {E\left( {X+} \right) - E\left( {X - } \right)} \right|}}{{E\left( {X+} \right)+E\left( {X - } \right)}} \times 100\%$$\end{document} where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Non - balance~Y=\frac{{\left| {E\left( {Y+} \right) - E\left( {Y - } \right)} \right|}}{{E\left( {Y+} \right)+E\left( {Y - } \right)}} \times 100\%$$\end{document}E (X +) and E (X-) represent the total integrated energy in the positive and negative X-direction regions of the pupil, respectively. The Y-direction pupil polar balance is defined as the difference in integrated energy between the positive and negative Y-direction regions of the pupil surface and can be expressed as21\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Non - balance~Y=\frac{{\left| {E\left( {Y+} \right) - E\left( {Y - } \right)} \right|}}{{E\left( {Y+} \right)+E\left( {Y - } \right)}} \times 100\%$$\end{document} where E (Y +) and E (Y–) represent the integrated total energy in the positive and negative Y-direction regions, respectively. Four-quadrant pupil pole balance is evaluated in two orientations: 0° and 45°. 0° four-quadrant balance is defined as:22\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Non - balance{\text{~}}quad\_0\operatorname{degree} =\frac{{\hbox{max} \left( {E\left( {{\text{S}}1} \right) \ldots E\left( {{\text{T}}2} \right)} \right) - \hbox{min} \left( {E\left( {{\text{S}}1} \right) \ldots E\left( {{\text{T}}2} \right)} \right)}}{{\hbox{max} \left( {E\left( {{\text{S}}1} \right) \ldots E\left( {{\text{T}}2} \right)} \right)+\hbox{min} \left( {E\left( {{\text{S}}1} \right) \ldots E\left( {{\text{T}}2} \right)} \right)}}$$\end{document} where E (S 1), E (S2), E (T1), and E (T2) represent the integral total energies in regions S1, S 2, T1, and T2, respectively, as shown in Fig. 22. The 45° four-quadrant pupil pole balance is defined as:23\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$Non - balance{\text{~}}quad\_45\operatorname{degree} =\frac{{\hbox{max} \left( {E\left( {{\text{X1}}} \right) \ldots E\left( {{\text{Y2}}} \right)} \right) - \hbox{min} \left( {E\left( {{\text{X1}}} \right) \ldots E\left( {{\text{Y2}}} \right)} \right)}}{{\hbox{max} \left( {E\left( {{\text{X1}}} \right) \ldots E\left( {{\text{Y2}}} \right)} \right)+\hbox{min} \left( {E\left( {{\text{X1}}} \right) \ldots E\left( {{\text{Y2}}} \right)} \right)}}$$\end{document} where E (X1), E (X2), E (Y1), and E (Y2) represent the integrated total energies of regions X1, X2, X3, and X4, respectively, as shown in Fig. 22. Simulation, validation and analysis Simulation Based on the optical design of the FreeForm Pupil illumination module (FFP), a simulation model was established using LightTools software. The optical path diagram of the simulation is shown in the following figure(Figs. 23 and 24): Computer configuration: Processor Intel(R) Core(TM) i7-7700HQ CPU @ 2.80 GHz 2.80 GHz; Machine with RAM 24.0 GB. Software configuration: LightTools 8.7.0 and ASAP 2019. Fig. 23Unpolarized state, simulated optical path diagram. Unpolarized state, simulated optical path diagram. Referring to the LightTools model, the polarized-state simulation light path for the freeform pupil illumination module was established in ASAP. The resulting optical path is shown in Fig. 24. Fig. 24Polarized state, simulated optical path diagram. Polarized state, simulated optical path diagram. Validation results We first compared pupil performance in simulations that did and did not account for the unpolarized state, then compared simulations that did and did not account for the polarized state, and finally verified the customized illumination mode. Common mode Figure 25 depicts the Q0 0.97–0.85 pupil configuration.Table 1 shows the comparison of results between unpolarized state not considered and unpolarized state considered, indicating a decrease in Y-direction optical Pupil balance from 3.1196% to 10.0202%. Table 2 shows the comparison of results between unpolarized considered but polarized not considered and unpolarized and polarized both considered, indicating a decrease in Pupil ellipticity from 1.7335% to 0.0054%. Fig. 25Illustration of Q0 0.97–0.85 Pupil. Illustration of Q0 0.97–0.85 Pupil. Table 1Simulation results without and with the unpolarized state.Lighting modeQ0 0.97–0.85Pupil ellipticity/%X-direction optical pupil balance/%Y-direction optical pupil balance/%Four-quadrant pupil balance/%Unpolarized state not considered0.00120.00723.11960.0286Unpolarized state considered0.01020.05370.02020.0151 Table 1Simulation results without and with the unpolarized state.Lighting modeQ0 0.97–0.85Pupil ellipticity/%X-direction optical pupil balance/%Y-direction optical pupil balance/%Four-quadrant pupil balance/%Unpolarized state not considered0.00120.00723.11960.0286Unpolarized state considered0.01020.05370.02020.0151 Simulation results without and with the unpolarized state. Table 2Simulation results without and with the polarized state.Q0 0. 97-0.85.85, the XY polarized modePupil ellipticity/%X-direction optical pupil balance/%Y-direction optical pupil balance/%Four-quadrant pupil balance/%Unpolarized considered, polarized not considered1.7335 (Exposure System Requirements: 1%)0.05(Exposure System Requirements: 1%)0.024(Exposure System Requirements: 1%)0.9167(Exposure System Requirements: 1%)Unpolarized and polarized both considered0.00540.000100.0028 Table 2Simulation results without and with the polarized state.Q0 0. 97-0.85.85, the XY polarized modePupil ellipticity/%X-direction optical pupil balance/%Y-direction optical pupil balance/%Four-quadrant pupil balance/%Unpolarized considered, polarized not considered1.7335 (Exposure System Requirements: 1%)0.05(Exposure System Requirements: 1%)0.024(Exposure System Requirements: 1%)0.9167(Exposure System Requirements: 1%)Unpolarized and polarized both considered0.00540.000100.0028 Simulation results without and with the polarized state. 0.05 (Exposure System Requirements: 1%) 0.024 (Exposure System Requirements: 1%) 0.9167 (Exposure System Requirements: 1%) Customized mode Figure 26 presents the Freeform1 algorithm model and its simulation results.Table 3 shows the evaluation results of Freeform1. The X-direction optical Pupil balance and Y-direction optical Pupil balance are both less than 0.08%. Fig. 26Freeform1 Algorithm Model 12 (left) and simulation results (right). Freeform1 Algorithm Model 12 (left) and simulation results (right). Table 3Freeform1 evaluation results.Polarization modeX-direction optical pupil balance/%Y-direction optical pupil balance/%XY0.0020.0019TE0.00020.0044 Table 3Freeform1 evaluation results.Polarization modeX-direction optical pupil balance/%Y-direction optical pupil balance/%XY0.0020.0019TE0.00020.0044 Freeform1 evaluation results. Fig. 27Freeform2 Algorithm Model12 (left) and simulation results (right). Freeform2 Algorithm Model12 (left) and simulation results (right). Figure 27 presents the Freeform2 algorithm model and its simulation results.Table 4 shows the evaluation results of Freeform2. The X-direction optical Pupil balance and Y-direction optical Pupil balance are both less than 0.08%. Table 4Freeform2 evaluation results.Polarization modeX-direction optical pupil balance/%Y-direction optical pupil balance/%XY0.00080.0009TE0.00050.0019 Table 4Freeform2 evaluation results.Polarization modeX-direction optical pupil balance/%Y-direction optical pupil balance/%XY0.00080.0009TE0.00050.0019 Freeform2 evaluation results. Fig. 28Freeform3 algorithm model12 (left) and simulation results (right). Freeform3 algorithm model12 (left) and simulation results (right). Figure 28 presents the Freeform3 algorithm model and its simulation results.Table 5 shows the evaluation results of Freeform3. The X-direction optical Pupil balance and Y-direction optical Pupil balance are both less than 0.08%. Table 5Freeform1 evaluation results.Polarization modeX-direction optical pupil balance/%Y-direction optical pupil balance/%XY0.03260.0008TE0.03430.003 Table 5Freeform1 evaluation results.Polarization modeX-direction optical pupil balance/%Y-direction optical pupil balance/%XY0.03260.0008TE0.03430.003 Freeform1 evaluation results. Calculation time The calculation time optimization results are summarized in Table 6. The optimized algorithm achieves a major reduction in runtime. Table 6Time contrast analysis.256 × 256Time/s before optimizationTime/s after optimizationfreeform1011505.730.0602freeform1021739.950.0521freeform103736.330.0524 Table 6Time contrast analysis.256 × 256Time/s before optimizationTime/s after optimizationfreeform1011505.730.0602freeform1021739.950.0521freeform103736.330.0524 Time contrast analysis. Conclusion This study developed a micro-mirror selection and angle-setting algorithm that maintained energy balance in both unpolarized and polarized states. The key achievements are as follows: In the unpolarized state, the energy balance remained below 0.08%, well within the 1% requirement of the exposure system.In the polarized state, the energy balance remained below 0.05%, well within the 1% requirement of the exposure system.The proposed algorithm ensured pupil energy balance in both states, an aspect critical for enhancing the contrast of lithographic images.The partitioning time was reduced from 10 min to 0.1 s, greatly improving the algorithm’s scope for engineering applications. In the unpolarized state, the energy balance remained below 0.08%, well within the 1% requirement of the exposure system. In the unpolarized state, the energy balance remained below 0.08%, well within the 1% requirement of the exposure system. In the polarized state, the energy balance remained below 0.05%, well within the 1% requirement of the exposure system. In the polarized state, the energy balance remained below 0.05%, well within the 1% requirement of the exposure system. The proposed algorithm ensured pupil energy balance in both states, an aspect critical for enhancing the contrast of lithographic images. The proposed algorithm ensured pupil energy balance in both states, an aspect critical for enhancing the contrast of lithographic images. The partitioning time was reduced from 10 min to 0.1 s, greatly improving the algorithm’s scope for engineering applications. The partitioning time was reduced from 10 min to 0.1 s, greatly improving the algorithm’s scope for engineering applications. The limitation is that during simulation, only the polarization performance impact of the MMA algorithm through the polarization conversion unit was considered, without taking into account the effects of optics multilayer(coating), material birefringence, and stress birefringence on the polarization performance of the entire module. Supplementary Information Below is the link to the electronic supplementary material. Supplementary Material 1 Supplementary Material 1