1 Introduction

The ongoing market demand for increased memory densities has forced the electronic industries for seeking new approaches to process and storage of information of nonvolatile memory technologies providing fast switching, high data density, and less power consumption [1, 2]. To improve the performance of nonvolatile memory device, understanding switching mechanism is a major challenge. A lot of materials such as transition metal oxides [3, 4], chalcogenide materials [5, 6], perovskites oxide [7,8,9] exhibit resistive switching effect and have attracted wide applications in the field of electronic industries.

Generally, two types of resistive switchings are found in previous literature: unipolar switching [10, 11] and bipolar switching [12, 13]. Numerous models have been proposed to understand the resistive switching mechanism such as conducting filaments [14, 15] the Mott transition in insulator [16, 17] and Schottky barrier model [18]. However, very few reports are available in the literature on the topic concerning changes in filaments morphology and composition after different switching cycles of resistive switching devices [19, 20]. Recent studies on resistive switching behavior of Zn1−xMgxO-based devices have attracted many researchers for their wide application in semiconductor industries [21]. Usually, Zn1−xMgxO shows a hexagonal phase or cubic rock salt phase with an increase in Mg composition [22]. The growth and characterization of Zn1−xMgxO thin films and photo sensing performance with electro-optically efficient n-Zn1−xMgxO/p-Si heterojunction were reported by the authors previously [23, 24]. The resistive memory switching behavior in ZnIn2Se4 and ZnGa2Se4 thin films have been reported earlier [25, 26].

In the present investigation, scanning electron microscopy and current–voltage characteristic (I–V) were used to explain the formation and rupture of conducting filaments at the grain boundaries of platinum/Zn1−xMgxO/pyrographite/platinum device. The device performance was confirmed with the help of retention and endurance test.

The striking finding of this research article was that the bipolar resistive switching effect was observed in the Pt/Zn1−xMgxO/pyrographite/Pt stack with the reversible switching performances, when the applied bias amplitudes were regulated intentionally. The resistive switching characteristics were elucidated because of the controlled size of the conducting filament along with the pictorial SEM images obtained immediately after different switching cycles. Hence, this phenomenon provides new insight into the physical mechanism of the bipolar resistive switching device which is of great importance to the implementation of memory devices.

2 Experimental

The pulsed laser deposition (PLD) technique attached with KrF excimer laser (λ = 248 nm, 10 ns pulse duration) was used for deposition of Zn1−xMgxO (where x = 0.2) thin film at room temperature (303 K). The vacuum of the order of 5 × 10−4 Pa was maintained during Zn1−xMgxO thin film growth process. A highly polished pyrographite material received from the Institute of Nuclear Chemistry and Technology (INCT), Warsaw, Poland was used as a substrate. The thin film Zn1−xMgxO was grown by allowing a suitable number of laser pulses on ZnO and Mg pellets (targets) to obtain uniform growth of thin films. The thickness of the deposited film was 1000 Å. The Zn1−xMgxO thin film shows n-type conductivity measured by Hall Effect experiment [24]. The electrical characterization (I–V) of Pt/Zn1−xMgxO/pyrographite/Pt structure was carried out with a set-up consisting of two platinum wires with circular end (diameter of ≈ 200 μm) connected with a weak cantilever as shown in Fig. 1a. By applying proper pressure to the platinum wires, the electrical contacts were established on the top surface of Zn1−xMgxO film and on pyrographite surface.

Fig. 1
figure 1

a Schematic of the Pt/Zn1−xMgxO/pyrographite/Pt cell for electric characterization. b X-ray diffractogram of Pt/Zn1−xMgxO/pyrographite/Pt structure

Figure 1b shows the X-ray diffractogram of Pt/Zn1−xMgxO/pyrographite/Pt structure. The d-spacing values obtained from Pt/Zn1−xMgxO/pyrographite/Pt structure thin films from (002), (101), (110), (112), and (202) planes nicely match with the standard data obtained from International Centre for Diffraction Data (File No. ICDD 01-078-3032).

