1 Introduction

Nanomaterials are studied widely because of their great demand in the field of semiconductors. Photodetectors based on nanomaterials are at the heart of modern optoelectronic devices because they are important functional units in various energy systems and commercial applications [1,2,3]. Though Ge/Si-based photodetectors have been already commercialized, their high expensive manufacturing processes, unstable optoelectrical properties, high driving voltage and requirement of expensive filters for specific wavelength pay attention to low-cost, high-speed response with stable optoelectrical properties materials for photodetection purpose [4,5,6]. Cupric oxide (CuO), a p-type semiconductor with exclusive features has motivated researchers and industries. The abundance availability and cost-effective of CuO increases its implementation. The structural, chemical and thermal stability of CuO leads to its application in supercapacitors, batteries, biosensors, gas sensors, etc. [7, 8]. The high current conductivity, high mobility, optical absorption, and narrow bandgap of CuO prompt its utilization in photodiodes, photocatalysis, and solar cells [9,10,11,12]. Interestingly, the properties of the CuO can be governed by various parameters like synthesis methods, morphology, nanocomposites, or doping of parental nanomaterials [13,14,15]. The CuO thin films have been an attractive approach to developing different morphologies for optical and electrical applications. The deposition and growth of thin films can be done in various methods like dip coating, spray pyrolysis, SILAR, CVD, or electrodeposition which vary the properties of thin films [1617]. Zang et al. have reported nitrogen-doped CuO thin films synthesized by radical oxidation at 500 °C for reducing the resistance of thin films and enhancing optical properties [13]. The CuO thin films have been highly explored for photodetector application [17]. Quite recently, tuning of CuO thin films by dip-coating method has been reported by Das et al., for photodetector applications [16]. Similarly, the spray pyrolysis method has been reported to improve the properties of CuO thin films [18]. The spray deposition is a facile and sustainable way to develop thin films. The recently reported CuO-based heterojunction photodetector [19, 20] has demonstrated responsivity of 0.63 AW−1 and 53 mAW−1. It is reported that the formation of heterostructures-based photodetector results in the formation of interfacial traps and an increase in the off-current [21]. Moreover, the formation of heterostructure is a difficult process. Therefore, it is better to make a single active CuO layer for high photodetecting performance. It is known that the physical and chemical properties can be modified by controlling the amount/concentration of dopants [22, 23]. The CuO nanostructured with different dopants has been investigated for optoelectronic applications. The selected amount of La concentration is utilized while the synthesis process, to enhance the photocatalytic property of CuO without destroying its crystal structure [16]. Inass et al. have explored doping different amounts of Li (2, 4, and 6%) to the CuO thin films by the SILAR method for tuning the structural and optical nature [15]. The improved optoelectronic properties of CuO thin films after doping can be beneficial to consumer electronics. The CuO thin films also have been established with a better switching time of visible-light illumination with high photocurrent which depicts the quality of the photosensing property [24]. Furthermore, the doping effect of metals such as Li, Al, Ga, Gd, In, La, Sb, Au and Fe has been investigated highly for improving opto-electro properties [7, 9, 11, 12, 15, 22, 23, 25]. Interestingly, the doping of Ba, Sm, Au, and Pr has influenced the host structure, particle size, and optoelectronic characteristics [26,27,28,29]. The application of such doped thin films has resulted in enhanced photocurrent. Muhammad et al. have studied the experimental and theoretical effect of Al doping on CuO nanoparticles synthesized by combustion technique [30]. The DFT study has revealed the addition of impurity (Al doping) has reduced the bandgap of host CuO. The Al3+ has also modified the bond length and morphology of CuO nanoparticles. On other hand, indium doping to CuO thin films by the sputtering method has increased free charge concentration [31]. Single-phase monoclinic CuO:In thin films are generally used for solar cell or LED applications. Similarly, Yin et al. have studied the effect of Ni-doped CuO films with high responsivity and external quantum efficiency photodetectors [32]. All the above mentioned results evidently prove the great role of dopants in enhancing the opto-electrical properties of CuO. Among these dopants, group III elements such as Al, Ga, and In are fit for improvement of opto-electrical properties.

