Introduction

In recent years, climate change, the reduction of fossil fuel sources, the inevitable increase in their price, the negative consequences of their use, and the growing demand for energy have all been arguments in favor of the development of renewable energy.1,2,3,4,5,6 The fear of nuclear accidents is pushing countries to abandon or at least to reduce nuclear power plants. However, the availability of sufficient energy is an essential element for the development of mankind and is therefore a major problem for all nations. Solving this problem requires the development of new generation systems, the optimization of the modes of distribution of energy products, and their rational and efficient use. These three aspects are the basic pillars of any energy policy, with the requirement to have the least possible impact on the environment. The current energy scenario involves systems of increasing complexity, where the solutions to be used must be continually reviewed in light of new results from energy research. This must address with the greatest possible intensity concrete projects that allow for the improvement of some of the four aspects mentioned above: greater production capacity, better distribution, maximum savings, and minimum environmental impact. We can say that, in the current situation, research on energy issues has become of paramount importance. It is in this context that research has been embarked into renewable energies in general, but especially in the field of solar photovoltaic energy. Indeed, in the field of photovoltaics, several technologies have been developed, the first of which is silicon technologies.7,8,9,10,11,12 Silicon-based solar cells, which dominate the market today, have an energy yield of around 24%, which took more than 30 years of research and heavy investment to achieve. Depending on the manufacturing technology, the availability of materials for the production of solar cells, and the field of application, researchers have been interested in other types of cells, such as organic cells, metal oxides, and cadmium tellurium, to name but a few.13,14,15,16,17

The methods used to shape perovskite-based solar cells are gentler than those for crystalline silicon. Whereas silicon has to be heated to nearly 3000°C to crystallize it into a block, part of which is lost during the cutting process, perovskites use gentle methods, such as centrifugal coating or immersion coating, which are carried out at room temperature.

The nature of the halogen X in ABX3 perovskites has an effect on the band gap width and stability of the material. In general, the smaller the halogen anion, the larger the band gap and the lower the stability of the material.18,19 For example, MAPbCl3 has a band gap of 3.1 eV, which corresponds to ultraviolet light absorption, with an orthorhombic structure. FAPbBr3 has a band gap of 1.9 eV, corresponding to light absorption in the visible range. MAPbI3 has a band gap of 1.55 eV, but has a cubic structure that is unstable at room temperature. The compounds used to synthesize halide perovskites are generally obtained by chemical reactions between precursors that are soluble in organic or aqueous solvents. For example, MAPbI3 can be obtained by reacting methylammonium iodide with lead iodide PbI2 in a solution of dimethylformamide (DMF) or dimethylsulfoxide (DMSO). The solution can then be deposited on a substrate and heated to form a thin layer of MAPbI3. This is the solvent evaporation method, which involves depositing a solution containing the precursors of halogenated perovskites on a substrate and allowing the solvents to evaporate at room or slightly elevated temperature. It is quick and easy to use, as no intermediate steps are required. However, it can lead to poor reproducibility, poor quality thin films, and increased thin-film instability.

Another method, the pre-deposition powder preparation method, is more complex and time-consuming, but can produce high-quality thin films with good purity, crystallinity, and stability. The pre-deposition powder synthesis method involves preparing a powder of halogenated perovskites by chemical reactions in a solution or in solid state, then depositing this powder on a substrate and annealing it to form thin films.

Always on the lookout for materials with high efficiency and above all easy to elaborate, research led to the discovery of new materials called perovskite.20,21,22,23,24 The light-absorbing layers, also known as active layers, from the first generation of cells to the third generation of cells, are currently expanding the horizons of photovoltaic solar cells.

Indeed, thanks to the efforts of researchers in the photovoltaic field to improve the performance of these absorbing layers, both in terms of optimization and research into new materials, we are seeing an evolution in the parameters of solar cells. It is thanks to these efforts that we have moved from conventional silicon cells (first generation) to third-generation perovskite thin films.25,26,27,28,29 Organic lead halide perovskites of the general formula APbX3 (A = methylammonium MA, formamidinium FA, cesium Cs, and X = Br, Cl, I, Br/Cl, Br/I and I/Cl) which are abundant, low cost, and well suited to converting solar energy into electricity as absorbers have had a very important impact in the field of photovoltaics.24,30,31,32,33,34,35,36 This good impression of perovskites is due to their interesting characteristics, namely their high absorption coefficient and high mobility of charge carriers increasing the energy conversion efficiency from 3.8% in 2009 to currently 25.2%.37,38,39,40 In addition to single lead halide perovskites, mixed halide perovskites (MAPbX3−qYq with q = 0, 1, 2, and 3, and X and Y different halogens) are also used for photovoltaic applications. Perovskite materials are also used for the fabrication of light emitters.41,42,43,44,45,46 Although perovskites have many advantages, their main challenge remains their structural stability. It should be noted that organic lead halide perovskite thin films are usually made from precursors directly dissolved in solvents such as DMF and/or DMSO. In the present work, we are interested in the fabrication of the much purer MAPbX3 (X = Br, Cl, and I) perovskite powder which we will then use to elaborate thin films in order to optimize the performance of the films. We present a study of the crystal structure, surface image, and optical absorption of the prepared thin films.

