1 Introduction

The amorphous chalcogenide alloys consist of one chalcogen element (S, Se Te) as a major constituent and other electropositive elements. These materials possess semiconducting behaviour along with high IR transmitting power (Calvez 2017). Their low phonon energy and low non-radiative decay rates found in large scale IR applications (Galstyan et al. 2015). The other important applications include active and passive solid-state electronics, opto-electronic devices, optical switching and optical signal processing due to their high IR transmittance and high third order optical nonlinearity (Ying et al. 2015; Rashad et al. 2018; Plesa et al. 2015; Fang et al. 2018). In this regard, the Ge–S alloys were widely used in photonic applications and optical devices (Shoulders et al. 2013; Rana et al. 2018; Kohoutek et al. 2011). However, the 3rd order nonlinearity was enhanced by the doping of Ag atoms into such alloys for suitable nonlinear applications (Kolobov and Elliott 1991). The degree of change by Ag addition depends on the method of doping. In this respect, thermal annealing and laser irradiation are two prominent techniques for incorporation of third element into the host matrix. Some of the results include the light induced diffusion of Ag into Ge30S70 that creates low relief resist masks used in diffractive optics (Eneva et al. 1999). The Ar laser treatment on Ag/As30S70 film is used to fabricate holographic phase gratings (Wagner et al. 2003) and waveguides were made from the Ag/GeS2 bilayer by UV laser micromanipulation (Kanai et al. 2010). The availability of lone pair p-states and flexible nature of chalcogenides are the root cause of photoinduced phenomena (Zakery and Elliott 2003). The changes occurring at diffusion site and its surrounding are equally important for application purpose (Murakami et al. 2015). The magnitude of changes by photo diffusion of Ag in bilayer film is comparatively more than that of bulk form (Kawaguchi and Maruno 1992). The Ag doping into GeS2 film increased the data retention capacity in CBRAM devices (Longnos et al. 2013). The formation of harmonic and an-harmonic phonons by photo induced effects in chalcogenide films is useful for nonlinear optics (Xue et al. 2012; Shpotyuk et al. 1997).

Likewise, thermal annealing is also regarded as one of the simple methods to stimulate the various properties of chalcogenide thin films. The thermal diffused refractive index change in Ag/As2Se3 bilayer film is relatively more than that of photoinduced one (Aparimita et al. 2018a). Both photodarkening and photobleaching effects have been noticed in Sb doped As–S film on annealing and irradiation (Naik et al. 2011). The solar cell absorbing material is being formed by thermal annealing induced Ag diffusion into Ag/In/Ag/In layer (Panda et al. 2018). The optical and structural properties of metal/chalcogenide heterostructure film changes with photo and thermal annealing (Horton et al. 1996; Behera et al. 2017). In respect to the important findings as discussed above, the nonlinear optical properties change by both photo and thermal annealing in Ag/GeS heterostructure films is not investigated which drives us for the present study.

In our present investigation, we have observed the extent of change in the linear and nonlinear optical constants due to Ag diffusion into GeS layer. The linear optical parameters such as refractive index, optical band gap, absorption coefficient, dispersion energy, oscillator energy, dielectric constants, Urbach energy of the studied films have been evaluated from the transmission data recorded by UV–visible spectrometer. The dispersion of refractive index was calculated and discussed on the basis of single oscillator model. The nonlinear susceptibility (χ3) and nonlinear refractive index (n2) were calculated from the linear refractive index using Miller’s rule. The chemical bond redistribution due to photo-thermal process was probed by X-ray photo electron spectroscopy (XPS). The structure of the films was probed by X-ray diffraction (XRD) and the surface morphology by field emission scanning electron microscopy (FESEM).

2 Experimental procedure

