Introduction

The energy question is a crucial issue for sustainable development because it is the meeting point of economic, social, and environmental problems. Indeed, almost all of our economic activities are based on energy consumption. However, this energy, composed of fossil resources, poses a major environmental and climatic challenge of global proportions; it is, therefore, crucial to resort to other types of so-called green sources, such as photovoltaic energy.1,2,3,4,5,6,7,8,9 It is in this context that we are interested in the development of perovskite materials for photovoltaic applications. Perovskites have many optoelectronic advantages, creating much excitement around them.10,11,12,13,14,15,16,17,18,19,20,21 Perovskites of the general formula ABX3 (A = methylammonium ion MA+, formamidinium ion FA+ or cesium ion Cs+; B = lead ion Pb2+, tin ion Sn2+, and X = Br, Cl, I) have a structure that can be adjusted depending on the ion in the A, B, or X sites. As in our case, several studies have focused on using the cesium cation Cs+ in the A sites.22,23,24,25,26,27 The inorganic perovskites CsPbX3 have the advantage over their organic counterparts (MAPbX3 and FAPbX3) due to their superior stability and balanced mobility.28,29,30 Among these inorganic CsPbX3 perovskites, CsPbI3 is the best layer for photovoltaic applications. Indeed, it shows a lower band gap when the cubic phase is conserved (1.73 eV), whereas CsPbBr3 (Eg = 2.22 eV) has a more stable crystalline structure, and, depending on its morphology, it can retain good carrier mobility, good optoelectronic properties, high photoluminescence quantum yield, and superior stability under humidity and thermal attack.22,31,32,33

Although perovskites have many benefits, they face some challenges, among which is the stability problem.34,35,36

The present work focuses on the mixed halogens CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl) deposited by the one-step spin-coating method in order to enhance their stability and also their performance. The mixed halide samples, fresh and aged, have been investigated to examine their different structural, morphological, and optoelectronics properties, and to understand the degradation process of perovskite thin films.

Materials and Methods

Thin Film Manufacture

We prepared our different films using precursors such as CsX (with X = Br, Cl, and I) and PbX2 (X2 = Br2 and I2). These precursors were dissolved in dimethylformamide and then deposited by the one-step spin-coating method in an inert medium with a parameter of 4000 rpm for 50 s. As an antisolvent, we used chlorobenzene. After the deposition and 20 min of annealing at 80 °C, the films were immediately taken out from the glovebox for characterization, after which they were kept in the ambient environment for 4 weeks, and the aged films were characterized again. The properties of the aged samples have been compared with the fresh samples in the degradation study.

Characterization Techniques

Different characterization techniques are essential for studying the active layers of perovskite-based solar cells. In this sense, they allow us to judge the relevance of our work through the data.

In this study, we have made the following analyses:

  • X-ray diffraction (XRD) determines the crystallinity of the thin films and their crystallographic orientations. At the same time, this technique provides information on which layer has the best crystallinity. The range of diffraction angles 2θ was set between 10° and 60° using a RIGAKU Ultima IV as the apparatus.

  • Scanning electron microscopy (SEM; Zeiss ULTRA 55 Excel SEM) was used to obtain the surface images of the different films.

  • Atomic force microscopy (AFM) was used to obtain 3D images of the surface and thus the roughness of the layers.

  • UV–Visible spectroscopy was used to report on the thin films’ optical properties.

Results and Discussion

Structural Analyses

XRD is the most important technique for analyzing the crystal structure of processed perovskite materials.37,38,39

Indeed, x-rays sent to the material with an angle θ are reflected in part according to Bragg's law: 2dsin (θ) = .40 In addition, XRD provides structural parameters such as crystallographic orientation and effective lattice strain (ε), which can be calculated using the Scherrer equation from the XRD pattern data:41

$$\varepsilon =\frac{\beta }{4}{\mathrm{tan}(\theta )]}^{-1} -\frac{K\lambda }{D*4\mathrm{sin}(\theta )} $$
(1)

where β is the maximum width at half maximum (FWHM), K = 0.95 (Scherrer’s constant), λ is the wavelength, D is the crystal size, and θ is the angle of incidence of the x-rays on the material. The lattice dislocation density is evaluated using:

$$\delta =\frac{1}{{D}^{2}} $$
(2)

These reflected rays depend on the material to which the incident radiation is directed, i.e., the arrangement of the atoms within it and, therefore, the electronic cloud (Fig 1). This response is captured by a detector and reflected in the appearance of the crystallographic peaks.

Fig. 1
figure 1

Procedure and images of CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl) thin films.

