Introduction

With the increasing popularity of perovskite solar cell technology, there have been many attempts to utilize perovskite’s good photoelectric properties, such as high absorption coefficient, carrier mobility, bandgap tunability, and most importantly, low-cost production to fabricate many types of photoelectronic devices, apart from solar cells1,2,3,4,5,6. Perovskite materials can be processed with solution-based, low-cost fabrication methods i.e. spin coating7,8,9,10,11, spray coating12,13,14, dip coating15, and slot die coating16. One of the most interesting applications for perovskite-based devices is electromagnetic wave detection. In terms of responsivity, detectivity, and speed, perovskite photodetector (PPD) has exhibited comparable or even better performances, relative to its silicon or InGaAs counterparts17,18,19. Photodetector has many distinct architectures, but the most common ones are p-n, p-i-n, and m-s-m junction-driven photodiodes20,21,22. For the inorganic-based photodetectors to achieve high external quantum efficiency (EQE) and responsivity, external bias is required to drive electron–hole pair apart, thus promoting charge extraction and preventing charge recombination23,24,25. However, the external bias increases the operation cost of silicon PDs, rendering them unsuitable in some applications such as low-power integrated devices for the internet of things. To improve upon the self-powered performances of silicon-based PD, the Schottky effect from heterojunction between silicon and graphene was exploited20,26. Similarly, photovoltaic performance of self-powered PPDs can be enhanced with the integration of electron and hole transporting layers (ETL and HTL). Conventionally, ETLs and HTLs have been fabricated with a simple solution-processable, which keeps the fabrication costs of PPDs relatively low23,25,27. While both silicon and perovskite photodetectors are operable without external bias, silicon detectors are known for outputting high power density while the perovskite counterpart generally has a significant edge in detector speed and fabrication cost17,18,19.

Perovskite molecule structures are oftentimes denoted as ABX3, where A = Cs+, CH3NH3+ (MA+), HC(NH2)2+ (FA+), B = Pb2+, Sn2+, Ge2+, and X = I, Br, Cl-. MAPbI3 is the most common formula for perovskite solar cells. Without the help of ETL and HTL, self-powered MAPbI3–based PPDs have been reported to detect electromagnetic waves in the range between 400 to 900 nm, with rise and fall times of 30 μs and 300 μs, respectively. The reported device exhibited the responsivity of 0.26 A W-128. A strategy to improve upon the performance of self-powered PPDs, without the integration of ETL and HTL, is the utilization of multiple perovskite layers to create graded band structures. Properly graded energy band levels can result in the formation of internal built-in potentials, which promotes charge carrier extraction.

