Introduction

With the increase of redundancy and complexity of information, demands for higher density, faster speed, smaller scale and lower consumption have brought about new development of new concept of information storage [1, 2]. The nonvolatile resistive random access memory (RRAM) is the most promising data storage candidate due to its simple structure, high write/read speed and low-scale limit and power consumption [2,3,4]. RRAM devices operated by a single electrical input have been widely researched and reported. However, this single input method faces the problem of the discovery of the appropriate media layer, the lowering of the power consumption and the problem of the multifunction expansion [5, 6]. Thus, the exploration of storage strategies that combine multiple physical channels, e.g., optical, electric and magnetic fields, has been extensively undertaken [5,6,7,8]. Among them, the optical field is used as an extra terminal of a photoelectric materials-based RRAM device to ensure large memory windows and multiple storage levels greatly [5, 6, 9, 10]. Among various photoelectric materials, lead-based perovskites (\(\hbox {APbX}_{{3}}\); with A =\(\hbox {Cs}^{+}\), \(\hbox {CH}_{{3}} \hbox {NH}_{3}^{+}\), (\(\hbox {H}_{{2}}\)N)\(_{2} \hbox {CH}^{+}\), etc.) have been widely researched in photonic memristors due to their fast optical response, high photoelectric conversion efficiency and large defect tolerance [11,12,13,14]. However, the toxicity of soluble lead content and the long-term instability limit the broad application of \(\hbox {APbX}_{{3}}\)-based photoelectronic memories [15, 16]. Above hindrances have triggered the exploration of lead-free alternatives with higher stability. Recently, lead-free double perovskites have been proposed in the chemical formula \(\hbox {A}_{{2}} \hbox {M}^{+} \hbox {M}^{3+} \hbox {X}_{{6}}\), where \(\hbox {M}^{+}\) (monovalent cation) and \(\hbox {M}^{3+}\) (trivalent cation) are used to replace \(\hbox {Pb}^{2+}\) [17, 18]. Here, silver-bismuth double perovskites (e.g., \(\hbox {Cs}_{{2}} \hbox {AgBiBr}_{{6}}\) and \(\hbox {Cs}_{{2}} \hbox {AgBiCl}_{{6}}\)) have extensively aroused concern due to the higher chemical stability, lower toxicity and more excellent optoelectronic property [15, 19, 20]. Although the potential for solar cells, photovoltaic devices and photoelectric detectors has been studied, photoelectric storage applications are not fully utilized [21,22,23].

In this study, high-density \(\hbox {Cs}_{{2}} \hbox {AgBiBr}_{{6}}\) (CABB) films with high coverage were prepared by a simple one-step and low-temperature sol–gel method on indium tin oxide (ITO) substrates. Tristate RS characteristics, one high resistance state (HRS, i.e., OFF state) and two low resistance states (LRSs, i.e., ON states), were achieved in the Pt/CABB/ITO/glass devices under the light illumination (445 nm) of 10 mW/\(\hbox {cm}^{2}\). The maximum resistance ratio between HRS and LRSs reached about 500. The current behavior was controlled by trap-controlled space charge-limited current (SCLC) mechanism owing to abundant bromine vacancies (V\(_\mathrm{Brs}\)) in the CABB layer. Under light illumination, bias voltage sweep caused more V\(_\mathrm{Brs}\) to be formed and captured/released electrons during the trapping/detrapping processes. In addition, the change of Pt/CABB Schottky-like barrier by the optical modulation also contributes to the multilevel RS behavior. This work demonstrates that CABB has the potential application in light-assisted multilevel storage devices. Related findings also provide an opportunity to understand the inherent nature of lead-free halide perovskites for their usage in high-density and nonvolatile optoelectronic memories.

Methods

