원시데이터 수집 시스템
선정목록으로

Highly Efficient Rigorous Coupled-Wave Analysis Implementation Without Eigensystem Calculation

간접 관련 필름·전자재료 · (13) 프리즘 필름 (11) 배리어 필름(15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Jingxiao Xu — School of Electronics and Computer Science, University of Southampton, Southampton, U.K
  2. Martin D. B. Charlton — School of Electronics and Computer Science, University of Southampton, Southampton, U.K
DOI
10.1109/access.2024.3456798
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3456798
토픽
Optical Coatings and Gratings
OpenAlex ID
W4402389338

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
(11) 배리어 필름, (15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Rigorous Coupled-Wave Analysis, diffractive optical devices, photonic crystal, periodic structures, simulation
판단 근거
본 논문은 회절 광학 소자(photonic crystal 등)를 시뮬레이션하기 위한 RCWA 알고리즘의 계산 효율을 높이는 수치 해석 방법론을 다룹니다. 이는 코오롱인더스트리의 광학 필름(13) 및 디스플레이 관련 소재(11, 15, 16) 설계 시 필요한 광학적 특성 예측 및 시뮬레이션 성능 향상에 간접적으로 기여할 수 있습니다.
R&D 활용 포인트
광학 필름 및 디스플레이용 기능성 소재 설계 시, 미세 구조에 의한 빛의 회절 및 투과/반사 특성을 빠르고 정확하게 예측하는 시뮬레이션 모델링 도구로 활용 가능합니다.
평가 입력
본문 38,826자 중 30,032자 발췌

초록

The Rigorous Coupled Wave Analysis (RCWA) method is commonly used to simulate diffractive optical devices, such as photonic crystal LEDs, solar cells, and gratings. Although commercial software is available, the simulation time for real devices can be many hours or even days. Therefore, it is necessary to accelerate the algorithm. Over 50% of the RCWA simulation time is taken up by repetitive solutions of large eigensystems, including eigenvalues and eigenvectors. In this paper, we present a new algorithm that entirely eliminates the need for eigensystem solutions by replacing it with a matrix exponential polynomial approximation method for medium-thickness devices. When implemented on a GPU hardware platform, the total RCWA simulation time was reduced by a factor of 7-60 compared with the classic algorithm.

본문 38,826자

본문 펼치기
Received 17 August 2024, accepted 4 September 2024, date of publication 10 September 2024, date of current version 19 September 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3456798_ # Highly Efficient Rigorous Coupled-Wave Analysis Implementation Without Eigensystem Calculation JINGXIAO XU AND MARTIN D. B. CHARLTON School of Electronics and Computer Science, University of Southampton, SO17 1BJ Southampton, U.K. Corresponding author: Jingxiao Xu (jx4n15@soton.ac.uk) ABSTRACT The Rigorous Coupled Wave Analysis (RCWA) method is commonly used to simulate diffractive optical devices, such as photonic crystal LEDs, solar cells, and gratings. Although commercial software is available, the simulation time for real devices can be many hours or even days. Therefore, it is necessary to accelerate the algorithm. Over 50% of the RCWA simulation time is taken up by repetitive solutions of large eigensystems, including eigenvalues and eigenvectors. In this paper, we present a new algorithm that entirely eliminates the need for eigensystem solutions by replacing it with a matrix exponential polynomial approximation method for medium-thickness devices. When implemented on a GPU hardware platform, the total RCWA simulation time was reduced by a factor of 7-60 compared with the classic algorithm. INDEX TERMS Eigensystem, FMM, GPU computing, matrix exponential, RCWA. I. INTRODUCTION In studying light matter interactions, The Finite-Difference Time-Domain (FDTD) and the Finite Element Method (FEM) are popular numerical methods that can simulate a broad range of structures, such as arbitrarily shaped non-periodic devices [1], [2]. The FEM can also perform multiphysics simulations [3]. However, for simulating periodic structures, the Rigorous Coupled-Wave Analysis (RCWA), also known as the Fourier Modal Method (FMM), is widely used because it is accurate and more time efficient. This algorithm has been continuously refined [4]. The poor convergence of the RCWA TM mode was improved by Li [5], Lalanne and Morris [6], and Granet and Guizal [7] by applying the inverse rule to the grating structures. The factorization rule was later extended to arbitrary periodic structures using the Normal Vector method [8], [9]. Zhou and Li also proposed a formula for symmetric structures and achieved a maximum 64x speedup compared with the classic algorithm at normal incidence [10]. But this is only valid for symmetric structures. Li et al. achieved an approximately 2x speedup using first-order Taylor expansion to replace eigenvalue calculation. The condition of using this fast algorithm The associate editor coordinating the review of this manuscript and approving it for publication was Lei Zhao . is that the device must be ultrathin [11], [12]. However, the usage of photonic crystal is not limited to ultrathin layer. Many advanced photonic crystal applications in LEDs [13], solar cells [14], and PCSELs [15] require a thicker photonic crystal layer that cannot be simulated by method in [12]. The key RCWA calculation steps include the Fast Fourier Transform (FFT), eigensystem solution, matrix multiplication, and matrix inversion. Our previous research showed that the eigensystem solution was computationally expensive, accounting for more than 50% of the RCWA simulation time [16]. We also investigated the acceleration benefits provided by optimized GPU libraries. A maximum speed gain of only 60% was obtained for the eigensystem solution step using the MAGMA library. This is a relatively small speedup compared to the impact of GPU libraries for matrix multiplication (∼4x) and inversion (2-8x) steps [16]. This low speedup is due to the hybrid architecture strategy of the MAGMA library, where only part of the eigensystem solution is implemented on the GPU and the rest on the multithreaded CPU [17]. Overall, RCWA based on GPU implementation provides 2-6X speedups [18]. In this study, a highly efficient RCWA algorithm is proposed without the need to solve eigenvalues and eigenvectors. This method is applicable to arbitrary two-dimensional periodic structures. We reformulate the solution of Maxwell’s equations such that a matrix exponential term is derived to replace the eigensystem calculation. Then, an accurate and efficient approximation method was applied to calculate the 18 <sup>th</sup> -order Taylor expansion of the matrix exponential. This new algorithm is more time efficient than solving the entire eigensystem. We explain the new method in comparison to the classic RCWA algorithm. This method can simulate device with medium thickness satisfying (1). The new RCWA formula is presented in Section II. Section III presents speed and accuracy performance comparisons between the classic and new methods. II. NEW RCWA ALGORITHM WITHOUT EIGENSYSTEM SOLUTION The conventional RCWA method has been explained in detail in many studies [5], [19], [20], [21], [22]. This study used the same notation as in [22]. Figure 1 shows an example of an air hole photonic crystal multilayer structure. The variables used in this derivation are listed in appendix B. FIGURE 1. Schematic of a general multilayer 2D photonic crystal air hole model. The structure expands in the x-y plane periodically. Eigensystem calculations, as required for classic RCWA, are computationally expensive. We previously identified the eigensystem solution as the most time-consuming operation in RCWA simulation [16]. We now develop an alternative algorithm that replaces the time-consuming eigensystem step with a series of matrix multiplication steps. This method significantly improves the calculation efficiency while maintaining excellent numerical accuracy under certain conditions. The upper bound of device thickness _dM_ should satisfy (1). _dM_ ≈ _�/H_ (1) where _�_ is the periodicity, _H_ is the highest Fourier order (not the total number of Fourier orders) used in the RCWA simulation. The mathematical derivation and simulation examples can be found in the appendix A. In this study, harmonics refers to the total number of Fourier orders used in the RCWA simulation. A first-order ordinary differential equation can be derived for each layer using Maxwell’s equations [22]. _ai,j_ are elements of matrix A, and _i, j_ are the row and column indexes, respectively. _N_ and _M_ are the maximum row and column numbers, respectively. _∂_ _k_ 0 <sup>−1</sup> _∂z_ - _S_ _U_ (2) - _S_ _U_ = _�_ - _U_ _x_ _U_ _y_ _._ (3) _S_ = - _S_ _x_ _S_ _y_ _,_ _U_ = _S_ and _U_ are the Fourier coefficients of the electric and magnetic fields, respectively. _k_ 0 is the free-space wave vector. For the analysis in this study, _�_ is represented as - 0 _P_ _�_ = _Q_ 0 (4) The general solution of layer _l_ to (2) is: - _S_ ( _z_ + _zl_ ) _U_ ( _z_ + _zl_ ) = exp( _k_ 0 _�_ ( _z_ - _zl_ )) - _S_ ( _zl_ ) _U_ ( _zl_ ) (5) _zl_ is the initial position of layer _l_ which as shown in Figure 2. The vectors _U_ ( _zl_ ) and _S_ ( _zl_ ) are unknown magnetic and electric field vectors to be determined from the boundary conditions. We note that a potentially problematic matrix exponential term exp( _k_ 0 _�_ _z_ ) now appears, assuming _l_ = 0. However, this can be solved as follows: FIGURE 2. Fields demonstration of the new algorithm. _A._ _MATRIX EXPONENTIAL APPROXIMATION_ The resultant matrix exponential term exp( _k_ 0 _�_ _z_ ) can be approximated by a modified 18th-order Taylor expansion [23], achieving (1 × 10 <sup>−16</sup> ) precision with a minimum of five matrix multiplication steps (as shown in (10) to (20)). A normal Taylor expansion of the matrix exponential _A_, which consists of infinite multiplications, takes the form: exp _(_ _A_ _)_ = �∞ _i_ =0 <sup>_A_</sup> <sup>_i/i_</sup> <sup>! =</sup> <sup>_I_</sup> <sup>+</sup> <sup>_A_</sup> <sup>+</sup> <sup>_A_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2 +</sup> <sup>_A_</sup> <sup>3</sup> <sup>_/_</sup> <sup>6 +</sup> <sup>_. . ._</sup> + _A_ <sup>_i_</sup> _/i_ ! + _. . ._ (6) Implementing an infinite Taylor expansion is impractical; therefore, a modified approximation is used. For the modified Taylor expansion to work, it is first essential to check (and ensure) that the L1 norm of matrix _A_ _<_ 1 is true. The L1 norm of a matrix is given by the maximum absolute matrix column sum: || _A_ ||1 = max 1≤ _j_ ≤N - _M_ _i_ =1 <sup>|</sup> <sup>_aij_</sup> <sup>|</sup> (7) If the L1 norm of matrix _A_ _>_ 1, matrix _A_ must first be scaled by 2 <sup>−</sup> <sup>_m_</sup> to ensure that the _L_ 1 _norm_ _<_ 1. where m is a non-negative integer determined by _m_ = ceiling( log2 || _A_ |||1) (8) The matrix exponential is replaced by: exp _(k_ 0 _�_ _z)_ = exp _k_ 0 _�_ _z_ × 2 <sup>−</sup> <sup>_m_</sup> <sup>�2</sup> <sup>_m_</sup> (9) TABLE 1. Parameter value in matrix exponential algorithm [23]. 1) BC1 At the first interface, between the incident region (usually air) and the top material layer at position _z_ 0. The matrix exponential can now be calculated by implementing the following algorithm, where _A_ and _B_ with subscripts are intermediate resultant matrices, and the coefficients _a, b_ are given in Table 1. _A_ = _k_ 0 _�_ _z_ × 2 <sup>−</sup> <sup>_m_</sup> (10) _A_ 2 = _A_ <sup>2</sup> (11) _A_ 3 = _A_ <sup>3</sup> = _A_ 2 _A_ (12) _A_ 6 = _A_ <sup>6</sup> = _A_ <sup>2</sup> 3 (13) _B_ 1 = _a_ 0 _,_ 1 _I_ + _a_ 1 _,_ 1 _A_ + _a_ 2 _,_ 1 _A_ 2 + _a_ 3 _,_ 1 _A_ 3 (14) _B_ 2 = _b_ 0 _,_ 1 _I_ + _b_ 1 _,_ 1 _A_ + _b_ 2 _,_ 1 _A_ 2 + _b_ 3 _,_ 1 _A_ 3 + _b_ 4 _,_ 1 _A_ 6 (15) _B_ 3 = _b_ 0 _,_ 2 _I_ + _b_ 1 _,_ 2 _A_ + _b_ 2 _,_ 2 _A_ 2 + _b_ 3 _,_ 2 _A_ 3 + _b_ 4 _,_ 2 _A_ 6 (16) _B_ 4 = _b_ 0 _,_ 3 _I_ + _b_ 1 _,_ 3 _A_ + _b_ 2 _,_ 3 _A_ 2 + _b_ 3 _,_ 3 _A_ 3 + _b_ 4 _,_ 3 _A_ 6 (17) _B_ 5 = _b_ 0 _,_ 4 _I_ + _b_ 1 _,_ 4 _A_ + _b_ 2 _,_ 4 _A_ 2 + _b_ 3 _,_ 4 _A_ 3 + _b_ 4 _,_ 4 _A_ 6 (18) _A_ 9 = _B_ 1 _B_ 5 + _B_ 4 (19) Equation (20) gives the approximated exponential of matrix _A_ . exp _(_ _A_ _)_ = _B_ 2 + _(_ _B_ 3 + _A_ 9 _)_ _A_ 9 (20) Furthermore, in our specific case, matrix _A_ is an antidiagonal block matrix (from (4) and (10)). Consequently, the intermediate matrices _A_ 2 _,_ _A_ 3 and _A_ 6 can be simplified by substituting matrices _Q_ and _P_ as follows: ( _k_ 0 _z_ × 2 <sup>−</sup> <sup>_m_</sup> ) <sup>2</sup> (21) _A_ 2 = _A_ <sup>2</sup> = _A_ 3 = _A_ <sup>3</sup> = _A_ 6 = _A_ <sup>6</sup> = - _PQ_ 0 0 _QP_ - _PQPQPQ_ 0 0 _QPQPQP_ - 0 _PQP_ _QPQ_ 0 ( _k_ 0 _z_ × 2 <sup>−</sup> <sup>_m_</sup> ) <sup>3</sup> (22) ( _k_ 0 _z_ × 2 <sup>−</sup> <sup>_m_</sup> ) <sup>6</sup> (23) Inc + _R_ = (24) - _S_ _(z_ 0 _)_ _U_ _(z_ 0 _)_ Using this additional simplification reduces the computational time for the matrix exponential even further. Finally, once the matrix exponential is calculated, the Fourier coefficients of the fields can be obtained using (5) with the given initial values. _B._ _BOUNDARY CONDITION_ The transmittance matrix (T matrix) boundary condition is used as follows: In Figure 2, the Inc _,_ _R_ and _T_ represent the incident, reflected, and transmitted electric and magnetic fields, respectively. The boundary conditions (BC) are slightly different depending on the layers involved, as follows: 2) BC2 At the interface between intermediate material layers _l_ −1 and _l_ at position _zl_ . (25) exp( _k_ 0 _�_ _l_ −1 _dl_ −1) - _S_ _(zl_ −1 _)_ = _U_ _(zl_ −1 _)_ - _S_ _(zl)_ _U_ _(zl)_ 3) BC3 At the interface between the bottom material layer and the transmission region (usually a uniform substrate or air), at position _zt_ . exp( _k_ 0 _�_ _ndn_ ) - _S_ _(zn)_ = _T_ (26) _U_ _(zn)_ Equations (24)–(26) are combined to connect the incident, reflected, and transmitted fields over the entire layer stack. _εr_ <sup>ref</sup> _r_ <sup>ref</sup> and _εr_ <sup>trn</sup> _T_ (27) _εr_ <sup>ref</sup> and _εr_ <sup>trn</sup> are the relative permittivities in the reflection and transmission regions, respectively. _I_ is identity matrix. _K_ _x_ and _K_ _y_ are diagonal matrices [22]. Substituting (31), (34), and (37) into (28) yields Inc + _R_ = �� _L_ _l_ =0 <sup>exp</sup> <sup>_(k_</sup> <sup>0</sup> <sup>_�_</sup> <sup>_ldl)_</sup> _S_ inc( _z_ 0) + - _I_ _V_ ref _S_ ref( _z_ 0) In the above boundary conditions, Inc _, R_, and _T_ are vectors containing the Fourier coefficients of the electric and magnetic fields of the incident, reflected, and transmitted waves, respectively. - _I_ - _V_ ref �� _I_ - _V_ trn _S_ trn( _z_ n) (41) = �� _L_ _l_ =0 <sup>exp</sup> <sup>_(k_</sup> <sup>0</sup> <sup>_�_</sup> <sup>_ldl)_</sup> - _S_ inc( _z_ 0) + _U_ inc( _z_ 0) - _S_ ref( _z_ 0) _U_ ref( _z_ 0) Let matrix _Y_ represent the right-hand side of (41), except for the term _S_ trn _(zn) ._ �� _S_ trn( _zn_ ) _U_ trn( _zn_ ) (28) �� _L_ �� _I_ _Y_ = _l_ =0 <sup>exp</sup> <sup>_(k_</sup> <sup>0</sup> <sup>_�_</sup> <sup>_ldl)_</sup> - _V_ trn (42) - _I_ - - _I_ _S_ _inc_ ( _z_ 0) + _S_ ref( _z_ 0) - _V_ ref _V_ ref �� _L_ _l_ =0 <sup>exp</sup> <sup>_(k_</sup> <sup>0</sup> <sup>_�_</sup> <sup>_ldl)_</sup> _Y_ = = �� _L_ _l_ =0 <sup>exp</sup> <sup>_(k_</sup> <sup>0</sup> <sup>_�_</sup> <sup>_ldl)_</sup> - _I_ _V_ ref �� _I_ - _V_ trn _S_ ref( _z_ 0) Equation (28) represents _Inc, R_, and _T_ with their constituent electric and magnetic fields. _�_ _l_ is the _�_ matrix of layer _l_ . _dl_ is the thickness of layer _l_ . L is the total number of layers. Currently, the number of unknowns is 8∗harmonics <sup>2</sup>, with 4∗harmonics <sup>2</sup> linear equations to solve (Note: _R_ and _T_ both have 4∗harmonics <sup>2</sup> elements, and the incident wave is determined by the incident plane wave). This matrix equation cannot be used to determine the solutions of _R_ and _T_ . However, the electric and magnetic fields have a fixed relationship in the incident and transmitted regions, which can be derived from the classic RCWA formula. Therefore, the number of unknown elements was halved. The field solutions of the uniform layers (reflection and transmission regions) can be directly represented. Reflected waves travel backward in the -z direction. _S_ ref( _z_ ) = exp _(k_ 0 _λ_ ref _z)_ _S_ <sup>−</sup> ref (29) _U_ ref( _z_ ) = _V_ ref exp _(k_ 0 _λ_ ref _z)_ _S_ <sup>−</sup> ref (30) _U_ ref _(z_ 0 _)_ = _V_ ref _S_ ref _(z_ 0 _)_ (31) The incident waves travel in the +z direction. _S_ inc(z) = exp _(_ - _k_ 0 _λ_ ref _z)_ _S_ <sup>+</sup> inc (32) _U_ inc( _z_ ) = − _V_ ref exp _(_ - _k_ 0 _λ_ ref _z)_ _S_ <sup>+</sup> inc (33) _U_ inc _(z_ 0 _)_ = _V_ ref _S_ inc _(z_ 0 _)_ (34) The transmitted waves travel in the +z direction. _S_ trn( _z_ + _zt_ ) = exp _(_ - _k_ 0 _λ_ trn _z)_ _S_ <sup>+</sup> trn (35) _U_ trn( _z_ + _zt_ ) = − _V_ trn exp _(_ - _k_ 0 _λ_ trn _z)_ _S_ <sup>+</sup> trn (36) _U_ trn _(z_ t _)_ = _V_ trn _S_ trn _(z_ t _)_ (37) where _S_ _inc_ ( _z_ 0) + = _YS_ trn( _zn_ ) - _I_ _S_ inc( _z_ 0) = _YS_ trn( _zn_ ) - _V_ ref - _I_ - - _I_ _S_ inc( _z_ 0) = _YS_ trn( _zn_ )− _S_ ref( _z_ 0) - _V_ ref _V_ ref - _I_ - - - _I_ ��� _S_ trn( _zn_ ) _S_ inc( _z_ 0) = _Y_ - _V_ ref _V_ ref _S_ ref( _z_ 0) _S_ inc( _z_ 0) = _YS_ trn( _zn_ )− - _I_ _V_ ref _S_ inc( _z_ 0) = _Y_ ��� _S_ trn( _zn_ ) _S_ ref( _z_ 0) _S_ inc( _z_ 0) (43) - _S_ trn( _zn_ ) = _S_ ref( _z_ 0) _Y_ - _I_ _V_ ref - _I_ _V_ ref ��− 1 - _I_ - _V_ ref _λ_ ref = - _j_ _K_ ref _z_ 0 0 _j_ _K_ <sup>ref</sup> _z_ - _j_ _K_ trnz 0 0 _j_ _K_ <sup>trn</sup> z - _j_ _K_ trnz 0 0 _j_ _K_ <sup>trn</sup> z _,_ _λ_ trn = (38) Now, the transmitted electric field _S_ trn( _zn_ ) and reflected electric field _S_ ref( _z_ 0) can be solved using (43). Where _S_ inc( _z_ 0) is given as the input, _V_ ref and _Y_ can be calculated from the input parameters. III. RESULTS _A._ _ACCURACY PERFORMANCE_ The essence of both RCWA algorithms is the same. The only change is that the eigensystem solution is replaced by a matrix exponential and a boundary condition. The reflections and transmissions calculated from both algorithms should be identical, except for rounding errors from the computer calculations. We tested the diffraction efficiency of the structure shown in Figure 7 with 15 harmonics against the wavelengths and incident angles for the TE mode. Figures 3 and 4 show the reflection spectra and photonic dispersion curves, respectively. Figure 5 shows that the maximum percentage error was below 1 × 10 <sup>−8</sup> . Similarly, for the multilayer structure shown in Figure 11, the percent error of the reflectance is plotted in Figure 6 which shows a maximum value also below 1 _×_ 10 <sup>_−_</sup> <sup>8</sup> . Therefore, the new algorithm was as accurate as the classic RCWA algorithm, given that the maximum device thickness _dM_ ≈ _H_ _/�_ . There are more numerical examples with boarder range of different input parameters in the appendix A. _B._ _SINGLE LAYER PERFORMANCE_ A simple photonic crystal consisting of a square array of air holes in a membrane layer with refractive index n = 1.9 is _K_ <sup>ref</sup> _z_ _µ_ <sup>ref</sup> _r_ <sup>_ε_</sup> _r_ <sup>ref</sup> <sup>_I_</sup> <sup>−</sup> <sup>_K_</sup> _x_ <sup>2</sup> <sup>ref</sup> _z_ = _x_ <sup>2</sup> <sup>−</sup> <sup>_K_</sup> <sup>2</sup> _y_ <sup>2</sup> _y_ (39) _K_ <sup>trn</sup> _z_ = _K_ <sup>trn</sup> _z_ ~~�~~ _µ_ <sup>trn</sup> _r_ <sup>_ε_</sup> _r_ <sup>trn</sup> <sup>_I_</sup> <sup>−</sup> <sup>_K_</sup> _x_ <sup>2</sup> _x_ <sup>2</sup> <sup>−</sup> <sup>_K_</sup> <sup>2</sup> _y_ <sup>2</sup> _y_ (40) _V_ ref and _V_ trn are matrices calculated using _V_ ref = _Q_ <sup>−</sup> ref <sup>1</sup> _V_ ref and _V_ trn are matrices calculated using _V_ ref = _Q_ <sup>−</sup> ref <sup>1</sup> <sup>_λ_</sup> <sup>ref</sup> and _V_ trn = _Q_ <sup>−</sup> trn <sup>1</sup> <sup>_λ_</sup> <sup>trn.</sup> <sup>_µ_</sup> _r_ <sup>ref</sup> and _µ_ <sup>trn</sup> _r_ are the relative permeabili ties of the reflection and transmission regions, respectively. <sup>−</sup> trn <sup>1</sup> <sup>_λ_</sup> <sup>trn.</sup> <sup>_µ_</sup> _r_ <sup>ref</sup> _r_ <sup>ref</sup> and _µ_ <sup>trn</sup> _r_ FIGURE 3. Reflection plot from the new RCWA formulation. FIGURE 4. Reflection plot from classic RCWA algorithm. FIGURE 5. The log10 of percentage error of the new RCWA results of the single layer structure. investigated. The unit cell of the photonic crystal is illustrated in Figure 7. Simulations were conducted on an IRIDIS 5 supercomputer with the specifications listed in Table 2. FIGURE 6. The log10 of percentage error of the new RCWA result of the multilayer structure. FIGURE 7. Schematic of a unit cell of air hole photonic crystal structure used in the simulation. The background material has a refractive index of n = 1.9. r is the hole radius. The top and bottom regions of the device are air. A series of RCWA simulations were conducted by comparing the classic Enhanced Transmittance Method (RCWA) [24] and the new algorithm. The computational time was investigated as a function of the number of harmonics, which ranged from 3 to 41. A normal incident light source was applied with 0.4 _µ_ m wavelength. Both algorithms were implemented using GPU code. As shown in Figure 8, our new algorithm yields 6-36x speedups compared with classic RCWA for all tested harmonics. The new method shows a reduced speedup for small harmonics (3 to 7). This is because the difference in calculation time between the matrix exponential and eigensystem solution is minor for small matrix operations, and the percentage of overhead is relatively large, given that the total execution time is approximately 0.01s. The performance gain of the new method is mainly attributed to the replacement of the eigensystem solution (the classic method) with a few TABLE 2. The hardware configuration of this experiment. FIGURE 8. Computational time of classic and new algorithms with normal incident and wavelength of 0 _._ 4 _µm_ and the speedup of the new method. matrix multiplications. Note that in the new method, the required matrix is twice the size required for the old method. Hence, the new method provides significant gains over the conventional RCWA algorithm in terms of the computational time. The matrix exponential, as explained in Section II, only consists of matrix multiplications, matrix additions, and scaling operations (the eigensystem solution has been eradicated). According to our previous research on the speed performance of GPU libraries on different linear algebra routines, the computational time required for a single matrix eigensystem solution (as required for conventional RCWA) using the MAGMA library is greater than the time taken for 40 matrix multiplications for the equivalent required matrix (a required for the new method) using the CUBLAS library [16], considering that the replacement matrix for the new method is 2x larger. This is illustrated in Figure 9. The matrix size in Figure 9 represents the size of the eigensystem matrix. Matrix size is directly related to the number of harmonics. For the conventional method involving eigensystem calculation, the size of most matrices is 2 ∗ _harmonics_ <sup>2</sup> . Therefore, in this plot, a matrix size of 100 × 100 to 5000 × 5000 represents FIGURE 9. Computational time comparison of eigensystem and double-sized multiplication. FIGURE 10. The performance of the eigensystem and matrix exponential as a function of the number of harmonics. harmonics of approximately 7 to 49. For matrix sizes ranging from 200 × 200 to 1000 × 1000, the equivalent multiplications increased to more than 100. From (8)–(20), at least five multiplications are required for the matrix exponential approximation process. Therefore, the computational times of the eigensystem and matrix exponential are compared in Figure 10. It shows more than 4X speedup in computing a matrix exponential over an eigensystem solution, with the speedup reaching over 10 for harmonics lower than 20. _C._ _APPLICATION TO COMPLEX MULTILAYER STRUCTURES_ Not practical to test a high complexity multilayer structure, but as a reasonable compromise, a representative structure was used to show proof of concept. It is not practical to investigate all possible device structures within this paper. An example of multilayer structure is examined here. This structure has three layers with air holes in the middle. The dimensions of the unit cell are shown in Figure 11. The computational speed of the new method is even faster than that of the classic method compared with single-layer device simulation. In Figure 12, a speedup of 7 to 56 was FIGURE 11. Schematic of a three-layer air hole photonic crystal. The layer refractive indices from the top to bottom layers are _n_ 0 = 1 _._ 9 _,n_ 1 = 2 _._ 3 _,n_ 2 = 3 _._ 5 . Periodicity in x and y are equal _�x_ = _�y_ = 0 _._ 6 _µm_ . the radius of the hole is 0 _._ 15 _µm_ . The thicknesses of layers are _d_ 0 = 0 _._ 03 _µm,d_ 1 = 0 _._ 03 _µm and_ _d_ 2 = 0 _._ 04 _µm_ . The region outside the device is air. FIGURE 12. Computational time of classic and new algorithms of 3-layer structure as in Figure 10 with normal incident and wavelength of 0 _._ 4 _µm_ and the speedup of the new method. obtained. For one-layer device simulation, classic RCWA requires a solution of the eigensystem (obtains W and V matrices) and a pair of a and b matrices. Calculating this pair involves approximately three multiplications plus one inversion (double-sized matrix) for the last layer or approximately six matrix multiplications plus two matrix inversions (one involving a double-sized matrix) for other layers [24]. The matrix exponential has already gained significant speedup compared with the eigensystem solution. As presented in section III-B, one eigensystem calculation is equivalent to few hundreds of matrix multiplications. The additional calculations of the a and b matrices slow the classic ETM RCWA. In the process of linking multilayers, the new method requires one double-sized multiplication for each additional layer (see (43)). In comparison, classic RCWA with ETM requires at least one matrix inversion and one multiplication per layer [24]. Both methods require similar time in the linking stage. Therefore, as the number of layer increases, the speedup keeps existing given the device satisfy the thickness condition. FIGURE 13. Execution time of CPU implementation of RCWA ETM and the new method. The speedup of the new method is highlighted in red on the right-y axis. a) Simulation results of the multilayer structure in Figure 11. b) Simulation results of the single-layer structure in Figure 7. Overall, the speedup gain of the new method is still significant for multilayer structures compared with ETM RCWA. _D._ _CPU PERFORMANCE_ The same structures in Figures 7 and 11 were simulated using the CPU platform specified in Table 2. The new method also outperformed RCWA ETM in CPU implementation, as shown in Figure 13. For the singlelayer structure, the new method obtains approximately 40% speedup from 11 to 19 harmonics and performs at the same level as the RCWA ETM for other harmonics. The speed gain was up to 70% for the three-layer structure at 15 harmonics. Among the other harmonics, the new method is at least 10% faster than the RCWA ETM. The speed gain of the GPU implementation is more significant than that of the CPU implementation. This is due to the fact that the eigensystem solvers (Intel MKL and MAGMA libraries) are primarily implemented in serial processes. In contrast, matrix multiplication and inversion are efficiently parallelized in GPU tools. Therefore, the proposed method demonstrates particularly robust performance on the GPU platform. FIGURE 14. The absolute difference of diffraction efficiency of the new method with different wavelength/periodicity and thickness/periodicity ratios of 15 harmonics. Color bar indicates the log10 of the absolute difference between the new method and the classic RCWA. IV. CONCLUSION This paper presents a new RCWA algorithm for medium-thickness devices that eliminates the need for eigensystem solutions. Taylor’s series of matrix exponential calculations replaces computationally expensive eigensystem calculations. By applying a recent optimization to matrix exponential calculation, our new algorithm achieves more than six speedups compared with the classic RCWA with ETM, and both algorithms utilize GPU computation tools. For CPU implementation, the new method also obtained a speed gain of approximately 40% for medium harmonics. Furthermore, the accuracy of our new algorithm was confirmed to be consistent with that of the classic RCWA algorithm for medium thickness. Although the current experiment employed a simple structure, this method applies to a broader range of periodic devices, provided that the thickness remains within the discussed threshold. APPENDIX _A._ _MAXIMUM THICKNESS DERIVATION_ The upper bound of the device thickness, _dM_ satisfies _dM_ ≈ _�/H_ . This condition is mathematically derived from a single uniform layer RCWA simulation. In the computation of the matrix exponential, the Taylor expansion was utilized. The elements of matrix _Y_ in (43) may become very large and much larger than the values in the identity matrix and _V_ _ref_ matrix, which may cause computer round-off errors. The values in _P_ and _Q_ matrices in matrix _�_ and the value of _z_ affect the maximum value in _Y_ . For a given periodicity and fixed permittivity shape, the resultant accuracy may be affected by the value of wavelength over periodicity, thickness over periodicity, and number of harmonics. For a single uniform layer RCWA simulation, the input parameters are relative permittivity _εr_, relative permeability _µr_, thickness _d_, lattice constant _�_, incident wavelength _λ_, FIGURE 15. The absolute difference of diffraction efficiency of the new method with different relative permittivity of the photonic crystal layer and thickness/periodicity ratios of 15 harmonics. Color bar indicates the log10 of the absolute difference between the new method and the classic RCWA. FIGURE 16. The absolute difference of the diffraction efficiency of the new method with different thickness/periodicity and highest Fourier order H (1 to 15). Color bar indicates the log10 of the absolute difference between the new method and the classic RCWA. and number of harmonics with the highest order _H_ . In this derivation, the device only contains one free space layer with _εr_ = 1. The substrate and superstrate are only composed of free space. The solution of electromagnetic field propagating in free space can be analytically expressed in matrix form for multiple plane waves in equation (44).   _S_ _x_ ( _d_ ) _S_ _y_ ( _d_ ) _U_ _x_ ( _d_ ) _U_ _y_ ( _d_ )   × _e_ <sup>−</sup> <sup>_jk_</sup> <sup>0</sup> <sup>_K_</sup> <sup>_zd_</sup> 0 0 0 0 _e_ <sup>−</sup> <sup>_jk_</sup> <sup>0</sup> <sup>_K_</sup> <sup>_zd_</sup> 0 0 0 0 _e_ <sup>−</sup> <sup>_jk_</sup> <sup>0</sup> <sup>_K_</sup> <sup>_zd_</sup> 0 0 0 0 _e_ <sup>−</sup> <sup>_jk_</sup> <sup>0</sup> <sup>_K_</sup> <sup>_zd_</sup>       = _S_ _x_ (0) _S_ _y_ (0) _U_ _x_ (0) _U_ _y_ (0)   (44) TABLE 3. List of variables A. where TABLE 4. List of variables B. Equation (44) becomes:   _S_ _x_ (0) _S_ _y_ (0) _U_ _x_ (0) _U_ _y_ (0)   _S_ _x_ ( _d_ ) _S_ _y_ ( _d_ ) _U_ _x_ ( _d_ ) _U_ _y_ ( _d_ )   (47)   = _e_ - _k_ 0 _λ_ _d_ This is consistent with equation (5). Therefore, the max value of the matrix exponential is the exponential of _k_ 0 _d_ times the maximum value in - _j_ _K_ _z_ . Consider the case that _εr_ _µr_ _I_ is much smaller than _K_ <sup>2</sup> _x_ <sup>+</sup> <sup>_K_</sup> <sup>2</sup> _y_ <sup>.</sup> <sup>2</sup> _x_ <sup>+</sup> <sup>_K_</sup> <sup>2</sup> _y_ <sup>.</sup> <sup>2</sup> _y_ <sup>.</sup> <sup>2</sup> _x_ <sup>+</sup> <sup>_K_</sup> <sup>2</sup> _y_ _y_ <u>�</u> max exp _(k_ 0 _�_ _d)_ max ≈ exp = exp = exp _k_ 0 _d_ - ~~√~~ 2 2 _π_ - <sup>_<u>Hd</u>_</sup> _�_ - ~~√~~ 2 ~~�~~ _K_ <sup>2</sup> _x_  <u></u>   <sup><u>2</u></sup> <sup>_πd_</sup> ~~�~~ 2 _H_ <sup>2</sup> <sup>_λ_</sup> <sup>2</sup> _�_ <sup>2</sup> _λ_ = 722 _._ 83 _<u>Hd</u>_ _<u>�</u>_ (48) <sup>2</sup> _y_ (45) _K_ _z_ = ~~�~~ _εr_ _µr_ _I_ - _K_ <sup>2</sup> _x_ <sup>2</sup> _x_ <sup>−</sup> <sup>_K_</sup> <sup>2</sup> _y_ And _K_ _x_ and _K_ _y_ are normalized wavevector matrixes with diagonal entries _kx_ = _mλ/�, ky_ = _nλ/�_ . _m_ = _n_ = - _H_ _, . . .,_ −1 _,_ 0 _,_ 1 _, . . ., H_ . Let   (46) The maximum value in the matrix exponential is approximated as _Hd/�_ th power of 722.83. Therefore, to avoid large difference in values of matrix _Y_ in equation (43), we set the exponent _Hd/�_ ≈ 1. For a fixed lattice constant _�_, the maximum thickness _dM_ should satisfy _dM_ ≈ _�/H_ . We performed more accuracy tests on the structure in Figure 7 to see how the accuracy varied with the dimensions of the device and other simulation parameters. Figure 14 and 15 shows that the ratio of the incident wavelength to the periodicity and the relative permittivity _λ_ =  _j_ _K_ _z_ 0 0 0 0 _j_ _K_ _z_ 0 0  0 0 _j_ _K_ _z_ 0 0 0 0 _j_ _K_ _z_ of the layer does not affect the accuracy, even if the wavelength ranges from 1/10 to 8 times the periodicity and the relative permittivity of the layer is as high as 40. However, the thickness-to-periodicity ratio significantly affects accuracy at fixed harmonics and wavelengths. When the ratio exceeds approximately 0.3 for 15 harmonics, the error becomes evident and unacceptable. The number of harmonics also affects accuracy. As _H_ increases, the max device thickness decreases. Figure 16 indicates that the maximum device thickness to periodicity ratio is inversely proportional to harmonics. Overall, the results in Figure 14 to 16 basically satisfy the derived formula _dM_ ≈ _�/H_ . _B._ _LIST OF VARIABLES_ The order of variables is dependent on the first time shown in the text. The variables are listed in Tables 3 and 4. REFERENCES [1] J.-W. Kim, J.-H. Jang, M.-C. Oh, J.-W. Shin, D.-H. Cho, J.-H. Moon, and J.-I. Lee, ‘‘FDTD analysis of the light extraction efficiency of OLEDs with a random scattering layer,’’ _Opt. Exp._, vol. 22, no. 1, pp. 498–507, 2014. [2] Y. Ou, D. Pardo, and Y. Chen, ‘‘Fourier finite element modeling of light emission in waveguides: 2.5-dimensional FEM approach,’’ _Opt._ _Exp._, vol. 23, no. 23, pp. 30259–30269, 2015. [3] D. Torregrossa, F. Peyraut, B. Fahimi, J. M’Boua, and A. Miraoui, ‘‘Mul tiphysics finite-element modeling for vibration and acoustic analysis of permanent magnet synchronous machine,’’ _IEEE Trans. Energy Convers._, vol. 26, no. 2, pp. 490–500, Jun. 2011. [4] M. G. Moharam and T. K. Gaylord, ‘‘Rigorous coupled-wave analysis of planar-grating diffraction,’’ _J. Opt. Soc. Amer._, vol. 71, no. 7, pp. 811–818, 1981. [5] L. Li, ‘‘New formulation of the Fourier modal method for crossed surface relief gratings,’’ _J._ _Opt._ _Soc._ _Amer._ _A,_ _Opt._ _Image_ _Sci._, vol. 14, no. 10, pp. 2758–2767, 1997. [6] P. Lalanne and G. M. Morris, ‘‘Highly improved convergence of the coupled-wave method for TM polarization,’’ _J._ _Opt._ _Soc._ _Amer._ _A,_ _Opt._ _Image Sci._, vol. 13, no. 4, pp. 779–784, 1996. [7] G. Granet and B. Guizal, ‘‘Efficient implementation of the coupled-wave method for metallic lamellar gratings in TM polarization,’’ _J._ _Opt._ _Soc._ _Amer. A, Opt. Image Sci._, vol. 13, no. 5, pp. 1019–1023, 1996. [8] P. Götz, T. Schuster, K. Frenner, S. Rafler, and W. Osten, ‘‘Normal vector method for the RCWA with automated vector field generation,’’ _Opt. Exp._, vol. 16, no. 22, pp. 17295–17301, 2008. [9] T. Schuster, J. Ruoff, N. Kerwien, S. Rafler, and W. Osten, ‘‘Nor mal vector method for convergence improvement using the RCWA for crossed gratings,’’ _J._ _Opt._ _Soc._ _Amer._ _A,_ _Opt._ _Image_ _Sci._, vol. 24, no. 9, pp. 2880–2890, 2007. [10] C. Zhou and L. Li, ‘‘Formulation of the Fourier modal method for symmet ric crossed gratings in symmetric mountings,’’ _J. Opt. A, Pure Appl. Opt._, vol. 6, no. 1, p. 43, 2004. [11] J. Li, L. Shi, Y. Ma, Y. Ran, Y. Liu, and J. Wang, ‘‘Efficient and sta ble implementation of RCWA for ultrathin multilayer gratings: T-matrix approach without solving eigenvalues,’’ _IEEE Antennas Wireless Propag._ _Lett._, vol. 20, pp. 83–87, 2021. [12] J. Li, J.-B. Wang, Z. Sun, L.-H. Shi, Y. Ma, Q. Zhang, S.-C. Fu, Y.-C. Liu, and Y.-Z. Ran, ‘‘Efficient rigorous coupled-wave analysis without solving eigenvalues for analyzing one-dimensional ultrathin periodic structures,’’ _IEEE_ _Access_, vol. 8, pp. 198131–198138, 2020, doi: [10.1109/ACCESS.2020.3034760.](http://dx.doi.org/10.1109/ACCESS.2020.3034760) [13] D. Hoang Long, I.-K. Hwang, and S.-W. Ryu, ‘‘Design optimization of photonic crystal structure for improved light extraction of GaN LED,’’ _IEEE_ _J._ _Sel._ _Topics_ _Quantum_ _Electron._, vol. 15, no. 4, pp. 1257–1263, [Jul. 2009, doi: 10.1109/JSTQE.2009.2014471.](http://dx.doi.org/10.1109/JSTQE.2009.2014471) [14] M. Chahmi, M. Bouras, M. Hadjab, and M. A. Saeed, ‘‘Light trapping for absorption control in perovskite-based photovoltaic solar cells,’’ _Prog._ _Electromagn. Res. Lett._, vol. 108, pp. 41–48, 2023. [15] W. Zhou, S.-C. Liu, X. Ge, D. Zhao, H. Yang, C. Reuterskiöld-Hedlund, and M. Hammar, ‘‘On-chip photonic crystal surface-emitting membrane lasers,’’ _IEEE_ _J._ _Sel._ _Topics_ _Quantum_ _Electron._, vol. 25, no. 3, pp. 1–11, [May 2019, doi: 10.1109/JSTQE.2019.2902904.](http://dx.doi.org/10.1109/JSTQE.2019.2902904) [16] J. Xu and M. D. B. Charlton, ‘‘GPU libraries speed performance anal ysis for RCWA simulation matrix operations,’’ _Proc._ _SPIE_, vol. 12415, pp. 151–158, May 2023. [17] S. Tomov, J. Dongarra, and M. Baboulin, ‘‘Towards dense linear algebra for hybrid GPU accelerated manycore systems,’’ _Parallel Comput._, vol. 36, no. 5, pp. 232–240, 2010. [18] J. Xu and M. D. B. Charlton, ‘‘Speed efficiency optimization for GPU accelerated rigorous coupled-wave analysis program,’’ _Proc._ _SPIE_, vol. 12415, pp. 114–123, Mar. 2023. [19] M. G. Moharam, E. B. Grann, D. A. Pommet, and T. K. Gaylord, ‘‘Formu lation for stable and efficient implementation of the rigorous coupled-wave analysis of binary grating,’’ _J. Opt. Soc. Amer. A, Opt. Image Sci._, vol. 12, no. 5, pp. 1068–1076, 1995. [20] R. C. Rumpf, ‘‘Improved formulation of scattering matrices for semi-analytical methods that is consistent with convention,’’ _Prog._ _Elec-_ _tromagn. Res. B_, vol. 35, pp. 241–261, 2011. [21] J. Li, L. Shi, D. Ji, E. L. Tan, Q. Lei, Y. Ma, Y. Ran, Y. Liu, and J. Wang, ‘‘Efficient implementation of Fourier modal method for 2-D periodic structures,’’ _IEEE Microw. Wireless Compon. Lett._, vol. 32, no. 5, pp. 375–378, [May 2022, doi: 10.1109/LMWC.2021.3139360.](http://dx.doi.org/10.1109/LMWC.2021.3139360) [22] P. Lalanne, ‘‘Improved formulation of the coupled-wave method for two dimensional gratings,’’ _J. Opt. Soc. Amer. A, Opt. Image Sci._, vol. 14, no. 7, pp. 1592–1598, 1997. [23] P. Bader, S. Blanes, and F. Casas, ‘‘Computing the matrix exponential with an optimized Taylor polynomial approximation,’’ _Mathematics_, vol. 7, no. 12, p. 1174, Dec. 2019. [24] M. G. Moharam, D. A. Pommet, E. B. Grann, and T. K. Gaylord, ‘‘Stable implementation of the rigorous coupled-wave analysis for surface-relief gratings: Enhanced transmittance matrix approach,’’ _J. Opt. Soc. Amer. A,_ _Opt. Image Sci._, vol. 12, no. 5, pp. 1077–1086, 1995. JINGXIAO XU received the B.Eng. degree in electronic and electrical engineering from the University of Southampton, in 2019, where he is currently pursuing the Ph.D. degree in optical simulation methods. His current research interest includes computational electromagnetism. MARTIN D. B. CHARLTON is currently working as a Professor of nanophotonics and nanofabrication with the University of Southampton, Southampton, U.K. He held the Royal Society Research Fellowship for ten years and founded Mesophotonics Ltd., Southampton, in 2001. He was a Visiting Professor at Japan Advanced Institute of Science and Technology (JAIST), Nomi, Japan, and Xi’an Jiaotong University, Xi’an, China. He holds 33 granted patents in the field of photonic quasi-crystals and has more than 200 academic publications. His research interests include diffractive optics, directional vertical-cavity surface-emitting lasers (VCSELs) and LEDs, hybrid LEDs, photovoltaics, and microdisplays. He was awarded the Rank Ph.D. Thesis Prize, in 1999.

섹션 본문 89문단 · 23,702자

(제목 없음)

1The Rigorous Coupled Wave Analysis (RCWA) method is commonly used to simulate diffractive optical devices, such as photonic crystal LEDs, solar cells, and gratings.Although commercial software is available, the simulation time for real devices can be many hours or even days.Therefore, it is necessary to accelerate the algorithm.Over 50% of the RCWA simulation time is taken up by repetitive solutions of large eigensystems, including eigenvalues and eigenvectors.In this paper, we present a new algorithm that entirely eliminates the need for eigensystem solutions by replacing it with a matrix exponential polynomial approximation method for medium-thickness devices.When implemented on a GPU hardware platform, the total RCWA simulation time was reduced by a factor of 7-60 compared with the classic algorithm.

I. INTRODUCTION

2In studying light matter interactions, The Finite-Difference Time-Domain (FDTD) and the Finite Element Method (FEM) are popular numerical methods that can simulate a broad range of structures, such as arbitrarily shaped non-periodic devices [1], [2].The FEM can also perform multiphysics simulations [3].However, for simulating periodic structures, the Rigorous Coupled-Wave Analysis (RCWA), also known as the Fourier Modal Method (FMM), is widely used because it is accurate and more time efficient.

3This algorithm has been continuously refined [4].The poor convergence of the RCWA TM mode was improved by Li [5], Lalanne and Morris [6], and Granet and Guizal [7] by applying the inverse rule to the grating structures.The factorization rule was later extended to arbitrary periodic structures using the Normal Vector method [8], [9].Zhou and Li also proposed a formula for symmetric structures and achieved a maximum 64x speedup compared with the classic algorithm at normal incidence [10].But this is only valid for symmetric structures.Li et al. achieved an approximately 2x speedup using first-order Taylor expansion to replace eigenvalue calculation.The condition of using this fast algorithm

4The associate editor coordinating the review of this manuscript and approving it for publication was Lei Zhao .

5is that the device must be ultrathin [11], [12].However, the usage of photonic crystal is not limited to ultrathin layer.Many advanced photonic crystal applications in LEDs [13], solar cells [14], and PCSELs [15] require a thicker photonic crystal layer that cannot be simulated by method in [12].

6The key RCWA calculation steps include the Fast Fourier Transform (FFT), eigensystem solution, matrix multiplication, and matrix inversion.Our previous research showed that the eigensystem solution was computationally expensive, accounting for more than 50% of the RCWA simulation time [16].We also investigated the acceleration benefits provided by optimized GPU libraries.A maximum speed gain of only 60% was obtained for the eigensystem solution step using the MAGMA library.This is a relatively small speedup compared to the impact of GPU libraries for matrix multiplication (∼4x) and inversion (2-8x) steps [16].This low speedup is due to the hybrid architecture strategy of the MAGMA library, where only part of the eigensystem solution is implemented on the GPU and the rest on the multithreaded CPU [17].Overall, RCWA based on GPU implementation provides 2-6X speedups [18].

7In this study, a highly efficient RCWA algorithm is proposed without the need to solve eigenvalues and eigenvectors.This method is applicable to arbitrary two-dimensional periodic structures.We reformulate the solution of Maxwell's equations such that a matrix exponential term is derived to replace the eigensystem calculation.Then, an accurate and efficient approximation method was applied to calculate the 18 th -order Taylor expansion of the matrix exponential.This new algorithm is more time efficient than solving the entire eigensystem.We explain the new method in comparison to the classic RCWA algorithm.This method can simulate device with medium thickness satisfying (1).

8The new RCWA formula is presented in Section II.Section III presents speed and accuracy performance comparisons between the classic and new methods.

II. NEW RCWA ALGORITHM WITHOUT EIGENSYSTEM SOLUTION

9The conventional RCWA method has been explained in detail in many studies [5], [19], [20], [21], [22].This study used the same notation as in [22].Figure 1 shows an example of an air hole photonic crystal multilayer structure.The variables used in this derivation are listed in appendix B. Eigensystem calculations, as required for classic RCWA, are computationally expensive.We previously identified the eigensystem solution as the most time-consuming operation in RCWA simulation [16].We now develop an alternative algorithm that replaces the time-consuming eigensystem step with a series of matrix multiplication steps.This method significantly improves the calculation efficiency while maintaining excellent numerical accuracy under certain conditions.The upper bound of device thickness d M should satisfy (1).

10where is the periodicity, H is the highest Fourier order (not the total number of Fourier orders) used in the RCWA simulation.The mathematical derivation and simulation examples can be found in the appendix A. In this study, harmonics refers to the total number of Fourier orders used in the RCWA simulation.

11A first-order ordinary differential equation can be derived for each layer using Maxwell's equations [22].

12S and U are the Fourier coefficients of the electric and magnetic fields, respectively.k 0 is the free-space wave vector.For the analysis in this study, is represented as

13The general solution of layer l to (2) is:

14z l is the initial position of layer l which as shown in Figure 2.

15The vectors U(z l ) and S(z l ) are unknown magnetic and electric field vectors to be determined from the boundary conditions.We note that a potentially problematic matrix exponential term exp(k 0 z) now appears, assuming l = 0.However, this can be solved as follows:

A. MATRIX EXPONENTIAL APPROXIMATION

16The resultant matrix exponential term exp(k 0 z) can be approximated by a modified 18th-order Taylor expansion [23], achieving (1 × 10 −16 ) precision with a minimum of five matrix multiplication steps (as shown in (10) to (20)).

17A normal Taylor expansion of the matrix exponential A, which consists of infinite multiplications, takes the form:

18Implementing an infinite Taylor expansion is impractical; therefore, a modified approximation is used.For the modified Taylor expansion to work, it is first essential to check (and ensure) that the L1 norm of matrix A < 1 is true.The L1 norm of a matrix is given by the maximum absolute matrix column sum:

19a i,j are elements of matrix A, and i, j are the row and column indexes, respectively.N and M are the maximum row and column numbers, respectively.

20If the L1 norm of matrix A > 1, matrix A must first be scaled by 2 −m to ensure that the L1 norm < 1. where m is a non-negative integer determined by

21The matrix exponential is replaced by:

22The matrix exponential can now be calculated by implementing the following algorithm, where A and B with subscripts are intermediate resultant matrices, and the coefficients a, b are given in Table 1.11)

23Equation (20) gives the approximated exponential of matrix A.

24Furthermore, in our specific case, matrix A is an antidiagonal block matrix (from ( 4) and ( 10)).Consequently, the intermediate matrices A 2 , A 3 and A 6 can be simplified by substituting matrices Q and P as follows:

25Using this additional simplification reduces the computational time for the matrix exponential even further.Finally, once the matrix exponential is calculated, the Fourier coefficients of the fields can be obtained using (5) with the given initial values.

B. BOUNDARY CONDITION

26The transmittance matrix (T matrix) boundary condition is used as follows:

27In Figure 2, the Inc,R and T represent the incident, reflected, and transmitted electric and magnetic fields, respectively.

28The boundary conditions (BC) are slightly different depending on the layers involved, as follows:

29Parameter value in matrix exponential algorithm [23].

1) BC1

