1 Introduction

Renewable and sustainable resources of energy have a great attention as efficient alternatives to conventional power sources that are based on fossil fuels (Izadi et al. 2021). In recent years, there have been a great advancement in photovoltaic (PV) technology to produce various solar devices. However, the 3rd generation perovskite solar cells (SCs) have attracted a great interest in scientific world with low-cost implementation and high efficiency (Umari et al. 2014); Liu et al. (2019a). Perovskites have some properties that make them suitable materials for PV solar cells. They have high coefficient of absorption, high mobility carrier, large diffusion length of charge carriers and long carrier life span which lead to a new record of PSC with a good efficiency of 25.2% (Park et al. 2016). They have also a great impact to rebate the manufacturing cost of photovoltaics significantly. The most common type of perovskite materials is [Methylammonium (MA) lead iodide] (CH3NH3PbI3) or (MAPbI3) due to its great performance in PV sector (Hwang et al. 2016); (Burschka et al. 2013). Although these materials have introduced high values of power conversion efficiency (PCE), lead is not eco-friendly (toxic) and harmful to humans and environment. Further, lead-based electronic devices have been harshly restricted by the European union and large number of countries as well. Lead degrades easily when it becomes in contact with water (Huang et al. 2019; Liu et al. 2019a, 2019b). Therefore, lead-free [Methylammonium (MA) tin iodide] (CH3NH3SnI3) or (MASnI3) has been investigated as a PV material due to its outstanding optoelectronic features (Hao et al. 2014a; Hao et al. 2014b; Patel 2021a, 2021b). Additionally, Tin (Sn)—based perovskite is an efficient replacement to lead—perovskite owing to excellent photovoltaic properties, cheap fabrication cost, suitable band gap of 1.02 eV, eco-friendly and great performance in converting sunlight to electrical energy (Poortmans et al. 2006; Nouf et al. 2006).

It has been also proved that the use of Sn doesn’t affect badly the performance of the cell. The Sn has a very close chemical similarity to the Pb with improved PCE from 6 to 10%. In addition, tin perovskite (Sn) has been successfully used in SCs since 2014, with low efficiencies within the range from 5.73% to 6.40% (Noel et al. 2014; Hao et al. 2014a, 2014b). Currently, tin perovskite SCs have an efficiency of 14.63%, compared to 25.2% of pb perovskite SC (Jiang et al. 2021). Such an efficiency gap is primarily due to the oxidation of Sn (II) to Sn (IV), low open circuit voltage, poor film quality, and irreproducibility. Although, the efficiency is lower than that of Pb based PSC, there is a room for efficiency enhancement (Jeong et al. 2021). Sunny et al. (2021) have introduced a PSC with layers of FTO/TiO2/CH3NH3SnI3/Ni which produced photocurrent density of 31.93 mA/cm2. Patel have achieved photocurrent density of 40.14 mA/cm2 (Patel 2021a, b) using FTO/TiO2/CH3NH3SnI3/Cu2O layers. Additionally, Jayan et al. have demonstrated PSC with 34.27 mA/cm2 based on layers of FTO/PCBM/CH3NH3SnI3/Spiro-OMeTAD/Pd (Jayan et al. 2021). Qasim et al. have suggested a PSC structure using FTO/ZNO/Cds/CH3NH3SnI3/GaAs/Au layers that offered 33.86 mA/cm2 (Qasim et al. 2021). Alam et al. have designed PSC of FTO/In2S3/CH3NH3SnI3/Spiro-OMeTAD/Au (Alam et al. 2020) which achieved a photocurrent density of 33.44 mA/cm2.