Joissy et al. [33] and Doni et al. [34] reported that Al can be considered the best doping element to boost the photo-current properties and they mentioned that Al element can give positive results. When Al is doped its optical properties will be modified in terms of crystalline size, optical bandgap and morphology. Further, the doped Al element significantly destabilized its highest occupied molecular orbital level and lesser its bandgap. The reduced bandgap can increase the electrical conductance implicitly resulting in a notable photo response [35]. In addition to this, the Al element will serve as an electron trapping agent and can enhance the light absorption properties [36].

Ga element can control the electrical stability of the parent element. Beside these all the three dopants (Al3+ = 0.54 Å) (Ga3+ = 0.62 Å) (In3+ = 0.80 Å) has an ionic radius closer to that of Cu2+ (0.74 Å). Therefore, it is easier for all the three dopants to replace the Cu lattice without deformation and may yield better quality and optoelectrical properties due to the minute crystal distortion. Other dopants can enlarge lattice distortions due to the major deviation in their ionic radius [31, 37, 38]. In this work, CuO and X-doped (X = Al, Ga, and In) CuO thin films were prepared on glass substrates using a simple and low-cost spray method together with studying as well as comparing the structural, surface morphology, optical and electrical characterizations.

2 Experimental

Analytical grade precursor copper chloride (CuCl2, 0.1 M), AlCl3, GaCl3, and InCl3 were used in this work. Distilled water was used as a solvent throughout the experimental procedures. The process of spray deposition was optimized for the best deposition of thin films such as the substrate temperature being fixed at 450 °C and air pressure of 1.5 kg/cm2. The distance from the substrate to the nozzle was kept constant at 5 cm. Figure 1 illustrates the schematic for the synthesis of the CuO and X-doped CuO thin films where the X is Al(1%), Ga(1%), and In(1%). The Al, Ga and In doping thin films are named CuO:Al(1%), CuO:Ga(1%), and CuO:In(1%), respectively.

Fig. 1
figure 1

Schematic diagram of CuO thin film coating process

The coated thin films were subjected to characterization using advanced techniques. To understand the thin films’ purity, phase, and crystallization, an X-ray diffractometer (Bruker -D2 with Cu-Kα source, λ = 1.5406 Å) was used. The surface morphology of the coated films on glass substrate was studied by field emission-scanning electron microscope (Carl Zeiss Ultra 55). Perkin Elmer LS-55 fluorescence spectrophotometer is used for optical studies such as photoluminescence. UV-spectrophotometer (Perkin Elmer 4 Lambda 35) was used to collect the absorption data in the wavelength range of 300–900 nm. A Keithley source meter (Model 2450) was used to measure the photocurrent characteristics of the prepared thin films. A stylus profilometer (Mitutoyo SJ-301) was used for film thickness measurements of the prepared films. The measured film thickness values are 400, 450, 430 and 410 nm for CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films, respectively.

3 Results and discussion

3.1 Structural studies

Figure 2 shows the XRD patterns of CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films, which reveals a typical monoclinic CuO structure with a space group of C2/c. The diffraction peaks at (110), (002), (111), (020), (202), and (113) are indexed to the pure CuO phase (as per JCPDS file No: 89-5899). The observed high-intensity diffraction peaks suggest the crystallinity nature of CuO of the thin films. Further, the doping does not change the XRD pattern of the host CuO thin film stating that there is no change of structure on doping of Al (1%), Ga (1%), and In (1%). It is seen that doping of Al to the CuO thin films has increased the intensity of the prominent peaks whereas Ga and In doping in CuO thin films resulted in the reduction of intensity. The increment in the peak intensity of the (002) plane compared to other thin films, might be due to the lesser ionic radius of Al3+ (0.54 Å) than Ga3+ (0.62 Å) and In3+ (0.80 Å); while the host Cu2+ ionic radius is (0.74 Å). Therefore, the solubility limit of Al ions is higher than other dopants and hence effortlessly substitutes in the Cu sites. However, the dopant of In3+ ions may segregate around the grain boundaries of CuO due to its higher atomic size than host Cu2+ ions, resulting there is a reduction in peak intensity occurs. With reference to XRD patterns, the lattice parameter, the crystallite size (D), and strain (ε) values of all the films are calculated by given Scherer and Williamson–Hall equations and summarized in Table 1.