30At the first interface, between the incident region (usually air) and the top material layer at position z 0 .

312) BC2

32At the interface between intermediate material layers l−1 and l at position z l .

33exp

343) BC3

35At the interface between the bottom material layer and the transmission region (usually a uniform substrate or air), at position z t .

36Equations ( 24)-( 26) are combined to connect the incident, reflected, and transmitted fields over the entire layer stack.

37In the above boundary conditions, Inc, R, and T are vectors containing the Fourier coefficients of the electric and magnetic fields of the incident, reflected, and transmitted waves, respectively.

38Equation ( 28) represents Inc, R, and T with their constituent electric and magnetic fields.l is the matrix of layer l. d l is the thickness of layer l.L is the total number of layers.Currently, the number of unknowns is 8 * harmonics 2 , with 4 * harmonics 2 linear equations to solve (Note: R and T both have 4 * harmonics 2 elements, and the incident wave is determined by the incident plane wave).This matrix equation cannot be used to determine the solutions of R and T .

39However, the electric and magnetic fields have a fixed relationship in the incident and transmitted regions, which can be derived from the classic RCWA formula.Therefore, the number of unknown elements was halved.The field solutions of the uniform layers (reflection and transmission regions) can be directly represented.

40Reflected waves travel backward in the -z direction.

