Introduction

The creation and analysis of various polymer blends has been a significant focus of attention in recent years. Blending two or more polymers helps to increase the polymeric materials efficiency [1, 2]. In contrast with pure polymers or their conventional composites the mechanical, thermal and optical properties of polymers or blends with nanosized fillers have significantly improved. Moreover, the enhancement of the electric and magnetic properties of polymeric materials attracts other researchers [3, 4]. Carboxymethyl cellulose (CMC) is a smart water-soluble polyelectrolyte derivative with excellent recording and thermal gelatinization properties [5, 6]. Specific CMCs provide high viscosity, biocompatibility, biodegradability and transparency non-toxicity. It is used in many fields, such as the supply of drugs, silk prints and the paper manufacturing [7, 8]. Thiobarbituric acid (TBA) is an organic semicrystalline heterocycle, reagent for the processing of malondialdehyde, Kodak Fogging Developer (FD-70) and a member of the Kodak DPF production system that is designed to create black and white slides. The hydrophilicity of the composite film industry is an asset for its applications [9]. TBA has strong dimensional consistency and UV visible light irradiation is photo stable. It also has a low level of oxygen permeability due to the great inter-cohesive energy produced by the strongly polar alcohol (−OH) group (Enol form) [10, 11]. As a medium of removal of pigment, [PVA + Polyethylene (PEO) + CMC]B blends and (CMC+ TBA)B blend have been used for a broad variety of applications in medicinal matter and farming [12, 13]. [CMC + PVA]B is also flexible semi-transparent and allows for healing monitoring so that it can be used as clothing replacement [14]. Specific transition metal nanoparticles have shown their effects on physical and chemical properties CMC blends. Such nanoparticles are zinc oxide nanoparticles [ZnO]NPs [15], nanoparticles of zirconium oxide [ZrO2]NPs [16] and nanoparticles of cobalt oxide [Co3O4]NPs [17]. [Graphene (GO) + CMC]C alginate composite with improved strength of tensile which was prepared by Yadva et al. [18] and Zhan et al. [19]. The blend resistivity decreased after doping 5% carbon nanotubes (CNT)/ [SiO2]NPs hybrid content from 6 × 105 to 3.4 × 103 Ω. M [20]. It has been shown recently to enable practical applications in lithium ion battery doping of titanium dioxide anatase grade (TiO2) with [PVA+ chitosan (CN)/lithium perlorate (LiClO4)]B blend, because it facilitates the transfer of lithium ions in the polymer matrix [21]. Copper oxide nanoparticle [CuO]NPs is an environmentally friendly and a significant antiferromagnetic p-type semiconductor [22]. [CuO]NPs has been extensively studied as a lithium ion battery electrode for pseudo-modes, ceramic pigments, and magnetic materials [23]. [CuO]NPs were prepared via several methods including the thermal decomposition and sol–gel techniques [24].

