1 Introduction

Semiconductor-based diodes are extensively used in the energy sector due to their various applications. Metal/semiconductor (M/S) junctions are crucial for optoelectronic and electrical devices in semiconductor technology (Wilmsen 1985; Li 2012; Al-Ahmadi 2020üt 2020a). The broad investigation of various M/S contacts has led to a thorough understanding of the physics of M/S interactions. Due to their inexpensive cost and simplicity of fabrication, M/S contacts are used in a wide range of electrical equipment. Numerous investigations have demonstrated that the electrical and photoelectric characteristics of the M/S contacts interface can be enhanced by sandwiching the M and S between an insulating or interfacial layer consisting of organic semiconducting compounds (Hu et al. 2012; Kim et al. 2013; Ostroverkhova 2013; Lee et al. 2014; Kim and Lee 2015). The organic semiconducting layer affects device performance and enhances M/S contacts’ electrical characteristics. For instance, organic molecules may result in changes (increases or decreases) in the ideality factor, barrier height, and series resistance of the diode (Karadeniz et al. 2005; Selçuk et al. 2007; Tezcan et al. 2021; Ulusan et al. 2021; Cavdar et al. 2023; Güclü et al. 2023). Organic semiconducting compounds also help manage the redistribution of interface states or reduce chemical interaction at the surface (Sharma 2013). It is well known that when a drop potential crosses an interface layer in an M/S rectifier junction, the electric field of a semiconductor is altered.

Owing to their high dielectric constant, ability to store charge, and photostability, organic semiconducting materials are popular for developing semiconductor-based devices (Forrest and Thompson 2007; Roncali et al. 2014; Dey et al. 2015; Iftikhar et al. 2023). Recently, Schiff base compounds have emerged as interesting organic semiconductors due to their unique electrical and optical properties, among other organic compounds and polymers (Zhang et al. 2018; Dutta and Halder 2023; Halder 2023). Usually, Schiff base molecules are comparatively less reported in fabricating Schottky barrier diodes, probably because of the problem of frequent hydrolysis that can occur during device fabrication. Still, the uses of Schiff-base compounds in fabricating Schottky barrier diodes are vastly appreciated because the syntheses of Schiff-base compounds are quite straightforward, less expensive, and require less time (Fiat Varol et al. 2016; Sayin et al. 2017; Akın et al. 2021; Eymur et al. 2021; Uzun et al. 2021; Tuğluoğlu et al. 2023). However, although isoniazid and its derivatives have been utilized as linkers to create hybrid materials, there have been limited investigations on the impact of isoniazid-based Schiff base compounds as organic interfacial layers on the electronic parameters of Schottky devices (de Almeida et al. 2013; Mahmoudi et al. 2016; Roztocki et al. 2016a, Roztocki, Senkovska Roztocki et al. 2016bb, Sayin et al. 2017, Wu et al. 2017, Uzun et al. 2021). Thus, further research on the optical and electrical properties of Schiff-base compounds is still required to explore the potential applications of these compounds in optoelectronics.

Considering these worries, we synthesized PyMIs in our work, a Schiff base molecule derived from pyrene and isoniazid, in accordance with the literature (Fig. 1). Then, we fabricated the Al/PyMIs/p-Si/Al structure. Through illumination-dependent I-V measurements, the electrical and photoelectrical properties of the manufactured diode were evaluated. The purpose of this study is to investigate the effect of PyMIs, an organic interfacial layer, on the main electronic parameters of Al/PyMIs/p-Si Schottky structures.

2 Experimental details

2.1 Synthesis of PyMIs