Transparent conducting oxides (TCOs) allow visible radiation to access or depart from a display while also supplying electrical connections due to their combination of strong electrical conductivity and optical transparency in the visible spectrum.47,48,49 This is why they are essential components of many gadgets, including touchscreens and photovoltaic solar cells.50,51,52,53,54,55,56,57,58 TCOs are classified into two categories, n-type and p-type. Several researchers have concentrated on n-type materials, such as ITO, FTO, and ZnO; Al or ZnO; or Ga. On the other hand, there has been less research on p-type materials, which is why they have not been developed.59,60,61,62,63,64,65,66,67 By combining n-type and p-type materials in a pn heterojunction, an outstanding production of oxides would be impacted by high-performance p-type TCOs.68,69,70 The contribution of this work is to prepare powders of higher quality than the precursors usually used to make perovskite thin films. This could improve the optoelectronic properties of the films for use in photovoltaic solar cells.

Manufacture of Powders

The production of good-quality perovskite thin films by the one-step spin-coating method is generally carried out in two ways:

  • Directly using pure precursors (A = MAX, FAX, and CsX; B = PbX2, FAX2, or CsX2) dissolved in a solvent which can be DMF or DMSO. The prepared solution is then deposited on a suitable substrate.71,72

  • First prepare the perovskite powder to be deposited and then dissolve it in DMF or DMSO to make the solution to be deposited.73,74

In this study, we opted for the second method, i.e., we prepared the powder for our perovskite thin films (MAPbBr3, MAPbCl3, and MAPbI3).

Manufacture of MAPbBr3

The manufacturing process of the perovskite powders is as follows.

We first put 50.57 g of bromidic acid (HBr, 99% purity) in a round-bottom flask with two nozzles (Fig. 1a). To this, we added 28.236 g of a methylamine solution (CH3NH2, 99% purity). It should be noted that, before adding the CH3NH2, the flask was placed in ice on a magnetic stirrer (about 200 rpm) to maintain the temperature at 0°C (Fig. 1b). Mixing the two solutions increased the temperature from 0°C to 100°C, when we added 50 mL (9.93 g) of lead nitrate (PbNO3, 98% purity). When the temperature dropped to about 40°C, the mixture, which has precipitated, was filtered under vacuum (Fig. 1c). The mixture was rinsed 3–4 times with absolute ethanol and diethyl ether, still under vacuum, to remove all impurities, after which the powder obtained was weighed before being dried in an oven to remove any moisture (Fig. 1d and e). For the calculation of the yield (ξ), we obtained:

$$ \xi = \frac{{{\text{Mass}}_{{{\text{finale}}}} }}{{0.03 \times {\text{Molar}}\;{\text{mass}}_{{\left( {{\text{MAPbBr}}3} \right)}} }} = \frac{{13.75\;{\text{g}}}}{{0.03 \;{\text{mol}} \times 478.98\;{\text{g}}/{\text{mol}}}} \times 100 = 95.68945\% $$
Figure 1
figure 1

The powder manufacturing process.

\(\xi = 95.68945\%\), 0.03 mol corresponds to the amount of PbNO3.

$$ {\text{m}}\left( {{\text{HBr}}} \right) = \frac{{0.3\;{\text{mol}} \times 80.9\;{\text{M}}}}{0.48} = 50.57\;{\text{g}} $$
$$ {\text{m}}\left( {{\text{CH}}_{3} {\text{NH}}_{2} } \right) = \frac{{0.3\;{\text{mol}} \times 31.06\;{\text{M}}}}{0.33} = 28.236\;{\text{g}} $$
$$ {\text{m}}\left( {{\text{PbNO}}_{3} } \right) = \frac{{0.03\;{\text{mol}} \times 331.2}}{1} = 9.93\;{\text{g}} $$

Manufacture of MAPbCl3 and MAPbI3

The manufacturing process of MAPbCl3 and MAPbI3 powders, as well as the precursors, are the same as for MAPbBr3, always with the same quantities, and same purity, except that, for MAPbCl3, chloride acid (HCl solution, 99% purity) was used instead of bromidic acid (HBr solution, 99% purity), and for MAPbI3, iodidric acid (HI solution, 99% purity) was used. For the yield of MAPbCl3, we have:

$$ \xi = \frac{{{\text{Mass}}_{{{\text{final}}}} }}{{0.03 \times {\text{Molar}}\;{\text{mass}}_{{\left( {{\text{MAPbCl}}3} \right)}} }} = \frac{{7.89\;{\text{g}}}}{{0.03\;{\text{mol}} \times 344.609\;{\text{g}}/{\text{mol}}}} \times 100 = 76\% $$
$$ {\text{m}}\left( {{\text{HCl}}} \right) = \frac{{0.3\;{\text{mol}} \times 36.458\;{\text{M}}}}{0.37} = 29.56\;{\text{g}} $$

For the performance of MAPbI3. we have:

$$ \xi = \frac{{{\text{Mass}}_{{{\text{final}}}} }}{{0.03 \times {\text{Molar}}\;{\text{mass}}_{{\left( {{\text{MAPbI}}3} \right)}} }} = \frac{{16.12\;{\text{g}}}}{{0.03 \times 619.109\;{\text{g}}/{\text{mol}}}} \times 100 = 86\% $$
$$ {\text{m}}\left( {{\text{HI}}} \right) = \frac{{0.3\;{\text{mol}} \times 127.904\;{\text{M}}}}{0.37} = 103. 71\;{\text{g}} $$

The different steps in the manufacture of powders are summarized in Fig. 1. In Fig 1a, we have introduced the acid halide HX (X = Br, Cl, or I). We have then added methylamine MA to the HX solution, which had previously been placed on ice (Fig. 1b). The precipitate was filtered under vacuum to obtain the powder (Fig. 1c). Figure 1d shows the powder while still wet, and Fig. 1e shows them after oven-drying.

Elaboration of Thin Films

Materials and Methods

We used a few grams of the different powders which we dissolved in DMF to obtain 1 mL of the solution to deposit. As a substrate, we opted for fluorine-doped tin oxide (FTO)-coated glass which was well treated in order to have good-quality thin films. The deposition method was a one-step spin coating with a rotation of 4000 rpm for 50 s. The films were then annealed on a hot plate at 80°C for 20 min. Figure 2 shows the development of the MAPbBr3, MAPbCl3, and MAPbI3 perovskite thin films.

Figure 2
figure 2

The perovskite thin film deposition steps.

Instrumentation

Different characterization techniques are an essential means of studying the active layers of the photovoltaic solar cell and the cell as a whole. 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 developed and the 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) was used to obtain the surface images of the different films.

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

Results and Discussion

Structural Analysis

Using the fabricated perovskite powders, the MAPbX3 (X = Br, Cl, and I) perovskite thin films were deposited on the FTO using the one-step spin-coating method. The results of the XRD analysis of the deposited films are shown in Fig. 3 as peaks located at 2θ diffraction angles corresponding to the crystallographic planes. The diffractogram of the MAPbBr3 thin film (Fig. 3c) gives 2 peaks at 15° and 30° corresponding to the (100) and (200) planes, respectively, with the main peak being the one located at 15° for the (100) plane. These two crystallographic planes show that the MAPbBr3 thin film has a single crystallographic orientation. The XRD results of the MAPbCl3 thin film (Fig. 3b) show 4 peaks located at 26.62°, 33.84°, 37.80°, and 51.55° for the (111), (210), (211), and (310) crystallographic planes, respectively. The main peak of the layer is located at 26.62° for the (111) plane. It must be said that the MAPbCl3 thin film has several crystallographic orientations, but the main orientation is along the (111) plane. As for the MAPbI3 layer, we see in Fig. 3a 6 peaks at angles 14.22°, 24.60°, 28.55°, 31.82°, 33.73°, and 40.73°, corresponding, respectively, to the (110), (112), (220), (310), (132), and (141) planes. The major peak is located at 14.22° for the (110) plane giving the preferred crystallographic orientation of the MAPbI3 layer. The good resolution of the different peaks and their non-duplication shows that the layers are single-phase and that there are no interstitial defects. Therefore, we can say that the prepared powders have the crystal structure of perovskites.

Figure 3
figure 3

XRD diagrams of thin films: (a) MAPbI3, (b) MAPbCl3, and (c) MAPbBr3.

The value of the lattice parameter, a, determined from the XRD pattern has been calculated using:75

$$ a = d_{hkl} \sqrt {h^{2} + k^{2} + l^{2} } $$

The values for the planes closely match with the 5.41 Å reported in ICDD PDF 65-1691.

The perovskites have a cubic structure with the lattice parameter a = 5.41 Å.

Morphological Analysis