Aligning semiconducting materials with different work functions results in the formation of a depletion zone at the interface due to charge migration in an attempt to keep the Fermi level equal across the materials29. The depletion zone houses the electric field caused by energy band shifting, which improves charge transfer through a device21,30,31,32. Furthermore, the internal potential from the junction could reduce the dark current of photodetector devices, which equates to a reduction in signal noise and an increment in the on/off signal ratio—higher detectivity33. Research by Cao et al.34 showed that MAPbBr3 and MAPbIxBr3−x heterojunction could be created by dipping a MAPbBr3 single crystal in a MAPbI3 precursor solution. MAPbBr3/MAPbIxBr3−x heterojunction can improve EQE and responsivity from 0.14% to 3.17% and 0.0095 A W-1 to 0.0115 A W-1, respectively. N-type MAPbI3 could also be doped on the surface with MoO3, as demonstrated by Ou et al.30, creating homojunction between pristine MAPbI3 and p-type MoO3-doped MAPbI3 at the surface. When compared to the non-graded counterpart, the homojunction structure exhibited improvements in EQE from 0.20% to 3.93% and responsivity from 1.42 A W-1 to 3.93 A W-1. While PPDs with multiple perovskite layers are superior to their single-layer counterparts, it is undeniable that the junction between perovskite and ETL still greatly influences the performances of PPDs. As shown by Li et al.35, the ZnO/CsPbBr3 PPD achieved 11.5 mA W-1, which is significantly higher than those of CsPbBr3 PPD without the ZnO ETL, which exhibited only 0.10 mA W-1 in responsivity. Therefore, integration of both transporting layers and graded band structures should be done. Aside from direct photovoltaic performance, perovskite lacks long-term stability under oxygen, humidity, heat, UV, and light illumination, due to their low formation energy8,36,37,38. To date, triple cation materials such as Cs0.05FA0.79MA0.16PbI2.52Br0.48 are among the best perovskite recipes in terms of both photoelectric performance and stability. Recent progress saw triple cation perovskite replacing the MAPbI3 formula39,40,41. In previous research, triple cation self-powered photodetectors with ETL and HTL were fabricated through spin coating, achieving rise and fall times of 19 μs and 21 μs, respectively, and responsivity of 0.52 A W-1 at 1 sun covering 350 nm to 800 nm wavelength of light23. The method of creating heterojunction or homojunction via doping at the surface is popular for improving performance in the photovoltaic device21. However, the heterojunction between different types of perovskite was difficult to fabricate. The precursor solution from the upper layer can dissolve the lower perovskite already deposited. In the previous work, sequential spray deposition (SSD) was developed to fabricate multilayer perovskite solar cells where a precursor solution from an upper-layer perovskite deposition did not dissolve a lower layer perovskite42. Additionally, in the case of real-world production, the spray process is more promising due to scalability and larger coating area per precursor solution used. As a strategy to obtain different perovskite materials for graded band structures, different ratios of Cs cations in the triple cation perovskite structure were used, effectively changing work functions and band energies41,43. In this work, Cs0.05FA0.79MA0.16PbI2.52Br0.48 (5%Cs), Cs0.1FA0.75MA0.15PbI2.52Br0.48 (10%Cs), and Cs0.15FA0.71MA0.14PbI2.52Br0.48 (15%Cs) with distinct band positions were used as LEGO brick components to construct stacked PPD architecture. As Cs+ content increases, the valence band maximum becomes closer to the Fermi level, making our stacking layers gradually more p-type towards HTL41,44.

Methodology

Lead(II) iodide (PbI2; 99% purity), lead(II) bromide (PbBr2; 98% purity), formamidinium iodide (FAI; ≥ 99% purity, anhydrous), methylammonium bromide (MABr; 99.99% purity), cesium iodide (CsI; 99.9% trace metals basis), anhydrous N,N-dimethylformamide (DMF; 99.8% v/v), anhydrous dimethyl sulfoxide (DMSO; 99% v/v), anhydrous ethanol (99.5% v/v), tin(II) chloride dihydrate (SnCl2·2H2O; 99.999% purity), and hydrochloric acid (HCl; 37% v/v) were purchased from sigma-aldrich.

SnCl2·2H2O solution (0.3 M) was prepared in anhydrous ethanol under ambient conditions and stirred at room temperature for at least 1 h before filtering with a PTFE syringe filter (Whatman, 0.22 mm). Cleaned ITO substrates were deposited with the precursor solution using spin deposition with a spin speed of 2000 rpm and 1000 rpm s-1 acceleration. The deposited films were then placed on a 70 °C hotplate before heating up to 180 °C and held for 1 h.

Triple cation perovskite Cs0.05FA0.79MA0.16PbI2.52Br0.48 (5%Cs), Cs0.1FA0.75MA0.15PbI2.52Br0.48 (10%Cs), and Cs0.15FA0.71MA0.14PbI2.52Br0.48 (15%Cs) precursor solutions were prepared from weighing the different chemical powders according to the stoichiometric ratio. The mass of each powder for 1 mL solution are as follows: 5%Cs: CsI 15.6 mg, MABr 21.5 mg, FAI 163.0 mg, PbBr2 70.5 mg, PbI2 478.5 mg; 10%Cs: CsI 31.2 mg, MABr 20.2 mg, FAI 154.8 mg, PbBr2 72.7 mg, PbI2 461.9 mg; 15%Cs: CsI 46.8 mg, MABr 18.8 mg, FAI 146.5 mg, PbBr2 74.9 mg, PbI2 459.2 mg. Note that additional 2.5% of excess cation salt were added to mitigate PbI2 phase in perovskite film. The powders were then dissolved in DMF/DMSO mixed solvent with ratio of 4:1, respectively under N2 glovebox environment. The solutions were stired using a hotplate stirrer at room temperature for at least 3 h before filtering with PTFE syringe filter.