The synthesis of PyMIs, prepared as the literature procedure, is depicted in Fig. 1. As seen, a simple one-step condensation reaction between the isoniazid (1) and pyrene-1-carbaldehyde (2) gives PyMIs in good yield. The structure was confirmed using 1H and 13C spectroscopy (Sayin et al. 2017). 1H NMR (400 MHz DMSO-d6): δ 12.26 (s, 1H, NH), 9.54 (s, 1H, -CH = N), 8.82–8.87 (m, 3 H, ArH), 8.60 (d, 1H, J = 8.0 Hz, ArH), 8.38–8.40 (m, 4 H, ArH), 8.27 (q, 2 H, J = 11.2 Hz, ArH), 8.14 (t, 1H, J = 7.6 Hz, ArH), 7.92–7.93 (m, 2 H, ArH). 13C NMR (100 MHz, DMSO): δ 162.01, 150.92, 150.15, 148.36, 140.99, 132.64, 131.32, 130.60, 129.41, 129.30, 129.06, 127.88, 127.13, 127.07, 126.70, 125.36, 125.74, 124.62, 124.22, 122.85, 122.00.

Fig. 1
figure 1

Synthetic route to PyMIs

2.2 Production of Al/PyMIs/p-Si/Al diode

The p-type Si crystal used for diode production has an orientation of (100), a thickness of 525 \(\mu m\), and a resistivity of 1–20 Ω-cm. The p-Si crystal was cleaned with trichloroethylene, methanol, and acetone for 5 min, and afterward, the p-Si wafer was etched in the solution of HF:H2O in the ratio of 1:10 for 1 min. Si crystal was rinsed with 5 L of deionized water and then dried in dry nitrogen gas. The aluminum (Al, 99.999% purity, 200 nm) metal sub-contact on the matte surface of silicon was evaporated by thermal evaporation method at 5 × 10− 5 Torr and kept in an oven at 570 oC for 5 min in a nitrogen environment. After the operation of ohmic contact, the solution of CHCl3:PyMIs (10 ml:10 mg) was made, and the CHCl3:PyMIs solution was drop coated on p-Si crystal by spin coating technique with the 1500 rpm for 1 min. and kept a vacuum oven at 50 °C for 1 h. Finally, to form a rectifier contact on the photoactive layer, 200 nm Al metal was thermally deposited through a copper shadow mask at 5 × 10-5 Torr in a vacuum system. The MOmS diode contact area was 4.335 × 10− 2 cm2. Thus, Al/PyMIs/p-Si/Al MOmS Schottky type diode was produced, and the schematic diagram of the MOmS diode is illustrated in Fig. 2. The MOmS diode’s room temperature I-V measurements were evaluated under various illumination conditions using a Fytronix Solar Simulator. All measurements were performed using a white light source in the 350–1100 nm wavelength range. To analyze the surface morphology of the PyMIs thin film, a Nano Magnetics atomic force microscope (AFM) was used.

Fig. 2
figure 2

(a) Schematic representation of Al/PyMIs/p-Si/Al device. (b) Physical photograph of Al/PyMIs/p-Si/Al device

3 Results and discussion

The 1H-NMR and 13C-NMR spectra of PyMIs are presented in Fig. 3 (a) and (b), respectively. It is understood that the synthesis of the compound has occurred due to the appearance of characteristic peaks belonging to the PyMIs structure in the NMR spectra. The iminium conjugation unit displays distinctive CH = N and -NH peaks at 9.54 and 12.26 ppm, respectively. By assigning the peaks at the region corresponding to the amide carbonyl carbon (C = O) and quaternary C of aromatic moieties, which appear at 162.01 ppm and between 140.99 and 150.92 ppm, respectively, C-NMR was also assigned to confirm the structure of PyMIs.

Fig. 3
figure 3

(a) The 1H-NMR spectrum, (b)13C-NMR spectrum of PyMIs

The synthesized PyMIs compound was computationally examined for its electronic structure, conductivity, and optimal molecular geometry using density-functional theory (DFT). The Gaussian 09 program suite was used to estimate the compound’s ideal structural geometry, molecular static isotropic polarizability volume, molar volume, and assessments of its highest occupied molecular orbital (HOMO) and lowest occupied molecular orbital (LUMO) (Frisch et al. 2016). Frontier molecular orbitals were used to investigate various molecular properties like ionization potential, polarizability, electron affinity, electronegativity, excitability, hardness, softness, basicity, acidity, global reactivity, electrical and electronic charge transfers, and electronic transitions in chemical systems. Table 1 displays the calculated chemical descriptors derived from the simulated HOMO and LUMO level of the molecule in the gas phase using the DFT-B3LYP/6-311G(d,p) computational method.