Effective light trapping technique can be used to increase the light absorption with improved conversion efficiency (Saffari et al. 2017). In this context, different nanostructures have been used such as cubic (Chen et al. 2021), sphere (Chen et al. 2021; Heidarzadeh et al. 2021), cylinder (Khaled et al. 2021) and cone (Khaled et al. 2021) to improve the absorption of SC. In this paper, thin-film perovskite SC (PSC) is reported and analyzed with Ni moth-eye nanostructures in the active layer. The suggested PSC is lead-free that consists of layers of ITO, TIO2, CH3NH3SnI3, and Cu2O. Further, Ni nanostructures are used to improve the light trapping in the active material with improved optical efficiency. The proposed design is simulated using finite difference time domain (FDTD) method through Lumerical software package (https://www.lumerical.com/) to accurately predict the light absorption, photocurrent density and also the generation rate. The suggested PSC achieves photocurrent density of 46.59 mA/cm2, generation rate of 5.45 e28 m−3. s−1 and an ultimate efficiency of 33.81% compared to 44.16 mA/cm2, 2.07 e28 m−3. s−1 and 29.29% of planar PSC, respectively. The achieved results are better than those presented in (Sunny et al. 2021; Patel 2021a, b; Jayan et al. 2021; Qasim 2021; Alam et al. 2020).

2 Design considerations

Figure 1 shows schematic diagrams of the planar and suggested PSCs with MASnI3 as an active perovskite material. The planar PSC has an anti-reflection coating glass of indium tin oxide (ITO) (Moerland et al. 2016), and n-type compact layer material of Titanium dioxide (TIO2) (Guo et al. 2019). The active (absorber) layer has thin film of MASnI3 perovskite material (Hao et al. 2014a, 2014b); Patel 2021a, 2021b), a p-type layer of copper (I) oxide (Cu2O) (Khattak et al. 2018; Yu et al. 2015) and back contact layer of Aluminum (Al). Figure 1b shows the proposed PSC with Ni moth-eye nanostructures impeded in the active layer (Soliman et al. 2020a, 2020b). Table 1 shows the geometrical parameters and materials of anti-reflection, absorption, buffer, and protective layers. The ITO anti-reflective coating layer decreases the light reflection and improves its entrance to the PSC. Further, the ITO acts as a PSC contact layer because it has a high conductivity. According to the electrical resistance law, the electrical conductivity increases with the thickness increase, but this will decrease the SC transparency. The TIO2 layer represents n-type and acts as a buffer layer to avoid charge recombination effect. Therefore, it can be considered as an electron-selective contact layer. The TIO2 improves the PSCs performance because it is an electron transport material (ETM). Further, active layer of MASnI3 perovskite material has the ability to molder the bonds and release a large number of electrons because of its high absorption coefficient. It is aimed to improve the conversion efficiency of the proposed PSC, by trapping the light in the perovskite layer to enhance the light absorption. Therefore, moth-eye nanostructures are embedded in the active layer with diameter (D), lattice constant (P) and height (H) as illustrated in Fig. 1b. The nanostructures can enhance the PSC efficiency where localized surface plasmon resonances can be produced to increase the absorption of the active material. The fourth layer of the proposed PSC is Cu2O which acts as a p-type material. This is due to its low processing solution temperature with high transparency (Bhargava et al. 2018). The holes are collected at the Aluminum back-contact layer. Further, light will be reflected back to the active material by the Al layer which improves the light absorption. To prevent surface oxidation and contamination of the cell, the proposed design PSC is coated with protective material of SiO2 (Adam et al. 2020; Soliman et al. 2020a, 2020b). The thickness of each layer is illustrated in Table 1.

Fig. 1
figure 1

3D Schematic diagrams of a planar PSC and b suggested PSC integrated with Ni moth-eye nanostructures

Table1 Geometrical parameters of the different layers of the PSC

The absorption of the PSC is calculated using the following equation (Abdel-Latif et al. 2018).

$$ A\left( \lambda \right) \, = \, 1 \, {-} \, R\left( \lambda \right) \, {-} \, T\left( \lambda \right) $$
(1)

where A(λ) is the wavelength dependent absorption in the cell, R(λ) is the light reflectance, T(λ) represents the wavelength dependent transmittance. In this study, the ultimate efficiency (η) of the reported SC is given by Eq. (2) (Huang et al. 2012), assuming no recombination loss. Additionally, every absorbed photon result in the formulation of an electron hole pairs.