Airbrushes (badger 200 series connected to N2 gas with 30 psi) under ambient environment (40–50%RH) were utilized. For all spray depositions, substrates were pre-heated to 110 °C before and during spray deposition. For single-layer perovskite deposition, we used a single airbrush with a spray rate of 50 μL s-1; the airbrush moved at 12 mm s-1 while depositing the precursor solution on the substrate for 3 times. For double-layer perovskite, the airbrush speed was 8 mm s-1, 1 time for each layer. For triple-layer perovskite, the airbrush speed was 12 mm s-1, 1 time for each layer. The films were left on a hot plate for 30 s between layers.

The spiro-OMeTAD solution was prepared by mixing 80 mg of spiro-OMeTAD in 1 mL of chlorobenzene at room temperature for 1 h. After that 28.5 μL of 4-tert-butylpyridine and 17.5 μL of Li-TFSI solution (520 mg/mL in acetonitrile) were added and stirred overnight. The solution was dropped on a perovskite film and rested for 30 s before spin coating with a spin speed of 2,000 rpm and acceleration of 1,000 rpm s-1. Finally, the film was removed from the glovebox for spiro-OMeTAD oxidation for 2–5 min before putting back in the glovebox.

The optical absorption spectra were recorded using a Shimadzu UV-2600 UV–Vis spectrophotometer (900–300 nm, slow mode, and absorbance mode). The crystal structure was characterized by a DKSH Aeris benchtop X-ray diffractometer (Cu anode material, detector scan mode using a step size of 0.0217°, 0.98 s per step, and 2θ starts from 5° to 50°). The perovskite film stability was studied using Bruker, D8 Discover X-ray diffractometer (Cu anode material, detector scan mode using a step size of 0.02°, 198.7337 ms per step, and 2θ from 5° to 50°). Surface morphologies and cross-sections were observed by scanning electron microscopy (SEM; Quanta 450 FEI, tungsten filament electron source, 20 kV, and secondary electron mode). Elemental EDS mapping of cross-sectional images were analyzed by field emission scanning electron microscope JSM-7610FPlus, JEOL FE-SEM with EDS detector ULTIM MAX 65 from Oxford Instruments. Grazing incidence X-ray diffraction (GIXRD) was performed in a PANalytical Empyrean diffractometer. For the wide scan, the grazing angle (ω) was scanned from 0.2° to 1.2°, 2θ measurement range of 10°–45°. The scan step was set to 0.02°/step and the measurement time per step was 147.39 s. For the narrow scan, the grazing angle (ω) was scanned from 0.2° to 0.8° in 2θ measurement range of 13°–15°, scan step was set to 0.02°/step, and the measurement time per step was 10.56 s. Ultraviolet photoelectron spectroscopy was measured at Synchrotron Light Research Institute (public organization), Thailand. Photoluminescence of samples was measured by Horiba FluoroMax Plus spectrofluorometer (integration time of 0.1 s, excitation of 480 nm, excitation slit of 15 nm, emission wavelength measurement between 650 and 900 nm, and emission slit of 10 nm). Photoluminescence lifetime (PL-lifetime) of the samples was measured by Horiba Jobin Yvon FluoroMax 4 spectrofluorometer (time-correlated single photon counting unit). A nanoLED diode emitting pulses at 625 nm was used as an excitation source with band pass of 8 and sync delay of 60 ns. For data acquisition, the measurement range was 100 ns with coaxial delay of 90 ns. EQE, responsivity and specific detectivity were measured using Enlitech QE-R quantum efficiency analyzer (DC mode with 1 mm2 beam diameter). For photoresponse measurements, the PPDs were exposed to 1 sun illumination with an optical chopper spinning at 1000 Hz while measuring the photocurrent with Tektronix TBS1072b-EDU oscilloscope. Atomic force microscope (Park NX10 AFM) was used to measure the surface morphology of perovskite film. The z height and the modulus mapping of the films were constructed using the pinpoint mode.