Fig. 2
figure 2

XRD patterns of (a) CuO, (b) CuO:Al (1%), (c) CuO:Ga (1%), and (d) CuO: In (1%) thin films prepared by spray method

Table 1 Crystallite size, strain, lattice constant, and cell volume of the CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films
$$D=\frac{0.9\lambda}{\beta Cos\theta}$$
(1)
$${\upepsilon }=\frac{\beta Cot \theta }{4},$$
(2)

Where λ—X-ray wavelength, θ-Bragg angle, β–full width half maximum (FWHM). The crystallite size of CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films was found to be 33, 41, 36, and 34 nm, respectively. The strain value decreases by adding impurities with CuO. The maximum crystallite size and minimum strain values obtained by Al doping with CuO are expected to be potential for photo-sensing applications. Rietveld refinement was performed using DIFFRAC.TOPAS v.6.0 (Bruker AXS, Karlsruhe, Germany) software for analyzing the structural parameters which are shown in Supplementary Figure S1.The value of lattice parameters (a, b, c) well matches with early reports for pure CuO thin films [24]. There is a minor variation of lattice parameters after doping of Al, Ga, and In, that is reflected in nearly a constant cell volume. Thus, the XRD results confirmed the incorporation of Al, Ga, and In into the CuO lattice and the effect of doping on the structural pattern of host thin films. The change in a lattice structure and strain by doping metals into CuO have been earlier reported by various research groups [1039,40,41] and matched with the present work.

3.2 Morphology studies

Figure 3 represents the FESEM micrographs of the CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films. The thin film morphology plays a vivacious role in determining the optoelectronic properties. A flaky morphology is seen in Fig. 3a, b whereas agglomerated morphology is seen in Fig. 3c, d. It is clearly seen that the CuO (Fig. 3a) and Al-doped of CuO thin films (Fig. 3b) are nearly similar which substantiates the XRD pattern of CuO and Al-doped CuO thin films. The doping of Ga and In into CuO thin films seems to be slightly changed from the host CuO morphology, which corroborates the XRD analysis. A clear agglomeration of particles is seen for CuO:Ga(1%) and CuO:In (1%) thin films evident a little change in the growth of CuO thin films, as seen in XRD of thin films. Fascinatingly, the Al doping with CuO thin films has formed homogeneous nanoparticles grown on the substrate. The flaky ribbon-type nanoparticles have been widely distributed over the surface of the substrate forming a uniform thin film. Such surfaces that resulted after doping of CuO thin film are expected to show remarkable optoelectronic properties. To understand the elemental composition and amount of doping, the EDX analysis was performed on thin films. The EDX spectra of the fabricated thin films are shown in Fig. 4. The insets of Fig. 4 show the elemental composition of the fabricated thin films. The Al, Ga, and In doping contents are about 0.94%, 0.87%, and 0.91%, respectively.

Fig. 3
figure 3

FESEM images of a CuO, b CuO:Al (1%), c CuO:Ga (1%), and d CuO:In (1%) thin films

Fig. 4
figure 4

EDX spectra of a CuO, b CuO:Al (1%), c CuO:Ga (1%), and d CuO:In (1%) thin films (Insets show the corresponding elemental composition)

3.3 Optical studies