41The incident waves travel in the +z direction.

42The transmitted waves travel in the +z direction.

43where

44V ref and V trn are matrices calculated using

45trn λ trn .µ ref r and µ trn r are the relative permeabilities of the reflection and transmission regions, respectively.ε ref r and ε trn r are the relative permittivities in the reflection and transmission regions, respectively.I is identity matrix.K x and K y are diagonal matrices [22].Substituting (31), (34), and (37) into (28) yields

46Let matrix Y represent the right-hand side of (41), except for the term S trn (z n ) .

47Now, the transmitted electric field S trn (z n ) and reflected electric field S ref (z 0 ) can be solved using (43).Where S inc (z 0 ) is given as the input, V ref and Y can be calculated from the input parameters.

A. ACCURACY PERFORMANCE

48The essence of both RCWA algorithms is the same.The only change is that the eigensystem solution is replaced by a matrix exponential and a boundary condition.The reflections and transmissions calculated from both algorithms should be identical, except for rounding errors from the computer calculations.

49We tested the diffraction efficiency of the structure shown in Figure 7 with 15 harmonics against the wavelengths and incident angles for the TE mode.Figures 3 and 4 show the reflection spectra and photonic dispersion curves, respectively.Figure 5 shows that the maximum percentage error was below 1 × 10 −8 .