The Ag/GeS heterostructure films (Ag ~ 10 nm and GeS ~ 800 nm) were prepared by thermal evaporation method (Hind Hivac 12A4D coating unit) at a vacuum of ~ 10−5 Torr. The deposition rate was ~ 2 nm/s which was displayed in the quartz crystal monitor attached with the coating unit. The substrate holder rotated continuously to obtain a homogenous and uniform film. The as-prepared Ag/GeS film was annealed at 200 °C for 2 h and another as-prepared Ag/GeS film was irradiated for 2 h by 532 nm CW laser with intensity of 4 mW cm−2. The laser exposed area was ~ 3 mm in radius on the film which was mounted on a sample holder. We have calculated the temperature developed at the illuminated region due to laser irradiation by the procedure followed in Ganjoo et al. (2000) which comes ~ 7 K. This infers the observed changes are due to incident photon energy from the laser light and developed heat is not inducing any thermal change as this small temperature rise is not enough to induce any change as reported in other studies (Naik et al. 2009a; Ganjoo and Jain 2006).

The XRD was done with Cu-Kα radiation (Bruker D8 Advance, λ = 1.54 A°) at 40 kV voltage with 40 mA current. The scanning was done in the 2θ range between 10° and 90°. The presence of different elements after deposition in both as-prepared GeS and Ag/GeS thin film was verified by Energy dispersive X-ray analysis (EDX) with an attachment of FESEM facility (ZEISS SIGMA-40). The FESEM images on 1 cm2 size sample were taken at ~ 2 × 10−7 Torr pressure. The optical transmittance spectra between 500 and 1200 nm were taken by UV–visible spectrometer (Bruker Optics, IFS66v/S) at dark condition inside the sample chamber. The linear optical quantities like absorption coefficient (α), optical band gap (Eg), and Tauc parameter (B1/2) were calculated from Tauc relation whereas Swanepoel method was used to calculate linear refractive index. The dispersion parameters were obtained from single oscillator Wemple–Di Domenico model. The nonlinear refractive index (n2), 3rd order susceptibility (χ3) was evaluated by Miller’s formula. The chemical bonding modifications induced by Ag diffusion by photo and thermal annealing was measured in XPS (Axis Ultra, Kratos Analytical, UK) to support the optical changes. The required XPS core level spectra were taken with Al Kα X-rays (1486.6 eV) at a base vacuum of 2 × 10−9 Torr. Due to the insulating nature of these glassy materials, the charge correction was done by taking the adventitious C1s line binding energy (BE) as 284.6 eV (Barr and Seal 1995; Naik et al. 2009b). The original BE data were corrected according to the calculated calibration factor. The measurement was performed on different portion of the films to reproduce the exact data.

3 Result and discussion

3.1 Structural and surface morphology study

The XRD pattern of the as-deposited GeS, Ag/GeS, irradiated and annealed Ag/GeS thin films is shown in Fig. 1. The obtained pattern indicates the absence of any sharp peaks inferring the amorphous nature of the as-prepared GeS and Ag/GeS film. The amorphous nature sustains after both thermal and photo induced phenomena as seen from Fig. 1. The broad hump from 15° to 35° signifies the amorphous nature of the studied films. So, there is no structural transformation occurring in the annealed and irradiated film. However, the Ag diffusion in Se brings the new phase Ag2Se as reported in our earlier study which is not seen in the present case of Ag/GeS film (Naik et al. 2019a).

Fig. 1
figure 1

XRD pattern of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

The presence of Ge, S in the as-prepared GeS and the presence of Ge, S, Ag in Ag/GeS thin film was confirmed by EDX analysis as shown in Fig. 2a, b respectively. The peak intensity of Ag is very low as compared to that of Ge and S because of very thin Ag layer (10 nm) deposition on bottom GeS layer. The composition of the films is given in the Table 1.

Fig. 2
figure 2

EDX spectra of a GeS and b Ag/GeS bilayer thin film

Table 1 EDX data for the different elements in GeS and Ag/GeS thin films

