Low field magneto-tuneable photodetection in Dy3+ doped Co-Zn ferrite based heterojunctions Authors: Manoj Kumar Rout, Sunita Keshri Published: 2026 ABSTRACT AbstractThis study presents the fabrication and magnetically tunable photoresponse behavior of p⁺-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO trilayer heterostructures prepared by radio frequency magnetron sputtering. The structural, morphological, optical, and magnetic characteristics of Co0.7Zn0.3Fe2O4 (CZFO) and Dy3+ doped Co0.7Zn0.3Fe2O4 (CZFDO) spinel ferrite thin films were studied thoroughly. Photoresponse characteristics of the fabricated trilayer devices under broadband illumination (39.6 , 300–1100 ) demonstrate that the CZFDO based photodetector exhibits nearly threefold higher photocurrent density ( J), faster rise () and decay times (), and greater responsivity and specific detectivity () compared to the CZFO based device at + 5 bias. The application of an external magnetic field (0 to 3000 ) further enhances the photocurrent by promoting spin aligned carrier transport and reducing recombination losses, confirming magneto-photoelectric coupling. The values of R, , , also change significantly with the application of a magnetic field for both devices. The best obtained values of rise and fall times are 40 and for the CZFDO based device at + 5 bias and 3000 Oe field. Interestingly, both devices retain partial photocurrent even after removing the field. These heterostructure devices with high photocurrent to dark current ratios and fast switching action can play the role of magnetically tunable broadband photodetectors, suitable for potential applications in magneto-optoelectronic sensors and spintronic devices.Subject terms: Materials science, Nanoscience and technology, Optics and photonics, Physics Introduction Photodiodes and photodetectors are optoelectronic devices which convert incident light of different wavelengths to electrical signals through the phenomenon of photoelectric effect1. They play a vital role in various modern technologies, such as optical and space communication2,3, imaging4, environmental monitoring5, wearable electronics6,and medical instrumentation7. Performance and applicability of photodetectors depend upon their spectral responsivity, response speed, photosensitivity, and operational stability. Photodetectors are generally classified as broadband and narrowband types depending upon the spectral bandwidth of the respective photoactive materials. Conventional semiconductor based photodetectors, such as , , and show high detectivity, but are usually limited by their narrow spectral response, complexities of fabrication, and comparatively expensive production costs8,9. These issues caused an increase in interest on oxide and ferrite based heterostructures that offer tunable optoelectronic functionality, low dark current, and broadband photoresponse. Among oxide semiconductors, spinel ferrites with the general formula of MFe2O4(M = Co, Zn, Ni, etc.) have received great interest due to their unique combination of magnetic, optical, and electrical properties. These materials are used for applications in magnetoelectric coupling, resistive switching, sensors, microwave devices, and photoelectrochemical water splitting10–12. In particular, Co-Zn ferrite has drawn great attention for its simple synthesis, low cost, chemical stability, high magnetization and good optical absorption10,13. It shows a mixed spinel structure; thus, the distribution of cations between tetrahedral and octahedral sites greatly influences its optical, electrical and magnetic properties. This sensitivity allows fine tuning of the optical and magnetic properties of this material, by properly chosen doping or cation substitution, resulting in the possibility to tune band structure, carrier concentration and magnetic anisotropy to meet the demands of particular optoelectronic or magneto-optical applications. Incorporation of rare earth ions (RE3+) into ferrite lattices is an effective way of improving optical and magnetic properties due to their large magnetic moments and strong 3d-4fexchange interactions13. Doping with Dy3+ions introduces localized electronic states in the band gap and alters the cation distribution, leading to band gap narrowing and increased photocarrier generation14,15. Due to their high magnetic moment and strong spin–orbit coupling, Dy3+ ions cause lattice strain and facilitate redistribution of Co2+, Zn2+, and Fe3+ ions between the and sites, leading to improved magnetization16. As a result, Dy3+ doped Co–Zn ferrite would be expected to act as a good photoactive layer for broadband photodetection with magnetic tunability. Incorporation of such rare earth ions adds new degrees of freedom for optimizing photodetector performance and magneto-optoelectronic behavior. With the rapid development of multifunctional technologies, there is an increasing demand for materials that integrate magnetic, optical, and electrical coupling in a single system. Understanding the relationship between these properties is vital for the design of high performance sensors and multifunctional optoelectronic devices. The performance of these devices can be enhanced by the application of an external magnetic field, which can suppress the recombination of photoexcited carriers and help to improve charge separation through spin polarization17–19. In this regard, magnetic field assisted modulation has emerged as a viable, contactless, and energy efficient method to enhance optoelectronic performance. Previous studies have demonstrated such magneto-tuneable photo responses. For example, Sheng et al.20 reported approximately enhancement in photocurrent in case of La0.7Sr0.3MnO3 film developed on SrTiO3 under a 6 magnetic field. Pan et al.21 achieved magnetic field control of photocurrent in CoFe2O4/PbZrTiO3 composites through magnetoelectric coupling. However, for practical applications, significant modulation under relatively low magnetic fields is more desirable. Conventional non-magnetic semiconductors are relatively insensitive to weak magnetic fields, whereas ferrimagnetic semiconductors such as spinel ferrites provide a favourable platform for investigating low field magnetic effects on charge transport and photoresponse. Several ferrite based heterojunction photodiodes have been reported in recent years, including NiFe2O4:PANI composite paper-based devices22, p-Si/NiFe2O411, p-ZnCo2O4/n-Si23, and Au/(CoFe2O4-PVP)/n-Si24. These studies have revealed the potential of ferrite materials in optoelectronic applications; however, most are limited to narrow spectral response or lack magnetic control. Developing a ferrite based trilayer heterostructure that operates under broadband illumination and offers magnetic tunability could open new pathways for multifunctional photodetectors. Despite numerous reports on ferrite thin films, systematic studies on ferrite based thin film heterostructure devices and their magnetic field dependent photoresponse remain scarce. Integrating ferrite layers with semiconductor junctions provides an effective means of coupling photon driven and spin dependent transport processes, leading to magnetically controllable photoresponse. In this context, the present work investigates p⁺-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO trilayer heterostructures fabricated by RF magnetron sputtering. The p⁺-Si substrate serves as a low resistivity, photoconductive base with response extending to ~ 1100 nm, while the ferrite layer acts as the primary photo absorber. The top aluminium doped zinc oxide (AZO) layer functions as a conductive electrode, enhancing optical transparency, electrical conductivity, and carrier collection25. AZO is a cost-effective, non-toxic, and stable transparent oxide widely used in optoelectronic and photovoltaic devices25,26. In such trilayer architectures, multiple junction barriers promote charge separation and suppress dark current, thereby improving photosensitivity and responsivity. This thus creates a versatile platform for efficient carrier transport as well as magnetically modulated photoresponse across the broadband spectrum by combining ferrite with AZO and Si substrates. Furthermore, the inherent magnetism of the ferrite layer provides the possibility to externally control carrier dynamics through spin dependent scattering and magneto-transport effects, offering an additional degree of freedom for performance control. Despite extensive research into ferrite materials, there are a few reports on CZFO based photodetectors and to date Dy³⁺ doped CZFO thin film heterostructures have not been investigated for broadband photodetection, which is magnetically tunable. To address this issue, this work systematically investigates the photoresponse characteristics of CZFO and CZFDO devices under broadband illumination in the range of 300 -1100 nm and varying magnetic fields to elucidate the underlying mechanisms of magneto-photoelectric coupling. Experimental Target preparation & device fabrication Sputtering targets of Co0.7Zn0.3Fe2O4 (CZFO) and Co0.7Zn0.3Dy0.02Fe2O4(CZFDO) were prepared individually using the sol gel auto combustion method for subsequent thin film depositions. The complete synthesis procedure for CZFO and CZFDO nanoparticles has been detailed in our previous study13,16. Following synthesis, the resulting nanoparticles in powder form were compressed into rectangular targets with dimensions of 6 inches (length) × 1 inch (breadth) × 5 (thickness) and subjected to heat treatment at for 4 . Thin films of CZFO and CZFDO were deposited at room temperature onto boron doped p+-type <100> silicon substrates using radio frequency (RF) magnetron sputtering. The substrates had a thickness of and a resistivity ranging from 1 to . Before each deposition cycle, the sputtering chamber was pumped down to a base pressure of . Sputtering was carried out in an argon environment with a target to substrate distance of 2.2 , an RF power of 150 , and a deposition duration of 2 . The working pressure during deposition was maintained at with an argon flow rate of 30 . To fabricate the photodetector devices, an aluminium doped zinc oxide (AZO) layer was deposited on top of the CZFO and CZFDO films on 1 cm2 p⁺-Si substrates, forming a trilayer heterostructure of p⁺-Si/CZFO or CZFDO/AZO. The AZO films were deposited under the same RF sputtering parameters as the ferrite layers, but with a reduced deposition time of 45 minutes. The AZO layer served as a transparent conducting electrode, allowing incident light to pass through and be absorbed by the underlying ferrite layers. This trilayer configuration was selected to improve device photo response, sensitivity, specific detectivity, and to effectively minimize dark current contributions. The film thicknesses were approximately nm for the ferrite layers and nm for the AZO layers. Characterizations Crystalline phase identification of the CZFO and CZFDO thin films was performed using an X-ray diffractometer (Rigaku Smart Lab, 9kW) over the range of , with a step size of and the scanning rate of per min. The surface morphology and cross-sectional view of the fabricated trilayer devices were investigated using field emission scanning electron microscopy (FESEM, Sigma 300). Optical properties of the CZFO and CZFDO films were evaluated through UV-visible spectrophotometry (Shimadzu UV-2600I). Room temperature magnetic measurements, magnetization ( M) versus applied magnetic field ( H), were carried out using a Lake Shore Cryotronics (USA) 7400 series instrument. For the photoconductivity and device performance measurements, a semiconductor characterization system (SCS parameter analyzer ) integrated with a Keithley source measurement unit (SMU) was used. The setup employed a xenon lamp (Newport model 67005) with adjustable power ranging from to 500 W, calibrated to . Current–voltage ( I-V) measurements were performed under both dark and illuminated conditions at varying light intensities, across a voltage sweep from -5 V to V. An electromagnet coupled with a power supply was employed to apply the magnetic field, and the corresponding field strength was measured using a digital Gauss meter (Omega DGM-020). A schematic representation of the p⁺-Si/CZFO or CZFDO/AZO trilayer device structure is shown in Fig. 1. Data processing, curve fitting, and graphical plotting were performed using OriginPro 2021 [9.8.0.200, OriginLab Corporation; https://www.originlab.com]. Schematic representation of the p⁺-Si/CZFO or CZFDO/AZO trilayer photodetector device. [The schematic was prepared using Microsoft PowerPoint 2021, Version 2605; https://www.microsoft.com]. Results and discussion Structural & Morphological analysis The structural characteristics and phase purity of the CZFO and CZFDO thin films were examined using grazing incidence X-ray diffraction (GI-XRD). Figure 2a presents the GI-XRD patterns recorded over the range of 20–70°. The diffraction patterns clearly indicate the formation of single phase cubic spinel ferrite structures with the space group of , consistent with our previously reported bulk CZFO and CZFDO nanoparticles13. The characteristic diffraction peaks corresponding to the , , , , and crystallographic planes were observed at their expected positions, matching well with the standard ICDD Ref. no 01–078−4452. The absence of any secondary phases or impurity peaks confirms the single-phase nature and high crystalline quality of both thin films. (a) GI X-ray diffraction patterns, (b) peaks shifting of CZFO and CZFDO thin films. [The graphs were prepared using OriginPro 2021 (Version 9.8.0.200); https://www.originlab.com]. The inset in Fig. 2a shows the XRD patterns of bulk CZFO and CZFDO nanoparticles for comparison. A notable observation is the significant peak broadening in the thin films compared to their bulk counterparts, which is characteristic of reduced crystallite sizes of thin film deposition processes27. This broadening is most evident for the intense peak, highlighting microstructural differences between the bulk and thin film samples. A magnified view of the peak, shown in Fig. 2b, reveals a slight shift toward higher values upon Dy³⁺ incorporation, confirming a reduction in the lattice constant for CZFDO relative to CZFO. This observation aligns well with our earlier bulk sample studies, where Dy3+doping induced systematic structural modification16. The use of GI-XRD effectively minimizes substrate contribution, as evidenced by the absence of silicon peaks in the measured range28. This confirms that the observed diffraction signal primarily originates from the ferrite thin film layer, providing accurate structural information without substrate interference. The FESEM analysis was used to study the surface morphology of CZFO and CZFDO films, as well as the cross-sectional structure of the trilayer heterostructure devices. The surface morphologies of CZFO and CZFDO films are shown in Fig. 3(a-b). Both films exhibit polycrystalline features with densely packed grains. Grain sizes were determined using ImageJ software, and the results were further analysed using histograms and log-normal fitting to calculate the average grain size29. The CZFO film shows relatively larger grains, with an average grain size of , whereas the CZFDO film presents comparatively smaller distributed grains, averaging . The reduction in grain size for CZFDO is attributed to Dy3+incorporation, which induces lattice strain, as reported in our previous work on bulk CZFDO samples13. Smaller grains reduce grain boundary defects and trap states, thereby facilitating more efficient charge transport across the ferrite layer interfaces. Additionally, smaller grains in thin films often enhance photoresponse, as demonstrated by Villegas et al.30 for ZnO photodetectors. (a-b) FESEM images of CZFO and CZFDO films, and (c-d) cross-sectional FESEM images of p⁺-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO trilayer heterojunction. The cross-sectional FESEM images [Figure 3(c-d)] confirm the successful deposition of the trilayer stacks with well-defined interfaces. In the p⁺-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO devices, the ferrite layers have thicknesses of and , while the AZO layers are and , respectively. The uniform layer thicknesses and sharp interfaces indicate precise control over the deposition process and minimal interdiffusion between layers. Overall, FESEM analysis confirms the high-quality growth of the trilayer heterostructures, highlighting smooth interfaces, controlled thicknesses, and microstructural improvements in Dy3+ doped ferrite films, which contribute to their enhanced photoelectronic performance (discussed in Sect. 3.3). Optical & Magnetic properties The optical properties of CZFO and CZFDO thin films were examined using UV-visible spectroscopy over the wavelength range of 300-1100 , as shown in Fig. 4a. Both samples exhibit strong absorption in the ultraviolet and visible regions, with a gradual decrease towards the near infrared range, showing favourable optical properties for photodetector applications across a broad spectral range. The CZFDO exhibits consistently higher absorbance than CZFO, indicating that Dy3+incorporation enhances light matter interaction. The absorbance behavior of these ferrite thin films is generally influenced by factors such as grain size, surface roughness, cation distribution, lattice strain, and band gap characteristics3132.,. (a) Optical absorption spectra, (b) vs. ,(c) room temperature magnetic hysteresis loops, and (d) enlarged hysteresis loops of CZFO and CZFDO films. [The graphs were prepared using OriginPro 2021 (Version 9.8.0.200); https://www.originlab.com]. The optical band gap values were evaluated from the Tauc plot of vs. for direct allowed transitions, as shown in Fig. 4b, using the relation31: where, Here, , h, , and represents the absorption coefficient, Planck’s constant, photon frequency, and optical band gap, respectively. The parameter A is a constant, whereas n indicates the transition type, with n = 1/2 corresponding to direct and n = 2 to indirect transitions. The terms Abs and t correspond to the measured absorbance and thin film thickness, respectively. Linear extrapolation of the absorption edge to the energy axis [where = 0] yields direct band gap values of 2.25 eV for CZFDO and 2.60 eV for CZFO. This represents a significant 0.35 eV reduction (~ 13.5% decrease) in the band gap upon Dy3+ incorporation. These band gap values correspond to wavelength thresholds of ~ 551 nm for CZFDO and ~ 477 nm for CZFO, both falling within the visible light spectrum. The incorporation of Dy3+ ions into the cobalt zinc ferrite lattice results in a red shift of the absorption edge, extending the optical response toward lower energy (longer wavelength) photons and resulting in the observed band gap narrowing. The Dy3+ ions introduce orbitals into the CZFO spinel lattice, altering the cation distribution and creating intermediate energy states within the band gap1415., These localized states act as transition pathways, effectively reducing the band gap and shifting the light absorption edge toward longer wavelengths141533.,, Furthermore, the optical band gap of these spinel ferrites is strongly dependent on the occupancy of Co2+ ions at octahedral and tetrahedral sites, where the shifting of Co2+from octahedral to tetrahedral positions reduces the band gap34. In the present investigation, dysprosium doping is expected to generate lattice strain that facilitates the redistribution of Co2+ ions from octahedral to tetrahedral sites, resulting in band gap reduction. Our earlier XRD and Raman studies support this observation, showing that Dy3+ incorporation increases the number of Co2+ions at tetrahedral sites of CZFDO as compared to CZFO13.. Magnetic measurements of CZFO and CZFDO thin films were carried out at room temperature using a vibrating sample magnetometer under an applied field of ± 15 , as shown in Fig. 4c. The recorded magnetic moments were normalized to the film volume to obtain the magnetization values. The extracted magnetic parameters such as saturation magnetization , coercivity , remanent magnetization (), squareness ratio (), and net magnetic moment () are listed in Table 1 and clearly demonstrate significant improvements after Dy3+incorporation. These magnetic parameters are governed by multiple factors, including cation distribution between tetrahedral and octahedral sites and the strength of super-exchange interactions35. Among the possible interactions ,, and , the super exchange is dominant and plays the most critical role in determining the overall magnetization. As the magnetic moments at the and sites are antiparallel, the net magnetic moment of spinel ferrites is defined by their difference ( – ).16,35 Compared to CZFO, the CZFDO thin film shows a substantial increase in from 139.2 to 204.6 emu/cm3, along with an enhancement in the net magnetic moment from 4.64 to 5.66 . This enhancement is attributed to the preferential occupation of Dy3+ ions at the octahedral B-sites, where their large magnetic moment (10.6 ) strengthens the super exchange interaction16. Furthermore, Dy3+ incorporation induces lattice strain at octahedral sites that promotes cation redistribution, thereby increasing – and leading to higher values131635.,, The enlarged low field region shown in Fig. 4d reveals increases in both and with Dy3+ substitution. The coercivity rises from 0.43 in CZFO to 1.15 in CZFDO, which can be attributed to reduced crystallite size and enhanced anisotropy energy36. As the crystallite size decreases, the films approach single domain behavior, where magnetization occurs via domain rotation rather than domain wall motion, requiring greater field strength and resulting in higher .37 Similarly, improves significantly from 17.1 to 37.3 emu/cm3 in CZFO and CZFDO, respectively. The squareness ratio (), a critical parameter for magnetic memory applications, improves from 0.12 to 0.18. Although both values remain below 0.5, indicating a multi domain structure1635.,. In summary, Dy3+ doping not only reduces the optical band gap, as discussed earlier, but also enhances the magnetic response by increasing , , , . This simultaneous improvement in optical and magnetic properties highlights the multifunctional behaviors of CZFDO thin films. Table 1Optical band gap (), saturation magnetization , coercivity , remanent magnetization (), squareness ratio (), and net magnetic moment () of the thin films.Sample (eV) (emu/cm3) (kOe) (emu/cm3))Mnet (CZFO2.60139.20.4317.10.124.64CZFDO2.25204.61.1537.30.185.66 Optical band gap (), saturation magnetization , coercivity , remanent magnetization (), squareness ratio (), and net magnetic moment () of the thin films. Photoresponse characteristics of devices The current density–voltage (J-V) characteristics of the p+-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO heterojunction photodetectors were investigated under dark conditions and varying illumination power intensities from 3.3 to 39.6 , within a bias range of to [Figure 5(a–b)]. Both devices exhibit nonlinear and asymmetric J-Vbehavior, confirming the presence of heterojunction barriers at the AZO/CZFO (or CZFDO) and CZFO (or CZFDO)/p⁺-Si interfaces. Such characteristics are typical for heterojunction photodiodes involving multiple interface barriers38. The observed nonlinearity can be attributed to several interconnected physical mechanisms, including Schottky like barrier formation, space charge limited conduction, interface trap states, oxygen vacancies, and barrier height inhomogeneities38. Under dark conditions, both devices demonstrate negligible current density, suggesting the formation of high quality heterojunctions at the interfaces with suppressed leakage. Low dark current is particularly beneficial for achieving high specific detectivity in photodetector applications39. As seen in Fig. 5(a–b), the photocurrent density increases steadily with light intensity, due to enhanced photon absorption by the trilayer structure and the subsequent increase in carrier generation17. Upon light irradiation, both CZFO and CZFDO layers absorb photons with energies above their respective band gaps (2.60 and 2.25 ), producing electron–hole pairs. These photoexcited carriers are driven toward the electrodes, contributing to the measured photocurrent. Furthermore, higher illumination intensities and applied bias facilitate faster charge carrier transport toward the electrodes while simultaneously reducing electron-hole recombination probability38,39.–40. (a-b) J-V characteristics under dark and different illumination power intensities, (c-d) time dependent photoresponse, (e-f) rise time, and (g-h) fall time of the heterojunction photodetectors. [The graphs were prepared using OriginPro 2021 (Version 9.8.0.200); https://www.originlab.com]. The p⁺-Si/CZFO/AZO device exhibits a photocurrent density of at under illumination, whereas the p⁺-Si/CZFDO/AZO device achieves nearly a three-fold enhanced photocurrent density of under the same condition. This enhancement can be attributed to the band gap narrowing of the CZFDO film, as confirmed by UV–Vis analysis (Sect. 3.2). Incorporation of ions introduce orbitals into the CZFO spinel lattice, altering the cation distribution and creating intermediate energy states within the band gap. These localized states act as transition pathways, effectively reducing the band gap and shifting the light absorption edge toward longer wavelengths141533.,, This bandgap narrowing enables enhanced photon absorption and increased photogenerated carrier density under the same illumination intensity. Similar effects of band gap reduction with rare earth doping have also been reported for doped zinc ferrites by Nguyen et al.41Our earlier study demonstrated that CZFDO has a lower activation energy than CZFO, which further contributes to the enhanced current density13. Additionally, lattice strain induced by substitution lowers interface trap density and defect concentrations at heterojunction boundaries42. Such reduction in trap states minimizes the recombination losses and facilitates efficient carrier transport. The temporal response characteristics of these photodetectors were evaluated to assess their ability to track rapidly changing optical signals, which is an important factor for commercial photodetectors. Figure 5(c–d) presents the time dependent current density ( J-t) characteristics under periodic on/off switching at maximum illumination intensity () with bias over a 190 s measurement period. The light illumination is turned on/off at a 5 s interval using a shutter. Both devices demonstrate excellent operational stability through multiple switching cycles, with consistent and reproducible photocurrent levels and sharp switching between illuminated and dark states, indicating good switching performance. The rise ( and fall times () of both devices are shown in Fig. 5(e–h). Rise time represents the duration required for the current density to increase from to of peak value, while the fall time corresponds to the decay from to of peak current density38. The measured rise/fall times are for the CZFO device and for the CZFDO device. The CZFDO device demonstrates faster rise time and faster fall time compared to the CZFO device, representing a substantial improvement in response speed. This significant enhancement in both rise and fall characteristics highlights the beneficial role of doping in modulating the electronic properties of the ferrite layer. The combination of strong illumination dependence, high photocurrent to dark current ratios, and rapid switching capabilities makes these devices attractive for optical communication, imaging, and sensing applications. Photosensitivity, defined as the ratio of photocurrent () to dark current () is a crucial parameter directly related to the signal to noise ratio. This parameter is calculated using the following relation43: where value of the current measured in illuminating conditions. The maximum photosensitivity values are for CZFO and for CZFDO devices, respectively, measured at and bias. The photodetector performance was further characterized through responsivity ( R) and specific detectivity () parameters. Responsivity quantifies the photocurrent generated per unit incident optical power and is calculated as follows38,43: where P represents the incident light power intensity and S is the effective illuminated area. At , responsivities of 0.17 and were obtained for CZFO and CZFDO devices, respectively. Specific detectivity represents the photodetector’s ability to detect weak optical signals and is calculated using38: where e is the elementary charge. The maximum values are and Jones for CZFO and CZFDO devices, respectively. The comprehensive performance parameters, including photosensitivity, responsivity, rise/fall times, and specific detectivity, are listed in Table 2. Overall, the results clearly indicate that doped photodetectors exhibit superior performance compared to the undoped devices. The photoresponse characteristics of various ferrite based photodetector devices are summarized in Table 2. Table 2Comparison of performance parameters of CZFO and CZFDO based photodetectors with different reported metal oxide photodetectors.DevicesLight source wavelength(nm)Intensity ()Bias Ref. p + -Si/CZFO/AZO 300 -110039.6+ 5 6.13 0.17 105106 This work p + -Si/CZFDO/AZO 15.6 0.48 6063 p + -Si/CZFO/AZO (With magnetic field) 103.62.80657249.5 p + -Si/CZFDO/AZO (With magnetic field) 106.83.30405253.1 p + -Si/Co 2.59 W 0.41 O 4 /ITO 5322 -4 - 5.4310381.0480.67 - 44 n-Si/ZnCo 2 O 4 /Al (5% Zn 2+ ) 3651.45 0 9.780.026 - - 7.5108 23 ITO/ZnFe 2 O 4 /In 532103.810.011 - 60100 - 45 ITO/BFO/Ag 450650 - 110−55008001107 46 InGa/Ni 0.6 Mg 0.4 Fe 2 O 4 /Cu/Zn 375 - -1 - 246008006.271014 47 p-Si/NiFe2O4/Au (800 0C)900 - 0 - 12.310389185 - 11 p + -Si/Co-ZnFe 2 O 4 /ITO 6301.79 -51.814.510310.69.9 - 43 Mg 0.6 Cu 0.4 FeCrO 4 /Cu/Zn 375690 - 0.5357011705.72 × 10 48 ITO/BiFeO 3 /Ag 365271.40 - 0.610,80060011012 49 NiFe2O4:PANI/AgVis505 - 0.3231003700 - 22 FTO/BiCrFeO 3 /NiO/Ag Vis10001.64910−30.230.386.74106 50 FTO/BiFeO 3 /Carbon Vis1000 - 2.810−3400040004107 51 Comparison of performance parameters of CZFO and CZFDO based photodetectors with different reported metal oxide photodetectors. p + -Si/CZFO/AZO (With magnetic field) p + -Si/CZFDO/AZO (With magnetic field) Magnetically tuned photoresponse characteristics of devices The ability to modulate photoresponse through external magnetic fields provides an additional degree of freedom for device optimization and functionality enhancement, making devices attractive for next generation magneto-optoelectronic applications193452.,, To investigate the magnetic field tuning capabilities, the current density-voltage characteristics and photoresponse of both p⁺-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO photodetectors were systematically evaluated under an applied magnetic field ranging from 0 to . During magnetic field-dependent measurements, the external magnetic field was applied parallel to the plane of the thin film, while the current flows perpendicular to the film plane of the trilayer structure, resulting in a perpendicular (transverse) configuration. In this configuration, the applied magnetic field primarily influences carrier transport through spin-dependent scattering and spin alignment effects. A schematic of the experimental setup is shown in Fig. 6. Figure 7(a-b) presents the J-V characteristics of both devices measured at illumination intensity and within a bias range of to . Both photodetectors exhibit a significant and progressive enhancement in photocurrent density with increasing magnetic field strength, demonstrating magneto-photoelectric coupling effects1720., For the CZFO device, the photocurrent density increases from an initial at to at under a bias, corresponding to a 16.75-fold enhancement relative to the zero field condition. The CZFDO device shows an even stronger magnetic field response, with photocurrent rising from at to approximately at , corresponding to a 6.5-fold enhancement. This magnetic field induced enhancement is substantially greater than the 3-fold improvement achieved through doping alone, indicating that magnetic field application provides an additional and highly effective mechanism for performance optimization. The systematic photocurrent enhancement with a magnetic field can be attributed to several interconnected magneto-transport mechanisms operating within the ferrite layers. In general, ferrite materials exhibit negative magnetoresistance, which causes a decrease in electrical resistance under an applied field, thereby improving charge transport17. Magnetic fields induce spin alignment, alter the electronic band structure in the ferrite layers through magneto-electronic coupling, which also causes the changes in photoresponse172152.,, In the absence of an external magnetic field, the magnetic moments of CZFO and CZFDO are randomized, creating a disordered spin state. Charge carriers traversing this environment undergo frequent spin disorder scattering, reducing their mean free path, suppressing mobility, and diminishing photocurrent. When a magnetic field is applied, these magnetic moments align along the field, creating an ordered spin environment. Charge carriers with parallel spin orientation experience fewer scattering events due to favourable exchange interactions, which increases their mean free path and enhances carrier transport toward the electrodes. Conversely, antiparallel spins are still strongly scattered. This spin selective transport across heterojunction interfaces results in greater net charge carrier collection and enhanced photocurrent. In addition, external magnetic fields affect the spin-orbit coupling and the magnetic domain structure within the ferrite layers, resulting in reduced recombination losses and improved carrier transport21. Magnetically induced changes to the depletion region width and barrier height at the heterojunction also facilitate charge separation and collection52. Prathipkumar et al.17 observed magnetic field enhanced photocurrent in composites, attributing the effect to negative tunnelling magnetoresistance. Similarly, Pavlov et al.53 reported that applying a magnetic field to heterostructures reduce electron–hole recombination and decrease the barrier height, which in turn enhances the current. Singh et al.34 demonstrated that band gap narrowing in CoFe2O4 nanostructures could be magnetically tuned with field strength. The temporal photoresponse characteristics under different magnetic field strengths are illustrated in Fig. 7(c-d) by on/off the light in 5 s intervals under the same conditions as the zero field measurements. Both devices maintained excellent switching stability and reproducibility across all field strengths. Figure 7(e–f) details the response kinetics (rise and fall times) under a 3000 field. Interestingly, magnetic field application not only increases photocurrent amplitude but also accelerates response kinetics relative to zero field conditions. At 3000 and bias, the CZFO device shows rise/fall time of 65/72 (representing and improvement), and the CZFDO device achieved ( and faster, respectively). These improvements are attributed to enhanced carrier mobility, suppression of spin dependent scattering, and reduced trapping effects in the presence of an applied magnetic field, as discussed earlier. The photosensitivity, responsivity, and detectivity were found to increase under the applied magnetic field, and the corresponding values are summarized in Table 2. The CZFDO device exhibits superior photocurrent performance and faster switching speeds both in the absence and presence of an external magnetic field as compared to the CZFO device, highlighting the beneficial effects of doping. Enhancement of photocurrent and switching characteristics can be achieved synergistically through doping combined with magnetic field application. ions preferentially occupy octahedral sites in the spinel lattice, altering the cation distribution and narrowing the optical bandgap, as confirmed by UV–Vis analysis. In our earlier study16, we reported that ions, with their large magnetic moment of 10.6 , enhance the net magnetic moment in CZFDO relative to CZFO, leading to improved magnetic properties, as evidenced by VSM analysis results. These enhanced magnetic and optical characteristics strengthen magneto-photoelectric coupling within the device, which accounts for the consistently superior photoresponse of CZFDO based photodetectors under both zero field and applied magnetic field conditions. Schematic of the experimental setup to record the photoresponse characteristics of devices under an applied magnetic field. The magnetic field is applied parallel to the film plane, while the current flows perpendicular to the film plane. [The schematic was prepared using Microsoft PowerPoint 2021, (Version 2605); https://www.microsoft.com]. (a-b) J-V characteristics, and (c-d) temporal photoresponse under different magnetic strengths for both devices. (e-f) Rise and fall times under a 3000 Oe applied field, (g-h) magnetic field modulated photoresponse, and (i-j) rise and fall times with magnetic field on/off cycles for CZFO and CZFDO based devices. [The graphs were prepared using OriginPro 2021 (Version 9.8.0.200); https://www.originlab.com]. Figure 7(g–h) displays the magnetic field modulated photoresponse under steady illumination and a bias, with a field switched ON and OFF in every . Both devices show step like increases in photocurrent upon field application. Unlike the optical ON/OFF cycles under a constant magnetic field, where the photocurrent rapidly reaches its maximum value, here the rise is more gradual, and the current does not immediately attain the peak level. Similarly, when the field is removed, the photocurrent does not fully return to the baseline. This behavior is attributed to magnetic relaxation and domain wall pinning in the ferrite layers, which delay spin reconfiguration after field modulation. The stepwise photocurrent increase resembles magnetic hysteresis (M-H)loops, where remanence reflects memory of prior states; similarly, these devices show partial photocurrent retention (memory like effects) after field removal4754., The effect is more pronounced in the doped device, consistent with its higher coercivity and remanence (Sect. 3.2). This memory like effect highlights the potential of these devices for non volatile optoelectronic memory applications, where device states can be programmed and retained using external magnetic fields. The dynamic response under magnetic field modulation is shown in Fig. 7(i–j). For the CZFO device, the rise and fall times are and , respectively, slower than the purely optical response due to the additional timescales required for spin reordering in the ferrite layers. The CZFDO device responds to faster rise and fall times of and , respectively, reflecting the role of in reducing spin disorder scattering and enhancing magnetic anisotropy. In summary, the applied magnetic field enhances photocurrent, speeds up response, and, with stable switching, shows the potential of these devices as next generation multifunctional photodetectors with magnetic sensing and adaptive optical communication. Additionally, the partial current retention behavior in the field off state makes these devices suitable for non-volatile, magnetically controlled optoelectronic memory and spintronics applications. Energy band diagram analysis The energy band diagrams of the p⁺-Si/CZFO (or CZFDO)/AZO heterostructures under different conditions are illustrated in Fig. 8. At equilibrium [Figure 8(a)], the band gaps of the individual layers are taken as 1.12 eV (p⁺-Si),112.60 eV (CZFO), 2.25 eV (CZFDO), and 3.55 eV (AZO)55. From the literature, the reported electron affinities are ≈ 4.05 eV for p⁺-Si11, ≈ 4.60 eV for AZO25, and ≈ 3.72 eV for Co–Zn ferrites43,while the corresponding work function values are ~ 4.80, ~ 4.98, and ~ 3.86 eV, respectively1125264355.,,,, The AZO and ferrites act as n-type semiconductors252643.,, These device configurations form a type-II heterostructure, with a p–n junction at the p⁺-Si/ferrite interface and an n–n junction at the ferrite/AZO interface. At equilibrium, the p⁺-Si/ferrite junction develops a depletion region accompanied by band bending, which forms a potential barrier that suppresses carrier flow in the dark, consistent with the very low measured dark current. At the ferrite/AZO interface, although both are n-type, a conduction band offset arises due to differences in electron affinity and Fermi level alignment43. The top layer AZO with a wider bandgap (3.55 eV) maintains high optical transparency and facilitates maximum photon penetration to the photoactive ferrite layer25.. Energy band diagram of the fabricated CZFO and CZFDO based photodetector device (a) at thermal equilibrium with dark condition, (b) under reverse bias with illumination, and (c) under forward bias with illumination. [The graphs were prepared using OriginPro 2021 (Version 9.8.0.200); https://www.originlab.com]. In energy band diagrams, electrons naturally migrate toward lower energy states within the conduction band (appearing as downward movement), while holes, being the absence of electrons, move toward higher energy positions in the valence band (appearing as upward movement)43. Under reverse bias (positive bias on AZO with respect to p⁺-Si), the Fermi level of the p⁺-Si is shifted upward relative to the n-type ferrite and AZO semiconductors, as shown in Fig. 8(b)56.The applied electric field points toward the p⁺-Si side, driving electrons to the left. The depletion region at the p⁺-Si/ferrite junction widens, and the barrier height in Si increases in reverse bias conditions. Illumination under this condition provides a large depletion volume for photon absorption, producing more electron–hole pairs. This elevated carrier density also lowers the effective junction barriers of the p⁺-Si/ferrite interface. Under these favourable conditions, where the depletion region enhances carrier separation and electrons naturally move to lower energy states in the conduction band, the photogenerated electrons rapidly drift toward the AZO electrode, while the holes migrate into the p⁺-Si substrate4345., The rapid drift reduces recombination losses, resulting in a stable and strong photocurrent, as confirmed experimentally under reverse bias. Under forward bias (positive bias on p⁺-Si relative to AZO) [Figure 8(c)], the AZO energy levels shift upward, and the applied electric field now points toward AZO, drives electrons to the right56. In this configuration, the built in potential at the Si/ferrite junction is reduced, narrowing the depletion width and lowering the barrier heights. Illumination in this state produces photocarriers in a much smaller active volume, and the weaker internal electric field reduces separation efficiency. Consequently, recombination becomes more prominent, leading to more nonlinear and less stable photocurrent compared to reverse bias. Application of an external magnetic field (0–3000 G) further modulates carrier transport by altering the spin and charge dynamics within the ferrite layer. Magnetic moment alignment reduces spin disorder scattering, lowering interfacial transport barriers and improving carrier mobility via ordered spin states at the junctions. At the same time, spin dependent transport suppresses recombination, thereby enhancing photocurrent stability. In CZFDO device, these effects are more pronounced because ions enhance the net magnetic moment, leading to stronger spin alignment and reduced scattering. In addition, the CZFDO device absorbs a broader spectral range due to its narrower band gap (2.25 eV), increasing photogeneration and raising the quasi Fermi level splitting52. Together, these effects account for the superior photoresponse and stronger magnetic field sensitivity observed in CZFDO based devices. Altogether, the trilayer heterostructure benefits from favourable band alignment, efficient carrier separation under reverse bias, and magnetically assisted transport. The ferrite intermediate layer simultaneously functions as an absorber and a selective transport medium, where magnetic properties tune carrier mobility through spin dependent scattering. These combined effects highlight the potential of CZFO and especially CZFDO heterostructures as next generation magnetically tunable broadband photodetectors. Conclusions Trilayer heterostructures of p⁺-Si/CZFO/AZO and p⁺-Si/CZFDO/AZO were successfully fabricated through RF magnetron sputtering and systematically investigated for photodetection and magnetic field tunable photoresponse. Structural, morphological, optical, and magnetic characteristics of the CZFO and CZFDO thin films were thoroughly studied. Under broadband illumination (39.6 , 300–1100 ) and bias, both fabricated trilayer devices displayed nonlinear rectifying behaviour with low dark current. The CZFDO based device produced much higher photosensitivity, responsivity, and detectivity and faster temporal response than CZFO device. Band diagram analysis confirmed a type-II heterostructure that widens the depletion region under reverse bias, promoting efficient separation of photogenerated carriers. The application of an external magnetic field further enhances the photocurrent, responsivity, specific detectivity, and response speed of the devices through magnetic modulation of carrier transport by suppressing spin-dependent scattering. Interestingly, both devices retained partial photocurrent after field removal. At 3000 , the rise/fall times are 65/72 (representing and improvement), and ( and faster) for CZFO and CZFDO based devices, respectively. The interplay of doping and magnetic field assisted carrier modulation allow precise tuning of photoresponse, establishing the CZFDO based trilayer device as an efficient magnetically controllable broadband photodetector. In both devices, ferrite layers act simultaneously as the main photon absorber and a spin-selective transport medium, yielding wide spectral coverage, rapid response, and low field magnetic control. These capabilities make the heterostructure devices promising for adaptive optical communication, magnetic-field sensors, and magneto-optoelectronic switching. Acknowledgements The authors acknowledge the Central Instrumentation Facility, Birla Institute of Technology (BIT), Mesra, India, for providing the XRD and FESEM data. Authors are also thankful to the Sophisticated Instruments Laboratory (SIL), Department of Chemistry, BIT Mesra, for the UV–Vis spectroscopy measurements. The authors further acknowledge Neha Chakraborty, Sanat Kumar, and Dr. Rishi Sharma for their assistance with various instruments and experimental measurements. Author contributions Manoj Kumar Rout: Investigation, Methodology, Conceptualization, Data fitting, Writing.Sunita Keshri: Supervision, Conceptualization, Investigation, Writing. Data availability The data sets used and/or analysed during the current study are available from the corresponding author upon reasonable request. Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References Associated Data Data Availability Statement The data sets used and/or analysed during the current study are available from the corresponding author upon reasonable request.