Results and discussion

Triple cation perovskite films were deposited on ITO/SnO2 substrate using the spray setup shown in Fig. 1a. We improved the spray methods from the previous work42 by attaching an airbrush to a moving rail. During spray deposition, the airbrush’s constant movement provides a constant flux of precursor droplets, creating a more homogenous surface finish along the direction of spray movement and covering larger active areas for PPDs. The single-layer perovskite was done by depositing three layers of one type of perovskite with an airbrush moving at the speed of 12 mm s-1 with 30 s of drying between layers. For the double-layer, the airbrush speed was reduced to 8 mm s-1 to compensate for fewer layers of perovskite. Two layers of different perovskite materials were deposited with the corresponding precursor solutions to create a graded structure. For the triple-layer, the airbrush speed was set to 12 mm s-1 and each layer was deposited with different precursor solutions. The 12 mm s-1 airbrush speed was chosen because this speed gave the best performance in terms of photoresponse as shown in Fig. S1 (Supporting material). When spraying, the substrate turned dark immediately after contact with spray droplets, indicating that the precursor solution evaporated very fast and had no time to dissolve the lower layer. The perovskite film from the spray process has a matt finish, indicating a rough surface. By observing the surface with an AFM, the coffee mark from each droplet can be seen as shown in Fig. S2; the surface modulus are shown in Fig. S3. Note that the spray deposition methods are very simple and can be easily adjusted for the larger substrates by changing the movement of the airbrush, which is suitable for use in a large-scale production.

Figure 1
figure 1

(a) Schematic of spray deposition setup used in this research. The airbrush was attached to the screw which was driven by a stepping motor, which moves the airbrush left and right on top of the hot plate. (b) UV–Visible spectra at the absorption edge of triple cation perovskite films with different Cs+ content. (c) X-ray diffraction spectra (XRD) of triple cation perovskite (labeled with *) films with different Cs+ contents. PbI2 peaks were labeled with •. Optically inactive FAPbI3 peaks were labeled with ▪. ITO substrate peaks were labeled with 39,45,46. (d) XRD spectra of triple cation perovskite films at the 2θ from 13° to 15°. (e) SEM cross-sections of single (5%Cs), double (5%Cs/10%Cs), and triple-layer (5%Cs/10%Cs/15%Cs) perovskite films.

The increase in Cs+ caused a blue-shift of the absorption edge, as shown in Fig. 1b which was the result of the slight shift in bandgap from 1.60 eV of 5%Cs and 10%Cs perovskite to 1.61 eV of 15%Cs perovskite. In Figure 1c, X-ray diffraction spectra show good crystallinity with correct peak positions at 14.18°, 20.12°, 24.59°, 28.48°, 31.89°, and 43.22° which correspond to (100), (110), (111), (200), (210), and (300) planes of the perovskite films, respectively23,45. The increase of Cs+ content in the crystal structure shifts the diffraction peaks of the perovskite corresponded peaks slightly to the higher angles, for example, the 14.18° peak in Fig. 1d. The slight shift in the diffraction peak was the result of a reduction in lattice parameter as smaller Cs+ replaced larger MA+47. Moreover, the small peak at 11.7°, which belongs to optically inactive FAPbI3, becomes smaller as the Cs+ content increases. The reduction of FAPbI3 with higher Cs+ content is the result of smaller Cs/FA/MA cation effective radius, which shifts the tolerant factor toward cubic lattice rather than the hexagonal phase of FAPbI339,48. A very small peak at 12.79° corresponds to PbI2 crystal, pointing to incomplete formation of perovskite. The additional 2.5% of cation salt by weight is necessary to reduce the PbI2 in perovskite crystal. Without the additional cation, PbI2 in perovskite crystal was more significant. However, too much additional cation can also affect the performance. As shown in Fig. S4, the increase of cation reduces the performance of PPDs with 2.5% cation being the best performance with the lowest PbI2 peak.