The fabricated thin films were subjected to optical properties investigations through optical absorbance in the wavelength range of 300–900 nm which is shown in Fig. 5a. The UV–Vis spectra show a broad peak in the range of 350–380 nm for all the thin films. Usually, an intense peak with plateau-type UV-absorption spectrum is seen in well crystalline CuO thin films [4243]. There is a slight red shift of the peaks observed for doped CuO thin films. The CuO:Al thin film has shown a high intensity absorbance peak compared to other doped thin films. This indicates that Al doping in the CuO host enhances the optical properties due to the change that occurred in grain size and surface morphology of the thin film which is well correlated with the results observed in XRD and FESEM studies. It is observed from Fig. 5a that the doping of Al, Ga, and In into the CuO lattice considerably altered the absorbance of pure CuO thin film, which confirms the improved optical response. The direct band-gap has been calculated by giving Tauc’s relation [22]:

Fig. 5
figure 5

a Absorption spectra and bhν)2 vs. photon energy (hν) curves with linear fits of (a) CuO, (b) CuO:Al (1%), (c) CuO:Ga (1%), and (d) CuO:In (1%) thin films

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

Where α denotes the absorption coefficient, hν is the incident photon energy, B is a constant, n is an index depending upon the nature of the electronic transition responsible for the absorption, and Eg denotes the bandgap. Figure 5b shows the (αhυ)2 vs. photon energy (hυ) plots for the thin films. The Eg values of thin films are estimated by extrapolating the linear fit onto the photon energy axis in the high slope region and given in Table 2. The band-gap of pure CuO thin film is found to be 2.14 eV. The Eg values for CuO:Al (1%), CuO:Ga(1%), and CuO:In (1%) thin films are found to be 1.89, 1.78, and 2.11 eV, respectively. The doping of Al has extraordinarily reduced the bandgap which is due to the decrease in strain value and uniform surface morphology as studied in XRD and FESEM studies. Similarly, doping of trivalent Nd3+ rare-earth to CuO thin films has reduced the bandgap from 2.04 to 1.89 eV [10]. Such doping can affect the optical properties of CuO thin films and be beneficial for light-dependent applications [2327].

3.4 Photoluminescence studies

Figure 6 shows the photoluminescence spectra of as-prepared CuO and doped CuO thin films recorded in the range of 370–600 nm with an excitation wavelength of 350 nm. The doped and undoped thin films exhibited four emission peaks around 410, 450, 475, and 525 nm. The violet emission peak around ~ 410 nm might be because of the recombination of electron-hole pairs due to free-excitons [44]. The blue emission peak around 450 nm and a broad peak at ~ 475 nm could be due to the electronic transition between the oxygen interstitials and Cu vacancies [45]. A green emission peak around ~ 525 nm might be attributed to the CuO band-band transition, trapped electrons at the defect sites, copper interstitials, oxygen vacancies, and electron transition near the conduction band (CB) [46]. There is an increase in the intensity of the peaks that can be ascribed due to the addition of impurities to the CuO host material. It is worthy to note that, Al-doped CuO exhibits higher intensity peaks than the other doped thin film samples. This is due to the fact that the Al inclusion in the CuO matrix creates Cu vacant sites and oxygen vacant sites. This enhances the optical and in turn, improves the optoelectronic properties of the CuO. This is in accordance with the observations of XRD, FESEM and UV studies. According to Devi et al., the doping of La to the CuO thin film has generated defects in the CuO lattice structure [42]. Muthukrishnan et al. has reported PL intensity variation with a change of concentration of CuO thin films prepared by spray pyrolysis method [18]. The Au-doping to CuO thin films cause a change in the grain boundary and microstrain defects have led to the changes in PL intensity and position of emission peaks [27]. From the PL studies, it is observed that doping of Al improves the morphology as well as defect levels and decrease the bandgap of the CuO film deposited on the substrate which may result in an increment of photoresponse/current of the thin film and matched with the literature [29].

Fig. 6
figure 6

Photoluminescence spectra of CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films

