1 Introduction

Perovskite materials with exceptional semiconductor capabilities that result from the combination of organic and inorganic components in the ABX3 (where A is an organic (CH3NH3+, MA, or HC(NH2)2+, FA) or alkali metal (Cs+) cation, B is a divalent metal (Pb, Sn or Ge) and X is a halide anion) perovskite structure are referred to as hybrid perovskite materials [1, 2]. These perovskites are preferred in electronic and optoelectronic devices with their desirable properties, such as high carrier mobility, long carrier diffusion length, tunable band gap, low exciton binding energy, and high absorption coefficient [3]. The stability problem of Pb halide perovskites and the toxicity of Pb are disadvantages for solar cell applications [4]. Therefore, Sn or Ge, which are in the same group in the periodic table, can be used as an alternative to Pb [5]. However, the Sn2+ in MASnI3 perovskites is oxidized to Sn4+, rapidly. This case is limited their stability [6]. To provide the stability, the use of (I1−xBrx) instead of only I in the halide part was tried and it was observed that the stability increased without losing efficiency (12.3%) [7].

With power conversion efficiency increasing from 3.8 to 26% in solar cell applications, interest in perovskite materials is increasing [8, 9]. Perovskite materials are used as a light-absorbing layer in solar cells applications. Band gap engineering, which involves changing the material composition to provide the appropriate band gap for perovskite materials to absorb light, can be used to tune the forbidden band gap of the perovskite layer [10, 11]. By varying the cations, metals, or halides used for the perovskite material, the band gap can be adjusted in the range of about 1.2–3.0 eV [7, 12, 13]. Low-cost solution-based methods can be used to prepare perovskite materials. To create perovskite thin films, reactants can be dissolved in appropriate solutions and coated on surfaces using various thin film coating methods [14]. Examples to these methods are spin coating, dip coating, blade coating, spray pyrolysis, and ultrasonic spray pyrolysis (USP) [15, 16]. The USP method is a thin-film coating technique that enables uniform films on large areas. Thin films with high surface quality can be obtained by controlling parameters such as substrate temperature, shaping gas pressure, solution flow rate, and nozzle-substrate distance with the USP method [16,17,18]. It has been reported that ~ 80% material savings are achieved in the formation of thin films with the USP method compared to other coating methods [19].

The studies on perovskite solar cells generally focus on their stability problems and the improvement of efficiency [20, 21]. The third branch of the studies is the scalable production of PSCs, which is important for commercialization [22]. While several efforts on large-area deposition of Pb-based perovskite thin films are available in the literature, there is a lack of information about Sn-based perovskites. In our study, the deposition of MASnIxBr3−x perovskite thin films was carried out by the ultrasonic spray pyrolysis method, which is a suitable method for the large-area fabrication of PSCs. However, this method has many parameters, such as nozzle-substrate distance, substrate temperature, and perovskite ink concentration that need to be optimized. The aim of our study is to present optimized parameters that require a lot of effort to determine.

In this study, MAI and MABr were synthesized in powder form. Fourier transform infrared (FTIR) spectroscopy was used to compare the molecular bond structures of the synthesized and commercial MAI and MABr, while X-ray diffraction (XRD) was used to examine their crystallographic structures. MASnIxBr3−x (x = 3, 2, 1, 0) perovskite solutions were obtained, and then deposited as a thin film on glass substrates using the USP method. Structural and elemental analyzes of these thin films were performed by XRD and energy dispersive spectroscopy (EDS), respectively. The forbidden band gap (Eg) values of perovskite thin films were calculated using the Tauc plot. A comparison in the form of MASnIxBr3−x (x = 3, 2, 1, 0) was found in only two studies in the literature [23, 24]. However, MASnIxBr3−x (x = 3, 2, 1, 0) perovskites were not produced by the USP method in these studies. The presented study is the first to compare the structural, morphological, and optical properties of MASnIxBr3−x (x = 3, 2, 1, 0) perovskites produced by the USP method.

2 Experimental Processes