To determine the effectiveness of SSD for depositing multilayer perovskite films without layer dissolution, cross-section images were captured as shown in Fig. 1e. The dissolution of the perovskite layer can occur both when depositing the same layer for multiple times and when depositing a new layer on top of the finished layer. During spray deposition, the precursor solution should evaporate as soon as the precursor solution hit the heated substrate. If the rate at which the solution is sprayed on the substrate is greater than the evaporation rate of the solvent, then the precursor solution can build up and dissolve the already crystallized film below, which we should refer to as “same layer dissolution”. A similar thing can occur on the deposited lower layer while spraying the upper layer. The precursor solution of the upper layer with too much spray rate can dissolve the lower film which we should refer to as “lower layer dissolution”. The lower layer dissolution is much more problematic than same layer dissolution as the interface between two types of perovskites can be difficult to determine if the materials are dissolved, mixed, and recrystallized into a composite. Moreover, the interface between perovskite layers may have unwanted defects which can reduce the performance of the PPD. The first cross-section was from 5%Cs with 4 mm s-1 spray speed for 1 time. The second cross-section was 5%Cs/10%Cs with 8 mm s-1 for each layer. The last cross-section was triple-layer 5%Cs/10%Cs/15%Cs with 12 mm s-1 for each layer. These spray speeds were calculated such that equal total spray time was performed for each condition, resulting in similar solutions being bombarded on the substrate. Any dissolution from deposition of the upper layer would cause a reduction of thickness when compared to that of a single-layer perovskite with the same total spray time. The thickness of the double-layer is thicker than that of the single-layer. Similarly, triple-layer perovskite is thicker than double-layer and single-layer ones, confirming little to no dissolution from depositing the top layer. The significant increase in thickness of the triple-layer perovskite film was the result of less “lower layer dissolution” and slightly naturally thicker 15%Cs perovskite film as shown in Fig. S5. The thicker double and triple-layer perovskite films confirmed the idea of using SSD as an effective deposition method to fabricate double and triple-layer perovskite films with an acceptable interface between perovskite layers.

Grazing incident X-ray diffraction spectroscopy (GIXRD) can be used to observe material compositions at different depths. In Fig. 2a, the depth of the observed materials is dependent on a grazing angle. The GIXRD spectra in Fig. 2b show that at the 0.2° grazing angle no peak from ITO substrate was observed; at the low angle, the X-ray only scanned the top surface of the perovskite film. However, at the grazing angle of 1.2°, we observed X-ray diffraction peaks from the ITO substrate at 2θ around 30.5° and 35.5°, indicating deeper scanning depth. In Fig. 2c, the gaussian fits of the GIXRD spectra were used to determine the peak positions of a double-layer 5%Cs/15%Cs perovskite film with grazing angles of 0.2°, 0.4°, and 0.8°. The positions of 2θ of the perovskite peak near 14° were reducing as the grazing angles increased. As shown previously in Fig. 1d, the higher Cs+ content in triple cation perovskite resulted in larger 2θ at around 14°, indicating more Cs+ content at the top than at the bottom, confirming the expected grading structure of the multi-layer perovskite film. It is worth noting that the GIXRD used in Fig. 2b, c was acquired by a different machine from the one used in Fig. 1c, d, so the perovskite peaks were slightly shifted. We also made an elemental analysis at the cross-section of the double-layer perovskite film. However, the spatial error was too large to resolve shifted compositions as shown in Fig. S6.

Figure 2
figure 2

(a) Grazing incident X-ray diffraction (GIXRD) scanned at a deeper level with a larger grazing angle (ω) (b) GIXRD spectra of 5%Cs/15%Cs with different grazing angles. Phase identity is equivalent to that from the normal XRD. (c) GIXRD spectra of 5%Cs/15%Cs at the 2θ from 13° to 15° with guassian fits to identify X-ray diffraction peaks. (d) Band diagrams of 5%Cs, 10%Cs, and 15%Cs perovskites aligned by having Ef equals to zero, representing band alignment when perovskite films come in contact with each other. (e) Ultraviolet photoelectron spectroscopy (UPS) spectra at the secondary electron cutoff region and (f) at the valence band region of 5%Cs, 10%Cs, and 15%Cs. (g) Band diagrams of 5%Cs, 10%Cs, and 15%Cs aligned by having Evac equals to zero45,49. (h) Photoluminescence (PL) spectra of single, double, and triple-layer perovskite films showing quenching of multi-layer perovskite films compared to that of single-layer perovskite films.