3.5 Photo-sensing properties

Figure 7 shows the schematic illustration of photosensing studies performed on the fabricated thin films. The IV characteristics studied for all the thin films are shown in Fig. 8. The IV curves are drawn by varying the bias voltages from + 5 to − 5 V under dark and UV light illumination (365 nm) conditions. The linear trend in IV curves is found in the pure CuO and doped CuO thin films. Such a linear trend has been seen in other semiconductor thin films suggesting that the fabricated thin films exhibit ohmic nature. According to Baturay et al., Ni-doped CuO thin films are reported with low resistivity due to vacancies generated by the dopant element on the host matrix [41]. Similarly, Naveena et al., reported that doped CuO thin films by chemical spray method have displayed high absorption of light which leads to high photocurrent [10]. The IV curves of dark current (Idark) and photocurrent (Iphoto) for the fabricated thin films are recorded in Table 2. The photocurrent is higher than the dark current which indicates that the generation of charge carriers depends on the activation of the light source with respect to the external bias voltage applied. However, the doping of Al, Ga, and In in the CuO host have successfully enhanced both dark and photo-current of the prepared thin films. The photo-current of CuO:Al (1%) is found to be the highest as compared to pure CuO, CuO:Ga (1%), and CuO:In (1%). This can be understood by the previous XRD, FESEM, UV and PL observations such as increment of crystallite and grain size, decrement of the optical bandgap and defects which improves the photosensing ability of the Al-doped CuO thin film compared to the other thin films.

Fig. 7
figure 7

Schematic illustration of CuO-based thin film photodetector

Fig. 8
figure 8

Current (I)–voltage (V) curves of CuO, CuO:Al (1%), CuO:Ga (1%), and (d) CuO:In (1%) photo-detectors measured in dark and presence of light

Table 2 Comparison table showing the photocurrent, dark current, responsivity, external quantum efficiency, detectivity, rise and fall time for CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films with other reported works

Moreover, the characteristics of the fabricated thin film photodetectors were examined by the photosensing parameters viz. responsivity (R), detectivity (D*), and external quantum efficiency (EQE). These parameters are calculated by the following formulae (4, 5 and 6) and displayed in Fig. 9.

Fig. 9
figure 9

Responsivity, external quantum efficiency and detectivity of CuO, CuO:Al (1%), CuO:Ga (1%), and (d) CuO:In (1%) photo-detectors

$$R = \frac{{I_{p} }}{{P_{{in}} \times A}}$$
(4)
$$EQE=R\frac{hc}{e\lambda}$$
(5)
$$D^\ast=R\sqrt{\frac A{2eI_{dark}}},$$
(6)

where Ip, A, and Pin denote the photocurrent, effective area, and power of the light incident over the effective area, respectively. Whereas, h, c, and λ represent Planck’s constant, velocity of light, and wavelength of the incident light, respectively. The symbols e and Id denote the charge of the electron and dark current, respectively. The calculated values for R, D*, and EQE for all the thin films are shown in Fig. 9. The plotted graph infers the values of responsivity of the thin films are found to be 8.71 × 10− 2, 2.82 × 10− 1, 9.25 × 10− 2, and 1.17 × 10− 1AW−1 for CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%), respectively. Similarly, the EQE values follow the values of 20, 66, 22, and 27% for the above thin films, respectively. The value of D* for CuO:Al (1%) is found to be 1.45 × 1010 Jones. Thus, the photodetector parameters elucidate the effect of Al doping on CuO thin films.