$$ {\eta } = { }\frac{{\mathop \smallint \nolimits_{{{\uplambda }_{1} }}^{{{\uplambda }_{g} }} F_{s} \left( {\uplambda } \right)* A\left( {\uplambda } \right)\frac{{\uplambda }}{{{\uplambda }_{g} }} d{\uplambda }}}{{\smallint F_{s} \left( {\uplambda } \right) d{\uplambda }}} $$
(2)

where λg is the bandgap wavelength of MASnI3, λ_1 = 300 nm, and Fs (λ) represents the photon flux density at AM1.5 (Spectral and Irradiance: (http://rredc.nrel.gov/solar/spectra/am/astmg173/astmg173.html). The photo current density can be estimated by (Lin et al. 2009):

$$ J_{ph} = {\eta }\frac{{e {\uplambda }_{g} }}{h c} \smallint F_{s} \left( {\uplambda } \right) d{\uplambda } $$
(3)

where e is electron charge, c is the light speed, and h is the plank’s constant. The optical electron–hole pair generation rate in the absorber layer is calculated by the following equation (Abdelraouf et al. 2016):

$$ G_{opt} = \frac{{\varepsilon^{\prime\prime} E^{2} }}{2 h} $$
(4)

where Gopt is the optical generation rate, E is the electrical field and ε is the imaginary part of permittivity.

3 Numerical results and discussion

The simulation is performed by using three-dimensional finite difference time domain (3D—FDTD) based on Lumerical software package to evaluate the light absorption of the suggested design. The sunlight is simulated by a plane source localized above the structure, which has a solar spectral irradiance of AM1.5 through a wide range of wavelength from 300 to 4000 nm. The unit cell of the nanostructured PSC is shown in Fig. 2. Plane wave source in the wavelength range of 200 to 1500 nm is propagated in z-back ward direction. The studied wavelength range is from 300 to 1250 nm. Smallest wavelength of 300 nm is used which is the onset wavelength of solar irradiation. Largest wavelength of 1250 nm is used where λg = 1200 nm for CH3NH3SnI3 material. To reduce the computational time, symmetric and asymmetric boundary conditions in X- and Y- directions are used as a replacement of periodic boundary conditions (Khattak et al. 2018). Further, perfectly matched layer (PML) boundary conditions are used in the Z direction. Non-uniform conformal meshing is also used to reduce the meshing errors with high accuracy. In order to obtain accurate results, minimum meshing size of dx = dy = dz = 1.0 nm is used. By using frequency-domain power monitors, the transmission and reflection are estimated. In this context, a monitor is placed above the plane wave source as shown in Fig. 2 to calculate the light reflectance R(λ). Further, another monitor is placed below the back contact layer to calculate the transmission T(λ). Table 2 shows the simulation parameters of the reported SC. The optical constants of ITO/TIO2/CH3NH3SnI3/Cu2O are taken from the reported measurements in (Baum et al. 2013; Wang et al. 2013; Roknuzzaman et al. 2018; Nordseth et al. 2017). The back Al and Ni moth-eye nano structure optical constants are selected from palki’s handbook (Palik et al. 1998). Initially, planar PSC illustrated in Fig. 1a is simulated with an optical model to calculate and estimate the absorption, photocurrent density, optical generation rate and the ultimate efficiency. Then, moth-eye nanostructures from Ni material are added to the active layer as shown in Fig. 1b to enhance and maximize the absorption and carrier generation rate. The Ni moth-eye has height H of 350 nm, diameter D of 165 nm and lattice constant P of 165 nm. These dimensions have been selected after doing an optimization to achieve high absorption in the PSC.

Fig. 2
figure 2

The x–z plane unit cell of the proposed design

Table 2 The parameters of the FDTD simulation of the suggested PSC

Figure 3 shows the absorption curve of the planar and proposed PSCs. It may be seen that there is an increase in the light absorption using the moth-eye nanostructure PSC with improved light trapping. Therefore, there is an increase in the photo current density, generation rate and ultimate efficiency. The moth-eye Ni nanostructures inside the active layer concentrate the electromagnetic field through the active layer with an enhanced near-field scattering in the vicinity of the structure. Figure 4b shows the electric field profile of the moth-eye structure PSC at a wavelength of 750 nm compared to planar PSC electric field profile in Fig. 4a. It should be noted that the calculated absorption does not contain the absorption of the plasmonic moth-eye nanostructures. It may be seen from these figures that the concentration of electric field of the proposed design PSC is higher than that of the planar SC.

Fig. 3
figure 3

Absorption spectra of the planar PSC and moth-eye based PSC

Fig. 4
figure 4

Electric field profile for a planar and b moth-eye based PSCs at λ = 750 nm

The resonances around the moth-eye nanostructures are due to the supported localized surface plasmons modes. The charge carriers in the nanostructures are vibrated collectively due to the incident of electromagnetic radiation. Since plasmonic nanostructures became close to each other, their near electric fields are overlapped. Therefore, there is an interaction between the electrical fields of these nanostructures. This leads to new plasmonic modes with different energies than the individual nanostructure. Therefore, an absorption enhancement occurs compared to planar PSC. It means that an improvement in the electric field profile of the cell due to the presence of moth-eye nanostructure in the active layer of perovskite solar cell. Figure 5 shows the optical generation rate profile for the planar and proposed PSCs with moth-eye nanostructures at wavelength of 750 nm. It may be seen that the optical generation rate of the PSC with moth-eye nanostructure is improved as shown in Fig. 5b. The absence of moth-eye nano structure in the active layer requires more holes to travel a long distance to reach the HTL. This will increase the probability of recombination in the PSC and the transfer of carriers doesn’t occur properly. On the other hand, the implemented nanostructures in the active layer help the holes travel over a shorter path than that of the conventional planar PSC. The maximum optical generation rate (Gopt) of each structure is estimated using Eq. (4) which is equal to 2.07 e 28 (m−3. s−1) for the planar and 5.45 e 28 (m−3. s−1) for the proposed PSC. The photocurrent density (Jph) is also evaluated using Eq. (3) to show the difference between the planar and proposed PSC. The photocurrent density is 44.16 mA/cm2 for the planar PSC and 46.59 mA/cm2 for the reported PSC. The ultimate efficiency of the planar and proposed design PSC are 29.29% and 33.81%, respectively.

Fig. 5
figure 5

Optical Generation rate profile for a planar b moth-eye based PSCs at wavelength of 750 nm

It’s found that the use of moth-eye nanostructure in the active layer increases the efficiency with an enhancement factor of 15.43% than the planar design. Figure 6 shows the ultimate efficiency related to hole transport layer material type. The effect of the material type of the hole transport layer (HTL) is studied with the same thickness of 420. It is shown from the Fig. 6 that the Cu2O as a hole transport layer introduces the best performance with an ultimate efficiency of 29.29% compared to other materials such as NiO (Souri et al. 2009) of 29.01%, Spiro-OMeTAD (Fantacci et al. 2011) of 28.87%, CuSCN (Pattanasattayavong et al. 2013) of 28.45% and PEDOT: PSS (Fung et al. 2011) 27.92% respectively. Best performance of PSC is achieved with Cu2O as HTL compared to other studied materials. This is because of the high mobility and conductivity of the copper based inorganic p-type semiconductor material. Further, the Cu2O has higher valence band than the other materials which is in good alignment with active layer material.

Fig. 6
figure 6

Impact of the hole transport layer material type on the ultimate efficiency of the reported PSC

In order to choose the perfect electron transport layer (ETL), different types of materials are tested. As shown in Fig. 7, it is evident that the TiO2 as an electron transport layer achieves the optimum performance with ultimate efficiency of 29.29% compared to other used materials such as SnO2 (Diana et al. 2010) of 27.6%, PCBM (Lee et al. 2010) of 22.68%, ZnO (Djurišić et al. 2006) of 29.11% and C6O (Dresselhaus et al. 1996) of 25.29%. Best performance of PSC is achieved with TiO2 as ETL compared to other ETLs. This is because TiO2 has an appropriate band gap level for electrons injection. The TiO2 has a better chemical stability, high electron mobility, low installation cost and environmental familiarity as well. TiO2 material has a suitable bandgap between detraction the transportation of holes.

Fig. 7
figure 7

Impact of the electron transport layer material type on the ultimate efficiency of the reported PSC

Nanostructure shape also has a great effect on the ultimate efficiency of the PSC as shown in Fig. 8. It may be seen that the PSC with moth-eye nanostructures achieves higher ultimate efficiency than other nanostructures shown in Table 3. Table 3 shows the different nanostructure shapes integrated in the active layer in this study with their dimensions.it is worth noting that the dimensions of all shapes embedded to the active layer have the same volume. The moth-eye nanostructures-based PSC achieve higher efficiency of 33.81% compared to other shapes such as star, cylindrical and pyramids with efficiencies of 32.53%, 31.8% and 32.6%, respectively. Also, the type of used material of moth-eye nanostructure is studied to maximize the efficiency of the cell. It is evident from Fig. 9 that the Ni material has achieved better efficiency with an ultimate efficiency of 33.81% compared to other used materials such as Al of 33.36%, Au of 33.56%, Ag of 33.6%, Tio2 (the same material of ETL) of 30.77%, Cu2O (the same material of HTL) of 30.79% and GeSe (Eymard et al. 1977) of 33.46%.

Fig. 8
figure 8

Impact of the shape of the nanostructure embedded in the active layer on the ultimate efficiency of the reported PSC

Table 3 Dimensions of different nanostructure shapes
Fig. 9
figure 9

Impact of the of different nanostructures material on the ultimate efficiency of the reported PSC

It is worth noting that the absorption shown in Fig. 3 includes the absorption of the plasmonic moth eye nanostructures. Therefore, the location of the plasmonic nanostructures above the active layer is tested as shown in the unit cell presented in Fig. 10. The absorption spectra of the proposed design and planar PSCs are shown in Fig. 11. In this study, the geometrical parameters are taken as hole pitch of 500 nm, diameter of 50 nm and height of 350 nm. It is evident that the absorption spectra of the moth-eye nanostructure PSC's enhanced the light trapping and increased light absorption. Consequently, the generation rate, the photo current density, and the overall efficiency all increase. The moth-eye Ni nanostructures on surface focus the electromagnetic field with enhanced near-field scattering around the nanostructure structure. Figure 12 shows the electric field profile through the active layer of the planar and PSCs covered by the moth-eye nanostructures at λ = 750 nm. It may be seen that the proposed design has better electric field concentration and hence greater generation rate in the active layer compared to that of the planar SC. The PSC with moth-eye nanostructure on the surface has an enhanced optical generation rate of 3.38 e28 (m−3. s−1) than planar SC of 2.07 e28 (m−3. s−1). Equation (3) is used to evaluate the photocurrent density (Jph) in order to demonstrate the differences between the surface proposed PSC and the planar PSC. The photocurrent density for the reported PSC is equal to 46.0082 mA/cm2, whereas it is 44.16 mA/cm2 for the planar PSC. The planar PSC's overall efficiency is 29.29% whereas the reported PSC with moth-eye nanostructures is 31.76%.

Fig. 10
figure 10

The unit cell of the proposed design covered by the moth eye nanostructures in the x–z plane

Fig. 11
figure 11

Absorption spectra of the planar PSC and PSC covered by moth-eye nanostructures

Fig. 12
figure 12

Electric field profile through the active layer of the a planar and b PSCs covered by the moth-eye nanostructures at λ = 750 nm

The diameter of the moth-eye nanostructures over the PSC is also investigated at a constant hole pitch of 500 nm. Figure 13 shows the ultimate efficiency and absorption variations with the moth-eye diameter. It is evident that the absorption and hence the ultimate efficiency decrease by increasing the plasmonic nanostructure diameter. The large diameter prevents the light penetration through the active material of the PSC with large reflection. Maximum ultimate efficiency of 31.76% is obtained at a diameter of 50 nm. Table 4 shows a comparison between the reported nanostructured PSC and those reported in the literature. It is evident that the suggested PSC covered by plasmonic moth-eye nanostructures achieve higher photocurrent density than those suggested in the literature (Patel 2021a, b, Jayan et al. 2021, Qasim et al. 2021, Alam et al. 2020, Sunny et al. 2021).

Fig. 13
figure 13

Impact of the moth-eye diameter on a the ultimate efficiency b the absorption of reported PSC

Table 4 Comparison between the reported nanostructured PSC and those reported in the literature

4 Fabrication methodology

The 3rd generation perovskite solar cell fabrication is simple. It requires less energy compared to silicon solar cells. The temperature required for fabrication process is about 450 °C which is low compared to temperature of 1200 °C required for silicon. Figure 14 shows the fabrication steps of PSC. First, Indium tin oxide (ITO) is cleaned with several materials such as ethanol, acetone, isopropanol, and deionized water respectively. Then, ITO is electrolyzed in FeCl3 solution to etch the ITO (https://www.ossila.com/collections/substrates-and-fabrication). A compact layer (TiO2) is next treated carefully using the aqueous solution of TiCl4 which is used to dip the film for 30 min at about 70 °C, rinsed with deionized water and annealed at 450 °C for 30 min. Then, the TiO2 is cooled to temperature room. Finally, a compact layer (TiO2) is deposited on the ITO substrate by spin coating for 30 s at 3000 rpm (this step will be repeated twice followed by annealing at 145 °C for 15 min for each time) (Cojocaru et al. 2015). The next step, perovskite films are prepared by spin coating as follows, The SnI2 will be spin coated at 3000 rpm for 30 s on TiO2 by dipping it in N, N-dimethy1 formamide (DMF) where small amount of BTA will be added to the solution. Then, it will be annealed at 70 °C for about 15 min and will be cooled to the room temperature. The methylammonium (MA) iodide solution will be next spin coated at 4000 rpm at 45 s onto SnI2 films after dipping in solution. Finally, the samples will be annealed at 145 °C for about 30 min to grow into MASnI3 films (https://www.ossila.com/collections/substrates-and-fabrication; Bi et al. 2014).

Fig. 14
figure 14

Flow diagram of PSC fabrication process

To add nanostructure of Ni in the perovskite layer, thermal deposition can be used at about 450 °C followed by annealing process at 145 °C. Then, it will be cooled to room temperature. The perovskite layer active layer with Ni nanostructure is now ready to be active layer in the PSC (Saliba et al. 2018). Now spin coat a solution of Cu2O on top of the perovskite layer at 2000 rpm for about 45 s to form the Cu2O film. After spin coat process, we will leave it in a desiccator overnight in air. This allows the Cu oxidation which will further p-dope the Cu2O making it more conductive for holes. Before evaporating the AL metal contact using thermal deposition (Liu et al. 2013), we can remove the excess material around the active area with a razor (https://www.ossila.com/collections/substrates-and-fabrication). The PSC is now ready to be used for converting sunlight into electrical power. Regarding the second design, the Ni nanostructures can be deposited over the PSC surface using thermal deposition at 450 °C. Then, an annealing process can be done at 145 °C and cooled at room temperature on the ITO layer (Saliba et al. 2018).

5 Conclusion

Lead -free MASnI3 based PSC performance is studied and analyzed to maximize the light absorption using FDTD simulation based on Lumerical package software. It is found that the suggested PSC integrated with Ni moth-eye nanostructures achieves better light absorption than other nanostructures. The numerical results show that the planar PSC has a photocurrent density of 44.16 mA/cm2, an optical generation rate of 2.07 e28 (m−3. s−1) and an ultimate efficiency of 29.29%. The integration of moth-eye nanostructure in the proposed design PSC improves and enhances the light absorption in the cell due to the excitation of localized surface plasmon resonances above the surface. The proposed PSC achieves photocurrent density of 46.0082 mA/cm2 with an enhancement of 5.43% relative to planar PSC. Further, an optical generation rate 3.38 e28 (m−3. s−1) and an ultimate efficiency of 31.76% are obtained with an improvement of 63.29% and 14.496% relative to planar PSC at AM1.5 global condition.