Prior to the growth of the samples, the ITO/glass substrate was washed sequentially with acetone, isopropyl alcohol and deionized water and dried under a nitrogen gas flow. In the anhydrous dimethyl sulfoxide (DMSO, 1mL), 1.2 mmol of CsBr, 0.6 mmol of AgBr and 0.6 mmol of \(\hbox {BiBr}_{{3}}\) were dissolved. The yellow precursor solution was obtained after stirring for 12 h at 65 \(^{\circ }\)C in an Ar-filled glove box, as shown in Fig. 1a. The precursor solution was dripped onto an ITO/glass substrate and spin-coated at 500 rpm (speed I) for 15 sec and 5000 rpm (speed II) for 45 sec [Fig. 1b, c]. Finally, as shown in Fig. 1d, the yellowish film was obtained by annealing on a hot plate at 280 \(^{\circ }\)C for 5 min.

Fig. 1
figure 1

Solvent engineering procedure for preparing the CABB/ITO/glass sample

Characterization

The crystallinity and phase purity of samples were investigated using X-ray diffraction (XRD, MiniFlex600, Rigaku Corporation, Japan) with a Cu K\(\alpha\) radiation at room temperature. The compositional analysis and band structure of Pt/CABB/ITO cells were performed by X-ray photoelectron spectroscopy (XPS) and Ultraviolet photoelectron spectroscopy (UPS) with a monochromatic Al \(\hbox {K}_{\alpha }\) X-ray source, respectively (XPS/UPS, ESCALAB250Xi, Thermo Fisher Scientific, America). A UV–Vis reflectance spectrum was recorded using a UV-2700 spectrophotometer (Shimadzu Corporation, Japan). Microscope images of the CABB film morphologies were recorded by a field-emission scanning electron microscope (SEM, FEI Quanta 200, FEI, Holland). All current–voltage (IV) characteristics of the cells in Pt/CABB/ITO/glass configuration were examined using a Keithley 2400 SourceMeter.

Results and Discussion

Fig. 2
figure 2

a The longitudinal \(\theta-2\theta\) scans of the as-grown CABB film on the ITO/Glass substrate. \(*\) represents peaks of the ITO/glass substrate. b XPS spectrum of CABB. c The top-view SEM image of films. The inset displays the cross-sectional SEM image of the CABB film. d Optical absorption spectrum of the CABB thin film measured at room temperature

Figure 2a exhibits that the XRD peaks are distributed in the (111), (200), (220), (222), (400), (422), (620) and (642) planes of crystalline CABB, corresponding to the cubic phase of CABB [24,25,26]. The wide spectrum of XPS clearly presents only Cs, Ag, Bi and Br elements in the samples, indicating that the chemical composition of the CABB film is pure [Fig. 2b]. The top view of the surface morphology reveals that CABB films possess a high surface coverage and relatively uniform crystal grains. Many obvious grain boundaries provide channels to the migration of ions and vacancies. And these grain boundaries can promote a further reduction in conductive energy barriers of ions and vacancies due to their light sensitivity [27, 28]. The CABB layer which has a uniform thickness of \(\sim\)260 nm is clearly visible in the inset of Fig. 2c. UV–Vis absorption spectrum indicates that an excitonic absorption band in the region from 420 to 500 nm, the peak locates at 445 nm [Fig. 2d].