Figure 3a–d show the FESEM images of as deposited GeS, Ag/GeS, illuminated and annealed Ag/GeS heterostructure films respectively. The picture reveals the uniformity and smoothness of the studied films. As all the films are similar in nature which infers that there is no structural change as seen from XRD. The images do not show any growth of the particles which also confirms the amorphous nature of thin films.

Fig. 3
figure 3

FESEM images of a GeS, b Ag/GeS, c illuminated Ag/GeS and d annealed Ag/GeS thin films

3.2 Linear optical parameters

3.2.1 Transmission, absorption and extinction coefficient

The optical transmittance data plotted in Fig. 4 shows the presence of several interference fringes that represent the uniformity and homogeneity of the prepared films (Shaaban et al. 2013; Naik et al. 2016). The transmission was 28% at 800 nm for GeS film where as it increased to 37% with Ag deposition onto GeS layer (Ag/GeS film). After laser irradiation and annealing, its value further increased to 43% and 47% respectively for the Ag/GeS thin film. Such amount of increase in transmission % is a clear indication of Ag diffusion into bottom GeS layer. However, the extent of change is different for thermal and laser induced cases.

Fig. 4
figure 4

Transmittance and Reflectance spectra of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

The annealing and irradiation also bring changes in absorption edge that shows a shift towards lower wavelength (higher energy). The absorption power called as coefficient (α) of the investigated films was calculated from the transmittance and reflectance data using the relation (Shaaban et al. 2013; Valalova et al. 2000)

$$\alpha = \frac{1}{d}ln\left[ {\frac{{\left( {1 - R} \right)^{2} + \left[ {\left( {1 - R} \right)^{4} + 4R^{2} T^{2} } \right]^{1/2} }}{2T}} \right]$$
(1)

where d, R and T are the thickness of the film, reflectance and transmittance respectively. The evaluated α values as a function of wavelength (λ) for the as-prepared, thermally annealed and irradiated films are shown in Fig. 5. The strong absorption region lies in the wavelength range 550–700 nm that was found to be reduced with λ for the annealed and irradiated film. The decrease in α value for the annealed and irradiated films is the consequence of increase in transmittance and decrease in density of defect states which enhanced the optical band gap.

Fig. 5
figure 5

α versus λ plot (inset k vs. λ) of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

The mass extinction coefficient (k) that measures how strongly the film absorbs the light at given λ is related with the absorption coefficient and wavelength by (Naik et al. 2019b).

$$k \, = \frac{\alpha \lambda }{4\pi }$$
(2)

The variation of k with λ is shown in Fig. 5 (inset) that depicts the decrease in k value with both the energy treatments. Since k is related to the surface defects and disorder caused by the diffusion of Ag into GeS layer, it infers the decrease in density of defect states leading to the increase in Eg.

3.2.2 Optical band gap (Eg), Tauc parameter (B1/2) and Urbach energy (Eu)

The optical band gap of the studied films were calculated at the high absorption region corresponding to the transitions between extended states in valence and conduction band from Tauc relation (Tauc 1979) as given by

$$\alpha h\nu = B\left( {h\nu - E_{g} } \right)^{n}$$
(3)

where hν is the photon energy and B is a constant called as Tauc parameter that gives electronic transition probability and degree of disorder present in the film. The power factor n in Eq. 3 has different values for different type of transitions such as n = 1/2, 3/2, 2 and 3 for direct allowed, direct forbidden indirect allowed and indirect forbidden transition respectively (Naik and Ganesan 2015). The present data fits best with n = 2 which shows the indirect allowed type transition. The x-intercept of the straight-line fitting for linear portion of (αhν)1/2 versus for the films which gives optical band gap (Eg) is shown in Fig. 6. The obtained values are presented in Table 2 that shows the Eg value increased from 1.41 ± 0.02 eV (GeS) to 1.47 ± 0.01 eV (Ag/GeS) after Ag addition onto GeS matrix. The band gap increased to 1.58 ± 0.02 eV for laser irradiated film and 1.65 ± 0.01 eV for the annealed film. An increment of 0.18 eV in Eg for the annealed film is more than that of 0.11 eV change for the irradiated film. This is an evidence of strongness of thermal annealing induced effect over laser irradiation.

