1 Introduction

In the past few decades, organic and inorganic hybrid perovskite have attracted more and more attention due to their superior photoelectric properties [1,2,3,4]. The power conversion efficiency (PCE) of single-junction perovskite solar cells has recently increased from 3.8% to more than 25% [5,6,7,8]. Inverted perovskite solar cells offer high stability, low hysteresis, and lightweight characteristics, making them suitable for great application in wearable electronic devices and tandem perovskite solar cells [9,10,11]. However, the PCE of inverted perovskite solar cells has been lower than that of regular perovskite solar cells resulting from the perovskite film serious recombination loss [12, 13]. A large number of traps on the grain boundary of perovskite films hinder carrier separation and lead to charge non-radiative recombination, which is an important reason for the low performance of inverted perovskite solar cells [14, 15]. Therefore, improving the quality of the perovskite film is very important for the efficiency and stability of inverted perovskite solar cells. A simple and effective method to increase the grain sizes of perovskite films is urgently needed. Furthermore, passivation strategies were confirmed as an efficient method of suppressing perovskite film defects [16,17,18].

In the process of preparation of perovskite films, improving the quality of perovskite films by adding additives with specific functional groups is widely discussed. The addition of specific functional groups can effectively passivate the defects in the perovskite matrix, such as amine (–NH2), hydroxyl (–OH), acid (–SO3), or halides, can effectively passivate the defects in the perovskite matrix, and improve the quality and optoelectronic properties of the films [19,20,21,22,23]. When Cl is added to iodized perovskites, it can replace iodine, reduce the number of iodine vacancies, achieve better crystallization quality, and improve the stability of the material [24]. It has been found that the addition of ammonium cation (NH4+) into organic perovskites can regulate and optimize the microstructure of the perovskite film, which in turn enhances its performance. In addition, NH4+ cations could properly fill into the vacancies of MA, or enter into the interstitial places of MA to passivate defects. The NH4+ cation compared to the Na+ or K+ due to its larger ion radius, and the cation with a larger ionic radius makes it more difficult to enter the MA ionic gap, thus reducing the defects caused by the addition of too much non-perovskite phase to the perovskite film, which can better passivate the trap states in perovskite [25, 26].

In this manuscript, ammonium chloride (NH4Cl) is introduced into a perovskite precursor solution to optimize the properties of perovskite films. For comparison, NH4Cl-free inverse structures were also prepared under the same fabrication conditions. With the addition of NH4Cl, the crystallites of perovskite films were enhanced and grain boundaries were reduced. X-ray photoelectron spectroscopy (XPS) was used to detect the effect of NH4Cl on perovskite films. These results show that 20 mg NH4Cl effectively passivates perovskite films, and the density of trap states was reduced. Compared with the pure perovskite device with a PCE of 10.24%, the efficiency of the perovskite solar cell based on 20 mg NH4Cl reaches 13.67%. Our results provide a surface treatment method for the inverted perovskite solar cells that can deliver high-efficiency outcomes. This strategy offers the obvious potential for perovskite-based photovoltaic technologies and greatly promotes their development. For another, larger perovskite grains have a superior photoelectric response, making them ideal for use in photoconductive detectors and photosensitive sensors. In addition, the process of passivating perovskites has several benefits, including efficient electron–hole pair separation, faster charge migration, and higher stability. These advantages are of great significance in the field of photocatalysis and photovoltaic power generation and are a great progress in the development of clean energy [27].

2 Experimental section

2.1 Experiment materials

Lead iodide (PbI2, Aladdin, 99.9%), methylammonium iodide (CH3NH3I, Macklin, 99.5%), dimethyl sulfoxide (DMSO, Aladdin, 99.9%), γ-butyrolactone (GBL, J&K Scientific Ltd, 99%), 3,4-oxyethyleneoxythiophene-poly (styrene sulfonate) (PEDOT:PSS, J&K Scientific Ltd.), [6,6]-phenyl-C61-butyric acid methyl ester (PCBM, Bide medicine, 99.7%), chlorobenzene(C6H5Cl, J&K Scientific Ltd. 98.0%), anhydrous ethanol(C2H6O, Lingfeng, 99.7%), bathocuproine (BCP, Baolaite, 99%), and ammonium chloride(NH4Cl, 99.5%).