Figure 3a displays the schematic structure of the fabricated CABB-based device under violet light (445 nm) of 10 mW/\(\hbox {cm}^{2}\), where a CABB layer is sandwiched between the Pt-based top electrode (TE) and the ITO-based bottom electrode (BE). The bias voltage is applied on the Pt TE of the device, while the ITO BE is grounded. As exhibited in Fig. 3b, by applying voltage loops to the Pt/CABB/ITO/glass device with a periodic sweeping (0 V\(\rightarrow\)2 V/2.4 V\(\rightarrow\)-2 V\(\rightarrow\)0 V), an obvious current hysteresis is observed during the voltage sweeping in the dark condition. The device presents a typical bipolar RS behavior. However, different resistance states are not observed under different operating voltages. When the device was exposed in the light with a laser of 445 nm, 10 mW/\(\hbox {cm}^{2}\), the current distinctly switched between two correspondingly different LRSs in the negative region, as shown in Fig. 3c. The device presents obvious tristate RS behavior under the light illumination. Three different resistance states, HRS, LRS-1 and LRS-2, were recorded at a low reading voltage (\(V_\mathrm{r}=-0.1\) V) under light illumination. As illustrated in Fig. 3d, the maximum resistance ratio of HRS and LRSs is about 500 at \(V_\mathrm{r}\). HRS, LRS-1 and LRS-2 can be stably maintained and no obvious degradation occurs after 1200 s. The above results illustrate that Pt/CABB/ITO/glass devices possess the fine retention ability and the multilevel storage potential. In order to confirm the optimal condition of light-activated multilevel RS characteristics, we measured the RS behavior of Pt/CABB/ITO/glass devices under different light intensities (Additional file 1: Fig. S1). Compared with the IV curve measured under the light intensity of 10 mW/\(\hbox {cm}^{2}\) [Fig. 3d], different LRSs could not be obviously observed in the negative bias voltage region under the light intensities of 8 mW/\(\hbox {cm}^{2}\) and 13 mW/\(\hbox {cm}^{2}\), as shown in Additional file 1: Fig. S1a, b. Moreover, as the light intensity increases, although the multilevel RS characteristics appear, the maximum ratio of HRS and LRSs under the intensities of 8 mW/\(\hbox {cm}^{2}\) is 13 mW/\(\hbox {cm}^{2}\) are just \(\sim\)10 and \(\sim\)3, respectively [Additional file 1: Fig. S1c, d]. And the stability of multilevel RS characteristics under these intensities is not good as that of 10 mW/\(\hbox {cm}^{2}\). Aiming at the influence and law of different light intensities for the RS behavior of CABB-based memories will be researched and discussed in our next work.

Fig. 3
figure 3

a The configuration of the Pt/CABB/ITO/glass memory device. I–V curves for the device in dark (b) and under light irradiation (c), respectively. The numbers and arrows represent the voltage sweeping sequences and directions, respectively. d Time up to over 1200 s for HRS, LRS-1 and LRS-2 measurements under the light illumination of 445 nm at room temperature

The bipolar RS behavior in different memories can be normally explained by three types of mechanisms, namely the electrochemical metallization mechanism (ECM), the valence variation mechanism (VCM) and the thermochemical mechanism (TCM) [12, 29]. In the ECM model, the RS switching behavior is based on the formation or rupture of metallic conductive filaments formed by active metal atoms within the medium layer [12, 30]. However, the inert Pt metal was applied to be as the electrode of the CABB-based memory device in our work; thus, we speculated that the VCM model was primarily contributed to the RS behavior in the Pt/CABB/ITO/glass device. As illustrated in Fig. 4, the IV curve is replotted on double logarithmic coordinates in the positive and negative voltage sweep regions. In the positive region, the fitting slope of log(I)–log(V) curve is approximately 1 in the voltage range of 0 and 0.3 V, the IV relationship obeys the Ohm’s law. With the positive voltage increasing, the slopes of the fitted lines are approximately 2 and 10 in the voltage range of 0.3 V and 1.1 V, respectively, indicating that the SCLC model dominates the conductive process [12, 30, 31]. With the positive bias further increasing in the range of 1.1 V and 1.9 V, the current decreases obviously, indicating the so-called negative differential resistance (NDR) appearing [32]. When the positive bias reaches \(V_\mathrm{SET}\) (+2 V), the device switches from HRS to LRS, and then, the relationship of log(I)–log(V) obeys \({I}\propto {V}^{2}\) (1.8 V–0.2 V). Subsequently, a linear relation is quickly observed between I and V. The conductive behavior obeys Ohmic conduction even though the bias reversely sweeps. When the device switches from LRS to HRS under \(\textit{V}_\mathrm{RESET}\) (−2 V), the slope of the fitted curve recovers about 8 and 2 in the range of −2 V and −0.5 V, respectively, suggesting that the SCLC mechanism dominates this HRS region. With the negative voltage decreasing further, the IV follows the Ohmic conduction.

Fig. 4
figure 4

The fitted lines of the double logarithmic IV plots. The arrows indicate sweeping directions