The analysis of the absorptivity of photovoltaic thin films is very important, as they are used as absorbing layers in solar cells. The larger the grain size, the better the surface of the layer, because this means that the surface is less smooth and therefore rough. This roughness favors the trapping of light in order to lower the reflection coefficient. Figure 4 shows the surface images of the thin films that were developed. The size of the grains on the surface of the layers varies. We have well-covered, dense surfaces without voids or cracks, which corresponds to the desired surface. For the MAPbCl3 thin film (Fig. 4b), the grain size is much smaller than for the MAPbBr3 (Fig. 4a) and MAPbI3 (Fig. 4c) films. According to Fig. 4, the grain size for the layers with Br3 and I3 are similar.

Figure 4
figure 4

Surface images of perovskite thin films with a magnification of 100 µm: (a) MAPbBr3, (b) MAPbCl3, and (c) MAPbI3. EDS images of perovskite thin films: (d) MAPbBr3, (e) MAPbCl3, and (f) MAPbI3.

Energy dispersive X-ray spectroscopy (EDS) shows the chemical composition of the MAPbBr3, MAPbCl3, and MAPbI3 thin films. Analysis of the sputtered MAPbBr3 film (Fig. 4d) reveals the presence of carbon (c), nitrogen (N), lead (Pb), and bromine (Br) atoms. The presence of iodine (I) and chlorine (Cl) as well as other elements is confirmed by EDS analysis, as shown in Fig. 4e and f. The formation of thin films depends not only on the stoichiometry of the precursor ratio but also on the deposition conditions such as temperature and substrate, as indicated in previous work.76,77

For a detailed distribution, we performed elemental mapping of the MAPbBr3, MAPbCl3, and MAPbI3 thin films, as shown in Fig. 4d, e, and f, respectively. The composite image indicates a good distribution of the elements.

Optical Absorption Spectrum

Photovoltaic thin films are used as absorbing layers in solar cells. Therefore, it is important to characterize the UV–Visible absorption. Figure 5a shows the different absorptions of the MAPbBr3, MAPbI3, and MAPbCl3 layers. From the absorption curves, it can be seen that the MAPbI3 layer has the best absorption, which is probably due to its black dye. The lowest absorption is for the MAPbCl3 layer, also due to its light coloring, which is in line with the results in the literature.60,61 The various thin films absorb most at 300 nm and this absorption remains virtually constant over the rest of the spectrum.

Figure 5
figure 5

(a) Thin film absorption diagrams, and (b) band gap diagrams.

We can see that the absorption is linked to the dyeing (color) of the thin films. In fact, the darker the film, the more light it absorbs. It is therefore easy to understand why MAPbI3, the darkest film, has the highest absorption. Similarly, MAPbCl3 is the lightest thin film in the samples, which gives it the lowest absorption.

As the role of photovoltaic perovskite thin films is to generate electron–hole pairs, it is more important to know their exciton generation capacity. The band gaps of engineered thin films evolve in the opposite direction to the absorption in the wavelength range of 300–400 nm. In this range of the spectrum, the higher the absorption, the smaller the band gap. It can therefore be concluded that, for the processed samples, the effective photons have a wavelength, λ, of less than 300–400 nm.

We have therefore calculated the band gaps of the layers to see which layer best produces charge carriers (electron–hole pairs), based on the wavelengths and absorption coefficients, and these are shown in Fig. 5b. In this study, we note that the band gaps are in the same direction as the absorptions, i.e., the more the layer absorbs, the more easily it produces electron–hole pairs. The best layer in terms of absorption and taking into account the band gap is the MAPbI3 layer. As for the MAPbBr3 layer, it remains about average while the MAPbCl3 layer has the highest band gap. The band gap values are smaller than those found in the literature, especially for the MAPbI3 layer.78 This decrease in the band gap of thin films is probably due to the higher purity of the powders used for their preparation.

Table I shows a comparative study of the properties of the samples produced and the literature.

Table I Comparison of the properties of the three samples produced with those in the literature

Conclusion

The preparation of the powders was a success, and this method of powder preparation presents itself as an alternative solution to the shortage of perovskite precursors for the manufacture of photovoltaic solar cells. Given the success of the preparation of the MAPbBr3, MAPbCl3, and MAPbI3 powders, we can do the same for other perovskites, such as formamidinium-based perovskites (FAPbX3 with X = Br, Cl, and I), cesium-based perovskites (CsPbX3), or other perovskites. The different thin films elaborated from these prepared powders are of good quality, as shown by the characterization results. X-ray diffraction has allowed us to obtain well-resolved peaks and to confirm the crystal structure of the perovskites. The surface images obtained by scanning electron microscopy showed well-coated surfaces with variable grain sizes. The evaluation of the UV-Visible absorptivity of the thin films leads to the conclusion that the thin films have good absorptivity to be used as absorbing layers in photovoltaic solar cells, especially the MAPbI3 and MAPbBr3 layers. Given the optoelectronic properties of the various thin films developed, we can say that they are well-suited for use in photovoltaic solar cells.