Table 1 Computed some molecular descriptors based on the HOMO and LUMO energy values of the PyMIs

Figure 4 (a) and 3 (b) illustrate the 2D and 3D AFM topographic surface images of the PyMIs thin film that was deposited onto the p-Si crystal by the spin coating method. The AFM analysis shown in Fig. 4 revealed a root mean square value of 11.38 nm, an average value of 32.54 nm, a ten-point height of 32.16 nm, a peak-to-peak value of 66.47 nm, and an average roughness value of 8.85 nm. Research has shown that the surface roughness of thin films utilized as the interface layer has a major impact on a number of activities, including charge carrier collection, transfer, and transportation efficiency. The average roughness value of 8.85 nm indicates that the substrate surface was atomically flat. Additionally, a high level of flatness on the substrate surface results in a high-quality metal/semiconductor contact. The spin-coating method carried out the growth process of the PyMIs organic material on the Si substrate. A thorough literature review observed that the roughness values vary, and the results obtained fall within the accepted range in the literature (Khosravi et al. 2020; Teldja et al. 2020; Özdal et al. 2021). Figure 5a shows a scanning electron microscope (SEM) image in cross-section. An average cross-sectional thickness of 50 nm is observed for the PyMIs organic compound on Si. The obtained SEM image of the surface depicted in Fig. 5b shows holes with a diameter of 100–300 nm are visible. This image also agrees with 3D AFM topographic surface images (Fig. 4. (a).

Fig. 4
figure 4

(a) 2D, and (b) 3D AFM topographic surface images of PyMIs thin film on p-Si crystal

Fig. 5
figure 5

SEM images of (a) cross-section, and (b) surface showing the thickness (50 nm) of PyMIs organic layer onto p-Si crystal

The I-V technique is one of the best-known approaches to studying the behavior of the Schottky diodes. Therefore, the semi-logarithmic I-V characteristic of the Al/PyMIs/p-Si/Al diode was investigated in the dark and different illumination intensities at room temperature and is shown in Fig. 6. As seen, the device had good rectification behavior. The rectification ratio was calculated in the dark and under 100 mW illumination intensity of 140 and 11, respectively. The rectification ratio of the Al/PyMIs/p-Si/Al diode was obtained by proportioning the reverse currents at ± 2 V. Using thermionic emission theory (TE), the electrical characteristics of the Al/PyMIs/p-Si/Al diode have been determined. The relationship between current (I), voltage (V), and series resistance (Rs) can be written as follows based on TE (V ≥ 3kT/q) (Rhoderick 1982; Sze et al. 2021):

$$I={I}_{0}\left[exp\left(\frac{q\left(V-I{R}_{s}\right)}{nkT}\right)-1\right]$$
(1)

where I0 is the saturation current, q is the electron charge, V is the applied voltage, and IRs represent the voltage decrease across the series resistance (Rs) of the diodes, n is the ideality factor, k is the Boltzmann constant, T is the temperature in Kelvin. The saturation current I0 is given by (Pakma et al. 2017; Banerjee et al. 2023):

$${I_0} = A{A^*}{T^2}exp\left[ { - {{q{\phi _b}} \over {kT}}} \right]$$
(2)

where A is the diode contact area, A* is the effective Richardson constant for p-Si (A* = 32 AK− 2 cm− 2), \({\varphi }_{b}\) is the barrier height. If Eqs. 3 and 4 are arranged, the n and \({\varphi }_{b}\) terms are written as,

$$n=\frac{q}{kT}\frac{dV}{d\left(lnI\right)}$$
(3)

and

$${\Phi _b} = {{kT} \over q}ln\left( {{{A{A^*}{T^2}} \over {{I_0}}}} \right)$$
(4)

The forward-bias I-V curve intercepts at zero voltage for each illumination intensity giving the values of I0. The slope of the linear region of the I-V curves determines the values of n. In addition, \({\varphi }_{b}\) values can be obtained from the intercept of the linear region of the I-V curves. Calculated values of n, \({\varphi }_{b}\), and I0 are given in Table 2. The n value is equal to one for an ideal diode. Table 2 shows that the calculated n values for the Al/PyMIs/p-Si/Al diode are greater than one in the dark and under different illumination intensities. This is the typical behavior of diodes with Schottky barriers. The obtained n values greater than one may be due to interface states, barrier height inhomogeneity, and series resistance. As seen in Table 2, n and \({\varphi }_{b}\) values were calculated to be 2.51 and 0.77 for dark, respectively. Also, n and \({\varphi }_{b}\) values were found to be 2.05 and 0.86 for 100 mW/cm2 illumination intensity, respectively. As can be seen, n and I0 values decrease with increasing illumination intensity, whereas \({\varphi }_{b}\) values increase with increasing illumination intensity. This behavior is a known situation for Schottky barrier diodes under illumination intensity. As can be observed, the diode’s n values were greater than 1, indicating that its interface states, barrier inhomogeneity, surface states/traps, and series resistance cause it to behave differently from an ideal diode. Because more photogenerated charge carriers are produced when the device’s interface is illuminated, the n values fell as the illumination level increased (Colinge and Colinge 2005; Hu et al. 2012; Li 2012). Similarly, under different light conditions, the P3C4MT polymer/n-Si heterojunctions diode was examined by Seymen et al. (Seymen and Karataş 2023). They found that the \({\varphi }_{b}\) values increased as the light intensity increased while the n values fell linearly. Vivek et al. (2020) studied the properties and effect of the heterojunction using a MoO3 nanoplate as an interlayer at the metal/semiconductor interface. According to their findings, the heterojunction’s ideality factor and barrier height were 6.30 and 0.53 eV in the dark and 4.75 and 0.70 eV in the light, respectively (Vivek et al. 2020). Similar to these findings, ideality factor for the synthesized Al/PyMIs/pSi/Al approached more ideal values after light irradiation. It generally indicates less interfacial charge recombination and better homogeneity of Schottky junctions.

Fig. 6
figure 6

Semilogarithmic I-V characteristics of Al/PyMIs/pSi/Al Schottky diode under dark and various illumination intensities

Table 2 The values of n, I0, and \({\varphi }_{b}\) determined from I-V characteristics under dark and different illumination intensities

As known, combining two semiconductors with varying electron affinities, band gaps, and work functions to create a heterojunction diode results in discontinuities in the energy bands caused by the alignment of the Fermi level. Anderson’s affinity rule states that when the free interfacial states and the vacuum level are perfectly aligned (no interfacial dipole), the discontinuities in the conduction band (Ec) are equal to the difference in electron affinities of the semiconductors (Anderson 1960). The valence band discontinuities (ΔEv) are calculated as ΔEv = ΔEg - ΔEc, with ΔEg being the variance in band gap between the two semiconductors. The formula to determine the total built-in voltage, Vbi, is as follows (Sze 1981; El-Nahass et al. 2011):

$${V}_{bi}= \varDelta {{\Phi }}_{Si}- \varDelta {{\Phi }}_{PyMIs}$$
(5)

where \(\varDelta {{\Phi }}_{Si}\) and \(\varDelta {{\Phi }}_{PyMIs}\) represents the silicon work function and the organic material work function, respectively. The built in potential can be calculated using an Eq. (6) (Sze 1981, Zeyada et al. 2015)

$${\varphi }_{b}= {V}_{bi} + {V}_{p}$$
(6)

where Vp represents the potential difference between the Fermi level and the top of the valence band in the neutral region of p-Si (0.228 eV) (Sze 1981). When PyMIs’ \({\varphi }_{b}\)is assigned as 0.77 eV, Vbi is calculated as 0.452 eV and then \({{\Phi }}_{PyMIs}\)is obtained as 4.43 eV. Thus, the band profile of the Al/PyMIs/p-Si/Al heterojunction diode can be illustrated in Fig. 7.

Fig. 7
figure 7

Schematic representation of the energy band diagram of the Al/PyMIs/p-Si/Al device

The logarithmic graph of the I-V curve was drawn to analyze the conduction mechanisms of the prepared Al/PyMIs/p-Si/Al diode in the forward bias region. As seen in Fig. 8, there are three different transmission mechanisms that have different slopes. In region 1, the slope was determined to be close to 1. This means that currents and voltages increase linearly, and the conduction mechanism exhibits ohmic behavior. In region 2, the slope was determined close to 2, and so the current conduction mechanism can be explained by the space charge limited current (SCLC) (Akgül et al. 2021; Sze et al. 2021). In region 3, at high voltage levels, the slope was determined to be higher than 3.53. Therefore, the current conduction mechanism can be explained by the trap-charge limited current (TCLC) (Fujimoto et al. 2014).

Fig. 8
figure 8

The curves of ln I against ln V of the Al/ PyMIs /p-Si/Al diode at -2 V

The series resistance (Rs) is an important parameter that causes deviations in the ideal I-V characteristics of MOmS structure. The Rs, n, and \({\varphi }_{b}\) values of the Al/PyMIs/p-Si/Al diode in the dark and under various illumination intensities were determined by the Cheung method from the Eqs. (7) and (8), which are rearranged forms of Eq. (1). Cheung’s functions H(I) and dV/d ln(I) can be given as (Cheung and Cheung 1986, Moloi and Bodunrin 2023, Reddy et al. 2023):

$$H\left(I\right)=V-n\frac{kT}{q}ln\left(\frac{I}{{AA}^{*}{T}^{2}}\right)=n{\varphi }_{b}+I{R}_{s}$$
(7)

and

$$\frac{dV}{dlnI}=\frac{nkT}{q}+I{R}_{s}$$
(8)

The plots of dV/dln(I)-I and H(I)-I were generated in the dark and at different illumination intensities, as depicted in Fig. 9 (a) and (b). The values of Rs were determined from the slope of the H(I)-I and dV/dln(I)-I curves. The calculated Rs values are given in Table 3. The Rs values determined from the H(I) curve are 1.56 kΩ and 1.22 kΩ in dark and under 100 mW/cm2 illumination intensity, respectively. The Rs values determined from the dV/dln(I) curve are 1.62 kΩ and 1.31 kΩ in dark and under 100 mW/cm2 illumination intensity, respectively. As seen in Table 3, the decrease in Rs values with increasing illumination intensity can be attributed to the increase in free charge carriers with incident light absorption (Rideout 1978). In addition, the high Rs values obtained can be based to the interfacial state densities.

Fig. 9
figure 9

The curves of (a) dV/d ln(I) versus I and (b) H(I) versus I of the Al/PyMIs/p-Si/Al diode for dark and various illumination intensities

Table 3 The values of Rs calculated from Cheung’s and Norde’s methods for dark and various illumination intensities

Another alternative approach used to determine Rs values of Al/PyMIs/pSi/Al diode is the Norde method. The Norde’s functions can be given as (Norde 1979; Bodur et al. 2023; Omarbli and Imer 2023);

$$F\left(V\right)=\frac{V}{\gamma }-\frac{kT}{q}ln\left(\frac{I\left(V\right)}{{AA}^{*}{T}^{2}}\right)$$
(9)

and

$${R}_{s}=\frac{kT(\gamma -n)}{{qI}_{min}}$$
(10)

where γ is an integer that is greater than the ideality factor (n) values determined from I-V curves. I(V) is the current value determined from the I-V curve. After the F(V) functions were determined, F(V)-V plots were drawn under the dark and various illumination intensities as shown in Fig. 10. Devices with a high series resistance exhibit an inflection point in their F(V)-V function, as per Norde’s theorem. However, when the series resistance is close to zero, no inflection point is observed. The F(V)-V curve in Fig. 10 displays the photovoltaic behavior of the generated diode, which increases within the range of 0.0-0.2 V. As it approaches the open-circuit voltage, the curve exhibits an inflection point due to the series resistance. The minimum values of F(V) -V plots have been determined. Rs values were determined from the minimum values of the F(V)-V plots according to Eq. 10. Imin is the current corresponding to Vmin, which is obtained from the minimum values of F(V) -V plots. The obtained Rs values in Norde’s method are given in Table 3. The Rs values are 7.89 kΩ and 1.06 kΩ in dark and under 100 mW/cm2 illumination intensity, respectively. As shown in Table 3, the calculated Rs values are decreasing with increasing illumination intensity. Also, Rs values calculated from the Cheung method and Norde method are approximately values to each other. The light-dependent behavior of the series resistor was also found in similar studies. For example, in a study by Ghorai et al., aminoquinoline-based Schiff base ligands were used as interfacial layers for Al/semiconductor (MS) junctions. They found that Cheung’s and Norde’s functions were compatible with each other and that the series resistance values decreased after light in both cases (Ghorai et al. 2017). The series resistance values under dark and light conditions were determined to be 126 and 48 Ω, respectively, in a comparable study published by Chandra et al. on an ITO/fumaric acid coordination polymer and a pyridyl-hydrazide Schiff base/Al Schottky diode (Chandra et al. 2021). The observed decrease in series resistance when exposed to light, as reported earlier and confirmed in this work, demonstrates the potential use of these devices in electrical applications.

Fig. 10
figure 10

Illumination dependence of F(V) versus V for Al/PyMIs/pSi/Al diode

One of the key factors influencing the diode’s performance in Schottky barrier diodes is the interface states, which are located between the semiconductor and the interface layer. The relationship between the interface state density (Nss) and ideality factor (n) is expressed by Card and Rhoderick as (Card and Rhoderick 1971; Bengi et al. 2023; Çavdar et al. 2023):

$${N}_{ss}\left(V\right)=\frac{1}{q}\left[\frac{{\epsilon }_{i}}{{\delta }_{i}}\left(n\left(V\right)-1\right)-\frac{{\epsilon }_{s}}{{W}_{D}}\right]$$
(11)

where \({\epsilon }_{i}\) and \({\epsilon }_{s}\) dielectric constant of interface and semiconductor, respectively. \({\delta }_{i}\) is the thickness of the interface layer, and \({W}_{D}\) is the space charge region width. The relationship between the energy of the interface states (Ess) and the top of the valence band energy of semiconductor (Ev) in p-type semiconductor is given as (Card and Rhoderick 1971):

$${E_{ss}} - {E_v} = q\left( {{\Phi _e} - V} \right)$$
(12)

where q and \({\varphi }_{e}\) are the electron charge and the effective barrier height, respectively. The curves of the values of Nss versus Ess-Ev for dark and various illumination intensities are shown in Fig. 11. The calculated Nss values range from 7.14 × 1011 cm− 2 eV− 1 to 2.26 × 1011 cm− 2 eV− 1 and 5.17 × 1011 cm− 2 eV− 1 to 1.8 × 1011 cm− 2 eV− 1 for dark and 100 mW/cm2 illumination intensity, respectively. It is seen that the Nss values increase from the middle range of the Si semiconductor to the top of the valence band. Also, As seen in Fig. 11, Nss values decrease with increasing illumination intensity. The decrease in Nss values with the increase in illumination intensity shows that the interfacial layer behaves like a passivated material and therefore causes a decrease in Nss values. The results of this study show that interfacial state densities (Nss) are greatly affected by light exposure, as documented in the literature. Karataş et al. found that the Nss values for the Al/n-CdO/p-Si device declined as the illumination intensity increased (Karataş and Yakuphanoğlu 2013). Likewise, in a study reported by Kaplan et al., the electrical measurement results of the Au/BODIPY-dye/n-Si/In device showed decreased Nss values with increasing illumination (Kaplan et al. 2021). The decrease in the Nss values of the devices in this work and the above-mentioned studies with illumination is attributed to the discharge and charging of the interfacial states under the influence of illumination.

Fig. 11
figure 11

Nss vs. Ess-Ev curves of Al/PyMIs/p-Si/Al diode for dark and different illumination intensities

When the I-V characteristics of the Al/ PyMIs /p-Si/Al diode shown in Fig. 6 were examined, it was seen that it showed good rectification behavior. Also, the reverse bias current of the diode increases with increasing illumination intensity. This indicates the high light sensitivity of the diode, and it is known that this situation is a photodiode behavior (Colinge and Colinge 2005; Luque and Hegedus 2011; Schubert 2018). For this reason, the current density-voltage (Jsc-V) curves of the diode at dark and various illumination intensities were plotted to calculate the photodiode parameters and were shown in Fig. 12. The basic photovoltaic parameters open circuit voltage (Voc) and short circuit current (Isc) of diode were determined from the Jsc-V curves in Fig. 12. The open circuit voltage (Voc) values are determined from where the current equals to zero in Jsc-V curves. In addition, the short circuit current (Isc) values are determined from where the voltage equals to zero. The determined values are given in Table 4. According to this, Voc values lightly increase, and Isc values increase within a large limit with increasing illumination intensity. In addition, maximum voltage (Vmax) and maximum current (Imax) values were determined from the largest area under the Jsc-V curve. It is also understood from studies in the literature that Voc and Jsc values exponentially increase with incident light intensity. For example, in a study reported by İmer et al., a photodiode based on bromothymol blue dye was produced, and Jsc and Voc values were calculated as 54.68 µA and 406 mV, respectively, under 100 mW/cm2 light (Imer et al. 2016). At an illumination intensity of 40 mW/cm2, these values were determined to be 14.69 µA and 347 mv, respectively. The consistent findings in this study and previous research suggest that the photosensitivity of these diodes is contingent on the intensity of the light, leading to the generation of electron-hole pairs by photons.

Additionally, other photovoltaic parameters, the values of maximum power (Pmax) and fill factor (FF), are given as (Karataş and Berk 2022):

$${P}_{max}={V}_{max}{I}_{max}$$
(13)

and

$$FF=\frac{{V}_{max}{I}_{max}}{{V}_{oc}{I}_{sc}}$$
(14)

The values of Pmax and FF under various illumination intensities are given in Table 4. According to this, Pmax values increase as FF values decrease with increasing illumination intensity. This situation is an expected behavior for photodiodes.

Fig. 12
figure 12

Illumination intensity dependent J-V curves of Al/PyMIs/p-Si/Al diode

Table 4 Variation of photodiode parameters of Al/PyMIs/p-Si/Al Schottky diode depending on illumination intensity

Photosensitivity (S) is another important parameter in understanding the photosensitivity of Schottky barrier diodes. Photosensitivity (S) can be given as (Yahia et al. 2017; Darwish et al. 2022) :

$$S\left(\%\right)=\frac{{I}_{ph}}{{I}_{dark}} \times 100$$
(15)

where Idark and Iph are dark current and generated photocurrent, respectively. Photosensitivity (S) values were calculated under the − 2 V for each illumination intensity. Then, photosensitivity (S) versus the illumination intensity curves were drawn and shown in Fig. 13 (a). As seen in Fig. 13 (a), photosensitivity (S) values increase with increasing illumination intensity, and the diode of Al/PyMIs/p-Si/Al shows a good photosensitivity behavior.

Photoresponsivity (R) is another main parameter of light responsivity. Photoresponsivity (R) is expressed by the following equation. (Hendi 2015; Aslan et al. 2019; Akin et al. 2020):

$$R=\frac{{I}_{ph}}{P.A}$$
(16)

where A is the diode area, and P is the illumination intensity. The photoresponsivity (R) versus voltage (V) curves of Al/PyMIs/p-Si/Al diode for various illumination intensities were plotted and shown in Fig. 13 (b). As seen in Fig. 13 (b), the values of photoresponsivity (R) increase with increasing the bias voltage for each illumination intensity. This situation shows that the diode of Al/PyMIs/pSi/Al can be used to manufacture the photodiodes and photosensors in applications.

Fig. 13
figure 13

The curves of (a) photosensitivity (S) vs. P and (b) photoresponsivity (R) vs. V for the Al/PyMIs/p-Si/Al diode

To analyze the photoconduction behavior of the Al/PyMIs/p-Si/Al Schottky Diode, the relationship ln Iph and ln P was examined. The variation of the photocurrent (Iph) dependency on illumination intensity can be given by the following equation (Bube 1992; Yahia et al. 2017):

$${I}_{ph}=\gamma {P}^{\beta }$$
(17)

where γ is a constant, β is an exponent which is obtained from the slope of the ln Iph versus ln P plot. The ln Iph-ln P curves were plotted for − 2 V data and shown in Fig. 14. As seen in Fig. 14, the photocurrent increases with the illumination intensity. The values on this curve submit perfect linearity. The β value defines whether the recombination process is bimolecular or monomolecular. It also correlates with trap levels in the bandgap. The β value of Au/PyMIs/pSi diode has been calculated 1.15. This result displays a bimolecular recombination mechanism. Also, the value of β greater than 1 indicates the presence of low density unoccupied trap levels (Rose 1978; Arene and Baixeras 1984).

Fig. 14
figure 14

The plot of ln(Iph) against ln(P) for Al/PyMIs/pSi/Al diode

Fig. 15
figure 15

Plots of Al/PyMIs/pSi/Al diode’s photocurrent-time (\({I}_{ph}-t\)) measurement

Figure 15 shows the produced diode’s transient photocurrent behavior as a function of time. As shown in Fig. 15, the light intensity conditions used for the measurements were 20, 40, 60, 80, and 100 mW/cm2. At − 2 V, the measurements were conducted in various light intensities. The rapid fluctuations in photocurrents that occurred as the diode’s light intensity increased demonstrated that the Al/PyMIs/pSi/Al Schottky diode had good photoconductive characteristics. The production of free charge carriers has contributed to the device’s photocurrent rapidly increasing to its maximum level when the light was on. Rather, the lowest value of the photocurrent was recorded after the light was switched off. The reason for this behavior could be that charges are being trapped in the deep levels.

4 Conclusion

In summary, Al/PyMIs/p-Si/Al diode was prepared to show potential optoelectronic applications of PyMIs organic material. The thin film of PyMIs/p-Si diode was made by the spin coating method. The electrical and optical characteristics at the diode interface were explained by the current-voltage (\(I-V\)) method under dark and different illumination intensities. The electrical conduction in the Al/PyMIs/p-Si Schottky diode was observed to take place by ohmic at low voltages, by SCLC at medium voltages, and by TCLC at higher voltages. All existing results reported that it was determined that the ideality factor and barrier height of the MOmS diode exhibited powerful illumination dependencies, in which the ideality factor decreases while barrier height increases as illumination intensity increases. It was found that the Al/PyMIs/p-Si/Al MOmS Schottky diode indicates a photovoltaic behavior with a \({J}_{sc }\)of 0.32 mA cm− 2 and \({V}_{oc}\) of 320 mV for 100 mW/cm2. In conclusion, as a result of the studied parameters of the Al/PyMIs/p-Si Schottky type photodiode, it can be evaluated that this photodiode, which is prepared easily and low cost, has the ability for photoelectrical device applications.