While methylamine (CH3NH2, 40% in methanol, TCI) and hydrogen iodide (HI, 57% in H2O, Sigma) were used for the synthesis of methylammonium iodide (CH3NH3I, (MAI)), CH3NH2, and hydrogen bromide (HBr, 47% in H2O, Merck) were used for the synthesis of methylammonium bromide (CH3NH3Br, (MABr)). Methylamine was taken into separate 100 mL flasks and cooled at 0 °C. HI/HBr was added dropwise to methylamine in an ice bath with the help of a dropping funnel. Reactions were stirred in an ice bath at 0 °C in a controlled manner for 2 h. At the end of the reaction, the solvents in the flasks were evaporated from the environment at 190 mbar in the rotary evaporator set at 50 °C. The white solid powders MAI and MABr formed in the flasks were washed three times with diethyl ether ((C2H5)2O) with the help of a Buchner funnel. Thus, the impurities were partially removed. MAI and MABr powders were dried in a muffle furnace at 60 °C for 2 days. MAI and MABr were treated with ethanol/diethyl ether (1:3) to remove impurities. The reactants dissolved in ethanol/ethyl acetate (1:3) solution were then placed in the refrigerator overnight to crystallize. MAI and MABr powders dried in a muffle furnace at 60 °C for one night were stored in a glovebox. Previous works inspired the synthesis of MAI and MABr reactants [25, 26]. Images of synthesized MAI and MABr were given in Fig. 1. The reactants used to prepare perovskite solutions and the solution preparation parameters are given in Table 1.

Fig. 1
figure 1

Images of synthesized a MAI b MABr

Table 1 Solution preparation and USP coating parameters for MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films

SnI2 (TCI), SnBr2 (Sigma), and n, n-dimethylformamide (DMF, Merck) were commercially available. Perovskite solutions were prepared by mixing them in a glove box at 80 °C for 45 min. Glass substrates were cut in dimensions of 2.0 × 2.0 × 0.1 cm. Substrates were ultrasonically cleaned using detergent, ethanol, acetone, and ethanol-double-distilled water. The substrates were then dried with nitrogen gas. Perovskite solutions were coated on glass substrates with an ultrasonic spray pyrolysis (USP) device (Sono-Tek Corporation, 2012 Route 9 W) using the coating parameters given in Table 1. The deposition process is shown schematically in Fig. 2.

Fig. 2
figure 2

Schematic representation of the deposition process

XRD measurements of MAI and MABr powders and MASnIxBr3−x (x = 3, 2, 1, 0) perovskites deposited on glass substrates by the USP method were taken using Cu-Kα radiation (λ = 1.5418 Å) of Bruker D8 Advance Twin-Twin diffractometer (40 kV, 40 mA). The analysis of these measurements was made with the help of the same company's EVA software and ICDD database. Fourier transform infrared (FTIR) measurements of MAI and MABr were taken with FTIR spectrophotometer (JASCO FT/IR 4700). Surface morphologies and elemental analyzes of perovskite films were performed with scanning electron microscopy (SEM) (FEI Quanta FEG 250) added to the EDAX-EDS system. Optical absorption studies of the films were taken with an ultraviolet–visible region (UV–Vis) spectrophotometer (PG-Instruments T80 +).

3 Results and Discussion

XRD measurements for MAI and MABr were taken in the range of 5° ≤ 2θ ≤ 65°. XRD patterns of MAI and MABr are given in Fig. 3a and b, respectively. The XRD data obtained for commercial (green line) and synthesized (blue line) of both MAI and MABr are in agreement. The XRD pattern of the synthesized MAI is in consistency with the PDF 00-010-0737 card (red bar chart in Fig. 3a) while the XRD pattern of the synthesized MABr is in consistency with the PDF 00-010-0699 card (red bar chart in Fig. 3b). For synthesized MAI and MABr, the peak intensity is higher at ~ 20°. This peak at ~ 20° can be considered as the main peak, as it exhibits higher intensity than the others. It has been reported in previous studies that this peak shows the orientation for MAI (101), while it shows (002) for MABr [27, 28]. It is seen that the synthesized MAI and MABr peaks do not exhibit an extra peak compared to the peaks in commercial and PDF cards (Fig. 3a and b). However, the peak intensities of ~ 20° and ~ 21° for commercial MABr powder appear to differ from the peaks indicated in the synthesis and PDF card. Thus, it can be said that the synthesized MABr has a better crystal structure than the commercial MABr. This is an indication that both compounds are free of impurities and can be synthesized in pure form. Purification with ethanol/diethyl is also thought to be effective in obtaining MAI and MABr crystals free from contamination.