Fig. 6
figure 6

(αhν)1/2 versus for GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

Table 2 The optical parameters of the studied films

The increase in Eg after heat treatment and light exposure is well understood by Mott and Davis model (Mott and Davis 1979) which proposes that the number of defects and degree of disorder influences the width of the localized states near the mobility edge in amorphous structure. The localized states have a strong influence on the optical absorption and thus on the optical band gap. The heat and photon energy annealed out the defect states by Ag atoms diffusion into the GeS layer that converts wrong homopolar bonds to a greater number of heteropolar Ag–S bonds. This process reduces the degree of disorder in the annealed and irradiated films. Therefore, the magnitude of density of defects decreased which reduces the width of the localized states and consequently, the Eg value increased for the annealed and irradiated film (El-Nahass et al. 2014; Panda et al. 2019).

The measure of disorder is represented by Tauc parameter (B1/2) which is found as the slope of the fitting in Eq. 3 (Zanatta and Chambouleyron 1996). The value of B1/2 for GeS film is 772 ± 1 cm−1/2 eV−1/2 which then increased to 783 ± 2 cm−1/2 eV−1/2 for Ag/GeS. After light exposure and thermal annealing, the value raised to 802 ± 2 cm−1/2 eV−1/2 and 824 ± 1 cm−1/2 eV−1/2 respectively. From the values, it is understood that the disorder decreased after thermal annealing and laser irradiation as predicted in Mott Davis Model.

The tail width of the localized states Eu (Urbach energy) also measures amount of disorder in a system. This parameter is being evaluated in the weak absorption region of the absorption spectrum from an exponential dependence on photon energy (Urbach 1953)

$$\alpha \left( {h\nu } \right) = \alpha_{0} \exp \left( {\frac{h\nu }{{E_{u} }}} \right)$$
(4)

where ν is the frequency of the radiation, α0 is a constant, h is Planck’s constant. The Eu was evaluated from the reciprocal of the slope of the linear portion of the dependence of ln\(\left( {\alpha /\alpha_{0} } \right)\) versus hν. The calculated Eu values for the as-deposited GeS and Ag/GeS thin films are 211 ± 1 meV and 197 ± 2 meV respectively which further reduced to 176 ± 2 meV for irradiated and 154 ± 3 meV for annealed film. The reduced Eu values confirm the decrease of disorder in the photo and thermally annealed films. The presented values of B1/2 and Eu shows the inverse relation between them as studied in various films (Atyia and Hageb 2016; Pradhan et al. 2017).

3.2.3 Linear refractive Index (n), oscillator energy (Eo), dispersion energy (Ed)

By applying Swanepoel method (Swanepoel 1983), in the transparent region where the absorption coefficient α → 0, the n value is calculated by

$$n = \left[ {N + \left( {N^{2} - s^{2} } \right)^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}}} } \right]^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}}}$$
(5)
$${\text{where}}\quad N = 2s\frac{{T_{M} - T_{m} }}{{T_{M} T_{m} }} + \frac{{S^{2} + 1}}{2}$$

where TM refers to the transmission at maxima and Tm refers to the transmission at minima point corresponding to a particular λ and s is the refractive index of glass substrate (1.51). The refractive index of the as-prepared Ag/GeS film decreased from GeS film. The n value decreased upon annealing and irradiation as shown in Fig. 7. The variation of band gap and refractive index is related by Moss rule which states that Egn4 ≈ constant (Attia et al. 2013). So, the change in the band gap (red shift/blue shift in the absorption edge) is related to a change in the refractive index (Aparimita et al. 2018b).