Figure 2d shows the band diagram from UPS data shown in Fig. 2e, f. The UPS measurements were done under high vacuum condition, which may not accurately represent real-world condition under ambient. However, we can use the result to understand the performance of PPDs. Ef-Evbm determines valence band maximum (Evbm) relative to the Fermi level and the majority carrier of the material50. When semiconductors make electrical contact, the Fermi levels align and take the same value across the device. However, Ef–Evbm remains constant, altering Evbm position as shown in Fig. 2d. Evbm of 5%Cs, 10%Cs, and 15%Cs perovskites were 1.52 eV, 1.48 eV, and 1.50 eV, respectively. We observed an increase of Ef-Evbm for 15%Cs. When more Cs+ are incorporated in the materials, Ef-Evbm increases until some point which Ef-Evbm decreases as Cs+ continues to increase, agreeing with the previous publication41. The contact between 5 and 10%Cs creates a depletion zone which improves charge transfer and potentially increases the speed of the photodetector as well. The Ecbm and Evbm of 10%Cs were higher than those of 5%Cs, creating a type II band alignment, which promotes electron moving from higher Ecbm of 10%Cs to lower Ecbm of 5%Cs. With the difference in work functions, the depletion zone from the contact between 10%Cs and 15%Cs created band bending that promotes electron moving from 15%Cs to 10%Cs. However, slightly lower potential Ecbm of 15%Cs compared to that of 10%Cs may induce electron-transporting into the unwanted direction. It is worth noting that, in Fig. 2g, the band diagrams of each layer of PPDs were arranged by equating  Evac to zero, which may not represent the band diagram of PPDs when all layers are stacked.

From Fig. 2h, 5%Cs, 10%Cs, and 15%Cs have an emission peak at 783 nm, 769 nm, and 768 nm, respectively. The slight blueshift corresponds to a change in band gap. Double-layer perovskite 5%Cs/10%Cs has a PL peak located at 774 nm, which lays between those of 5%Cs and 10%Cs films, but the intensity was slightly lower. The quenching in PL intensity of the double-layer perovskite agrees with the band diagram in Fig. 2d; the heterojunction between 5%Cs and 10%Cs causes electrons to move from 10%Cs to 5%Cs better, thus increasing charge extraction rate and reducing radiative recombination44,51. This phenomenon was also true for 5%Cs/15%Cs and 10%Cs/15%Cs, which have emission peaks located at 770 nm and 768 nm, respectively. Both have lower emission intensities than those of their components alone. For 15%Cs/10%Cs, which was the inverse perovskite layer of 10%Cs and 15%Cs, the emission peak was located at 767 nm with the intensity higher than that of 10%Cs/15%Cs, indicating less charge extraction and higher recombination. Triple-layer 5%Cs/10%Cs/15%Cs had the emission peak located at 768 nm with intensity lower compared to those 5%Cs and 10%Cs, but slightly higher than that of 15%Cs. When swapped to 10%Cs and 15%Cs in the triple-layer perovskite to get 5%Cs/15%Cs/10%Cs, the intensity increased slightly as the result of less charge extraction and more recombination. The PL quenching of 5%Cs/15%Cs and 10%Cs/15%Cs was more significant than those of 5%Cs/10%Cs and 5%Cs/10%Cs/15%Cs which may relate to better charge extraction. Overall, varied PL magnitudes represented the interplay between charge extraction (3 layers > 2 layers > 1 layer), defect sites at the bulks (10%Cs ≈ 15%Cs > 5%Cs), and the interfacial defects (3 layers > 2 layers > 1 layer). The defect sites at the bulks (10%Cs ≈ 15%Cs > 5%Cs) are supported by PL-lifetime as shown in Fig. S7. With multiple layers, charge extraction was more effective at the cost of more interfacial defects being introduced. More defect sites cause higher rates of non-radiative recombination and depress PL intensities10,52.

External quantum efficiency or EQE(λ) was estimated using the equation:

$${\text{EQE}}\left( {\uplambda } \right) = \left( {\frac{{{\text{electrons}}/{\text{sec}}}}{{{\text{photons}}/{\text{sec}}}}} \right) \times 100 \%$$

EQE determined the number of photoelectrons generated per number of photons. More photoelectrons generated translate to higher current. Since the number of electrons and the number of photons can be transformed into current and light intensity, respectively, and responsivity (R) is the product of those two parameters as shown in the equation:

$$R\left( \lambda \right) = \frac{I\left( \lambda \right)}{{P\left( \lambda \right)}}$$

where I is the photocurrent and P is light intensity; EQE and responsivity are directly correlated to each other. As shown in Fig. 3a,b, EQE and responsivity spectra of PPDs have similar trends to each other. PPDs with high EQE also have high responsivity. Assuming equal light intensity, PPDs with higher EQE and responsivity can produce higher photocurrent, which in solar cell application is very crucial in producing electricity. However, for photodetector application, the high current is not the main priority since in the real-world application only a small amount of current is needed for detection. The more crucial factor is specific detectivity (D*) as shown in Fig. 3c, which determined how well the photodetector can detect light at a lower intensity without being interfered with noise. The noise is the dark current that is generated even when there is no illumination and can be the result of current leakage in the device53. A higher noise level can overcome signals coming from low-intensity light, resulting in low D*. Specific detectivity can be determined by the equation:

$$D^{*} \left( \lambda \right) = \frac{R\left( \lambda \right)}{{\sqrt {2qJ_{d} } }}$$
Figure 3
figure 3

(a) EQE, (b) Responsivity, and (c) Detectivity spectra of single, double, and triple-layer perovskite PPDs. (d) Normalized photoresponse of PPDs under 1000 Hz optical chopper.

where Jd is the dark current density. In general, we want EQE and responsivity (R) to be as high as possible while maximizing D*. Figure 3d provides normalized xenon lamp broad light photoresponse of PPDs under 1000 Hz optical chopper (Table 1). Another important factor for photodetectors is the detection range which can be determined from EQE or responsivity spectra. In broadband photodetector application, wider EQE and responsivity spectra are better. From Fig. 3a,b, the EQE and the responsivity of PPDs have high values covering from 350 to 750 nm, which fully cover the visible light spectrum making them suitable for broadband photodetector application. For EQE and responsivity, single, double, and triple-layer PPDs perform similarly as shown in Fig. 4a,b. Perovskite films from the spray process can have more surface defects than those from the spin process which is linked to the reduction in photocurrent49,50. We suspected that multilayer PPDs has better charge extraction, but high defects, resulting in less overall performance in term of photocurrent. All the measurements were done without external bias to emphasize the self-powering capability of the PPDs. From Table 2, Jsc of 5%Cs and 10%Cs are higher than those of multilayer PPDs except that of 5%Cs/10%Cs. Both 10%Cs/15%Cs and 15%Cs/10%Cs have significantly lower Jsc, which can refer to non-ideal band alignment and too small energy differences (Evbm and Ecbm) between those two layers. Although no significant improvement in terms of photocurrent from multilayer PPDs was made, as seen in Table 1, our average responsivity is about 0.25, the record value for a self-powered detector fabricated by a scalable spray method. Nevertheless, this value is lower than R of 0.52 from the wasteful spin coating process23.

Table 1 Comparison of PPD parameters of different self-powered PPDs.
Figure 4
figure 4

(a) EQE at 550 nm, (b) Responsivity at 600 nm, and (c) Specific detectivity at 550 nm of single, double, and triple-layer PPDs. (d) On/off ratio of single, double, and triple-layer PPDs. (e) Rising time (τr) measured from 10 to 90% of maximum photocurrent of single, double, and triple-layer PPDs. (f) Falling time (τf) measured from 90 to 10% of the maximum photocurrent of single, double, and triple-layer PPDs.

Table 2 Average short circuit current density and dark current density of single, double, and triple-layer PPDs over 4 devices.