Fig. 3
figure 3

XRD patterns for both commercial and synthesized a MAI b MABr

FTIR spectra for synthesized and commercial MAI and MABr reactants are given in Fig. 4a and b, respectively. C–H stretch peaks (902, 1402, 1490, 2965 cm−1), N–H peaks (1251, 1402, 1569, 3016 cm−1), C–N (997 cm−1), and CN–NH (2715 cm−1) bands for MAI were detected in Fig. 4a. C–H stretch peaks (914, 1398, 1479, 2960 cm−1), N–H peaks (1243, 1398, 1560, 3075 cm−1), C–N (982 cm−1), and CN–NH bands (2701 cm−1) of MABr were determined from Fig. 4b. The peaks obtained for each mode were found to be in agreement with those previously reported [29, 30]. The compatibility of functional groups with the literature and commercial MAI and MABr peaks for the synthesized powder reactants is an indication that a pure crystal structure has been obtained.

Fig. 4
figure 4

FTIR spectra for both commercial and synthesized a MAI b MABr

MAI and MABr organic halide salts are used in the optoelectronics industry as precursors for the preparation of perovskite materials used in many electronic applications, such as photovoltaic cells, perovskite solar cells, and light-emitting diodes (LEDs) [31,32,33]. The fact that these materials can be easily synthesized provides convenience in terms of both cost and time savings. It is a critical point to synthesize a pure and original crystal structure. It has been reported in the literature that the problem to be overcome in perovskites is stability [34, 35].

It is known that perovskites with large grain size quality crystallization are tolerant of crystal defects and have less chance of degradation [36]. MAI and MABr precursors are useful for synthesizing mixed cation or anion perovskites, which are essential for improving the carrier diffusion length, band gap, and power conversion efficiency of perovskite solar cells. Therefore, it is important that the precursor materials used in perovskite materials have a quality crystal structure. Tan et al. reported that methylammonium (MA+) cations can form perovskites with higher crystallinity. It has also been reported that MA+ cations can heal deep trap zones due to their large radius and dipolar structure [37]. Synthesis MAI and MABr organic salts have been used in the production of many perovskites in the literature [23, 27, 28, 32, 38]. XRD and FTIR analyses showed successful synthesis of MAI and MABr reactants in this study. So, synthesis MAI and MABr reactants were used to produce tin-based hybrid perovskite thin films by using the USP method.

SEM images for the synthesized MAI and MABr are given in Fig. 5a and b, respectively. The particle sizes of reactants are also plotted on SEM images. It was observed that the particle sizes for MAI ranged from 30 to 160 μm while the particle sizes for MABr ranged from 150 to 260 μm. It is seen from the SEM images that agglomerations are formed and the reactants have a particulate structure. The average particle size for MAI was ~ 94 μm while the average particle size for MABr was calculated as ~ 188 μm. Leupold et al. reported that the defect density decreased as the MAI reactant size increased. The researchers defined MAI crystals ranging in size from 25 to 1300 μm as large MAI crystals and obtained an average MAI crystal size of 213 μm [39]. In this study, it was understood that the synthesis MAI and MABr reactants have grain sizes that can be used in perovskites.

Fig. 5
figure 5

SEM images for synthesized a MAI b MABr

XRD patterns of MASnI3 perovskite deposited on glass substrates using synthesized MAI and commercial SnI2 are shown in the range of 10° ≤ 2θ ≤ 80° (Fig. 6). XRD measurements were taken immediately after MASnI3 coating under laboratory conditions (23 °C, 10–15% relative humidity). It was observed that MASnI3 perovskite thin films have a tetragonal crystal structure. It has a peak in the (100) plane at ~ 14° and a peak in the (220) plane at ~ 28°. Furthermore, the MASnI3 perovskite thin films crystallographic structure appears to be consistent with the PDF 00-080-4670 card. XRD patterns of MASnI2Br (green line), MASnIBr2 (blue line), and MASnBr3 (red line) perovskite thin films deposited on glass substrates are shown in the range of 10° ≤ 2θ ≤ 80° (Fig. 7).

Fig. 6
figure 6

XRD patterns for MASnI3 perovskite thin films deposited on glass substrates by the USP method

Fig. 7
figure 7