2.2 Device fabrication

ITO glass is cleaned with ethanol and acetone for 30 min to remove the pollutants from the glass surface and irradiated with ultraviolet to change its hydrophobicity. The ITO glass was then placed in a spin coater. 80 μL PEDOT:PSS is spin-coated on the ITO at 4000 rpm for 30 s, then annealed at 110 ℃ for 30 min. Next, 50 μL CH3NH3PbI3 precursor solution (470.9 mg PbI2, 162.4 mg MAI in a mixture of 0.7 mL GBL and 0.3 mL DMSO) was spin-coated on the PEDOT:PSS layer at 1500 rpm for 20 s and 4000 rpm for 40 s, then annealed at 110 °C for 10 min. 50 μL PCBM spin-coated on the CH3NH3PbI3 layer at 2000 rpm for 30 s, then annealed at 90 °C for 10 min. 50 μL BCP spin-coated on the PCBM layer at 2000 rpm for 20 s, then annealed at 80 °C for 10 min. PCBM is considered an electron transport layer (ETL), and BCP promotes the charge transfer between the ETL and Ag electrode. Finally, the 100 nm Ag stick electrode was evaporated on the BCP layer by using vacuum evaporation coating technology (vacuum is 8.0 × 10–4 pa, film deposition rate is 0.2 Å/s).

CH3NH3PbI3 with NH4Cl: 10 mg, 20 mg, and 30 mg NH4Cl were added to 1 ml of the perovskite precursor solution.

2.3 Characterization methods

The surface morphology and the crystallinity of perovskite films were characterized by scanning electron microscopy (SEM, Gemini-300, Carl Zeiss, Germany). The crystallinity of perovskite was measured by X-ray diffraction technique (XRD, Rigaku Ultima IV, Japan). The absorption spectra of perovskite films were conducted on a UV/vis spectrophotometer (UV-1800, Shimadzu). Raman spectroscopy used for detection is Advantage NIR spectrometer, Deltanu. Elemental analysis of perovskite films with ammonium chloride was carried out by X-ray photoelectron spectrometer (XPS, K-Alpha+, America). The excitation source was the monochromatic Al Kα X-ray beam operated at 72 W, and the electron emission angle was 0°. The energy step was 0.05 eV for detail spectra and 1 eV for survey spectra. The size of the analyzed sample area was 400 μm. The sample wasn’t cleaned with Ar+ ion sputtering before XPS measurement and we don't use charge neutralizer in our operation. The performance of PSCs was assessed by a photovoltaic system (AM 1.5 G, 100 mW/cm2, Growntech. INC, IV Test Station 2000 AAA).

3 Results and discussion

The cuboid growth of MAPbI3 here can be optimized by adjusting the NH4Cl concentration in perovskite precursors, as can be observed by scanning electron microscopy (SEM). As shown in Fig. 1(a), the size of the neat MAPbI3 perovskite film crystal is smaller and the surface is relatively smooth. With 10 mg NH4Cl added to the MAPbI3 precursor solution, the morphology of the perovskite film changes in Fig. 1(b), and the grain size tends to increase. After 20 mg NH4Cl is added, the crystal size further increases and the gap between the grain boundaries narrows (Fig. 1(c)). Increased crystal size and narrowed grain boundaries are conducive to reducing defects of the perovskite films, which will be discussed later. Figure 1(d) shows that the crystal size increases a lot by adding 30 mg NH4Cl to the MAPbI3 precursor solution, but the aggregation of grains also leads to large gaps, which causes direct contact between ETL and the hole transport layer (HTL). In the experiment, the MAPbI3 precursor solution close to saturation, and even some turbid precipitation appearing, indicate that the passivation effect of NH4Cl has reached the limit.

Fig. 1
figure 1

SEM images of the perovskite films without (a) or with different concentrations (10 mg (b), 20 mg (c), 30 mg (d)) of NH4Cl to perovskite precursor solution, (e) Absorption and (f) XRD spectroscopy of the perovskite films with or without NH4Cl

