1 Introduction

Recently, applications posed strong desires for materials, which are relatively more difficult to meet using single-component structures and equable to a single class of materials, like only organic or only inorganic materials. In hybrid matrices, organic and inorganic constituents are repeatedly integrated through the same assembly that yields organic-inorganic hybrid systems that combine the auspicious properties of both types of structure blocks as evinced [1,2,3].

Polystyrene is a hard, rigid thermoplastic with a high refractive index, low thermal conductivity, transparent to visible wavelengths, low softening temperature, good electrical insulation, ease of processability, low moisture absorption, good dimensional precision, clarity, and low cost [4]. To enhance the properties of PS for specific applications, the PS is blended with some other polymers or molecules [5].

Polyethylene glycol (PEG) is a polyether composed of ethoxy units produced from the polymerization of ethylene oxide. Because it is a linear polymer with chemically active hydroxyl groups at both ends, conjugation with functional groups in a PE gylation process allows nanoparticles (NP) to be coupled to a linear chain through functional groups [6]. Due to its properties, such as electrical neutrality, considerable spatial repulsion, and high hydrophilicity, PEG is often chosen as one of the shielding groups for adsorption or grafting applications on the surfaces of NPs [7]. The PE gylation process can occur in three forms [7]: first, through physical adsorption, such as electrostatic or hydrophobic contact, PEG can physically attach to NPs, secondly, a strong chemical bond can be formed and it can be safely grafted onto the surface of NPs, third, it may combine with hydrophobic molecules to create macromolecules that can self-assemble into PE gylated NP in solution by joining with other molecules or themselves.

Metal oxide nanoparticles can improve the quality of polymer composites due to their excellent thermal stability, chemical resistance, mechanical strength, optical, and antibacterial properties [4]. They have special qualities because of their tiny size and high surface area [8]. Applications for transition metal-doped systems include lasers, photocatalysts, sensors, and ceramics [9]. The idea of coupling a metal oxide with a polymer system was introduced to develop a system that could support the metal oxide for better activity. Such an immobilized system with polymer-supported inorganic NPs finds application in optoelectronics, sensors, photocatalytic, water purification, and others. Due to their stunning electrical, magnetic, and optical capabilities, which have drawn greater attention from scientists working on new technologies and materials, Fe and Zn are good candidates to change a variety of polymeric systems [10]. Recently, coupling zinc nanoparticles ZnO NPs within Fe2O3 magnetic system is an attractive approach that has been explored. The recyclability of these structures supports the formation of a vast band gap, higher transparency systems, and excellent audio features, owing to electronic chattels, higher electron mobility, and environmental affability [11, 12]. Therefore, In this study, work on PS:PEG polyblend has been taken as an active area for research having developed properties to be employed for further investigation. Interestingly the substitution of Fe ion with Zn ion into the PS-PEG/Fe matrix has a significant effect on structural, optical, and magnetic properties. The polymer networks that contain integrated iron and zinc oxide nanoparticles exhibit superparamagnetic and electrical properties features. Due to these benefits, nanocomposites are employed in several important applications, such as drug delivery process, cell separation, cancer hyperthermy, magnetic resonance imaging, tissue fast healing, and detectors [10].

Herein, mixing PS with polyethylene glycol allows Fe2O3/ZnO more dispersion, increasing the ionic conductivity and chemical stability of PS/PEG/Fe–Zn complexes owing to the partial crystallinity of both polymeric and Fe–Zn nanoparticles [13, 14]. Direct assembly of the sol-gel and the gel casting methods to fabricate PS-PEG loaded with Fe2O3 and Fe2O3/ZnO is attractive since it is appropriate to use a wide range of various nanosized particles. It also expressively simplifies the formation procedures of nanocomposites, progresses their performance, and enhances multifunctionality, and repeatability. This work aims to modify polystyrene-PEG-based composites and improve their impact by introducing Fe2O3 and Fe2O3 doped with ZnO NPs. Investigation of the structural, optical, and magnetic properties of the PS-PEG polymer blend doped with (1 − x)Fe2O3(ZnO)x, (x = 0–7 mol%), formed using sol-gel and gel casting methods were done to demonstrate their use in optomagnetic and optoelectronic technologies.

2 Experimental Details

2.1 Materials