In the context of this study, we have the appearance of several peaks (Fig. 2a), the main ones being angles 2θ of 26.80° and 51.80°, corresponding to the (111) and (220) crystallographic planes, respectively, except for the case of the CsPbI2Br sample, which has its main peaks at 15° and 30° for the (100) and (200) planes, respectively. The shift in the position of the main peaks of CsPbI2Br compared to the other samples shows that the crystallographic orientation of CsPbI2Br is different from the others. This shift in the main peaks of the CsPbI2Br layer compared to the other layers is probably due to the occupation of the interstitial positions by Br- ions, which are supposed to occupy the sites that the I- ions they replaced had occupied. This occupation of the interstitial positions changes the crystal structure of the CsPbI2Br layer, hence the difference.

Fig. 2
figure 2

(a) XRD diagrams of CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl), (b) the FWHM of the (200) and (220) peaks.

The intensity of the main peaks for the other five samples is similar, but less than that of CsPbI2Br, which agrees with the SEM surface images. For CsPbI2Br, we have a single preferred crystallographic orientation (100), while the other layers have two preferred crystallographic orientations, namely, the (111) and (220) planes. We can conclude that, for the fresh samples, the best crystal structure is the CsPbI2Br layer. The non-duplication of the peaks shows that we have single-phase layers. The layers’ grain size (D) is between 353 and 474 nm (Table I).

Table I Grain size, dislocation density, and XRD lattice strain of CsPbX3 thin films

Morphology Analysis

The surface morphology of the prepared samples was obtained by SEM. This flow of electrons with adequate energy excites and removes electrons from the material called secondary electrons, which are collected by a detector which gives an image of the sample surface.42 The surface images obtained are shown in Fig. 2. We can see that the surfaces have different morphologies. The surfaces are well-coated and dense without pinholes. For the samples CsPbBr3, CsPbBr2Cl, and CsPbI2Cl (Fig. 3a, b, and e, respectively), the surfaces are not completely covered by the large grains. For the other samples (Fig. 3c, d, and f), we have the appearance of grains of different sizes that cover the whole surface. The different surfaces are free of cracks and voids, which is good for good surface morphology. The CsPbI3 film has small grain sizes. From a morphological point of view, we can note that the best surface is that of the CsPbBr2I and CsPbI2Br samples, which are well-coated, dense, and with no pinholes or cracks.

Fig. 3
figure 3

Surface images of CsPbX3 with a magnification of 1 µm (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl): (a) CsPbBr3, (b) CsPbBr2Cl, (c) CsPbBr2I, (d) CsPbI3, (e) CsPbI2Cl, and (f) CsPbI2Br.

Atomic Force Microscopy (AFM)

AFM produces a 3D image of the surface of the thin film with an excellent resolution in the manometer range.43 It is a fundamental tool for obtaining the topography and, therefore, the surface roughness, which is a critical parameter in the analysis of films for photovoltaic applications. The AFM device has a cantilever with a tip that produces images by scanning the surface. The tip binds to the surface, bending the cantilever, and varying the amount of laser light reflected from the material as it is observed. The force on the cantilever is created by the sample’s surface topography.44 Indeed, the roughness tells us about the absorption and exciton generation capacity, while considering the spyhole recombination content of electron–hole pairs. Indeed, the rougher the surface, the more the thin film absorbs due to possible reflections and multiple scattering, but at the same time increases the emissivity of the film. The AFM images in Fig. 4 show the roughness of the films produced by the one-step spin-coating method. The roughness of the samples (5 µm × 5 µm) varies between 37.5 for CsPbI2Br nm and 151 nm for CsPbBr3. In general, as the roughness increases, the band gap also increases. For the roughness of the CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl) samples, we have the following values: CsPbI2Br (Rmax = 272 nm); CsPbBr2Cl (Rmax = 274 nm); CsPbI2Cl (Rmax = 518 nm); CsPbBr2I (Rmax = 412 nm); CsPbI3 (Rmax = 553 nm); and CsPbBr3 (Rmax = 1010 nm).

Fig. 4
figure 4

Two-dimensional (2D) and three-dimensional (3D) AFM images of CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl): (a) CsPbI3, (b) CsPbI2Cl, (c) CsPbI2Br, (d) CsPbBr2I, (e) CsPbBr2Cl, and (f) CsPbBr3.

We also notice a return of the band gap to the lowest value of 1.92 eV for the highest roughness, 151 nm (CsPbBr3), which has a medium absorption. This increase in band gap with roughness probably shows that recombination is related to roughness; as the roughness increases,, so does the charge carrier recombination.

UV–Visible Spectroscopy Analysis