The light absorption of perovskite films with different concentrations of NH4Cl was also evaluated by a UV–Vis spectrophotometer. Neat perovskite has a wide range of light absorption, and it also shows a strong absorption around 750 nm [28]. From Fig. 1(e), perovskite exhibits different light absorption after the addition of NH4Cl in the wavelength range of 600 nm to 800 nm. The absorption of perovskite films is enhanced after the addition of NH4Cl, which is due to the larger grain sizes of the MAPbI3 film. The greater the crystal size and narrower the grain boundaries with 20 mg NH4Cl, the more effectively it can absorb light. Because of the influence of the high-angle boundary with 30 mg NH4Cl, the surface morphology of the film is damaged, and the absorption of perovskite film also weakens.

To understand the growth of perovskite films with NH4Cl added to perovskite precursor solutions, XRD (X-ray diffraction) is conducted on different perovskite film samples. As shown in Fig. 1f, the diffraction peak angles of MAPbI3 are located at 14.1°, 28.4°, and 31.8°, corresponding to the (110), (220), and (310) planes of perovskite crystal structure [29, 30]. The weak PbI2 peaks (12.8°) indicate that PbI2 is almost completely transformed into MAPbI3. By comparing the diffraction peak intensity of perovskite crystals, it is found that the crystal quality of MAPbI3 film improves well after adding NH4Cl, and the effect was the best for adding 20 mg NH4Cl. The addition of 30 mg NH4Cl to MAPbI3 films causes a weakening of their diffraction peak, suggesting that an increase in NH4Cl occurrence negatively affects the film. These results are consistent with SEM morphology and absorption data.

Furthermore, we study the reasons why adding NH4Cl improved the characteristics of MAPbI3 films. From Fig. 2a, the Pb 4f XPS spectra show that the Pb 4f peaks for perovskite films with 20 mg NH4Cl shift toward a higher binding energy compared to neat MAPbI3 film. The shift of Pb peaks indicates that NH4Cl is not only physically mixed but chemically incorporated into MAPbI3 films, and we suppose the I-Pb-Cl structure is likely formed in the NH4Cl–MAPbI3 films. To validate our hypothesis, we examine the XPS spectra of other elements. As shown in Fig. 2b, c, I 3d and N 1s characteristic peaks show some displacement of binding energy, which is attributed to the combination of Pb–Cl. Cl 3d characteristic peaks are also shown in Fig. 2d, which indicates that NH4Cl has been successfully combined with MAPbI3 films. It can be seen that 20 mg NH4Cl combined with MAPbI3 film has the maximal relative content of Cl, which means that more Cl ions remain in the perovskite and bind with free Pb ions. Cl ions are combined with free Pb ions to fill the vacancy of volatile I ions, indicating that NH4Cl has a passivation effect on MAPbI3 films. The added NH4Cl effectively passivates the grain boundary defects of perovskite to promote the nucleation and crystal growth of the MAPbI3 film, and fully covers the substrate to obtain high-quality perovskite films, which helps improve the performance of perovskite solar cells.

Fig. 2
figure 2

(a) XPS spectra of Pb 4f, (b) I 3d and (c) N 1s characteristic peaks without or with 20 mg NH4Cl. (d) Cl 3d characteristic peaks without or with different NH4Cl concentrations

To estimate the photovoltaic performance enhanced with NH4Cl added by increasing the light absorption and larger crystal size and narrowed grain boundaries. We fabricated inverted perovskite solar cells with the structure of ITO/PEDOT:PSS/MAPbI3 (with or without NH4Cl)/PCBM/BCP/Ag.

The current density and voltage of different devices are shown in Fig. 3a, and their corresponding parameters are listed in Table 1. The device without adding NH4Cl exhibits a PCE of 10.24%, with an open-circuit voltage (Voc) of 0.87 V, a short-circuit current density (Jsc) of 17.06 mA/cm2 and 68.89% fill factor (FF). The small values of these parameters are mainly the result of the recombination caused by defects in perovskite solar cells. The more grain boundaries, the more energy loss, the faster the decay of charge carriers, and the lower the charge transfer efficiency. After adding NH4Cl to the perovskite precursor solution, the device performance improves, so these results indicate that the NH4Cl is an effective passivation for the perovskite defects.

Fig. 3
figure 3

(a) The current density and voltage curves of different NH4Cl-based devices. Forward and reverse scan directions without (b) or with (c) 20 mg NH4Cl-based devices. The neat perovskite device and 20 mg NH4Cl-based devices’ dark current density (d) and trap state density (e). (f) Raman spectroscopy of CuPc on perovskite films with or without NH4Cl