XRD patterns of MASnIxBr3−x (x = 2, 1, 0) perovskites deposited on glass substrates by the USP method

These perovskite structures were prepared using synthesized MAI and MABr reactants and commercial SnI2/SnBr2 ionic salts. The positions of the peaks in the given XRD patterns are in agreement with the peak positions reported in the literature [23, 24]. XRD measurements revealed that MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films were effectively deposited on glass substrates using the USP method.

The peaks around 15° (100) and around 30° (200) are the characteristic peaks of the MASnIxBr3−x (x = 2, 1, 0) perovskite structure. Hao et al., and Hsu et al., included the calculated and experimentally obtained XRD patterns of MASnIxBr3−x perovskite structures in their studies [23, 40]. The intensity of the (100) peak in the calculated XRD patterns in these studies is higher than the intensity of the (200) peak. This is in agreement with our experimental work. Also, as can be seen in Fig. 7, there is a leftward shift in the 2θ axis of the peaks with the increase in the I/Br ratio. The change in the lattice constant as a result of the change in the I/Br ratio is the cause of the shift in the peaks [23]. EDS analyses for MASnI3, MASnI2Br, MASnIBr2, and MASnBr3 perovskite thin films were shown in Fig. 8a–d, respectively. The composition of these perovskite thin films is given in the inset of the figures. EDS analysis indicated that the appropriate stoichiometric ratios for MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films were attained (Fig. 8a–d).

Fig. 8
figure 8

EDS analysis of a MASnI3 b MASnI2Br c MASnIBr2 d MASnBr3 perovskite thin films

The band gap of a semiconductor (Eg) can be determined by the Tauc curve. UV–Vis measurements are used to obtain the Tauc curves. The Eg can be found from the point where the Tauc curve, obtained by plotting (αhν)2 with respect to , intersects the x-axis. Here, α is the absorption coefficient, h is Planck's constant, and ν is the frequency of the incident photon [41]. The Tauc curves of MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films are given in Fig. 9. Eg values for MASnBr3, MASnIBr2, MASnI2Br, and MASnI3 perovskite thin films were calculated as 2.11 eV, 1.71 eV, 1.51 eV, and 1.47 eV, respectively. Some Eg values reported in the literature for MASnIxBr3−x (x = 2, 1, 0) perovskite structures are summarized in Table 2.

Fig. 9
figure 9

The Tauc curves of MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films

Table 2 Some Eg values reported in the literature for MASnIxBr3−x (x = 2, 1, 0) perovskite thin films

As can be seen from Table 2, the Eg values calculated for MASnIxBr3−x (x = 2, 1, 0) perovskite structures are compatible with previously studies [23, 24]. However, the Eg value for MASnI3 was higher than the value reported in the literature [23, 24, 42,43,44]. This may be due to the humidity sensitivity of MASnI3 perovskite. During UV–Vis measurements, MASnI3 perovskite is likely to decompose into MAI and Sn+4 upon exposure to air humidity. This may cause the band gap to increase [45]. It was observed that Eg increased as the amount of Br increased in MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films. The increase in the Eg value shows that the band gap can be controlled by changing the halogen ion.

4 Conclusion

Powdered MAI and MABr reactants were synthesized. XRD, FTIR, and SEM analyses revealed that these reactants were successfully obtained. It was observed that tin-based perovskite thin films (MASnIxBr3−x (x = 3, 2, 1, 0)) could be deposited uniformly on glass substrates using the USP method. The peak at ~ 30° for the MASnBr3 perovskite structure became visible in the XRD pattern as the Br ratio increased. As the I/Br ratio changed, a change was observed in the XRD peaks. This is likely to be produced by a change in perovskite's lattice constant. It was seen from the EDS analysis that stoichiometric MASnIxBr3−x perovskite thin films were deposited by the USP method. This shows that the USP coating parameters are optimized to offer the best performance in the production of MASnIxBr3−x (x = 3, 2, 1, 0) thin films. The Eg values of MASnIxBr3−x (x = 3, 2, 1, 0) perovskite thin films increased as the Br content in perovskite increased. In the preparation of the halide part of the perovskite, the manipulation was performed by applying the IxBr3−x formulation instead of I3. This study will be a guide for scalable deposition of Sn-based perovskite solar cells.