To trace and confirm the origin of SCLC conductive mechanism in the Pt/CABB/I TO/ glass device, XPS measurement was taken to investigate the valence variation of the fabricated CABB films. As shown in Fig. 5a, two clear peaks at 737.83 eV and 723.88 eV are observed corresponding to \(\hbox {Cs}^{+}\) [33]. The presence of \(\hbox {Ag}^{+}\) is also revealed according to the peaks located at 373.43 eV and 367.42 eV ascribed to 3\(\textit{d}_{3/2}\) and 3\(\textit{d}_{5/2}\), respectively [Fig. 5b]. The fitting results of Cs and Ag elements are consistent with the valence composition in the CABB films. As depicted in Fig. 5c, the doublet peaks of Br 3\(\textit{d}_{3/2}\) and Br 3\(\textit{d}_{5/2}\) signals locate at 69.38 eV and 68.33 eV, respectively. Obviously, they shift toward the positive positions, indicating that V\(_\mathrm{Brs}\) generate in the CABB layer [34]. In addition, as illustrated in Fig. 5d. Bi 4\(\textit{f}_{5/2}\) and Bi 4\(\textit{f}_{7/2}\) regions are fitted into two peaks, respectively. The main peaks at 163.96 eV and 158.60 eV are assigned to \(\hbox {Bi}^{3+}\), and two peaks with lower binding energy at 163.78 eV and 158.48 eV are ascribed to the low valence state \(\hbox {Bi}^{(3-x)+}\), indicating the generation of V\(_\mathrm{Brs}\) in the CABB layer [35].

Fig. 5
figure 5

XPS data corresponding to a Cs 3\(\textit{d}\), Ag 3\(\textit{d}\), c Br 3\(\textit{d}\) and Bi 4\(\textit{f}\) of the CABB films

Fig. 6
figure 6

The electric conductive process and the schematic band diagram of the Pt/CABB/ITO/glass device in the (a) and b absence, c presence of light

Initially, the Pt/CABB/ITO/glass device is difficult to conduct electricity and stays in the HRS due to V\(_\mathrm{Brs}\) randomly disperse in the CABB layer [Fig. 6a]. When a low positive bias is applied to the Pt TE, an external electric field (\(E_\mathrm{ext}\)) is formed in the CABB layer, which points from Pt TE to ITO BE. The IV relationship follows Ohm’s law own to the conduction of thermally excited electrons in the CABB layer. With the \(E_\mathrm{ext}\) increasing, the electrons injected from the ITO BE are captured by V\(_\mathrm{Brs}\) in the CABB layer, the relationship of IV follows Child’s low (\({I}\propto {V}^{2}\)), as shown in Fig. 6b. With \(E_\mathrm{ext}\) increasing further, the \(\hbox {Br}^{-}\) ions are attracted to the Pt TE, creating more V\(_\mathrm{Brs}\) to capture electrons during the trapping process. When the positive bias arrives \(V_\mathrm{SET}\), V\(_\mathrm{Brs}\) form conduction channels due to the lowest activation energy; the injected electrons can migrate by vacancy to vacancy hopping [9, 36]. The device switches from HRS to LRS and remains Ohmic conduction even though the bias sweeps reversely. While the Pt/CABB/ITO device is exposed under the light irradiation of 445 nm, photoinduced electron–hole pairs generate in the CABB layer [Fig. 6c]. With the \(E_\mathrm{ext}\) increasing, electron–hole pairs are divided. Photo-generated holes can recombine with \(\hbox {Br}^{-}\), promoting the generation of V\(_\mathrm{Brs}\) in the CABB film [37]. In the meantime, the driving force (zeE) that drives the migration of V\(_\mathrm{Brs}\) is enhanced, causing the activation energy of V\(_\mathrm{Brs}\) lowering by [\(-\varepsilon\)/2 (\(\varepsilon \propto zeE\))]; more V\(_\mathrm{Brs}\) generate in the CABB film [27, 38]. Thus, more conductive paths composed of V\(_\mathrm{Brs}\) form and participate in the RS process under bias voltage sweeping. When an opposite voltage is applied to the Pt TE and goes across \(V_\mathrm{RESET}\), the trapped electrons are drawn out from V\(_\mathrm{Brs}\), and the current behavior obeys the SCL conduction. The relationship of IV follows \(\textit{I}\propto \textit{V}^{2}\). Meanwhile, the bridges of V\(_\mathrm{Brs}\) are ruptured resulting from the reverse migration of \(\hbox {Br}^{-}\) ions influenced by the negative voltage. And thus, the device switches from LRS to HRS. The above evolution of \(\hbox {Br}^{-}\) conductive channels has been measured and researched by the conducting atomic force microscopy in our previous work [26]: When a positive bias voltage was applied to the CABB film, obvious current channels were observed, indicating that the conductive filaments were formed in the CABB layer; when a negative bias voltage was applied to scan the same area, the layer could not present obvious current, suggesting that the conductive filaments were ruptured under the negative voltage.