Table 1 JV characteristics parameters of devices with different NH4Cl concentrations and without the NH4Cl on the perovskite layers

After adding 10 mg NH4Cl, the PCE of the device increases to 12.31%, and, FF also greatly improves, indicating that the device defects are reduced by NH4Cl. Device PCE reaches the best value of 13.67% when adding 20 mg NH4Cl, indicating that the introduction of 20 mg NH4Cl achieves the best passivation effect. The improved Voc and FF values result from the effective passivation of NH4Cl, and the enhancement is attributed to the good crystallization of NH4Cl–MAPbI3 films. The neat perovskite device and best device hysteresis have also been studied, as shown in Fig. 3b, c. These two devices present no obvious hysteresis. The device parameters of 30 mg NH4Cl once again prove that excessive NH4Cl addition will destroy the photoelectric properties of MAPbI3 films.

To investigate the defect passivation effect in detail, we measured the neat perovskite device and the best device dark current density and trap density of state. In this work, both devices have good diode properties and can provide good photocurrent (Fig. 3d). The utilization of a 20 mg NH4Cl-based device results in a dark current reduction, which means less current leakage, helps to reduce the shunt resistance of the device and facilitates charge transfers (CT) between interface layers, thus enabling the device to show higher conversion efficiency.

To calculate the trap state of the device with or without 20 mg NH4Cl, hole-only devices are equipped with a structure of ITO/PEDOT:PSS/Perovskite/MoO3/Au. According to the space charge limited current (SCLC) model, the start of the trap filling limit voltage (VTFL) of the device with 20 mg NH4Cl added shows a relatively low value of 0.68 V (Fig. 3e), whereas 0.74 V VTFL is obtained for the device without passivation treatment. Using the following formula between VTFL and defect state density (Nt):

$${\mathrm{N}}_{\mathrm{t }}=\frac{2{\upvarepsilon }_{0}\upvarepsilon {\mathrm{V}}_{\mathrm{TFL}}}{{\mathrm{eL}}^{2}}.$$

e is the basic charge, L is the thickness of perovskite layers, ɛ is the relative dielectric constant of perovskite films, ɛ0 is the permittivity of vacuum. According to the values of VTFL, the Nt of the neat perovskite device is calculated with a value of 0.91 × 1016 cm−3, and the Nt of 20 mg NH4Cl-based device decreases to 0.84 × 1016 cm−3. Reduced trap density leads to efficient charge extraction from the surface, which limits Voc losses and improves FF, and this is consistent with current density and voltage results. This also proves that NH4Cl can effectively passivate perovskite film defects.

To further study the interaction between NH4Cl and perovskite films, Raman spectroscopy is used to study the properties of perovskite films. From Fig. 3f, a CuPc solution with a concentration of 1 × 10−3 M is deposited on perovskite films with or without NH4Cl, and then quickly dried in a nitrogen glove box. The Raman spectral integration time is set to 5 s with a resolution of 2 cm−1. The characteristic peaks of CuPc appear at 635 cm−1, 732 cm−1, 1130 cm−1, 1328 cm−1, and 1517 cm−1, respectively. Among them, the film with the strongest characteristic peak for 20 mg NH4Cl, indicates that the degree of passivation of MAPbI3 film is the highest at this time, and the filling of inherent defects enhances charge transfers, which is consistent with our previous research results.

4 Conclusion

We have shown an efficient way to passivate perovskite films by inserting different concentrations of NH4Cl into the MAPbI3 precursor solution. The defects of NH4Cl passivated perovskite films result in larger grains and fewer grain boundaries, thus enhancing the electron–hole transport rate. The larger crystal size and narrowed grain boundaries with NH4Cl lead to a better increase in their absorption. The MAPbI3 film exhibits optimal crystal structure when 20 mg of NH4Cl is added to the SEM morphology and absorption data. The reason why adding NH4Cl improved the characteristics of MAPbI3 films is that Cl ions combine with free lead ions so as to fill the vacancy of volatile I ions. The best device PCE obtained a value of 13.67% when adding 20 mg NH4Cl, indicating that the introduction of 20 mg NH4Cl achieved the best passivation effect and showed lower trap density with a value of 0.84 × 1016 cm−3.