Fig. 7
figure 7

n versus λ plot of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

The dispersion of refractive index in the films upon photo and thermal annealing plays an important role in various photonic applications. The single effective oscillator formula developed by Wemple–DiDomenico (1971) evaluates the dispersion parameter which is given by

$$n^{2} - 1 = \frac{{E_{d} E_{0} }}{{E_{0}^{2} - h\nu^{2} }}$$
(6)

where \(E_{0}\) and Ed are effective oscillator energy and dispersion energy respectively. The dispersion energy measures the average strength of inter band optical transitions (Shaaban et al. 2018). The two values were determined from the plot \(\left( {n^{2} - 1} \right)^{ - 1}\) against (hν)2 as shown in Fig. 8. The \(\frac{{E_{0} }}{{E_{d} }}\) represents the intercept on the vertical axis and \((E_{0} E_{d} )\)−1 is the slope of the fitting from which E0 and Ed were evaluated.

Fig. 8
figure 8

\((n^{2} - 1)^{ - 1 }\) versus \(\left( {h\nu } \right)^{2}\) plot of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

The static refractive index (n0) is determined by the formula

$$n_{0}^{2} - 1 = \frac{{E_{0} }}{{E_{d} }}$$
(7)

The high frequency dielectric constant ε = n20 is being calculated and presented in Table 2. From the data values presented in Table 2, it is observed that E0 and Ed values increased with annealing and irradiation process. The decreasing nature of high frequency dielectric constant ε after Ag deposition and diffusion into GeS film is good for optical communication.

3.2.4 High frequency dielectric constant and carrier concentration

The high frequency dielectric constant (εL) is being calculated from the linear refractive index by the relation (Edward 1985)

$$n^{2} = \varepsilon_{L} - \left( {\frac{{e^{2} N}}{{4\pi^{2} C^{2} \varepsilon_{0} m^{*} }}} \right)\lambda^{2}$$
(8)

where e, N, \(\varepsilon_{0}\), m*, c is the charge of electron, free charge carrier concentration, permittivity of free space, effective mass of charge carrier and velocity of light respectively. The Fig. 9 shows the change in n2 with \(\lambda^{2}\) in which the straight-line fitting gives the εL as intercept and N/m* as slope. The obtained εL and N/m* values for all the films are listed in Table 2. The εL > ε nature is due to the increase in free charge carrier concentration in the film (El-Nahass et al. 2008, 2014).

Fig. 9
figure 9

n2 versus λ2 plot of of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

3.3 Nonlinear optical susceptibility and nonlinear refractive index

The nonlinear optical quantities are internally connected with the nonlinear polarization and the incident energy. Since amorphous materials possess high nonlinear optical susceptibility, nonlinear optical elements and optical switching devices are fabricated from them (Sharma et al. 2014). The third order harmonic generation, two-photon absorption and nonlinear refractive index are evaluated from the third order nonlinear optical susceptibility χ(3) for nonlinear optical applications (Abuelwafa et al. 2015). The linear susceptibility χ(1) and nonlinear susceptibility χ(3) are related by Miller’s formula (Wayne 1969)

$$\upchi^{\left( 3 \right)} \cong {\text{A }}(\upchi^{\left( 1 \right)} )^{4}$$
(9)

where A = 1.7 × 10−10 (χ measured in esu).

The linear susceptibility is given by χ(1) = (n2 − 1)/4π which in long wavelength limit (hν → 0) turns down to χ(1) = (n20 − 1)/4π. So, the Eq. 9 can be written as

$$\upchi^{\left( 3 \right)} \cong {\text{A }}\left( {{\text{n}}_{0}^{2} - 1} \right)^{4} /\left( {4\uppi} \right)^{4}$$
(10)

By putting the value of n20 (Eq. 7), we can rewrite Eq. 10 as

$$\chi^{\left( 3 \right)} = A\left[ {\frac{{E_{d} }}{{4\pi E_{0} }}} \right]^{4}$$
(11)