The energy-dispersive analysis of X-rays (EDAX) (Model: FEG-SEM 450 Nano Nova SEM, Make: FEI, Netherland) was used for atomic composition and surface morphological study of Zn1−xMgxO thin films. A semiconductor characterization system (Model: Keithely 4200, USA) and a source meter (Model: Keithely 602 A, USA) which is equipped with a personal computer (having TSP express software) in a pulse generator mode were employed for electrical characterization (I–V) of pristine device at 303 K.

3 Results and discussion

Figure 2a and b shows the surface plan view of SEM micrographs of Zn1−xMgxO thin film deposited on pyrographite substrate at ambient temperature and annealed at 573 K for 1 h under vacuum, respectively.

Fig. 2
figure 2

SEM image of Zn1−xMgxO thin film deposited on pyrographite substrates (a) as deposited (303 K). SEM images of Zn1−xMgxO thin film deposited on pyrographite substrates (b) annealed at 573 K for 1 h. Cross-sectional SEM images of Zn1−xMgxO thin film deposited on pyrographite substrates (c)

The film deposited at room temperature has random orientation of crystallites with the average grain size of ≈ 2.5 μm. After annealing the film had improved crystallinity with average grain size ≈ 5.4 μm. The cross-sectional SEM micrograph of Pt/Zn1−xMgxO/Pyrographite/Pt memory device is depicted in Fig. 2c which shows average thickness of Zn1−xMgxO/pyrographite interface as 5.646 μm. Figure 3 illustrates the typical current–voltage (I–V) characteristics of Pt/Zn1−xMgxO/pyrographite/Pt device by applying voltage in sweep and pulse mode in order to study resistive switching effect.

Fig. 3
figure 3

Current–voltage (IV) Characteristic of formed Pt/Zn1−xMgxO/Pyrographite/Pt device

Generally, electroforming process is required just prior to the device undergoes into a switching state. In order to initiate the forming process, 5–6 cycles were applied to activate the pristine device. After forming the device, the sweep voltages were applied to the top Pt electrode (TE), i.e., on the surface of Zn1−xMgxO thin film in the sequence of (0 →  + 0.5 V → 0 → − 0.5 V → 0), while the bottom Pt electrode (BE) placed on the surface of pyrographite was grounded. When the applied voltage starts sweeping from 0 to 0.12 V, the current slightly increases. Further, increase in bias from 0.12 to 0.3 V the current gradually increases (0.5 × 10−4 A) up to the current compliance limit of 1 mA as shown in Fig. 3. This change in current will switch the device from high resistance state (HRS) to low resistance state (LRS). This behavior is known as SET process whereby the compliance current limit is kept at 1 mA in order to prevent permanent damage of the device and maintained up to 0.5 V to 0.25 V. The device remained in SET position during the applied reverse sweep from 0.5 V. After further decreasing the applied bias from 0.25 to 0 V, the current decreases linearly and maintains its linear behavior. The same linear behavior is observed in opposite polarity down to a reverse bias (TE negative voltage) of − 0.3 V with a − 6 × 10−4A current. The linear relationship between current and voltage existing between + 0.25 V and − 0.3 V signifies that the device is switching back from LRS to HRS. The current decreases slightly, indicating the ‘reset’ process during − 0.3 V to − 0.5 V reverse voltage. When voltage sweeps from − 0.5 V to 0 V, the current drops suddenly and the device returns to HRS. The two states, SET and RESET, remain almost unchanged by changing the voltage polarity at top Pt electrode [27] as shown in Fig. 3. The device switches between LRS/HRS with a resistance ratio ≈ 10 at 0.3 V.

The study of memory device in pulse mode is essential for the enhanced understanding of the conduction mechanism and in-turn it reduces the heating effect due to time delay during which the conductance of the device switch back to the previous state [28] as depicted in Fig. 4.

Fig. 4
figure 4

A sequence of input voltage pulses applied to the pristine device and corresponding output current at each voltage pulse

A pulse of + 0.5 V and 1 μs duration switching the system into the low resistance state and data is written in the memory device. After applying a negative pulse of − 0.5 V of 1 μs duration, the data written to the device is erased and device returns to high resistance state. Between each sequence of LRS/HRS operations, the current in the device was consecutively read at 0.1 V for eight times. The repeated switching behavior over a period of 200 s indicates that the device possesses good endurance which is a very important property of any memory device.