UV–visible absorbance is a critical parameter in the characterization of materials used for photovoltaic applications. It should be noted that photovoltaic solar cells are manufactured to capture solar radiation and convert it into electricity. To obtain this absorbance, a beam of light is shone onto the sample. The sample absorbs part of the light, while the other part is transmitted and collected by a detector. Depending on the shift between the intensity of the incident light and the transmitted fringe, we obtain the intensity of the absorbed light. The data from the spectroscopic analysis have been plotted in graphs. Figure 5a shows the absorption plots for the different samples we have constructed. The CsPbI2Br sample has the highest absorbance over the entire visible spectrum (300–900 nm). For the rest of the films, the absorption order breaks down into two phases, namely from 300 nm to 600 nm for the first phase enhanced by CsPbBr3, and the lowest absorption corresponds to CsPbI3. This first phase shows an increase in the absorption coefficient for all the samples. The second phase, from 600 nm to 900 nm, indicates that the weakest absorption is that of CsPbBr2Cl, which keeps a relatively constant absorbance, as does CsPbBr3. The CsPbI3 and CsPbI2Cl samples fluctuate, although CsPbI3 shows the most significant change. The absorption growth from the first phase for the CsPbBr2I film continues into the second phase, to reach its maximum of around 750 nm before decreasing. The band gap energy is required for photons to create electron–hole pairs. The smaller the band gap, the more electron–hole pairs the material generates, which is required for materials used as active layers in photovoltaic solar cells. The different band gaps of the thin films developed are located between 1.94 eV for CsPbBr2I and CsPbBr3 and 2.92 eV for CsPbI3 (Fig. 5b). Considering the different absorbances and the band gap of the thin films, we can say that the best film in the optical properties is CsPbI2Br.

Fig. 5
figure 5

(a) Absorption curves of the CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl) thin films, (b) the band gap of (X3 = Br3, I3, Br2Cl, Br2I, I2Br and I2Cl).

Degradation Study

After the samples were left in the ambient environment, they were re-characterized to see the effect of the environment. Figure 6 shows the XRD patterns of the fresh layers compared to those obtained for the aged layers. Figure 6a, b, and d (CsPbBr3, CsPbBr2Cl, and CsPbI3, respectively) show a slight decrease in the peaks, whereas, for the CsPbBr2I, CsPbI2Cl, and CsPbI2Br films (Fig. 6c, e, and f, respectively), there is a strong decrease in peaks, especially for CsPbI2Br which is literally zero for its main peaks. From the crystallographic point of view, CsPbBr3 has kept its crystal structure and, consequently, the best layer.

Fig. 6
figure 6

Comparative XRD plots of fresh and 4-week-old thin films: (a) CsPbBr3, (b) CsPbBr2Cl, (c) CsPbBr2I, (d) CsPbI3, (e) CsPbI2Cl, and (f) CsPbI2Br.

The different comparisons of the absorption coefficients of the fresh and aged samples are shown in Fig. 7. All the samples show a decrease in absorption with a variable spread between them. The decrease is smaller for CsPbBr2I and CsPbI2Cl (Fig. 7c and e, respectively) while the CsPbBr3, CsPbI3 and CsPbI2Br films (Fig. 7a, d, and f, respectively) have a medium decrease. The largest decrease is observed for the CsPbBr2Cl sample (Fig. 7(b)). The layer that best retained its absorption is CsPbI2Cl.

Fig. 7
figure 7

Absorption curves of fresh and 4-week-old CsPbX3 (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl): (a) CsPbBr3, (b) CsPbBr2Cl, (c) CsPbBr2I, (d) CsPbI3, (e) CsPbI2Cl, and (f) CsPbI2Br.

The surface degradation images of the thin films are shown in Fig. 8. All the surfaces have degraded to different extents. The CsPbBr3, CsPbI2Br, and CsPbI2Cl films (Fig. 8a, e, and f, respectively) have a defective surface. The CsPbI3 film (Fig. 8d) has many pinholes. Although the granules have disappeared from the surface, the CsPbBr2Cl (Fig. 8b) still has a dense, well-coated surface without cracks. Figure 8c also shows a surface with pinholes.

Fig. 8
figure 8

Surface degradation images of the different samples after four weeks in the ambient environment, CsPbX3 with a magnification of 1 µm (X3 = Br3, I3, Br2Cl, Br2I, I2Br, and I2Cl): (a) CsPbBr3, (b) CsPbBr2Cl, (c) CsPbBr2I, (d) CsPbI3, (e) CsPbI2Cl, and (f) CsPbI2Br.

Conclusion

It can be noted that the fresh samples have good surface morphology and variable roughness. XRD analysis revealed the crystallinity of the layers with a crystallographic orientation shift between CsPbI3 and the other layers. The CsPbI2Br film has a better surface area and high roughness with a large grain size, which favors light-trapping on the surface.

The prepared films showed relative stability after 1 month (4 weeks) of exposure to the ambient environment. After the different analyses of the fresh and aged films, it can be concluded that the most stable film with good parameters is CsPbBr3. These results can help to produce solar cells with maximum efficiency and stability under dark conditions and ambient temperature and humidity.