The value of nonlinear refractive index n2 is deduced from χ(3) by the formula

$$n_{2} = \frac{{12\pi \chi^{\left( 3 \right)} }}{{n_{0} }}$$
(12)

The obtained values of χ(1), χ(3), n2 are presented in Table 3 from which we can notice that χ(3) value decreased after thermal annealing and laser irradiation. The monotonic decrease of susceptibility with increasing band gap is shown in Fig. 10 which is also reported in other studies (El-Nahass et al. 2008, 2014). The decrease of Ed/Eo ratio results the lowering of n2 and χ(3) and the modifications in n2 and χ(3) value is a very useful parameter for the UV nonlinear optical material, solid state laser (Dong et al. 2018; Zou et al. 2018). However, the Ag diffusion in only Se layer shows increase in susceptibility with decrease in optical bandgap (Naik et al. 2019a) (Fig. 11).

Table 3 Optical parameters derived from the transmission spectra for GeS and Ag/GeS thin films
Fig. 10
figure 10

Eg versus χ(3) plot for different studied samples

Fig. 11
figure 11

Ge 3d core level spectra of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

3.4 X-ray photoelectron spectroscopy (XPS)

The changes in the bonding arrangement due to thermal and photo diffusion process can be viewed from the XPS spectra. Being as a surface analytic technique, it provides detailed information regarding the atomic movements in the film. The required core level spectra like as Ge 3d, S 2p and Ag 3d were measured for the analysis. The Ge 3d core level binding energy (BE) shifts towards higher BE values upon Ag deposition and diffusion process on GeS film. The as-prepared Ge 3d peak for the GeS film was at 32.02 eV that shifts to 32.65 eV for the irradiated film and 33.45 eV for the annealed film. This was due to the Ag diffusion into the GeS layer which facilitated the formation of Ge–S heteropolar bonds by breaking of Ge–Ge and S–S bonds due to annealing and irradiation. The change in intensity of Ge 3d peak indicates the formation of more heteropolar bonds as S has higher electronegativity than that of Ge and Ag (Ge: 2.01, S: 2.58, Ag: 1.93) (Pauling 1960). Similarly, the S 2p spectra for the studied films are shown in Fig. 12 in which the peak position for GeS, Ag/GeS, irradiated and annealed Ag/GeS films are located at 163.52, 163.15, 162.61 and 161.53 eV respectively. The shift of 0.54 eV and 1.62 eV for the irradiated and annealed film towards lower BE infers the formation of Ag–S heteropolar bonds as the electronegativity of Ag is less than that of S. Such heteropolar bond formation causes the decrease of the defect states in the gap region thus increasing the optical band gap. The Ag 3d peak is absent for the GeS film as seen from Fig. 13. However, the Ag 3d peak for the Ag/GeS film was at 359.93 eV that shifted to 1.38 eV and 2.76 eV towards higher BE with irradiation and annealing. This shifting towards higher BE region infers the formation of Ag–S bonds as S has the higher electronegativity than Ag. The intensity of Ag 3d peak for the Ag/GeS film decreased for the irradiated and annealed film that shows the diffusion of Ag into GeS layer. Such BE shift of the core level peaks clearly supports the chemical bond rearrangement as a result of thermal annealing and laser irradiation (Naik et al. 2015). However, from the amount of shifting it is clear that Ag diffusion is more in annealed film than the irradiated film. In order to see the oxidation effect, we have plotted the O1s core level spectra in Fig. 14. It is found that the O1s peak which lies at ~ 531 eV shows nearly equal intensity that infers the same contribution for all the films. Although preparation of the film and characterizations was performed in vacuum condition, the Oxygen content is due to the sample exposure to atmosphere at the time of removal of the prepared film from vacuum coating unit.

Fig. 12
figure 12

S 2p core level spectra of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

Fig. 13
figure 13