50Similarly, for the multilayer structure shown in Figure 11, the percent error of the reflectance is plotted in Figure 6 which shows a maximum value also below 1×10 −8 .

51Therefore, the new algorithm was as accurate as the classic RCWA algorithm, given that the maximum device thickness d M ≈ H / .There are more numerical examples with boarder range of different input parameters in the appendix A.

B. SINGLE LAYER PERFORMANCE

52A simple photonic crystal consisting of a square array of air holes in a membrane layer with refractive index n = 1.9 is investigated.The unit cell of the photonic crystal is illustrated in Figure 7. Simulations were conducted on an IRIDIS 5 supercomputer with the specifications listed in Table 2.A series of RCWA simulations were conducted by comparing the classic Enhanced Transmittance Method (RCWA) [24] and the new algorithm.The computational time was investigated as a function of the number of harmonics, which ranged from 3 to 41.A normal incident light source was applied with 0.4µm wavelength.Both algorithms were implemented using GPU code.

53As shown in Figure 8, our new algorithm yields 6-36x speedups compared with classic RCWA for all tested harmonics.The new method shows a reduced speedup for small harmonics (3 to 7).This is because the difference in calculation time between the matrix exponential and eigensystem solution is minor for small matrix operations, and the percentage of overhead is relatively large, given that the total execution time is approximately 0.01s.The performance gain of the new method is mainly attributed to the replacement of the eigensystem solution (the classic method) with a few matrix multiplications.Note that in the new method, the required matrix is twice the size required for the old method.Hence, the new method provides significant gains over the conventional RCWA algorithm in terms of the computational time.