From Fig. 4c, the D* of 5%Cs/15%Cs has about one order of magnitude higher value compared to others as a result of its significantly lower dark current as shown in Table 3. The dark current can be lower by impeding charge carriers from moving in the opposite direction, typically done by adding barrier layers, which are electron blocking layer (hole transporting layer: HTL) and hole blocking layers (electron transporting layer: ETL)54. Alternatively, semiconductor heterojunction can be utilized for blocking holes from traveling in the reverse direction, replacing HTL55. However, surface defects also have an impact on the dark current of PPDs56,57. In our case, 5%Cs/15%Cs has a graded band structure that helps block holes from traveling from 15%Cs to 5%Cs, reducing the dark current. The work function difference between 5%Cs and 15%Cs is the largest among our heterojunction, creating the largest depletion zone and internal electric field pushing holes in the right direction. We suspected that the large depletion zone of 5%Cs/15%Cs can overcome the surface defect at the interlayer, resulting in low dark current and high detectivity. Moreover, among double-layer PPDs, 5%Cs/15%Cs has longest fast decay (τ1) which is associated with the lowest amount of trap-assisted recombination as shown in Fig. S79,60. With the multi-layer materials 5%Cs/10%Cs and 5%Cs/15%Cs, τ1 becomes less and the fitting parameter B1 from Fig. S7 becomes larger close to those of 10%Cs and 15%Cs, implying more interface recombination from one more interface. Furthermore, 10%Cs/15%Cs has shorter τ1 compared to those of both 10%Cs and 15%Cs layers as an extra interface might enhance trap-assisted recombination.

Table 3 Averaged values of photodetector parameters for single, double, and triple-layer perovskite devices, over 8 devices for on/off ratios, τr, and τf, and over 4 devices for EQE, R, and D*.

Specific detectivity also correlated to the on/off ratio of PPDs from measuring the photoresponse dynamics. In Fig. 4d, on/off ratios of 5%Cs/10%Cs and 10%Cs/15%Cs were similar to that of 5%Cs, which showed no significant improvement as the effect of additionally electric field strength might not be able to overcome the drawbacks from more interfacial defect sites created from the additional interface. Yet the improvement of double-layer PPDs could be observed in 5%Cs/15%Cs as the on/off ratio was noticeably higher than those of 5%Cs and 15%Cs; the self-powered champion device was able to achieve the on/off ratio of 35.5. Moreover, 5%Cs/15%Cs also has the lowest τr and τf as shown in Fig. 4e, f with the champion achieving 70 μs for the rising time and 88 μs for the falling time. In comparison, the single-layer 5%Cs PPD can achieve 70 μs for the rising time and 98μ for the falling time. The internal electric field generated from the depletion zone also promotes the velocity of carriers, resulting in faster response speed30. For other multilayer PPDs, the internal electric field is not adequate. Surface defects at the interlayer cause response speed to decrease especially falling time49. The increase in rising and falling times is more prominent in triple-layer PPDs as these devices have one more interlayer than double-layer PPDs, thus more area containing surface defects. Only 5%Cs/15%Cs PPD has the internal electric field strong enough to significantly improve response speed over the drawback from surface defects.

The stability of the perovskite films and the PPDs are shown in Fig. S8 and S9. We observe no Cs redistribution as there are no new peaks from CsI or Cs-containing phases in the XRD patterns, possibly due to large activation energy of A-site cation to from vacancy and/or interstitial defects unlike the anion site60,61.

Conclusions

The band diagram of triple cation perovskite could be altered by changing the Cs+ ratio within the perovskite crystal. With the increase of Cs+, the work function increased; thus when connected, multilayer perovskite induced band bending, which facilitated electron transportation through drift transport that was significantly faster when compared to diffusion transport. Faster electron transportation, therefore, results in faster response speeds (τr and τf). However, multilayer perovskite films have more surface defect sites which may hurt the performance of PPDs. The double-layer 5%Cs/15%Cs PPD struck the right balance between maximizing performance from grading structure and introducing interfacial defect sites. The 5%Cs/15%Cs PPD provided faster speed and better detectivity as the result of lower dark current compared to those of single-layer PPDs in agreement with the correct band alignment. More interfacial defects in triple-layer PPDs caused small or no improvement from those of single-layer PPDs.