Previous studies have neglected to consider the effects of adding TBA and [CuO]NPs on the spectroscopic, thermal, and DC conductivity properties of CMC. In the present study, [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films were fabricated utilizing a free sol–gel process and solution casting technique, respectively. In comparison studies between experimental and simulated DFT, the structural characterization of [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C were studied using characterization techniques comprising Fourier transform infrared (FTIR), thermal analysis (TGA), X-ray diffraction (XRD) and SEM spectroscopy. The optical properties, optical constants, DFT and DC properties of the novel fabricated [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films were determined.

Experimental details

Materials and preparation

To synthesize [CuO]NPs, the first solution (0.1 M) was formed by dissolving 24.16 g of copper (II) nitrate [Cu(NO3)2.3H2O, MW = 241.60, Sigma and Aldrich] in 100 ml deionized water under a magnetic stirring. The second solution (1.5 M) was formed by dissolving 18.91 g of oxalic acid [C2H2O4.2H2O, MW = 126.07, Sigma and Aldrich] in 100 ml deionized water. At temperature 50 °C with stirring continued for 2 h, the oxalic acid solution was added into the Cu(NO3)2.3H2O solution and then leave in mother 10 h at room temperature (RT). To obtain the gelatinous copper hydroxide nanoparticles, the mixed solution was stirred at 80 °C for 30 min. Finally, the obtained [CuO]NPs was calcined at 500 °C for 2 h in an air furnace.

Three CMC (20%) + TBA (80%) films were formed as follows: 1.44 g TBA [In our Lab. New Valley University, Egypt, average MW (average) = 144] was dissolved in 75 ml ionized water under 85 °C with stirring continued for 2 h till the complete dissolution of TBA. At 50 °C with stirring continued for 2 h, 0.5 g Na-CMC [Pharmaceutical Chemicals Co., Egypt] was dissolved in 25 ml ionized water, and then mixed with the TBA solution. The obtained [CMC + TBA]B solutions kept pure, and the other gelatinous solution were doped with the sol–gel prepared [CuO]NPs at ratios W = 0.3, 0.6, and 0.9% wt. utilizing the equation: \( W\left( wt.\%\right)=\left[\frac{w_{CuO}}{w_b+{w}_{CuO}}\right]\times 100 \), where wCuO and wb represent the weights of [CuO]NPs and the blend of [CMC + TBA]B, respectively. In desiccator at 60 °C for 24 h, the [CMC + TBA]B solutions cast into cleaned glass petri dishes. The films were pelleted out of the petri dish and careful to produce sufficiently [CMC + TBA/CuO]C nanocomposite films. In order to prevent moisture effect nanocomposite, the fabricated [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films is kept in the desiccator Fig. 1.

Fig. 1
figure 1

Schematic mechanism for synthesis of [CMC + TBA/CuO]c nanocomposite film

Characterization

Characterization methods and typical conditions are listed in Table 1.

Table 1 Characterization methods, model and specifications for the fabricated [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films

Results and discussions

The preparation of carboxymethyl cellulose (CMC) and thiobarbituric acid (TBA) blend [CMC + TBA]B and nanocomposite of CMC, TBA and CuO nanoparticles [CMC + TBA/CuO]C is described in the experimental section. All these bland and nanocomposite (ratios W = 0.3, 0.6, and 0.9% wt) are powder-like and partial stable in normal condition. They are readily soluble in DMF and DMSO by heating. The optical conductivity measurements of thin films suggest the optoelectronic devices and solar cell nature of the [CMC + TBA]B and [CMC + TBA/CuO]C.

Fourier transform infrared spectroscopy (FTIR)

Some vibrational spectroscopic data of CMC and TBA compounds have been reported previously in the experimental and simulation IR spectrum of TBA and CMC, respectively, Fig. 1S, Fig. 2S [25]. In the experimental spectrum (Fig. 2a) for [CMC + TBA]B and [CMC + TBA/CuO]C thin films, a strong absorption band was detected at range 2962–3796 cm−1 which can be attributed to intra- water molecular vibration (νOH) for all [CMC + TBA]B and [CMC + TBA/CuO]C thin films [26]. Peaks at range 1750–1550 cm−1 was allocated to C-H bond stretching and bending vibrations (νCH and δCH) for [CMC + TBA]B and [CMC + TBA/CuO]C thin films [27]. In contrast, the absorption bands appear at 1300 cm−1, 1351 cm−1 and 1399 cm−1 is attributed to antisymmetric (νCO) for [CMC + TBA]B. Also, the 1302 cm−1, 1389 cm−1 and 1450 cm−1 bands are due to antisymmetric (νCO) for [CMC + TBA/CuO]C thin films. Moreover, the bending vibration of the ether (glyosidic) linkage (δ C-O-O-C) was designated by a strong peak at 1141 cm−1 and 1113 cm−1 for both [CMC + TBA]B and [CMC + TBA/CuO]C thin films, respectively [28]. The [CMC + TBA/CuO]C thin film spectrum presents besides the in above bonds a peak that are not found in that of [CMC + TBA]B thin film, particularly at 526 cm−1 and 471 cm−1 which are allocated to CuO → O rocking of [CMC + TBA/CuO]C thin films. The spectrum of the [CuO]NPs thin films exhibit additional FTIR strong broad band at near 471 cm−1 assigned to ν(Cu–O) modes [29, 30].

Fig. 2
figure 2

a FTIR spectrum of CuONPs, [CMC + TBA]B and [CMC) + TBA/CuO]c; b IR spectrum of [CMC + TBA]B by using DFT simulation and c) IR spectrum of [CMC) + TBA/CuO]c by using DFT simulation

The results of the TD-DFT simulations are similar to the experimental absorption and emission data for [CMC + TBA]B and [CMC + TBA/CuO]C demonstrated in Fig. 2b and c. Numerous spectroscopic analyses of blends and composites using both solution and solid matrix absorption and luminescence methods have been performed [31]. The focus in our comparison will be on the peak’s intensity and location on wavenumber states within 0 cm−1 ≤ Wavenumber ≤3750 cm−1 of the onset of absorption or emission. The computed parameters at the [CMC + TBA]B and [CMC + TBA/CuO] C are also given for the sake of comparison [32]. In order to compare all methods used, it is preferable to calculate the mean location of wavenumber with transmittance %. The mean location of wavenumber for the bending and stretching vibration of [CMC + TBA]B and [CMC + TBA/CuO] C in experiential resulted are good agreement with the Gaussian9/DFT/WB97XD calculations [33]. Finally, it is noticed that, the results from the experimental method and Gaussian computation of the IR spectra bands for [CMC + TBA]B and [CMC + TBA/CuO] C show at the same wavenumber in Fig. 2a-c.

Thermal analysis

The thermogram spectrum (TGA and DrTGA), illustrated in Fig. 3, shows that the major loss of weight starts at 32.11 °C for [CMC + TBA]B and [CMC + TBA/CuO]C. Weight loss in the first stage starts at 56.88 °C, this step is attributed to the loss of hydrated water [34]. The second stage at 136.78 °C is due to the loss of 2NO2 and O2 fragments. The third loss of weight stage (254.77 °C) is attributed to sodium 2-(((2S, 3S, 4R, 5S, 6S)-3,4,5,6-tetrahydroxytetrahydro-2H-pyran-2-yl) methoxy) acetate existing in the matrix of molecule. This compound undergoes two steps of decomposition with weight loss of 62.94%. Finally, the thermographic TGA and DrTGA for [CMC + TBA/CuO]C appeared peak at 543.69 °C not appeared in [CMC + TBA]B. Thus, the last one of [CMC + TBA/CuO]C is due to loss of TBA and CMC fragments which attached with [CuO]NPs [35].

Fig. 3
figure 3

TG and DrTGA thermogram of [CMC + TBA]B and [CMC + TBA/CuO]C as powder form

XRD

The XRD is used to detect atomic structural properties such as grain strain length structure of phases, desired orientation, order disorder change, thermal production and the multilayer thickness. An XRD study results in a diffractogram displaying the frequency of diffractive angles (2θ) [36]. Several specific signals in 4° < 2θ < 80° domain were illustrated describing high crystallinity and good shape in the sample (Fig. 4a). In the [CMC + TBA]B thin film, the main peak located at 2θ = 25.81o, which due to (101) reflection. The d-spacing determined by XRD was 3.449 Å. The polymeric structures are also shown by the different signals and location of the Bragg peaks (2θ) [37]. In this pattern the [CuO]NPs and [CMC + TBA/CuO]C exhibit the most dignitaries signals at 031, \( \overline{2}22 \), \( \overline{2}\overline{3}1 \), 042, \( \overline{2}24 \), 213,062 and 004 corresponding to the crystalline nature of [CuO]NPs film. [CuO]NPs and [CMC + TBA/CuO]C diffraction from Bragg shows that the thin of nanoparticles and composite have a crystalline morphology with a triclinic system [38].

Fig. 4
figure 4

a XRD pattern of the sol–gel prepared [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C, b XRD pattern of the simulated[CMC + TBA/CuO]C by using DFT

The chemical structure matrix of [CMC + TBA/CuO]C contained pyran ring (CMC molecule) as quinoid ring and pyrimidine ring (TBA molecule) as benzenoid ring. Thus, the [CMC + TBA/CuO]C crystallinity is attributed to the classification of quinoid and benzenoid rings inside [CMC + TBA] B chains. The peaks corresponding to \( hkl=\overline{2}22\ and\overline{2}\overline{3}1 \) computed the distances of Van Der Waals between layers of phenylene rings across CMC polymer chains [39]. The [CuO]NPs and [CMC + TBA/CuO]C parameters of lattice are \( a7.42(3)\ A \), \( b=9.08(2)\ A \), and \( c=6.68(1)\ A \), while α = 89.0(2), β = 112.8(2) and γ = 91.5(3)o. The average distance between the d-spacing atomic layers is \( 1.78\ A \). The average crystallite size of [CuO]NPs and [CMC + TBA/CuO]C are Dav = 25.479 nm and Dav = 28.09 nm provided by the Table 2, respectively. At full width half-maximum intensity (FWHM), the [CuO]NPs and [CMC + TBA/CuO]C crystalline size (D) of all peaks was measured at 4 ≤2θ ≤ 80°. The d-spacing of the highest crystalline signal is determined using Bragg’s equation by Debye – Scherrer [40].

Table 2 XRD data of [CuO]NPs and [CMC + TBA/CuO]C; crystal data, hkl, FWHM, d-spacing and D as 2θ function

The diffraction line demonstrations that the values of the maximums conform with the values defined by Crystal Sleuth Software and material studio software [41]. The XRD structure matrix of the fabricated [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C thin film referring to measurement, computed and crystal device variance, miller index (hkl), d-spacing (d), FWHM and peak strength as shown in Table 2. When comparing the results obtained from the measurement by SEM and XRD for crystallite size (D) of fabricated [CuO]NPs, [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films, it has been found that the (D) produced by SEM is higher than that of the XRD as the figures depend on the surface of the morphology and are available in the aggregated particles. The XRD used methods to identify [CMC + TBA/CuO]C thin film crystal phases (Fig. 4a) and to check conformity with the simulation DFT spectrum. The resulted CASTEP program in DFT calculations methodology of [CMC + TBA/CuO]C used structural properties of the simulation as ground state, as shown in Fig. 4b.

SEM

In the novel fabricated [CMC + TBA/CuO]C nanocomposite films, the distribution of [CuO]NPs is shown in the Fig. 5. The surfaces of pure [CMC + TBA]B blend appeared smooth in Fig. 5a. Fig 5b–d demonstrate the uniform distribution of the [CuO]NPs. When [CuO]NPs is loaded into the CMC + TBA]B blend matrix, small holes were produced. The improvement in conductivity by increasing [CuO]NPs content can be related by physical contact of [CuO]NPs in the polymer matrix to the formation of linked networks [43]. These networks cannot be continuous with low [CuO]NPs content. The connected network density increases with increasing [CuO]NPs content and subsequently the conductivity increases. [CuO]NPs on the other hand, is a semiconductor (as shown in Fig. 6) which may cause the creation of energy levels within the Eg of the fabricated [CMC + TBA] B blend while combining [CuO]NPs with [CMC + TBA] B. Such new levels of energy serve as traps for charge carriers passing between them, leading to enhance conductivity [44, 45].

Fig. 5
figure 5

SEM for (a) pure [CMC + TBA]B blend (b) 0.3 wt.% (c) 0.6 wt.% and (d) 0.9 wt.% CuO doped [CMC + TBA/CuO]C thin films

Fig. 6
figure 6

a MEP of [CMC + TBA]B; b Electron density of [CMC + TBA]B; c Potential of [CMC + TBA]B; d MEP of [CMC + TBA/CuO]C; e Electron density of [CMC + TBA/CuO]C and f) Potential of [CMC + TBA/CuO]C by using DFT calculation in material studio and Gaussian software programs

Molecular electrostatic potential (MEP), electron density (ED) and potential (P)

The chemical and physical similarities of [CMC + TBA]B and [CMC + TBA/CuO]C have been investigated by utilizing the electron density and the electrostatic potential. The use of electron density as the essential factor to define the ground state of a many electron system is further discussed for [CMC + TBA]B and [CMC + TBA/CuO]C, respectively. The MEP has been used to describe the electrostatic potential depending on the constant electron density surface. The active location of MEP is displayed by a 3D illustration in Fig. 6a and d for [CMC + TBA]B and [CMC + TBA/CuO]C, respectively. The blue color constitutes the propitious zone for the nucleophilic attack, while the propitious zone for electrophilic attacks is constituted by a red color. The potential range [P] of the matrix [CMC + TBA]B and [CMC + TBA/CuO]C in the isolated molecule and crystal models are −7.120 × 10−2 ≥ [P] ≥ 7.120 × 10−2 and − 7.634 × 10−2 ≥ [P] ≥ 7.634 × 10−2, respectively, while the increase follows the order: red < brown < blue [46]. The blue color is the largest attraction, whereas the red color is a powerful repudiation. The diagram of the MEP reveals that nitrogen electronegative atoms reflect the regions of negative potential and hydrogen atoms have a positive potential [47]. The potential possible diagrams (Fig. 6b and e), the potential growth of [CMC + TBA]B is shown to be lower than that of [CMC + TBA/CuO]C. This indicates an increased probability of electron transition in [CMC + TBA/CuO]C.

AFM of [CMC + TBA/CuO]C thin film

The AFM images of the novel fabricated [CMC + TBA/CuO]C thin film are demonstrated in Fig. 7a-c. The surface morphology of a [CMC + TBA/CuO]C thin film shows clearly the nature of the film structure from the 3-dimensional AFM images. The [CuO]NPs is dispersed well on the surface of the [CMC + TBA/CuO]C thin film in the Fig. 7a. The surface of the fabricated [CMC + TBA/CuO]C thin film consists of luminous [CuO]NPs allocated over all the scanned area. These luminous [CuO]NPs structure transformed into randomly directed nanoparticles. In the novel fabricated [CMC + TBA/CuO]C, the roughness of the surface is described by measuring the parameters of roughness which are measured by analyzing the scans of the nanocomposite film surface. The roughness parameters were defined by using AFM to evaluate the Fig. 7b-c. These parameters are including root mean square roughness (Rrms = 1.0168 nm), average roughness (Rav = 0.8025 nm), maximum peak height (Rp = 7.1999 nm), the average height (dav = 1.87 nm), surface skewness (Ssk = 0.8596 nm), and surface kurtosis (Sku = 4.3056 nm). In addition, it was found that the average crystallite size (Dav) is ≅ 52 ± 3 nm [48]. The surface crystallite growth and aggregation of smaller grains may be directly responsible for the highest roughness estimated value [49]. The average AFM-computed crystallite size (Dav) is greater than XRD computer software and simulated CASTEP program in DFT calculations. This indicates that more than one crystallite may be from the computed AFM parameters with a grain or particle size. This proposes that more than one crystallite can be produced from measured AFM parameters that provide the grain or particle size. While, the XRD crystallite parameters depend on XRD refraction and reflection.

Fig. 7
figure 7

AFM measurements (200 nm × 200 nm) 3D images for [CuO/(TBA + CMC)]TF blend surface

Optical properties of [CMC + TBA]B and [CMC + TBA/CuO]C thin film

Figure 8a show the absorption spectra of [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C thin film, measured over the wavelength (λ) 200≤λ≤1500 nm. For [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C thin film, two absorption peaks at 281 and 362 nm, one absorption peak at 416 nm, one absorption peak at 416 nm, 413 nm and two absorption peaks at 446 and 543 nm are attributed to π → π* electronic transition, respectively. Moreover, the values of absorption peaks at about 281 ≤ λ ≤ 543 nm are due to transition of electrons from the highest occupied molecular orbital (HOMO) to the lowest unoccupied molecular orbital LUMO, which is related to π → π* electronic transition for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films [50].

Fig. 8
figure 8

a Spectral dependence of the absorption for the [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C thin film and b) CASTEP program for the CMC, TBA, [CMC + TBA]B and [CMC + TBA/CuO]C as single crystal

Figure 8b shows the ratio of absorption Fig. 8b versus the wavelength (λ) (x-axis) of the CMC, TBA, [CMC + TBA]B and [CMC + TBA/CuO]C as single crystal within a range of 200–700 nm using the CASTEP program in DFT calculations. While, the simulation curve of optical characterization of CMC, TBA, [CMC + TBA]B and [CMC + TBA/CuO]C, there are good agreements with experimental method (Fig. 8a) in curve behavior but different in the peaks potion and intensity due to the theoretical study of this compounds in single crystal and gaseous states [51].

The electronic excitation from the valence band to the conduction band induces the absorption along the fundamental absorption edges. Spectral absorption analyzes near the fundamental absorption edges are commonly unitized to deduce the optical band gap value \( {E}_g^{Opt} \) . The optical transitions occur by direct or indirect transitions in semiconductor materials [52]. Optical band gap \( {E}_g^{Opt} \) and transition band gap (\( {E}_g^{trans} \)) values can be obtained by using the Tauc’s equation from the optical transition spectrum (αhυ)m = B( − Eg), where hυ represent the incident photons energy and m = 2 for direct and 0.5 for indirect transitions allowed.

The transitions between the valence and the conduction bands are direct transitions for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C thin film. The value of the optical gap energy \( {E}_g^{Opt} \)is obtained by extrapolating the right part of the plot (αhν)2 as a function of (hν) to the energy axis at α = 0. Figure 9e shows the plot of (αhν)2 × 108 (eVm−1)2 versus photon energy hν (eV) [53]. The optical band gap \( {E}_g^{Opt} \) is defined as the lower energy value and assigned to Frankel-exciton generation, or a bound electron–hole pair. \( {E}_g^{Opt} \)is the energy gap with higher energy value (Also called transport gap energy) and it refers to the difference in energy value between LUMO and HOMO [54]. In Experimental section by using Tauc’s equation, the results clearly show that the values of optical energy band gap \( {E}_g^{Opt} \) decreases from 2.978 eV for [CMC]TF, 2.725 eV for [TBA]TF, 2.625 eV for [CMC + TBA]b to 2.488 eV for [CMC + TBA/CuO]C. The various between the \( {E}_g^{Opt} \) of [CMC + TBA]b to [CMC + TBA/CuO]C is 0.137 eV. This means that CuO metal introduces energy levels within the band gap which contributes to decrease the value of energy gap. In simulation section using DFT by DMol3, the \( {E}_g^{Opt} \)values for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C are 2.741 eV; 2.671; 2.589 and 2.199 eV, respectively [55]. It is also important to note that, the simulation of HOMO and LUMO illustrated in Fig. 9a-d present an overall similarity for the values of energy gap computed by Tauc’s equation with a minor shift in values.

Fig. 9
figure 9

a HOMO & LUMO for the [CMC]; b HOMO & LUMO for the [TBA]; c HOMO & LUMO for the [CMC + TBA]B; d HOMO & LUMO for the [CMC + TBA/CuO]C and Experimental plot of (αhν)2 versus photon energy (hν)

The Frontier molecular orbitals (FMO’s) utilizing the generalized gradient approximation GGA/PW91method are recorded in Table 1. Figure 9a-d reveals the 3D HOMO and LUMO plots for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C as- single crystal indicating the localization of EHOMO-EHOMO = 2.741 eV on the [CMC] and the energy [TBA] value is ELUMO-ELUMO = −2.671 eV). For [CMC + TBA]B and [CMC + TBA/CuO]C, FMO’s plots shows the localization of HOMO (−5.199 and − 5.498 eV) on phenyl rings and that of LUMO (−2.610 and − 3.299 eV) are spreading over the coordinated thiobarbituric acid and [CuO]NPs, respectively. The energy gap ∆E = 2.199 eV of [CMC + TBA/CuO]C nanocomposite is lower than that ∆E = 2.589 eV of [CMC + TBA]B bland which in turn shows that the present composites. These nanocomposite thin films are classified as suitable source for solar radiation processing in implementations for solar cells [56]. The electronegativity (χ) of [CMC + TBA]B (3.905 eV) acts as Lewis base while in case of [CMC + TBA/CuO]C (4.3985 eV) is extremely low value indicating a Lewis acid behavior. Table 3 provides data on chemical potential (μ), global hardness (μ), global softness’s (α), global electrophilicity index (ω), maximum electronic loading (DNmax) and softness (σ) for calculating load transmission resistance and electron receivability in a molecule. It is clearly seen that [CMC + TBA/CuO]C with S = 0.4548 eV, ω = 8.7980 eV, DNmax = 4.005 and ϭ = 0.56 eV−1 value will be high soft than the [CMC], [TBA], [CMC + TBA]B [57].

Table 3 Calculated E⁠H, E⁠L, μ, χ, σ, S, η, ω and ΔN⁠max for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C as single crystal

Polymers and inorganic compound are indeed very valuable for the development of nanomaterials and other equipment as solar cells. The absorption index k(λ) and refractive index n(λ) values, which included both absorption and refraction based on interference between the material examined and the light-incident. n(λ) has a phase velocity correlation with the dispersion, while k(λ) is linked to a mass reduction coefficient and permits the computation of the electromagnetic wave dissipation rate in medium. The spectroscopic reflectometry measurement of transmission and reflectance permits the n(λ) and k(λ) versus photon energy () to be defined. The spectral properties of n(λ) and k(λ) versus () values for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film over a range 0.8–7 eV of () are given in Fig. 10a. Equation 1 is used to provide n(λ) and k(λ) values [58].

$$ k\left(\lambda \right)=\raisebox{1ex}{$\alpha \lambda $}\!\left/ \!\raisebox{-1ex}{$4\pi $}\right.\kern1em and\kern1.25em n\left(\lambda \right)=\left[1+R/1-R\right]+\sqrt{\left[\raisebox{1ex}{$4R$}\!\left/ \!\raisebox{-1ex}{${\left(1-R\right)}^2$}\right.\right]-{k}^2}\kern0.5em $$
(1)
Fig. 10
figure 10

a The spectral dependence of the refractive index n(λ) with λ nm. b The absorption index k(λ) with λ nm for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film

For [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film in experimental section, n(λ) behavior showed the maximum peaks values at 1.79, 1.58, 1.83 and 1.78, respectively. Also, the peaks were also observed with k(λ), with maximum values at 0.0559, 0.0282, 0.0777 and 0.0742 with a sudden fall at 4.5 eV, respectively. These peaks were linked to the π → π* benzenoid rings transition.

DFT calculation of [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C as– single crystal was utilized to predict n(λ) and k(λ) values (Fig. 11a-b). It is also important to note that the simulation curve illustrated in Fig. 11a-b present an overall similarity for n(λ) and k(λ) with a minor shift towards the highest energies with lower peak intensities.

Fig. 11
figure 11

a The spectral dependence of the refractive index n(λ) with λ nm . b The absorption index k(λ) with λ nm for CMC, TBAF, [CMC + TBA]B and [CMC + TBA/CuO]C as – single crystal

The optical conductivity (σ) and dielectric constants (ε) are the key elements for optical connections. The real dielectric constant (ε1) and imaginary (ε2) parts are computed as follows: ε1 = εreal = n2- k2, ε2 = εimg = 2nk and ω = 2πf where ω and f characterize the angular frequency and the applied frequency, respectively. ε1 denote the material’s ability to store electrical energy or to allow the electric field through it while ε2 is the material’s loss and shows the material’s ohmic resistance [59]. In experimental section (Fig. 12a-b), illustrate ε1 (ω) and ε2 (ω) vs hυ behavior for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film. The maximum real part ε1 (ω) of [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film values are 3.23, 2.50, 3.32 and 2.77 at hν = 4.43, 3.00, 3.32 and 2.77 eV, respectively. The imaginary part ε2 (ω) displays the same behavior of ε1 (ω) for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film values are 0.198, 0.089, 0.283 and 0.285 at hυ = 3.40, 3.00, 3.03 and 2.77 eV, respectively. These results show that, the real part ε1 (ω) of [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin film are higher energy storage efficiency for the imaginary part ε2 (ω).

Fig. 12
figure 12

a-b Experimental ɛ1 and ɛ2 via hν for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C

Figure 13(a–b) The spectral dependence of dielectric component versus photon energy (hν) for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C as-single by using DFT simulation. The simulation and experimental behavior of dielectric constants is similar in behavior with different intensity of peaks and the photon energies (h ν) values

Fig. 13
figure 13

a-b simulated ɛ1 and ɛ2 via hν for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C

The optical conductivity σ (ω) defines the optical response of the material as defined by the following expression. [60]: σ (ω) = σ1(ω) + i σ2(ω) . The optical conductivity σ (ω) is constituted by σ1 and σ2 which are the real and the imaginary parts, respectively. (σ1) and (σ2) are computed by the following equations: [61]: σ1(ω) = ωε2ε0 and σ2(ω ) = ωε1ε0, where ω is the angular frequency, εo permittivity of free space. Figure 14a-b show optical conductivity variation of [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C vs and simulation using DFT of [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C (Fig. 15a-b). Compared to the experimental curve, the simulated curve for each compound clearly demonstrate good compliance. Both real part (σ1) and the imaginary part (σ2) corresponding to [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C increased with photon energy increases until arrived 3.80 eV. The behavior of optical conductivity can be assigned to the electron’s excitation. The real conductivity (σ1) for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C have one distinct signals of (37.17 Ω−1 m−1 at 4.43 eV), (35.50 Ω−1 m−1 at 3.00 eV), (35.58 Ω−1 m−1 at 3.03 eV) and (37.16 Ω−1 m−1 at 2.77 eV), respectively. The optical conductivity increases of [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C which is possibly attributed to the coefficient of high absorbance related to charge ordering effect. The optical conductivity and absorption coefficient are linked by the following equation [62]: σ = αnc/4π Considering that c is the light speed, α is the refractive index and n the coefficient of absorption. The real conductivity (σ2) for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C have one distinct signals of (78.82 Ω−1 m−1 at 3.39 eV), (100.09 Ω−1 m−1 at 3.00 eV), (100 Ω−1 m−1 at 3.03 eV) and (100 Ω−1 m−1 at 2.77 eV), respectively.

Fig. 14
figure 14

a-b Experimental σ1 and σ2 via hν for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C

Fig. 15
figure 15

a-b σ1 and σ2 simulation optical properties for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C by using CASTEP method in DFT

Figure 15 a-b The spectral dependence of optical conductivity σ (ω) versus photon energy (hν) for [CMC], [TBA], [CMC + TBA]B and [CMC + TBA/CuO]C as-single by using DFT simulation. The simulation and experimental behavior of optical conductivity σ (ω) is similar in behavior with different intensity of peaks and the photon energies (h ν) values.

Electrical properties (direct current (DC) conductivity) of [CMC + TBA]B and [CMC + TBA/CuO]C thin film

Conductivity study is one of the most interesting instruments to characterize [CMC + TBA]B and [CMC + TBA/CuO]C as-deposited thin films. The 4-probe van der Pauw methodology was used for calculating DC conductivities. Electric conductivity of the [CMC + TBA]B and [CMC + TBA/CuO]C as-deposited thin films at room temperature was found to be 3.56 × 10−2 (Ω cm)−1 and 8.05 × 10−2 (Ω cm)−1, respectively. The conductivity of the [CMC + TBA]B and [CMC + TBA/CuO]C as-deposited thin films increases with increasing of the temperature attributed to the rise of charge transfer efficacy [63]. In addition, the curling of the blend and composites thin films chain attribute to thermal transfer has been proposed. This phenomenon increases the conjugation within the [CMC + TBA]B and [CMC + TBA/CuO]C backbone and enhances its electric conductivity [64]. The electrical conductivity of the [CMC + TBA]B and [CMC + TBA/CuO]C as-deposited thin films ranged from 298 K to 400 K.

The plot ln(ρ) versus 1/T for [CMC + TBA]B and [CMC + TBA/CuO]C as shown in the Fig. 16(a–b). Constructed on the relationship between plot ln(ρ) versus 1/T, the Ea computed from the following equation [65]:

$$ \rho ={\rho}_0{\mathit{\exp}}^{Ea/ KT}, $$

where ρ0 a constant, K is the Boltzmann constant, T is the temperature in Kelvin and Ea is activation energy. The resistivity and the conductivity of [CMC + TBA]B and [CMC + TBA/CuO]C strongly depend on the temperature.

Fig. 16
figure 16

a-b Plot of ρ and Lnσ versus 1/T of [CMC + TBA]B and [CMC + TBA/CuO]C as-deposited thin films

It is detected that in the temperature ranges considered [(399–423 K (region I) and (399–381 K (region II)], the [CMC + TBA]B as-deposited thin films exhibits two activation energies are Ea1 = 2.279 eV for the region I and Ea2 = 0.947 eV for the region II. While, the [CMC + TBA/CuO]C as-deposited thin films exhibits two activation energies are Ea1 = 2.03 eV for the region I and Ea2 = 0.939 eV for the region II. The first activation energy (Ea1) is generated at a high temperature, the [CMC + TBA]B and [CMC + TBA/CuO]C thin films electrical conductivity is caused by thermal excitation of charge transfers from grain boundaries to neutral areas [66]. The second energy activation (Ea2) is significantly smaller than (Ea1) for the region of the lower temperature. The dimension of conductivity may also have been caused by transport (hopping) of the carriers to localized countries in the region near the [CMC + TBA]B and [CMC + TBA/CuO]C thin film conductivity band. Activation energy computed by the optical characteristics at high temperature region (Ea1).

Table 4 illustrates a significant difference between the activation energy values published in this study for [CMC + TBA]B and [CMC + TBA/CuO]C and that reported previously in literature. It can be attributed to the various materials used in each study and the formation of a crystalline or amorphous CMC nanocomposite. The activation energy determined by this study is significantly smaller than those published previously showing that the [TBA] and [CuO]NPs blends are more susceptible to oxidation in air compared to [TiO2]NPs. This can be attributed to the fabrication of a smooth and dense [CMC + TBA / CuO]C nanocomposite film and it was confirmed by AFM study.

Table 4 The activation energy of [CMC + TBA]B and [CMC + TBA/CuO]C

Conclusion

[CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin films are fabricated with significant structural characteristics, optical dispersion and dielectric properties. Studies in XRD revealed that the same crystal structure was observed for [CuO]NPs and [CMC + TBA/CuO]C (Triclinic) with space group (\( P\overline{1} \)). In addition, [CuO]NPs grain size (D size = 25.479 nm) was found to be smaller than [CMC + TBA/CuO]C (D size = 28.09 nm). The \( {E}_g^{Opt} \)values obtained from Tauc’s equation are 2.978 eV, 2.725 eV, 2.625 eV and 2.488 eV for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin films, respectively. While the \( {E}_g^{Opt} \) computed by DFT (DMol3) are 2.741 eV, 2.671 eV, 2.589 eV and 2.199 eV for [CMC]TF, [TBA]TF, [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin films, respectively. There is a good agreement between them in accordance with the \( {E}_g^{Opt} \)values determined by DFT (DMol3) computations with the Tauc’s equation. The refractive index n, absorption index (k) and optical conductivity were enhanced with increased photon energy. The simulated FTIR (Gaussian DFT), XRD (precited PMP), and optical properties (CATSTEP) of [CMC + TBA]B and [CMC + TBA/CuO]C in isolated and gas state are in great compliance for both [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin films experimental analyses. The optical constants, refractive indicator (n), absorption index (k) and optical conductivity increase with increased photon energies ().For increased photon energy the optical constants; refractive index n, absorption index k, and optical conductivity are increasing. The results of the optical characteristics confirm a [CMC + TBA/CuO]C as–deposited thin films constructed heterojunction can be utilized as a solar cell and transistors and these properties are improved by formation of nanocomposite. The electrical conductivities of the both [CMC + TBA]B and [CMC + TBA/CuO]C as–deposited thin films were found to be 3.56 × 10−2 (Ω cm)−1 and 8.05 × 10−2 (Ω cm)−1 at room temperature, respectively. Based on the optical conductivity, dielectric constants, particle size, AFM studies, activation energy by DC (Ea1), DFT calculation (EH − EL) and band gap (\( {E}_g^{Opt} \)) of [CMC + TBA]B and [CMC + TBA/CuO]C nanocomposite films can be used as optoelectronic device.