54The matrix exponential, as explained in Section II, only consists of matrix multiplications, matrix additions, and scaling operations (the eigensystem solution has been eradicated).According to our previous research on the speed performance of GPU libraries on different linear algebra routines, the computational time required for a single matrix eigensystem solution (as required for conventional RCWA) using the MAGMA library is greater than the time taken for 40 matrix multiplications for the equivalent required matrix (a required for the new method) using the CUBLAS library [16], considering that the replacement matrix for the new method is 2x larger.This is illustrated in Figure 9.The matrix size in Figure 9 represents the size of the eigensystem matrix.Matrix size is directly related to the number of harmonics.For the conventional method involving eigensystem calculation, the size of most matrices is 2 * harmonics 2 .Therefore, in this plot, a matrix size of 100 × 100 to 5000 × 5000 represents harmonics of approximately 7 to 49.For matrix sizes ranging from 200 × 200 to 1000 × 1000, the equivalent multiplications increased to more than 100.

55From ( 8)-( 20), at least five multiplications are required for the matrix exponential approximation process.Therefore, the computational times of the eigensystem and matrix exponential are compared in Figure 10.It shows more than 4X speedup in computing a matrix exponential over an eigensystem solution, with the speedup reaching over 10 for harmonics lower than 20.

C. APPLICATION TO COMPLEX MULTILAYER STRUCTURES