Fig. 7
figure 7

a UPS spectrum of the CABB film at cutoff region obtained with \(h\nu =21.22\) eV. The inset depicts the Fermi edge of CABB. b Cutoff region of the ITO-coated glass. The inset displays the Fermi edge of the ITO layer

Moreover, the change of barrier located at the interface of electrodes and RS functional layers is also contributed to the RS behavior under light irradiation [39, 40]. Figure 7a, b shows the Fermi and cutoff regions of CABB and ITO in the UPS spectra, respectively. The work function of the CABB film and the ITO BE is calculated as 5.91 eV and 5.86 eV, respectively. Thus, the contact type between ITO and CABB is Ohmic. The Schottky-like barrier generates in the Pt/CABB interface due to the larger work function of Pt (6.42 eV) [41]. Figure 6d shows the initial schematic band diagram of the Pt/CABB junction in the dark condition. The energy band of the CABB layer bends upward and a Schottky-like barrier forms in the Pt/CABB interface due to the higher Fermi level (E\(_\mathrm{f}\)) of CABB. The barrier prevents electrons transferring across the Pt/CABB interface, and the Pt/CABB/ITO/glass device remains in HRS. When the positive \(\textit{V}_\mathrm{SET}\) applied to the Pt TE, V\(_\mathrm{Brs}\) gradually are filled by electrons injected from the ITO BE in the depletion region near the Pt/CABB interface. The width and height of the Schottky-like barrier is lowered [Fig. 6e]. In the meantime, the holes can inject from the Pt electrode across the Pt/CABB interface and fill the hole traps distributed near the valence band (VB) of CABB [39]. With the hole concentration increasing at the Pt/CABB interface, the E\(_\mathrm{f}\) of CABB moves toward to the VB, causing the barrier further lowering. And thus, the Pt/CABB/ITO/glass device switches from HRS to LRS. When the device is exposed to light illumination with a wavelength of 445 nm (\(\sim\)2.79 eV), plenty of photoinduced electron–hole pairs generate in the CABB layer, and then, they are separated by the \(E_\mathrm{ext}\). Photo-generated electrons jump into the conduction band (CB) and become free electrons because they obtain enough energy; photo-generated holes intensify the band bending and constantly facilitate electron transport across the junction with a thinner Schottky-like barrier, as shown in Fig. 6f. In the meantime, the hole traps can capture photo-generated holes, causing the E\(_\mathrm{f}\) shifts toward VB and leaving a lower Schottky-like barrier. In addition, more holes inject from Pt electrode can also be trapped by the hole traps [39]. Hence, the height of barrier further decreases. Continuous illumination hinders the recombination of electron–hole pairs and further reduces the inhibiting effect of the barrier, so the devices remain in LRS. Under the negative \(\textit{V}_\mathrm{RESET}\), V\(_\mathrm{Brs}\) move toward the Pt/CABB interface, the barrier recovers its original height and width, and the device switches back to its original HRS.

Conclusions

In summary, light-assisted tristate bipolar RS characteristics were observed in the Pt/CABB/ITO/glass memory devices. The maximum ON/OFF ratio was \(\sim\)500, and different resistance states could be steadily maintained over 1200 s. The RS behavior was principally attributed to the trap-controlled SCLC mechanism, and charge traps composed of V\(_\mathrm{Brs}\) were considered to play a key role in forming the conductive paths. The modulation of the Pt/CABB Schottky-like barrier under light illumination was also responsible for the RS behavior of the devices in the carrier injection-trapped/detrapped process. These results illustrate the potential multilevel storage capacity of the lead-free double perovskites in the optoelectronic memory field.