To acquire the further insight in to the switching phenomenology of the pristine memory device, a generalized filament model is presented. The bipolar resistive switching mechanism may be explained by ionic migration which is due to Joule heating effect and applied electric field [29, 30]. It is well known that the defects such as oxygen vacancies and interstitial atoms exist in polycrystalline oxide thin film. The Zn1−xMgxO thin film shows n-type conductivity with a wide band gap (Eg = 3.7 eV) semiconductor [31]. It is well known that the Pt electrode (TE) has high oxygen mobility in it [32]. Therefore, release of oxygen ions from Pt electrode to Pt/Zn1−xMgxO thin film interface or vice versa must be fast and active after the application of bias voltage.

In normal condition, during first cycle of (0 V →  + 0.5 V → 0 V), SET (LRS) occurs in pristine device. It is assumed that the oxygen ions are attracted from the oxide to the reactive electrode (TE) when + V was applied to the TE as shown in Fig. 5a (Left Hand Side). The immediate SEM image (right hand side) after the switching operation shows the presence of local formation of conducting filament at grain boundaries of the oxide films. The EDAX analysis of the filament confirm that it is Zn rich and oxygen deficient. As it is evident from Fig. 5a (Right Hand Side) that when the voltage was applied during SET process, Zn diffusion takes place along the grain boundaries contributing for the local filament formation providing driving force for the switching mechanism. Inversely, applying − V to the reactive electrode (TE) (0 V → − 0.5 V → 0 V), repels the oxygen from the reactive electrode to the oxide, so that filament is raptured (switching from LRS to HRS) near the electrode/oxide interface due to local Joule heating [32] as shown in Fig. 5a (right hand side). The conductive filament is not actively dissolved after the reset process, rather only disconnected near the grain boundaries.

Fig. 5
figure 5

a–c The electrical behavior and the corresponding surface morphology taken immediately after the switching of the device

During the five cycle (0 V →  + 0.5 V → 0 V → − 0.5 V → 0 V), Fig. 5(b) (left hand side), the switching effect starts at relatively lower voltage of 0.1 V with increase in current. As it is evident from the Fig. 5b right hand side that tiny metallic filaments gather-together near the pre-existing filament to form stronger and more conducting filaments in LRS state.

Repeating the sweep measurements after ten cycles confirmed reproducible bipolar resistive switching voltages with same SET/RESET values as shown in Fig. 5c (left hand side). The pictorial SEM image Fig. 5c (Right hand side) shows that the extension of the branch filaments generated along the grain boundaries near the existing filaments, stabilizing the multifilament channel involving the SET process.

The multi filament disassembles, while weak filament remains during switch back to RESET. The study of the data retention provides insight into the switching mechanism observed under SET/RESET operations at room temperature (300 K) as shown in Fig. 6. In each DC sweep, the resistance values are read at 0.1 V. The LRS remains almost stable and HRS shows slight fluctuation in the beginning stage of operation up to 100 s. Obviously, the resistance of LRS and HRS exhibited no degradation up to 1 week, indicating good retention characteristics of both states.

Fig. 6
figure 6

Resistance evolution of the Pt/Zn1−xMgxO/Pyrographite/Pt device

4 Conclusion

The bipolar resistive switching characteristics were observed in Pt/Zn1−xMgxO/Pyrographite/Pt memory device by electrically induced resistance switching between LRS and HRS with a resistance ratio HRS/LRS of 10. The conduction mechanism of LRS to HRS are consistent with the filament theory. The filament model with SEM pictorial evidence supports the switching phenomenon which is associated with the formation and rapture of the conducting filaments consisting of oxygen vacancies/metallic ions migration at the grain boundaries of the oxide films. The device exhibited good retention, a low power consumption and better SET/ RESET voltage distribution, suggesting that Pt/Zn1−xMgxO/Pyrographite/Pt memory device has great potential for future memory applications.