56Not practical to test a high complexity multilayer structure, but as a reasonable compromise, a representative structure was used to show proof of concept.It is not practical to investigate all possible device structures within this paper.

57An example of multilayer structure is examined here.This structure has three layers with air holes in the middle.The dimensions of the unit cell are shown in Figure 11.

58The computational speed of the new method is even faster than that of the classic method compared with single-layer device simulation.In Figure 12, a speedup of 7 to 56 was obtained.For one-layer device simulation, classic RCWA requires a solution of the eigensystem (obtains W and V matrices) and a pair of a and b matrices.Calculating this pair involves approximately three multiplications plus one inversion (double-sized matrix) for the last layer or approximately six matrix multiplications plus two matrix inversions (one involving a double-sized matrix) for other layers [24].The matrix exponential has already gained significant speedup compared with the eigensystem solution.As presented in section III-B, one eigensystem calculation is equivalent to few hundreds of matrix multiplications.The additional calculations of the a and b matrices slow the classic ETM RCWA.In the process of linking multilayers, the new method requires one double-sized multiplication for each additional layer (see ( 43)).In comparison, classic RCWA with ETM requires at least one matrix inversion and one multiplication per layer [24].Both methods require similar time in the linking stage.Therefore, as the number of layer increases, the speedup keeps existing given the device satisfy the thickness condition.Overall, the speedup gain of the new method is still significant for multilayer structures compared with ETM RCWA.