Polystyrene (PS) used in this study was purchased from Heliopolis Company for Chemical Industries. Ferric nitrate (Fe(NO3)3·9H2O, 99.99%), and Zinc acetate ( (CH3CO2)2Zn, 99.99%) were purchased from Sigma-Aldrich. The acquired solvents (i.e., methanol (MeOH) and toluene (C6H5CH3) were bought from Sigma Aldrich (USA). All these chemicals were employed as extradited.

2.2 Preparation of PS-PEG-Fe2O3/ ZnO Nanocomposites

The sol-gel liquid solution of Fe2O3 with different concentrations of ZnO nanoparticles was prepared by dissolving the stoichiometric amounts of Fe2O3 and ZnO, hydrochloric acid (HCL), and H2O, from ferric nitrate (Fe(NO3)3·9H2O) and zinc acetate ((CH3CO2)2Zn) as a raw source for ZnO/Fe2O3, which is stressed with further details previously [15,16,17].

The solution of Zn/Fe was stirred for 30 min at room temperature to get a homogeneous brownish solution called Sol A. Polystyrene-PEG-ZnO doped with Fe3+ nanocomposite and was prepared using the solution casting route. In this route, 6 gm of polystyrene dissolved in toluene under strong stirring, then sonicated for 20 min and blended with PEG dissolved in 60 ml distilled water. After this, the liquid polymeric phase of PS-PEG-Fe2O3 doped with (0–7 mol%) ZnO has been mixed under stirring for 70 min at 40 °C to obtain a homogenous nanocomposite. Finally, the formed nanocomposites were cast in Petri dishes and aged until dried. The preparation steps were sketched in Fig. 1.

Fig. 1
figure 1

The preparation steps of PS-PEG-Fe2O3/ZnO nanocomposites

2.3 Characterization Methods

The resulting nanocomposites have been characterized by X-ray diffraction of prepared nanocomposite films have been obtained by using Bruker- D8 focus X-ray-Diffractometer, Germany equipped with CuKα (λ = 1.54 nm) at (40 KV) and (40 mA) in the (2θ) range of 5°–75°. The uncertainty of the XRD phase analysis utilizing Rietveld refinement falls generally within a range of 1–3%. The presence of different phases has been specified by using JCPDS data files in Pcpdfwin-software. The particle size of the film samples was examined by HR-TEM (JEM-2100) Joel, Japan. Fourier transform infrared (FTIR) spectra of formed films have been registered by using Perkin-Elmer (C92035) with uncertainty in the order of 0.05%. Absorption spectra have been obtained from 1300 to 400 cm−1.

The optical spectra of the prepared nanocomposites were measured by a Jasco V-570 spectrophotometer (with wavelength and photometric accuracy of ± 0.2 nm and ± 0.002 Abs, respectively) over the wavelength range, of 0.2–2.5 μm. Magnetic measurements were done at Room temperature and carried out under the application of a magnetic field up to ± 15 kOe using a Lakeshore(7404) vibrating sample magnetometer (VSM) (uncertainty of only ~ 2%).

3 Results and Discussion

3.1 XRD Analysis

The XRD patterns give the structural results of PS-PEG-Fe2O3/(0–7)ZnO nanomembranes were displayed in Fig. 2. XRD spectra appeared that the used compositional of pure and doped PS, PEG, Fe3+, and ZnO, gave evidence of the successful formation of within the blended PS-PEG polymeric matrix with characteristic broad XRD peaks at 2θ = 8.92° and 18.23° linked to PS-PEG-Fe2O3 matrix ( 03-0347) [4, 9, 10, 18].

Fig. 2
figure 2

The XRD patterns of PS-PEG-Fe/(0–7)ZnO nanocomposites

The XRD pattern of the pure sample has two phases with the main three peaks at 2θ = 37.7°, 43.95°, and 64.32°, as represented in Fig. 2. These peaks are related to Fe3O4 phase formed in PS-PEG-based according to ICDD card No: 03-065-3107. With the introduction of ZnO nanoparticles, all XRD peaks are shifted to lower (2θ), this resulted from the inner reaction between Fe and Zn leads to the zinc ferrite phase corresponding to Fe0.76Zn0.24O1.165 (ICDD card No: 00-048-0567 of iron zinc oxide). Also, with the higher ZnO ratio, new peaks appeared at 2θ = 30°–33.57°, attributed to zinc ferrite oxide within the blended PS-PEG matrix, which can be a precise indicator of the PS-PEG-Fe-Zn nanocomposite forming ability at a lower temperature [19].

The sharp and strong XRD peaks of the formed nanocomposites indicate the respectable crystalline nature of nanoparticles [1, 20]. The change in XRD peak intensities within the 2θ range 29°–65° and the differences in some XRD peak intensities were mainly attributable to the change in Fe2O3 levels in the PS-PEG-based with increasing ZnO ratio. According to Debye-Scherrer’s equation [21], the three predominant XRD peaks at 2θ = 36.53°, 37.76°, and 44° are used to evaluate the crystallite size. The evaluated crystallite size increases from ~ 17 nm (PS-PEG-Fe2O3) up to ~ 20.79 nm (PS-PEG-Fe2O3/ZnO).

3.2 SEM/TEM Study

The SEM micrographs of PPFe and PPFe doped with 7 ZnO magnetic nanocomposites are given in Fig. 3a, b. It can be observed that the nanocomposites have a flat and dense surface with some nanospheres shape on their surface for the 7 Fe3+ samples (Fig. 3a). The Fe-doped nanocomposite shows a smooth surface and has good dispersion (Fig. 2b). The TEM micrograph and particle distribution appear the uniformly distributed gray and dark dots with spherical shapes in the nano-sizes range can be observed in Fig. 3c–e, which denotes that Fe2O3 and Fe0.76Zn0.24O1.165 that were successfully formed and dispersed in the PS-PEG matrix. The average particle size (Fig. 3d) is nearly 23 nm.

Fig. 3
figure 3

SEM images for a PPFe, b PPFe-7ZnO, c, d the TEM for PPFe-(3, 7) ZnO, and e the particle distribution of PPFe-(3) ZnO nanocomposites

There is a continuous crystalline development for Fe-ZnO nanoparticles within the PP matrix, which stabilizes the polystyrene network. Herein, polyethylene glycol and solvents were utilized as a supporter and stabilizer for PS-PEG/Fe2O3/ZnO nanocomposites [22]. Hence, SEM and TEM results support the formation of appropriate Zn/Fe-containing forming controllable nano-metal-organic complexes.

3.3 Infra-red Spectroscopy

Infrared spectroscopy is studied to portray the synthesis of the Zn/Fe nanoparticles through sol-gel processes (hydrolysis and condensation) together with the expansion of the Polystyrene-polyethylene organic network during the synthesis and aging processes [4, 23, 24]. Evidence of the chemical structure of the PPFe and Zn doped nanocomposites, FTIR was used to allocate the altered characteristic absorption groups. Figure 4 gives the full FTIR range spectra of PPFe and PPFe doped with 3, 7 ZnO magnetic nanocomposites. At a larger wavenumber, bands connected with OH (around 3450 cm−1), CH and OH (2849 up to 3125 cm−1), and CH3 (2856 cm−1) vibrations were perceived [25, 26].

In the mid-IR region, the organic polymerization is evidenced by the links of PS-PEG and increases the intensity at 1449–1599 cm−1 with increasing Zn contents. Zn/Fe polymerization is represented by the 1023–533 cm−1 range of the FTIR spectra. Doping PPFe nanocomposite with ZnO nanoparticles has been established to enhance their structural and chemical benefits, and the polymeric crystallization degrees [27,28,29].

The absorption bands at 533 cm−1, 679 cm−1, 753 cm−1, and 1023 cm−1 in the spectra of the undoped and Zn doped samples, are attributed to the Fe–O–Fe and Fe–O–Zn and –CH3 rocking mode of Fe–O–CH3 [30].

The change in the peaks intensity in the range 533 cm−1 to 1023 cm−1 supports the good formation and that the combination of polyethylene glycol (PEG) polystyrene (PS) helps Fe2O3 and Zn/Fe nanoparticles to overcome the accumulation between the magnetic nanoparticles.

This is evidence of condensation reactions between Fe2O3, ZnO, and –OH groups before being mixed with the PS-PEG matrix that results from the sol-gel/gel casting treatment of the prepared samples.

Fig. 4
figure 4

FTIR spectra for a PPFe, b PPFe-3ZnO, and c PPFe-7ZnO nanocomposites

3.4 Optical Analysis

The optical characteristics rely on a variety of factors, including doping, surface morphology, preparation method, preparative parameters, and interactions with their surroundings [31, 32]. The studies of the absorption coefficient of semiconducting materials give important data about the electronic states in the high energy part of the optical absorption range, while the other lower energy part of the spectrum agrees with the atomic vibrations [4, 33, 34].

Figure 5a shows the optical transmission and reflection of PS-PEG/(Zn doped FeO) films in the wavelength range of 200–2500 nm. The nanocomposite films showed an increase in optical transmittance to about 75% with increasing of Zn. The transmittance increase with increasing Zn content in the loaded inorganic materials is a reflection of changes in the crystalline quality and surface roughness of the films. This case is more significant in films with lower surface roughness which leads to less surface scattering of light [35]. Salaken et al. [36] reported that the decrease in Zn content in Fe-Zn nanocomposite led to similar results for Fe-doped ZnO films by varying the Fe doping concentration from 1 to 5 at%. They noticed less optical transmittance for Fe-doped films than pure ZnO films. Also, Srinivasulu et al. Al. [35] observed a behavior similar to that in Fe-doped ZnO prepared by spray pyrolysis at a substrate temperature of 400 °C. Here, the presence of interference peaks in the transmittance spectra at higher wavelengths might be attributed to the higher film thickness and larger grain size of the grown films [35] as found by X-ray analysis.

Fig. 5
figure 5

a Transmission and reflection, b absorbance coefficient of the PPFe-(0–7)ZnO nanocomposites

The dependence of the optical absorption coefficient of PS-PEG/(Zn doped FeO) films upon the incident wavelength for the different ratios of Zn-concentrations is depicted in Fig. 5b. It decreases with increasing the light wavelengths but slightly increases with the inorganic phase. Furthermore, at 216 nm, an absorption peak was observed. From the figure, one can observe that the fundamental absorption edge is shifted to a lower wavelength side as the dopant concentration increases. Since the absorption edge that corresponds to the electron transition from the valence to the conduction band was used to calculate the absorption coefficient (α), the optical band gap of the PS-PEG/(Zm doped FeO) films can be determined by applying the Tauc relation [37]:

$$\alpha h\nu =Q{(h\nu -{E}_{g})}^{\frac{1}{2}},$$

where Q is a constant, hν is the photon energy, and Eg is the optical band gap of the material.

The plots of (αhν)2 versus (hν) showed straight lines in the higher energy domain as shown in Fig. 6a, where it represents an indirect allowed transition. The energy band gap (Eg) of the films can be determined by extrapolating the linear part of the straight lines onto the energy axis to reach (αhν) = 0.

Fig. 6
figure 6

a The plots of (αhν)2 versus (hν), b The band gap behavior with Zn content, c The plot of (lnα) versus (hv), d the change of Urbach energy with Zn content, and e The extinction coefficient behavior with increasing wavelength for the PPFe-(0–7)ZnO nanocomposites

The evaluated band gaps are 1.246, 2.032, 2.619, 2.969, and 3.427 eV for 0, 1, 3, 5, and 7 wt% Zn, respectively. By the addition of FeO doped by 0, 1, 3, 5, and 7 wt% Zn, the band gap increases to higher values as shown in Fig. 6b. These findings demonstrated that the optical band gap energy was directly associated with the content of an improvement in carrier-carrier interaction that caused a shift in the transition band [38]. The Zn2+ ions are substituted into Fe3+ ionic sites, then they can prevent additional free carriers which lead to an increase of energy needed for band gap transition [35, 39]. The decrease of the ion transport between the polyblend and inorganic phase may be responsible for the decrease in band gap energy [2].

The spectrum dependence of the absorption edge is thought to follow the empirical Urbach rule in the low photon energy band. This energy is frequently used to refer to the length of the bandgap’s tail of localized states. Because disordered and amorphous materials produce localized states that are stretched in the bandgap, the exponential tail is observed. The Urbach energy (Eu) can be used to gauge a material’s level of disorder, contaminants, and flaws [15]. This characteristic is related to the localized state of the conduction band and the prolonged transition of the valence band. The Eu value was determined for each sample using the formula shown in [15]:

$$\alpha ={\alpha }_{0}\text{e}\text{x}\text{p}\left(h\nu /{E}_{u}\right)$$

where hν is the photon energy, Eu is the Urbach energy, and α0 is a constant. By plotting (lnα) versus (hv), as shown in Fig. 6c, the Eu values can be extracted as 0.153, 0.367, 0.412, 0.575, and 0.459 eV for polyblend loaded by FeO doped by 0, 1, 3, 5, and 7 wt% Zn, respectively. These substantially lower Eu values show that the prepared samples have high disorders or flaws, and they also represent the decreased density of localized states in their structures. Furthermore, the Eu increase with the inorganic phase loading, and with the Zn content increase as in Fig. 6d. This suggests that with the loading of polyblends by an inorganic phase, the grade of disorder and flaws increase.

The extinction coefficient (k) is calculated by [40]:

$$k=\alpha \lambda /4\pi$$

The extinction coefficients decrease with the loading of FeO doped by Zn with different content as shown in Fig. 6e. It increases very slightly with increasing wavelength due to the decrease of incident photon energy near the surface [41].

The penetration depth or skin depth (δ) is known as an incident photon flux decrease as light passes through the material [40]. δ is calculated by [40]:

$${\updelta } =1/{\upalpha }$$

The behavior of the depth of the skin with wavelength change is presented in Fig. 7a. The δ increase with the addition of the Zn. With increasing in wavelength, the skin depth increases.

Fig. 7
figure 7

a The depth of the skin, b The refractive index, c The dielectric permittivity, and d The optical conductivity behavior with wavelength for the PPFe-(0–7)ZnO nanocomposites

Figure 7b represents the dependence of the refractive index on the change in wavelength for the prepared samples. The n values increase slightly with an increase in wavelength and take the value between 1 and 1.2 for all samples.

The ability of a solid to interact with an electric field or an electromagnetic field is indicated by its dielectric permittivity [40]. As it depends on the refractive index values, the dielectric permittivity takes the same behavior of it. As in Fig. 7c, the dielectric permittivity slightly increases with the increase in wavelength.

The change in optical conductivity (σop) change with the change in wavelength was plotted in Fig. 7d for the prepared samples along with the next Eqs. [26, 42]:

$${\sigma }_{opt }=\alpha nc/4\pi$$

where α, n, and c, respectively are the absorption coefficient, refractive index, and speed of light. The σop nearly decreased as the wavelength increased. With increasing Zn content, the optical conductivity is slightly decreased.

3.5 Magnetic Properties

The magnetic properties of PPFe-Zn were examined by the magnetization curve (M vs. H) at room temperature, Fig. 8a. A diamagnetic behavior is observed in sample PPFe-7Zn, where the magnetization decreases with increasing the applied magnetic field at high field (a negative high-field slope). This behavior is attributed to the low concentration of the magnetic center in the sample (Fe3+), and the diamagnetic polymer between the magnetic center resists the interaction between the magnetic centers. Therefore a diamagnetic behavior is observed in sample PPFe-7Zn [43,44,45,46].

Fig. 8
figure 8

The magnetic hysteresis loop (M vs. H) of PPFe-(0–7)ZnO nanocomposites at room temperature

According to Fig. 8b, a magnetic hysteresis loop is observed as the iron concentration increase. This observation can be interpreted as; the iron ions representing magnetic centers in the sample, therefore increasing the iron concentration increases the magnetic center concentration and the interaction power between them [47, 48]. Consequently, a magnetic hysteresis loop is observed under the effect of the external magnetic field. The presence of Fe monomers in the PS matrix promotes the magnetic state to support their magnetic properties. The magnetization of the nanocomposite changed with varying Zn concentrations, and the obtained results matched with those reported by Li et al. [49].

Table 1 presented the different magnetic parameters obtained from the hysteresis loop. The magnetization (Ms) and the remanence (Mr) increase with increasing the iron concentration. These data reflect the effect of iron on the diamagnetic polystyrene.

Table 1 Magnetic parameters of PPFe-xZn, Magnetization (Ms), Remanence (Mr), and Coercive (Hc)

4 Conclusion

PS/PEG blend loaded by Fe2O3 doped with ZnO with different concentrations (0, 1, 3, 5, and 7 wt%) nanoparticles were prepared using a sol-gel process and casting route under stirring for 2 h at 40 °C. The PP-Fe2O3/ZnO nanocomposite shows an excellent crystalline degree and well dispersion of Fe and ZnO/Fe nanoparticles through the polymeric matrix. The FTIR results demonstrate that introduce of Fe2O3 and Zn/Fe nanoparticles in the PS-PEG matrix works as a growth factor producing good organic-inorganic interface nanocomposites. The addition of both Fe2O3 and Zn/Fe2O3 nanoparticles in PS-PEG enhances their magnetic properties. higher contents of ZnO nanoparticles enhance the coercivity and saturation magnetization. The band gaps increase from 1.246 to 2.032, 2.619, 2.969, and 3.427 eV with the addition of ZnO from 0, to 1, 3, 5, and 7 wt%, respectively. The Urbach energy also increase from 0.153 to 0.367, 0.412, 0.575, and 0.459 eV for FeO doped by 0, 1, 3, 5, and 7 wt% Zn, respectively. The refractive index increases slightly with an increase in wavelength and takes the value between 1 and 1.2 for all nanocomposites. Hence, from the produced results, the introduction of magnetic Fe2O3 and a wide band gap ZnO in PS-PEG modifies the structural, optical, and magnetic properties of these nanocomposites and will be useful candidates for various optoelectronic and storage applications.