The transient photoresponse has been recorded for fabricated CuO-based thin films and shown in Fig. 10. The photoresponse gives the current response of the thin films with respect to the time of ON/OFF condition of light illumination along with the variation of the output power of the light source. The CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) photodetectors switched at a 365 nm UV light illumination with the varying power of 1–5 mW/cm2.The systematic rise and fall times with respect to the ON/OFF condition of the light source have been recorded and tabulated in Table 2. The photocurrent response increases with the increasing intensity of the laser light, indicating that more charge carriers were obtained for more intensity of light. The rise time/decay time of the photocurrent for CuO and Al, Ga, In–doped CuO films were found to be 4.6s/4.1s, 4.3s/4.0s, 4.4s/3.9 and 4.4s/4.0s, respectively. The Al-doped CuO thin film has a minimum value of rise/decay time as compared to other thin films that are due to the improved crystallinity and well-grown thin film with a uniform surface. The mechanism for the observed changes in the photosensitive properties of present thin films as a function of doping material can be explained and is attributed to the number of oxygen molecules available for the adsorption and desorption process at the surface of the films as well as carrier concentration differences caused by the intrinsic nature of dopant elements. Since CuO:Al (1%) exhibits a highly crystalline nature and surface homogeneity from the studies of XRD and FESEM as compared to the other films, which suggests the increment of photosensing behavior. Optical and PL studies showed that the increment of PL intensity and least bandgap enrich the photo-induced charge carriers in Al-doped CuO thin film compared to the other prepared thin films. As a result, CuO:Al (1%) exhibits relatively better photo-sensing properties among all the fabricated thin films. The photodetector thin film is reported with high photocurrent due to high charge carriers [16]. The oxygen vacancies lead to excellent visible-light absorption and electron-hole pair generation/recombination. A similar doping effect is seen in C and Au doped CuO thin film [11, 12]. The Comparison of photocurrent, dark current, responsivity, external quantum efficiency, detectivity, rise and fall time for CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films with other reported works was given in Table 2. Thus, the present study reveals the significance of doping elements on the structural, optical and photo-sensing properties of CuO thin films.

Fig. 10
figure 10

Time-dependent photo-response (Current vs. time) of CuO, CuO:Al (1%), CuO:Ga (1%) and CuO:In (1%) photo-detectors switched at a 365 nm UV light illumination with the power of 1–5 mW/cm2. ON and OFF periodically at a fixed bias field of 5 V

3.6 Mechanism of CuO thin film photodetector

The photoresponse of the fabricated photodetector could be explained using the mechanism shown in Fig. 11. The explanation of the charge transfer process of the metal oxide-based photodetector was carried out in dark and light conditions at a bias voltage of 5 V. During the dark conditions, oxygen atoms are adsorbed to the surface of CuO creating electron trap sites (O2 + e = O2). These trap sites result in the formation of a wider depletion layer in turn reducing the electrical conductivity resulting in the decrease of dark current value. Moreover, when the photodiode was exposed to UV light, the photogenerated carriers (i.e., holes) neutralize the surface oxygen ions (h+ + O2 = O2) making the electrons free from recombination with holes. This phenomenon increases the life time of the electrons and in turn, increases the photocurrent value. When the light is cut off, the oxygen ions are again adsorbed to the CuO surface and the resultant current value decreases.

Fig. 11
figure 11

Mechanism showing the photoresponse of the fabricated metal oxide-based photodetector

4 Conclusions

The effect of Al, Ga, and In doping in structural, morphological, optical, and photosensing properties of pure CuO thin films fabricated by spray technology. The doped CuO thin films were optimized for photosensing applications. The CuO, CuO:Al (1%), CuO:Ga (1%), and CuO:In (1%) thin films are found to be crystalline and flaky morphology. The optical properties revealed that the CuO:Al(1%) thin film’s highest optoelectronic property in comparison to the CuO, CuO:Ga (1%), and CuO:In (1%) thin films. The photosensing parameters responsivity, detectivity, and external quantum efficiency of the Al-doped CuO thin film exhibited higher values among the other samples which were found to be 2.82 × 10− 1 AW− 1, 1.45 × 1010 Jones and 66%, respectively. The doping of Al with CuO thin films has improved optoelectronic properties, which can be utilized for photodetectors. This work opens the scope for the investigation of other parameters to boost the performances of photodetectors.