D. CPU PERFORMANCE

59The same structures in Figures 7 and 11 were simulated using the CPU platform specified in Table 2.

60The new method also outperformed RCWA ETM in CPU implementation, as shown in Figure 13.For the singlelayer structure, the new method obtains approximately 40% speedup from 11 to 19 harmonics and performs at the same level as the RCWA ETM for other harmonics.The speed gain was up to 70% for the three-layer structure at 15 harmonics.Among the other harmonics, the new method is at least 10% faster than the RCWA ETM.The speed gain of the GPU implementation is more significant than that of the CPU implementation.This is due to the fact that the eigensystem solvers (Intel MKL and MAGMA libraries) are primarily implemented in serial processes.In contrast, matrix multiplication and inversion are efficiently parallelized in GPU tools.Therefore, the proposed method demonstrates particularly robust performance on the GPU platform.

IV. CONCLUSION

61This paper presents a new RCWA algorithm for medium-thickness devices that eliminates the need for eigensystem solutions.Taylor's series of matrix exponential calculations replaces computationally expensive eigensystem calculations.By applying a recent optimization to matrix exponential calculation, our new algorithm achieves more than six speedups compared with the classic RCWA with ETM, and both algorithms utilize GPU computation tools.For CPU implementation, the new method also obtained a speed gain of approximately 40% for medium harmonics.Furthermore, the accuracy of our new algorithm was confirmed to be consistent with that of the classic RCWA algorithm for medium thickness.Although the current experiment employed a simple structure, this method applies to a broader range of periodic devices, provided that the thickness remains within the discussed threshold.

APPENDIX A. MAXIMUM THICKNESS DERIVATION

62The upper bound of the device thickness, d M satisfies d M ≈ /H .This condition is mathematically derived from a single uniform layer RCWA simulation.

63In the computation of the matrix exponential, the Taylor expansion was utilized.The elements of matrix Y in (43) may become very large and much larger than the values in the identity matrix and V ref matrix, which may cause computer round-off errors.The values in P and Q matrices in matrix and the value of z affect the maximum value in Y .For a given periodicity and fixed permittivity shape, the resultant accuracy may be affected by the value of wavelength over periodicity, thickness over periodicity, and number of harmonics.

64For a single uniform layer RCWA simulation, the input parameters are relative permittivity ε r , relative permeability µ r , thickness d, lattice constant , incident wavelength λ, and number of harmonics with the highest order H .In this derivation, the device only contains one free space layer with ε r = 1.The substrate and superstrate are only composed of free space.

65The solution of electromagnetic field propagating in free space can be analytically expressed in matrix form for multiple plane waves in equation (44).where The maximum value in the matrix exponential is approximated as Hd/ th power of 722.83.Therefore, to avoid large difference in values of matrix Y in equation (43), we set the exponent Hd/ ≈ 1.For a fixed lattice constant , the maximum thickness d M should satisfy d M ≈ /H .We performed more accuracy tests on the structure in Figure 7 to see how the accuracy varied with the dimensions of the device and other simulation parameters.