Ag 3d core level spectra of Ag/GeS, illuminated and annealed Ag/GeS thin films

Fig. 14
figure 14

O1s spectra of GeS, Ag/GeS, illuminated and annealed Ag/GeS thin films

The diffusion mechanism of Ag into GeS layer is depicted by a chemical reaction between Ag and GeS chalcogenide induced localized electronic state of Ag. The schematic diagram is shown in Fig. 14. The photo carriers are generated when the photons are being absorbed by the chalcogenides at the Ag–GeS interface during laser irradiation (Frumar and Wagner 2003). The electrons are trapped by the active chalcogen (S) atom which shows affinity to Ag+ ions. The Ag atoms are ionized as

$${\text{Ag}} \to {\text{Ag}}^{ + } + {\text{e}}^{ - }$$
(13)

and the released electron is being captured by the chalcogenide S atoms as

$${\text{S}}^{0} + {\text{e}}^{ - } \to {\text{S}}^{ - }$$
(14)

The localized S states were annihilated by the reaction S + Ag+ → Ag–S that leads to the complete reaction as

$$2\left( {{\text{Ge}}{-}{\text{S}}} \right) + \, 4{\text{Ag}}^{ + } \to 2\left( {{\text{Ag}}_{ 2} {\text{S}}} \right) + {\text{Ge}}{-}{\text{Ge}}$$
(15)

The chemical bonds associated with Ge, S bonds interacts with Ag through illumination of laser light by the following process

$${\text{Ge}}{-}{\text{Ge }} + {\text{S}} - {\text{S}} + {\text{ Ag}}\mathop \to \limits^{hv} {\text{Ge}}{-}{\text{S }} + {\text{Ag}}{-}{\text{S}}$$
(16)

The formation of Ge–S and Ag–S heteropolar bonds decreases the density of defect states in the gap which increases the optical band gap. Since, Ag is incorporated in the amorphous chalcogenide network that forms small species of Ag2S and/or fourfold-coordinated Ag atoms decreases the density of the defects (i.e. localized states). This is reflected in the decreasing value of Eu (276 meV) compared to the as deposited Ag/GeS film (282 meV) (Fig. 15).

Fig. 15
figure 15

Schematic diagram of Ag diffusion into GeS layer

The decrease in disorder in the photo diffused film is due to the formation of solid solution Ag–S–Ge with laser irradiation as seen from other studies (Malyovanik et al. 2003; Behera and Naik 2016). The thermal annealing of the heterostructure film induces the Ag+ ions with more dimension than that of the illumination. The thermal diffusion length of Ag into the GeS layer is approximated as (Dt)1/2 where D is the diffusion coefficient and t is the time duration of annealing. The degree of change in thermal diffusion process is found to be more that can be seen from the optical parameters and such type of trend is also observed in other studies (Naik et al. 2019a).

4 Conclusion

In conclusion, the diffusion of Ag into GeS matrix has been studied using thermal annealing and laser irradiation process. The linear and nonlinear optical parameters were influenced by Ag diffusion process. The third order susceptibility and nonlinear refractive index shows a reverse effect with optical band gap. Such changes in the properties makes these materials suitable for fabricating nonlinear optical devices. Thermal and photo induced increase in optical band gap is due to the decrease in density of localised states and disorder. Such tuning of band gap with simple annealing and irradiation helps these materials to be used in designing many optical devices. The increase in transmittance in the film is useful for optical transmitting purpose. The decreasing nature of high frequency dielectric constant ε tuned by change in free carrier concentration after Ag deposition and diffusion into GeS film is good for optical communication. The magnitude of change in the optical parameters by thermal diffusion process is found to be more than photo diffusion one as seen from the optical parameters. The chemical bond redistribution by converting homopolar bond to heteropolar bond is being probed by XPS measurement. The linear and nonlinear optical response makes these films a promising candidate for optoelectronic applications.