66Figure 14 and 15 shows that the ratio of the incident wavelength to the periodicity and the relative permittivity 127974 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

67of the layer does not affect the accuracy, even if the wavelength ranges from 1/10 to 8 times the periodicity and the relative permittivity of the layer is as high as 40.However, the thickness-to-periodicity ratio significantly affects accuracy at fixed harmonics and wavelengths.When the ratio exceeds approximately 0.3 for 15 harmonics, the error becomes evident and unacceptable.

68The number of harmonics also affects accuracy.As H increases, the max device thickness decreases.Figure 16 indicates that the maximum device thickness to periodicity ratio is inversely proportional to harmonics.Overall, the results in Figure 14 to 16 basically satisfy the derived formula d M ≈ /H .

B. LIST OF VARIABLES

69The order of variables is dependent on the first time shown in the text.The variables are listed in Tables 3 and 4.

FIGURE 1 .

70FIGURE 1. Schematic of a general multilayer 2D photonic crystal air hole model.The structure expands in the x-y plane periodically.

FIGURE 2 .

71FIGURE 2. Fields demonstration of the new algorithm.

FIGURE 3 .

72FIGURE 3. Reflection plot from the new RCWA formulation.

FIGURE 4 .

73FIGURE 4. Reflection plot from classic RCWA algorithm.

FIGURE 5 .

74FIGURE 5.The log10 of percentage error of the new RCWA results of the single layer structure.

FIGURE 6 .

75FIGURE 6.The log10 of percentage error of the new RCWA result of the multilayer structure.

FIGURE 7 .

76FIGURE 7. Schematic of a unit cell of air hole photonic crystal structure used in the simulation.The background material has a refractive index of n = 1.9.r is the hole radius.The top and bottom regions of the device are air.

FIGURE 8 .

77FIGURE 8. Computational time of classic and new algorithms with normal incident and wavelength of 0.4µm and the speedup of the new method.

FIGURE 9 .

78FIGURE 9. Computational time comparison of eigensystem and double-sized multiplication.

FIGURE 10 .

79FIGURE 10.The performance of the eigensystem and matrix exponential as a function of the number of harmonics.

FIGURE 11 .

80FIGURE 11.Schematic of a three-layer air hole photonic crystal.The layer refractive indices from the top to bottom layers are n 0 = 1.9,n 1 = 2.3,n 2 = 3.5.Periodicity in x and y are equal x = y = 0.6µm.the radius of the hole is 0.15µm.The thicknesses of layers are d 0 = 0.03µm,d 1 = 0.03µm and d 2 = 0.04µm.The region outside the device is air.

FIGURE 12 .

81FIGURE 12. Computational time of classic and new algorithms of 3-layer structure as in Figure 10 with normal incident and wavelength of 0.4µm and the speedup of the new method.

FIGURE 13 .

82FIGURE 13.Execution time of CPU implementation of RCWA ETM and the new method.The speedup of the new method is highlighted in red on the right-y axis.a) Simulation results of the multilayer structure in Figure 11.b) Simulation results of the single-layer structure in Figure 7.

FIGURE 14 .

83FIGURE 14.The absolute difference of diffraction efficiency of the new method with different wavelength/periodicity and thickness/periodicity ratios of 15 harmonics.Color bar indicates the log10 of the absolute difference between the new method and the classic RCWA.

FIGURE 15 .

84FIGURE 15.The absolute difference of diffraction efficiency of the new method with different relative permittivity of the photonic crystal layer and thickness/periodicity ratios of 15 harmonics.Color bar indicates the log10 of the absolute difference between the new method and the classic RCWA.

FIGURE 16 .

85FIGURE 16.The absolute difference of the diffraction efficiency of the new method with different thickness/periodicity and highest Fourier order H (1 to 15).Color bar indicates the log10 of the absolute difference between the new method and the classic RCWA.

86) And K x and K y are normalized wavevector matrixes with diagonal entries k x = mλ/ , k y = nλ/ .m = n = −H , . . ., −1, 0, 1, . . ., H . Let λ =

TABLE 4 .

87List of variables B. with equation(5).Therefore, the max value of the matrix exponential is the exponential of k 0 d times the maximum value in −jK z .Consider the case that ε r µ r I is much smaller than K 2x + K 2 y .exp(k0 d) max ≈ exp k 0 d K 2 x

TABLE 2 .

88The hardware configuration of this experiment.

TABLE 3 .

89List of variables A.

참고문헌 24건

  1. Formulation of the Fourier modal method for symmetric crossed gratings in symmetric mountings Journal of Optics A Pure and Applied Optics · Springer Science+Business Media · 2003 10.1088/1464-4258/6/1/009
  2. Improved formulation of the coupled-wave method for two-dimensional gratings Journal of the Optical Society of America A · Optica Publishing Group · 1997 10.1364/josaa.14.001592
  3. Multiphysics Finite-Element Modeling for Vibration and Acoustic Analysis of Permanent Magnet Synchronous Machine IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2010 10.1109/tec.2010.2080681
  4. Formulation for stable and efficient implementation of the rigorous coupled-wave analysis of binary gratings Journal of the Optical Society of America A · Optica Publishing Group · 1995 10.1364/josaa.12.001068
  5. Stable implementation of the rigorous coupled-wave analysis for surface-relief gratings: enhanced transmittance matrix approach Journal of the Optical Society of America A · Optica Publishing Group · 1995 10.1364/josaa.12.001077
  6. Normal vector method for the RCWA with automated vector field generation Optics Express · Optica Publishing Group · 2008 10.1364/oe.16.017295
  7. FDTD analysis of the light extraction efficiency of OLEDs with a random scattering layer Optics Express · Optica Publishing Group · 2014 10.1364/oe.22.000498
  8. Efficient implementation of the coupled-wave method for metallic lamellar gratings in TM polarization Journal of the Optical Society of America A · Optica Publishing Group · 1996 10.1364/josaa.13.001019
  9. New formulation of the Fourier modal method for crossed surface-relief gratings Journal of the Optical Society of America A · Optica Publishing Group · 1997 10.1364/josaa.14.002758
  10. Highly improved convergence of the coupled-wave method for TM polarization Journal of the Optical Society of America A · Optica Publishing Group · 1996 10.1364/josaa.13.000779
  11. Design Optimization of Photonic Crystal Structure for Improved Light Extraction of GaN LED IEEE Journal of Selected Topics in Quantum Electronics · IEEE Photonics Society · 2009 10.1109/jstqe.2009.2014471
  12. Rigorous coupled-wave analysis of planar-grating diffraction Journal of the Optical Society of America · Optica Publishing Group · 1981 10.1364/josa.71.000811
  13. Normal vector method for convergence improvement using the RCWA for crossed gratings Journal of the Optical Society of America A · Optica Publishing Group · 2007 10.1364/josaa.24.002880
  14. IMPROVED FORMULATION OF SCATTERING MATRICES FOR SEMI-ANALYTICAL METHODS THAT IS CONSISTENT WITH CONVENTION Progress In Electromagnetics Research B · The Electromagnetics Academy · 2011 10.2528/pierb11083107
  15. Towards dense linear algebra for hybrid GPU accelerated manycore systems Parallel Computing · Elsevier BV · 2009 10.1016/j.parco.2009.12.005
  16. Fourier finite element modeling of light emission in waveguides: 25-dimensional FEM approach Optics Express · Optica Publishing Group · 2015 10.1364/oe.23.030259
  17. On-Chip Photonic Crystal Surface-Emitting Membrane Lasers IEEE Journal of Selected Topics in Quantum Electronics · IEEE Photonics Society · 2019 10.1109/jstqe.2019.2902904
  18. Computing the Matrix Exponential with an Optimized Taylor Polynomial Approximation Mathematics · Multidisciplinary Digital Publishing Institute · 2019 10.3390/math7121174
  19. Efficient Rigorous Coupled-Wave Analysis Without Solving Eigenvalues for Analyzing One-Dimensional Ultrathin Periodic Structures IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3034760
  20. Efficient and Stable Implementation of RCWA for Ultrathin Multilayer Gratings: <i>T</i>-Matrix Approach Without Solving Eigenvalues IEEE Antennas and Wireless Propagation Letters · IEEE Antennas & Propagation Society · 2020 10.1109/lawp.2020.3041299
  21. Efficient Implementation of Fourier Modal Method for 2-D Periodic Structures IEEE Microwave and Wireless Components Letters · IEEE Microwave Theory and Techniques Society · 2022 10.1109/lmwc.2021.3139360
  22. Light Trapping for Absorption Control in Perovskite-based Photovoltaic Solar Cells Progress In Electromagnetics Research Letters · The Electromagnetics Academy · 2022 10.2528/pierl22110505
  23. GPU libraries speed performance analysis for RCWA simulation matrix operations 2023 10.1117/12.2650112
  24. Speed efficiency optimization for GPU accelerated rigorous coupled-wave analysis program 2023 10.1117/12.2650022