banner
News center
Proven experience and advanced applications

Agar

Jul 09, 2023

Scientific Reports volume 13, Article number: 13517 (2023) Cite this article

231 Accesses

Metrics details

Biodegradable optical waveguides are breakthrough technologies to light delivery and sensing in biomedical and environmental applications. Agar emerges as an edible, soft, low-cost, and renewable alternative to traditional biopolymers, presenting remarkable optical and mechanical characteristics. Previous works introduced agar-made optical fibers for chemical measurements based on their inherent response to humidity and surrounding concentration. Therefore, we propose, for the first time, an all-optical, biodegradable electric current sensor. As flowing charges heat the agar matrix and modulate its refractive index, we connect the optical device to a DC voltage source using pin headers and excite the agar sample with coherent light to project spatiotemporally deviating speckle fields. Experiments proceeded with spheres and no-core fibers comprising 2 wt% agar/water. Once the increasing current stimulates the speckles’ motion, we acquire such images with a camera and evaluate their correlation coefficients, yielding exponential decay-like functions whose time constants provide the input amperage. Furthermore, the light granules follow the polarization of the applied voltage drop, providing visual information about the current direction. The results indicate a maximum resolution of \(\sim \)0.4 \(\upmu \)A for electrical stimuli \(\le \) 100 \(\upmu \)A, which fulfills the requirements for bioelectrical signal assessment.

Optical devices manufactured with degradable materials emerge as promising candidates to fulfill the growing demand for biocompatible and green technologies. Implantable waveguides enable light-driven assessment and actuation in healthcare, imaging, drug delivery, and optogenetics1,2,3,4,5, ensuring gradual absorption by the organism after its use. Nowadays, waveguides made of silk fibroin6 and biopolymers like cellulose7, alginate8, citrate9, polycaprolactone10, and poly(d,l-lactic acid)11 are available to replace typical glass and plastic optical fibers by attaining tolerable transmission losses. However, most of these approaches depend on relatively expensive precursors and elaborated fabrication routes.

In this context, agar obtained from red algae arises as an edible and renewable alternative for conceiving optical components and waveguides. Agar contains the polysaccharides agarose and agropectin in its composition, the former instituting its gelling ability. This material exhibits singular features like moldability, flexibility, chemical stability, gelation at low temperatures, and thermoreversibility12,13,14. Besides, the mechanical and optical properties of bulk samples (rigidity, refractive index, transparency, etc.) are tailorable by choosing the chemical composition of the agar solution. Emblematic applications of this gel-like material encompass artificial tissues, bioplastics, and growth media for microorganisms13,14.

Despite its traditional uses in the food industry and biochemical analysis, scarce literature covers optical devices made of agar. For example, Oku et al. developed edible lenses and retroreflectors to create virtual reality setups in aliments15,16. Manocchi et al. created a planar waveguide comprising agar and gelatin layers, anticipating further use as an implantable biochemical monitor17. Jain et al. introduced a rectangular waveguide integrated into a microfluidic system for cell immobilization and imaging purposes, achieving optical losses of \(\le 13\) dB/cm18. Lastly, our group demonstrated a structured optical fiber made of agar comprising a solid core surrounded by air holes. The experiments evaluated optical losses (3.3 dB/cm) and investigated possible applications in chemical sensing19.

Agar is intrinsically responsive to the surrounding medium’s concentration, temperature, humidity, and pH, making it eligible for detecting diverse physical and biochemical parameters. Apart from the usual setups comprising glass optical fibers coated with hydrogel films20,21,22, an agar waveguide may absorb or expel water droplets due to the swelling and syneresis mechanisms23, respectively, producing geometrical changes that disturb the transmitted light19. Furthermore, one may adjust the refractive index of the bulk sample by adding sugar or glycerol to the agar solution, enhancing its sensitivity to liquids flowing outside the fiber or internally through the holey structure19.

Even though most of the available optical sensors focus on chemical measurements, agar also exhibits remarkable electrical properties, as evidenced by electromembranes for phase extraction14, brain tissue phantoms24, impedance-based imaging25 and spectroscopy26. The electrical conductivity typically arises from the mineral contents in the agar powder and water, increasing with the temperature and the quantity of dissolved salts27. Indeed, while the aqueous phase dictates the agar bulk conductivity, adding ionic compounds (like NaCl, NaN\(_{3}\), and KCl dissolved in water) to the mixture may conveniently increase its response to electrical stimuli28,29,30. Nevertheless, despite the several uses for membranes and phantoms, no studies exploiting the agar conductivity for current sensing appeared in the literature until a recent work in which we demonstrated the optical modulation of an agar waveguide via electrical input31.

Therefore, this paper explores such a phenomenon and proposes agar-based optical sensors for assessing electric currents wherein charges flowing across the material produce temperature deviations that modify its refractive index distribution. Thus, we excite the optical device with coherent light to analyze the dynamic response of the output speckle field, then retrieve the magnitude and direction of the applied stimuli. Experiments validate this sensing principle for bulk agar spheres and no-core optical fibers, yielding reliable results for currents \(\le 100\) \(\upmu \)A.

Apart from the typical optical fiber sensors designed to operate in the A to kA range32,33,34,35,36, the ability to detect subtle electric signals inspires possible applications in biomedical setups, like the assessment of neural or muscular responses for predicting dysfunctions and establish assistive human-computer interfaces37,38. The soft, bioresorbable optical sensor may replace widespread electronic transducers and take advantage of the fiber sensors’ characteristics, such as flexibility and multiplexing capability. For instance, a launching dielectric fiber may insulate the agar probe from the interrogation system and ensure passive, robust analyses. To the best of our knowledge, this is the first demonstration of an all-optical current sensor based on the electric stimulation of a biodegradable waveguide.

Initial experiments evaluated the optical response of transparent spheres comprising 2 wt% agar concentration and an average diameter of 4 mm, as shown in Fig. 1, subjected to direct currents. Pin headers connect the samples to a breadboard for applying electrical stimulation without disturbing the optical device. Although the transmission in the visible/near-infrared range improves by reducing the agar content, concentrations of 2 wt% are preferable to ensure mechanical strength and chemical stability at room temperature19.

Sphere and no-core optical fiber made of 2 wt% agar: (a) top and (b) side views (inset: agar sphere coupled with the pin header connectors). The diameters of sphere and fiber are \(\sim \)4 mm and \(\sim \)2.5 mm, respectively.

A launching multimode fiber (MMF) illuminates the spheres with coherent light to generate output speckle patterns, as the agar works as a random scattering medium39. Meanwhile, the voltage source regulates the direct current i flowing through the agar samples and promotes dynamic changes in the speckle field distribution. The tests proceeded for \(0 \le i \le 104\) \(\upmu \)A with the CCD camera recording 500 sequential specklegram frames (\(\sim \)33 s) for computing the zero-mean normalized cross-correlation (ZNCC) coefficient Z40.

Figure 2(a) shows Z as a function of time t for selected current values. The gradual decay of Z suggests that the specklegram changes become more active by increasing the magnitude of i. Figure 2b presents the speckle field intensity distribution I(x, y) for sequential acquisition frames and confirms such a premise. For example, I(x, y) remains unaltered during the initial seconds for \(i = 0\) but progressively drifts for \(i = 30\) and 60 \(\upmu \)A, proportionally reducing the correlation coefficient.

Assuming Z(t) as a sum of exponential decay functions41, one may normalize the ZNCC curves to compute their time constants \(\tau \) at \(Z(t = \tau ) \approx 0.368\). Figure 2c depicts \(\tau \) versus i, where each data point comprises the average of five repetitions, and the error bars indicate the standard deviation of the mean and normal distributions with a probability level of 95%. Apart from the saturation for \(i > 60\) \(\upmu \)A, the sensor response is essentially linear for \(0 \le i \le 60\) \(\upmu \)A and presents a maximum deviation of \(u_{\tau } \approx \pm 1.425\) s at 60 \(\upmu \)A, as shown in the inset of Fig. 2c, yielding an absolute sensitivity of \(\textrm{d}\tau /\textrm{d}i \approx 0.233\) s/\(\upmu \)A with a practical resolution of \(\Delta {}i \approx 1.425~\text {s}/0.233~\text {s.}\upmu \text {A}^{-1} \approx 6.116~\upmu \) A (or \(\Delta {}i \approx 15^{-1}~\text {s}/0.233~\text {s.}\upmu \text {A}^{-1} \approx 0.286\) \(\upmu \)A considering the 15 Hz sampling rate of the acquisition system).

Optical response of agar spheres stimulated by electric current: (a) correlation coefficient as a function of time for different currents. (b) Temporal evolution of specklegrams, wherein colors indicate normalized intensity values. Original images cropped to \(60 \times 60\) pixels (\(0.28~\textrm{mm} \times 0.28~\textrm{mm}\)) for the sake of viewing. (c) time constant of agar spheres as a function of the applied current. The solid line is a guide to the eyes. Inset: linear curve fitting for \(0 \le i \le 60\) \(\upmu \)A (\(R^2 = 0.950\)).

As the specklegram temporal behavior varies with the magnitude of applied currents, the light granules may displace following the charges’ flow accordingly to the established electric field. Validation tests subjected the agar spheres to a constant current level of 60 \(\upmu \)A, while the orientation varied by transposing the electrodes parallel or perpendicularly to the light path, and the direction reversed by inverting the applied voltage. Figure 3a simulates the electric field distribution inside the agar sphere to predict how the current travels between the conductors. Given the coordinates system of Fig. 3a with light traveling towards the z-axis, an incident light beam parallel to the x-axis and striking the sphere above the pin headers would result in speckles moving vertically in the yz-plane, i.e., departing or arriving at the camera detection plane depending on the voltage source polarization. For example, speckles entering the image frame move downward to the pin header, whereas granules leaving the camera plane drift upward by departing the connector. Conversely, a perpendicular excitation would produce horizontal speckle motion once the current flow crosses the xy-plane. Figure 3b,c traces the displacement of light granules during 1 s to confirm this aspect. Altering the voltage source polarization also inverts the speckle pattern motion as predicted by simulation.

(a) Simulation of the electric field distribution inside the agar sphere with DC excitation through the pin headers. Colors indicate the electric field intensity. Spatiotemporal variation of specklegrams over the (b) yz and (c) xy-planes in response to currents i applied with different orientations (denoted by red arrows). The asterisks highlight the translation of an entity-of-interest. Colors indicate the normalized intensity values. Original specklegram images cropped to \(40 \times 40\) pixels (\(0.19~\textrm{mm} \times 0.19~\textrm{mm}\)) for the sake of viewing.

Subsequent experiments investigated the current sensing capability of optical waveguides by replacing the spheres with no-core fibers (agar concentration of 2 wt% with diameter and length of 2.5 mm and 30 mm, respectively), as shown in Fig. 1. Light from a launching MMF couples the agar waveguide and generates the output speckle pattern I(x, y). After evaluating the ZNCC for 500 acquisition frames, the data processing routine normalizes the Z(t) curves and computes their time constants \(\tau \), yielding the results of Fig. 4a, wherein data points comprise the average of five repetitions and the error bars assume the standard deviation of the mean with a 95% probability level. The ZNCC curves for agar fibers decay faster than those observed for spheres, as shown in the inset of Fig. 4a, reaching the saturation level for \(i \ge 20\) \(\upmu \)A. The sensitivity within the linear range (\(0 \le i \le 10\) \(\upmu \)A) is \(\textrm{d}\tau /\textrm{d}i \approx 0.664\) s/\(\upmu \)A, corresponding to a practical resolution of \(\Delta {}i \approx 0.671~\text {s}/0.664~\text {s.}\upmu \text {A}^{-1} \approx 1.011\) \(\upmu \)A given the maximum uncertainty of \(u_\tau \approx \pm 0.671\) s at 0 \(\upmu \)A.

An alternative to circumvent the intrinsic saturation of the correlation function comprises evaluating the extended zero-mean normalized cross-correlation (EZNCC) score EZ to automatically reset the reference image \(I_0\) whenever the output value reaches a threshold42. The inset of Fig. 4b portrays the EZNCC temporal evolution for 10 and 40 \(\upmu \)A to illustrate how the extended correlation translates the speckle field changes into a nearly linear behavior. Therefore, one may adopt the derivative of EZNCC \(\kappa = |\textrm{d}EZ/\textrm{d}t|\) to quantify the specklegram deviations and compute its response to the input current. Figure 4b suggests a low-sensitivity range for \(0 \le i \le 70\) \(\upmu \) A with \(\textrm{d}\kappa /\textrm{d}i \approx 0.015\) (s.A)\(^{-1}\), followed by a gain-improved characteristic for \(70 \le i \le 100\) \(\upmu \)A. The latter provides an absolute sensitivity of \(\textrm{d}\kappa /\textrm{d}i \approx 0.043\) (s.A)\(^{-1}\), resulting in a practical resolution of \(\Delta {}i \approx 0.017~\text {s}^{-1}/0.043~\text {(s.}\upmu \text {A)}^{-1} \approx 0.395\) \(\upmu \)A for a maximum uncertainty of \(u_\kappa \approx \pm 0.017\) s\(^{-1}\) at 100 \(\upmu \)A.

Optical response of agar waveguides. (a) Time constant \(\tau \) as a function of the applied current i. Inset: ZNCC temporal evolution for \(i = 10\) and 40 \(\upmu \)A. (b) EZNCC ratio \(\kappa \) as a function of i. Inset: EZNCC temporal evolution for \(i = 10\) and 40 \(\upmu \)A. The solid lines are guides to the eye.

Bulk agar samples work as scattering media due to their porous structure and the presence of microscopic bubbles, which explains the generation of speckle patterns by spheres despite their apparent transparency in the visible range. One may attempt to minimize the scattering centers by increasing the agar concentration and applying ultrasound/vacuum treatments to reduce the average pore size and collapse the air bubbles, respectively43,44. Besides, specklegrams manifest differently in no-core fibers once the waveguides confine the input light and promote interference between several guided modes. In this case, the fiber refractive index distribution, core size, and laser wavelength dictate the characteristics of light granules45.

Currents flowing through the agar-based devices promote spatially distributed temperature changes by Joule heating and generate refractive index deviations over the light path. Consequently, input currents modulate phase components of multiple guided modes and drift the output specklegrams. The optical devices remained stable during the experiments since this thermal increase cannot melt the solid agar a priori. Initial developments considered spheres instead of optical fibers because the former is easier to handle once coupled to the pin header connectors. Nevertheless, the results indicate equivalent behavior for no-core waveguides except for differences in the dynamic range, probably due to discrepancies in the dimensions of fiber and spheres.

Concerning the electrical conductivity \(\sigma \) of agar-water samples, apart from the previous studies suggesting \(0.05 \le \sigma \le 0.2\) S/m24,28, the actual values vary significantly for different agar manufacturers because of the mineral impurities27. Increasing the agar content ensures chemical stability and subtly raises \(\sigma \), though concentrations \(\le 2\) wt% are preferable to enhance the optical transmission in the visible range19. Alternatively, one may add glycerol to improve the agar devices’ transparency and mechanical strength with a moderate contribution to their electrical response46,47. Moreover, doping the agar-water solutions with salts augments the conductivity proportionally to their concentration24,28,48, which presumably boosts the specklegram sensitivity to input currents.

Regarding the fiber diameter and length, although these parameters influence the electrical resistance and, consequently, the voltage drop required for driving charges through the agar sample, the speckle field response to applied currents was consistent regardless of deviations in fiber geometries. Experiments assumed relatively short fibers as the optical losses (\(\sim \)3 dB/cm at 633 nm for agar-water samples) restrict their practical length19, yet improved transmission characteristics (\(\sim \)0.8 dB/cm) are still attainable by adding glycerol31 or eliminating microscopic air bubbles44.

The relative position of pin header connectors affects the current flow and may alter the speckle pattern dynamics depending on how the electric charges disturb the light path. The 2.5 mm gap between connectors (breadboard lead pitch) is enough to sustain an unbent \(\sim \)30 mm agar fiber and keep the optical system aligned during the electrical excitation, besides confining the current to a small volume. One may attempt enlarging this gap to flow currents throughout the waveguide extent, then amplify the optical modulation. However, the limited conductivity of agar-water samples demands a high threshold voltage to establish the electric potential, which may produce unwanted exceeding amperage peaks. The current range (0 to 100 \(\upmu \)A) considered safety values to not damage the sphere/fiber by overheating once preliminary tests with \(i \le 300\) \(\upmu \)A indicated rapid probe deterioration as the bulk agar melted.

Tracking the speckle granules’ motion due to alternate currents is plausible but depends on the capabilities of the data acquisition system. For example, experimental setups for mechanical vibration sensing achieve the temporal resolution of a few \(\upmu \)s by employing a high-speed camera and fast speckle pattern processing49. Assuming AC signals of \(< 100\) Hz, moderate video sampling rates (\(\le 30\) Hz) cannot track the alternating speckles but are potentially sensitive to the root-mean-square value of input currents. Furthermore, 2D image matching techniques, such as the phase-only correlation40, can simultaneously retrieve the magnitude and direction of applied stimuli.

The EZNCC algorithm prevents the correlation coefficient from saturating, which virtually extends the measurement range beyond 100 \(\upmu \)A. However, the heat flow through the optical fiber becomes critical as the electrical conductivity of agar increases with the temperature27, softening the waveguide structure and yielding optical losses. The agar spheres also presented a darkened region between the pin headers in response to an exceeding voltage drop. Alternatively, enlarging the fiber diameter or the gap between conductors could ameliorate the thermal distribution and detain the agar degradation.

One may notice that the agar devices gradually shrink under room conditions due to syneresis23, causing specklegram changes even for undisturbed conditions, as noticed in Fig. 2a. Conserving the waveguides with plastic wrap before the experiments impedes the agar from expelling water droplets and preserves its structure. Avoiding variations in environmental temperature and pH also guarantees chemical stability13,23. Nevertheless, this effect is less prominent, though not negligible, in agar-glycerol-water compositions, yielding biodegradable fibers that endure for weeks46. Regarding the humidity, water diffuses through the bulk agar structure and increases its volume23. Besides swelling, changes in the water content also reduce the electrical conductivity by diluting the mineral impurities. Thus, one may expect the simultaneous contribution of humidity and current in the output specklegram. Albeit discerning both effects is not straightforward, Fig. 3 suggests that the speckle granules consistently follow the current flow, i.e., tracing their displacement rate through image registration and active contouring algorithms50 yield an estimation of the electrical stimulus regardless the agar volumetric changes.

Concerning the interrogation system, launching silica or polymer fibers are preferable to interface the agar probe to the measurement apparatuses once the critical optical losses prevent the implementation of an all-biodegradable fiber setup2. For example, one may use a pair of emitting and collecting waveguides to guide the light through the agar sphere or fiber, establishing a single-path configuration. However, speckle patterns generated by launching and sensing waveguides are vulnerable to extraneous variables like vibration and temperature, demanding reference fibers or software-based corrections for practical operation51. Some applications also require a reflection-type probe to isolate the camera from the current source and provide non-invasive assessments, i.e., attaching a mirror to the fiber end face and deriving the reflected speckle with a multimode fiber coupler52. Besides, perforating the agar waveguides may be unfeasible for real applications, which demand detecting the currents flowing through the surface rather than inside the bulk agar. No-core fibers are sensitive to surrounding stimuli and can perceive the refractive index changes imposed by the outer electric charges a priori. Nevertheless, grounding the agar structure is fundamental for establishing currents to modulate the output specklegram.

Notwithstanding its merits, the proposed sensor exhibits a limited dynamic range compared with typical optical fiber sensors based on strain gauges with magnetostrictive coatings34,36, holey fibers filled with ferrofluids33, and polarization-type, Faraday rotation transducers35. The current constraint of 100 \(\upmu \)A frustrates applications in high-powered systems but endorses the ability to detect bioelectrical signals37,38. Furthermore, agar waveguides are eligible for substituting biodegradable electrodes based on expensive materials and complex structures53.

In conclusion, this paper proposed an all-optical current sensor employing agar-based waveguides and speckle field processing. We exploited the electrical conductivity of agar-water samples to modulate the transmitted light and detect the magnitude and direction of input currents for the first time in the literature. Besides its future uses in biomedical analyses, one may envisage electrically driven, active optical devices for light control applications, i.e., shaping the refractive index distribution of the agar device through the applied electric field, then explore the speckle field characteristics to select specific modes in data transmission and space-division multiplexing systems or clean the speckled output as a non-vibrating mode scrambler54,55. Several challenges persist regarding the measurement range, noise, and reliability, which inspire further developments for the agar-based fiber design and the optical interrogation system to attain practical biodegradable sensors.

Solutions containing food-grade agar (non-sterile, ash content \(\le 6.5\)%) and distilled water heat under constant agitation provided by a hot plate equipped with magnetic stirrer. After reaching the boiling point, the mixture settles at room temperature for \(\sim \)2 min to collapse air bubbles. A silicone tubing (inner diameter of 2.5 mm) serves as the mold to fabricate cylindrical waveguides. Once a syringe completes the tubing with melted agar, the solution solidifies in a refrigerator for \(\sim \)15 min. Finally, the experimentalist expels the fiber from the mold and cleaves the end faces using a razor blade31.

Regarding the spheres, a transfer pipette drips the melted agar on food-grade soybean oil subjected to slow circulation at room temperature. The agar drops solidify into spheres with an average diameter of 4 mm. Subsequently, the samples are washed with distilled water, sieved, and cleaned in the ultrasonic bath to remove oil droplets impregnated in the agar surface.

Figure 5a and b summarize fabrication procedures of agar-based optical fibers and spheres, respectively.

Fabrication of (a) agar-based no-core fibers and (b) spheres for electric current sensing.

The experiments proceed in a dark environment at room temperature with the apparatuses portrayed in Fig. 6 mounted on a vibration-free table. A HeNe laser (wavelength of 633 nm with 1 mW power) illuminates a launching silica multimode fiber (MMF, step-index, core and cladding diameters of 62.5 \(\upmu \)m and 125 \(\upmu \)m, respectively) through a \(20\times \) objective. After passing a mode scrambler (MS) for equalizing the modal power distribution, the MMF couples the biodegradable optical device by carefully introducing the MMF tip inside the agar sample through a micrometric stage. Then, a lensless CCD camera (\(1024\times 768\) pixels resolution, pixel size of 4.65 \(\upmu \)m, and detector size of 4.8 mm\(\times \)3.6 mm) acquires the output speckle patterns magnified by a \(10\times \) objective at a 15 Hz sampling rate and delivers the data to the computer for further processing by MATLAB (Mathworks) routines.

A DC voltage source \(V_s\) (output range of 0 to 32 V, 10 mV resolution) connected to an \(R = 510 \Omega \) reference/protection resistor generates controlled currents for perturbing the optical signal. The agar device connects in series to the circuit with a pair of standard male pin headers mounted onto a breadboard. The pin headers partially perforate the waveguide without occluding the light path, creating a gap of \(\sim \)2.5 mm between the conductors. Lastly, a digital multimeter (voltage and current resolutions of 0.01 mV and 0.1 \(\upmu \)A, respectively) monitors the voltage drop \(V_R\) across R to estimate the current flowing through the agar sample.

The tests involved five spheres/fibers excited with increasing voltages, yielding five specklegram videos per input current condition. The samples remained in distilled water to conserve their structure, and the experimentalist carefully dried the agar devices with a paper towel to remove the excess liquid before the measurements, discarding the perforated materials after their application. It is worth noticing that the agar samples remained stable for more than 1 week.

Measurement setup. The HeNe laser illuminates the agar device under test (DUT), producing an output speckle pattern I(x, y) detectable by the CCD camera. Meanwhile, the DC voltage source \(V_s\) excites the circuit and drives a current along the DUT to electrically modulate I(x, y).

The MATLAB routine extracts the input video frames, converts the speckle field images from RGB space to grayscale, and crops square regions of interest comprising \(201 \times 201\) pixels. Let I(t) the specklegram distribution over the xy-plane at time t, and \(I(0) = I_0\) the reference state. Speckle pattern deviations induced by the electrical stimulus are quantifiable by computing the zero-mean normalized cross-correlation (ZNCC) coefficient Z(t),

the overlines denote the average values of I and \(I_0\)40.

\(Z(t) = 1\) when \(I = I_0\) and its value gradually decreases as the fiber state departs from the reference condition so that the decorrelation becomes more abrupt as the speckle changes become vigorous56,57. Given the heterogeneous nature of moving speckle granules, one may approach the ZNCC temporal evolution to a sum of N exponential decay functions \(Z(t) = A + \sum _{n=1}^{N} B_n \exp (-t/\tau _n)\) denoted by their coefficients A and \(B_n\), and take the first (slowest) term \(\tau _1\) as the average decay rate \({\bar{\tau }}\) of the N exponential functions41. In this sense, the algorithm normalizes the Z(t) curves and evaluates the time constant \(\tau = {\bar{\tau }}\) relative to \( Z(\tau ) = e^{-1} \approx 0.37\).

Once the ZNCC saturates as the differences between I and \(I_0\) increase, the MATLAB routine also evaluates the extended zero-mean normalized cross-correlation (EZNCC) coefficient EZ(t),

wherein \(EZ_0\) is a cumulative offset, Z(t) is the ZNCC evaluated as a function of the intensities I and \(I_0\), and \(\alpha = 0.8\) is an empirically chosen threshold. This procedure begins with \(EZ(t) = Z(t)\) and follows the correlation curve until \(Z(t) < \alpha \). At this condition, the algorithm resets the reference state making \(I_0 = I(t)\) and \(EZ_0 = EZ(t)\), thus, preventing the EZNCC saturation and converting the exponential decay behavior of Z(t) into a practically linear decrease42. Consequently, one may quantify the specklegram temporal changes as the derivative of EZNCC \(\kappa = \textrm{d}EZ/\textrm{d}t\) as a counterpart to the ZNCC time constant.

Simulations proceeded with the free software FEMM (Finite Element Method Magnetics)58, assuming an electrostatic problem to trace the field lines along the xz-plane of the agar sphere. The brass electrodes comprise 0.5 mm\(\times \)0.5 mm squares spaced by 2 mm with electrical permittivity of \(\epsilon = 1\) F/m. The sphere has a diameter of 4 mm and \(\epsilon = 80.4\) F/m (approximating the \(\epsilon \) value of 2 wt% agar to the water one). Thus, the software computes the electric field density distribution for a DC voltage drop of 30 mV and mesh grid size of 0.1 mm.

Datasets and original images are available from the corresponding author on request.

Hosseini, E. S., Dervin, S., Ganguly, P. & Dahiya, R. Biodegradable materials for sustainable health monitoring devices. ACS Appl. Bio Mater. 4, 163–194. https://doi.org/10.1021/acsabm.0c01139 (2021).

Article CAS PubMed Google Scholar

Shabahang, S., Kim, S. & Yun, S.-H. Light-guiding biomaterials for biomedical applications. Adv. Func. Mater. 28, 1706635. https://doi.org/10.1002/adfm.201706635 (2018).

Article CAS Google Scholar

Lee, G.-H. et al. Multifunctional materials for implantable and wearable photonic healthcare devices. Nat. Rev. Mater. 5, 149–165. https://doi.org/10.1038/s41578-019-0167-3 (2020).

Article ADS PubMed PubMed Central Google Scholar

Choi, M. et al. Light-guiding hydrogels for cell-based sensing and optogenetic synthesis in vivo. Nat. Photonics 7, 987–994. https://doi.org/10.1038/nphoton.2013.278 (2013).

Article ADS CAS PubMed PubMed Central Google Scholar

Fan, B. & Li, W. Miniaturized optogenetic neural implants: A review. Lab Chip 15, 3838–3855. https://doi.org/10.1039/C5LC00588D (2015).

Article CAS PubMed Google Scholar

Gidetti, G. et al. Silk materials at the convergence of science, sustainability, healthcare, and technology. Appl. Phys. Rev. 9, 011302. https://doi.org/10.1063/5.0060344 (2022).

Article ADS CAS Google Scholar

Reimer, M. & Zollfrank, C. Cellulose for light manipulation: Methods, applications, and prospects. Adv. Energy Mater. 11, 2003866. https://doi.org/10.1002/aenm.202003866 (2021).

Article CAS Google Scholar

Choi, M., Humar, M., Kim, S. & Yun, S.-H. Step-index optical fiber made of biocompatible hydrogels. Adv. Mater. 27, 4081–4086. https://doi.org/10.1002/adma.201501603 (2015).

Article CAS PubMed PubMed Central Google Scholar

Shan, D. et al. Flexible biodegradable citrate-based polymeric step-index optical fiber. Biomaterials 143, 142–148. https://doi.org/10.1016/j.biomaterials.2017.08.003 (2017).

Article CAS PubMed PubMed Central Google Scholar

Farajikhah, S. et al. Thermally drawn biodegradable fibers with tailored topography for biomedical applications. J. Biomed. Mater. Res. B Appl. Biomater. 109, 733–743. https://doi.org/10.1002/jbm.b.34739 (2021).

Article CAS PubMed Google Scholar

Gierej, A. et al. Microstructured optical fiber made from biodegradable and biocompatible poly(D, L-lactic acid) (PDLLA). J. Lightwave Technol. 41, 275–285. https://doi.org/10.1109/JLT.2022.3205451 (2023).

Article ADS CAS Google Scholar

Armisén, R. Agar and agarose biotechnological applications. Hydrobiologia 221, 175–166. https://doi.org/10.1007/BF00028372 (1991).

Article Google Scholar

Zarrintaj, P. et al. Agarose-based biomaterials for tissue engineering. Carbohyd. Polym. 187, 66–84. https://doi.org/10.1016/j.carbpol.2018.01.060 (2018).

Article CAS Google Scholar

Tabani, H., Alexovič, M., Sabo, J. & Payán, M. R. An overview on the recent applications of agarose as a green biopolymer in micro-extraction-based sample preparation techniques. Talanta 224, 121892. https://doi.org/10.1016/j.talanta.2020.121892 (2021).

Article CAS PubMed Google Scholar

Nomura, M. & Oku, H. Edible lens made of agar. Opt. Rev. 27, 9–13. https://doi.org/10.1007/s10043-019-00557-9 (2020).

Article Google Scholar

Oku, H., Uji, T., Zhang, Y. & Shibahara, K. Edible fiducial marker made of edible retroreflector. Comput. Gr. 77, 156–165. https://doi.org/10.1016/j.cag.2018.10.002 (2018).

Article Google Scholar

Manocchi, A. K., Domachuk, P., Omenetto, F. G. & Yi, H. Facile fabrication of gelatin-based biopolymeric optical waveguides. Biotechnol. Bioeng. 103, 725–732. https://doi.org/10.1002/bit.22306 (2009).

Article CAS PubMed Google Scholar

Jain, A., Yang, A. H. J. & Erickson, D. Gel-based optical waveguides with live cell encapsulation and integrated microfluidics. Opt. Lett. 37, 1472–1474. https://doi.org/10.1364/OL.37.001472 (2012).

Article ADS CAS PubMed Google Scholar

Fujiwara, E., Cabral, T. D., Sato, M., Oku, H. & Cordeiro, C. M. B. Agarose-based structured optical fibre. Sci. Rep. 23, 7035. https://doi.org/10.1038/s41598-020-64103-3 (2020).

Article ADS CAS Google Scholar

Lo Presti, D. et al. Agar-coated fiber bragg grating sensor for relative humidity measurements: Influence of coating thickness and polymer concentration. IEEE Sensors J. 19, 3335–3342. https://doi.org/10.1109/JSEN.2019.2892900 (2019).

Article ADS Google Scholar

Yang, R., Fu, Y., Sun, D. & Ma, J. Temperature sensing properties of a Fabry-Perot fiber probe based on agar film. Mater. Lett. 321, 132401. https://doi.org/10.1016/j.matlet.2022.132401 (2022).

Article CAS Google Scholar

Mallik, A. K. et al. Agarose coated spherical micro resonator for humidity measurements. Opt. Express 24, 21216–21227. https://doi.org/10.1364/OE.24.021216 (2016).

Article ADS CAS PubMed Google Scholar

Hayashi, A. & Kanzaki, T. Swelling of agarose gel and its related changes. Food Hydrocoll. 1, 317–325. https://doi.org/10.1016/S0268-005X(87)80019-X (1987).

Article CAS Google Scholar

Kandadai, M. A., Raymond, J. L. & Shaw, G. J. Comparison of electrical conductivities of various brain phantom gels: Developing a‘brain gel model’. Mater. Sci. Eng. C 32, 2664–2667. https://doi.org/10.1016/j.msec.2012.07.024 (2012).

Article CAS Google Scholar

Sun, T., Tsuda, S., Zauner, K.-P. & Morgan, H. On-chip electrical impedance tomography for imaging biological cells. Biosens. Bioelectron. 25, 1109–1115. https://doi.org/10.1016/j.bios.2009.09.036 (2010).

Article CAS PubMed Google Scholar

Butler, D., Goel, N., Goodnight, L., Tadigadapa, S. & Ebrahimi, A. Detection of bacterial metabolism in lag-phase using impedance spectroscopy of agar-integrated 3D microelectrodes. Biosens. Bioelectron. 129, 269–276. https://doi.org/10.1016/j.bios.2018.09.057 (2019).

Article CAS PubMed Google Scholar

Beruto, M., Beruto, D. & Debergh, P. Influence of agar on in vitro cultures: I. Physicochemical properties of agar and agar gelled media. In Vitro Cell. Dev. Biol. Plant 35, 86–93. https://doi.org/10.1007/s11627-999-0016-y (1999).

Article CAS Google Scholar

Bennet, D. NaCl doping and the conductivity of agar phantoms. Mater. Sci. Eng. C 31, 494–498. https://doi.org/10.1016/j.msec.2010.08.018 (2011).

Article CAS Google Scholar

Kato, H. & Ishida, T. Development of an agar phantom adaptable for simulation of various tissues in the range 5–40 MHz. (Hyperthermia treatment of cancer). Phys. Med. Biol. 32, 221–226. https://doi.org/10.1088/0031-9155/32/2/006 (1987).

Article CAS PubMed Google Scholar

Nie, Z. et al. A conductive hydrogel based on nature polymer agar with self-healing ability and stretchability for flexible sensors. Chem. Eng. J. 454, 139843. https://doi.org/10.1016/j.cej.2022.139843 (2023).

Article CAS Google Scholar

Fujiwara, E., Cordeiro, C. M. B., Oku, H. & Suzuki, C. K. Sensing with agar-based optical waveguides. SPIE Future Sens. Technol. 12327, 123270N. https://doi.org/10.1117/12.2666266 (2023).

Article Google Scholar

Silva, R. M. et al. Optical current sensors for high power systems: A review. Appl. Sci. 2, 602–628. https://doi.org/10.3390/app2030602 (2012).

Article Google Scholar

Torres-Díaz, I. & Rinaldi, C. Recent progress in ferrofluids research: Novel applications of magnetically controllable and tunable fluids. Soft Matter 43, 8584–8602. https://doi.org/10.1039/C4SM01308E (2014).

Article ADS CAS Google Scholar

Masoudi, A. & Newson, T. P. Distributed optical fiber dynamic magnetic field sensor based on magnetostriction. Appl. Opt. 53, 2833–2838. https://doi.org/10.1364/AO.53.002833 (2014).

Article ADS PubMed Google Scholar

Beravat, R., Wong, G. K. L., Xi, X. M., Frosz, M. H. & Russel, P. S. Current sensing using circularly birefringent twisted solid-core photonic crystal fiber. Opt. Lett. 41, 1672–1675. https://doi.org/10.1364/OL.41.001672 (2016).

Article ADS CAS PubMed Google Scholar

Nascimento, I. M., Chesini, G., Baptista, J. M., Cordeiro, C. M. B. & Jorge, P. A. S. Vibration and magnetic field sensing using a long-period grating. IEEE Sens. J. 17, 6615–6621. https://doi.org/10.1109/JSEN.2017.2743112 (2017).

Article ADS CAS Google Scholar

Jackson, A., Mavoori, J. & Fetz, E. E. Long-term motor cortex plasticity induced by an electronic neural implant. Nature 444, 56–60. https://doi.org/10.1038/nature05226 (2006).

Article ADS CAS PubMed Google Scholar

Tomko, P. M., Colquhoun, R. J., Magrini, M. A., Muddle, T. W. D. & Jenkins, N. D. M. Global electromyographic signal characteristics depend on maximal isometric contraction method in the knee extensors. J. Electromyogr. Kinesiol. 42, 111–116. https://doi.org/10.1016/j.jelekin.2018.07.002 (2018).

Article PubMed Google Scholar

Si, K., Fiolka, R. & Cui, M. Fluorescence imaging beyond the ballistic regime by ultrasound-pulse-guided digital phase conjugation. Nat. Photonics 6, 657–661. https://doi.org/10.1038/nphoton.2012.205 (2012).

Article ADS CAS PubMed PubMed Central Google Scholar

Fujiwara, E., Ri, Y., Wu, Y. T., Fujimoto, H. & Suzuki, C. K. Evaluation of image matching techniques for optical fiber specklegram sensor analysis. Appl. Opt. 57, 9845–9854. https://doi.org/10.1364/AO.57.009845 (2018).

Article ADS PubMed Google Scholar

Finsy, R. Particle sizing by quasi-elastic light scattering. Adv. Coll. Interface Sci. 52, 79–143. https://doi.org/10.1016/0001-8686(94)80041-3 (1994).

Article CAS Google Scholar

Fujiwara, E., da Silva, L. E., Marques, T. H. R. & Cordeiro, C. M. B. Polymer optical fiber specklegram strain sensor with extended dynamic range. Opt. Eng. 57, 116107. https://doi.org/10.1117/1.OE.57.11.116107 (2018).

Article ADS CAS Google Scholar

Kandilian, R., Jesus, B., Legrand, J., Pilon, L. & Pruvost, J. Light transfer in agar immobilized microalgae cell cultures. J. Quant. Spectrosc. Radiat. Transfer 198, 81–92. https://doi.org/10.1016/j.jqsrt.2017.04.027 (2017).

Article ADS CAS Google Scholar

Ross, K. A., Pyrak-Nolte, L. J. & Campanella, O. H. The effect of mixing conditions on the material properties of an agar gel–microstructural and macrostructural considerations. Food Hydrocoll. 20, 79–87. https://doi.org/10.1016/j.foodhyd.2005.01.007 (2006).

Article CAS Google Scholar

Hill, K. O., Tremblay, Y. & Kawasaki, B. Modal noise in multimode fiber links: Theory and experiment. Opt. Lett. 5, 270–272. https://doi.org/10.1364/OL.5.000270 (1980).

Article ADS CAS PubMed Google Scholar

Barrangou, L. M., Drake, M. A., Daubert, C. R. & Foegeding, E. A. Sensory texture related to large-strain rheological properties of agar/glycerol gels as a model food. J. Texture Stud. 37, 241–262. https://doi.org/10.1111/j.1745-4603.2006.00050.x (2006).

Article Google Scholar

Meaney, P. M., Fox, C. J., Geimer, S. D. & Paulsen, K. D. Electrical characterization of glycerin: Water mixtures: Implications for use as a coupling medium in microwave tomography. IEEE Trans. Microw. Theory Tech. 65, 1471–1478. https://doi.org/10.1109/TMTT.2016.2638423 (2017).

Article ADS PubMed PubMed Central Google Scholar

Iwase, K. Electrical conductivities of the salt solutions containing agar. Bull. Chem. Soc. Jpn. 2, 61–65. https://doi.org/10.1246/bcsj.2.61 (1927).

Article CAS Google Scholar

Shabairou, N. et al. All-optical, an ultra-thin endoscopic photoacoustic sensor using multi-mode fiber. Sci. Rep. 10, 9142. https://doi.org/10.1038/s41598-020-66076-9 (2020).

Article ADS CAS PubMed PubMed Central Google Scholar

Fujiwara, E., Wu, Y. T. & Suzuki, C. K. Oscillating optical fiber speckle patterns: Modeling and application. Optics Continuum 1, 2490–2502. https://doi.org/10.1364/OPTCON.477064 (2022).

Article CAS Google Scholar

Pan, K. & Yu, F. T. S. Temperature-compensated fiber specklegram strain sensing with an adaptive joint transform correlator. Appl. Opt. 34, 3823–3825. https://doi.org/10.1364/AO.34.003823 (1995).

Article ADS CAS PubMed Google Scholar

Fujiwara, E. & Cabral, T. D. Optical fiber specklegram sensor for multi-point curvature measurements. Appl. Opt. 61, 6787–6794. https://doi.org/10.1364/AO.464503 (2022).

Article ADS CAS PubMed Google Scholar

Li, W. et al. Biodegradable materials and green processing for green electronics. Adv. Mater. 32, 2001591. https://doi.org/10.1002/adma.202001591 (2020).

Article CAS Google Scholar

Mounaix, M. & Carpenter, J. Control of the temporal and polarization response of a multimode fiber. Nat. Commun. 10, 5085. https://doi.org/10.1038/s41467-019-13059-8 (2019).

Article ADS CAS PubMed PubMed Central Google Scholar

Krupa, K. et al. Spatial beam self-cleaning in multimode fibre. Nat. Photonics 11, 237–241. https://doi.org/10.1038/nphoton.2017.32 (2017).

Article ADS MathSciNet CAS Google Scholar

Duncan, D. D. & Kirkpatrick, S. J. The copula: A tool for simulating speckle dynamics. J. Opt. Soc. Am. A 25, 231–237. https://doi.org/10.1364/JOSAA.25.000231 (2008).

Article ADS Google Scholar

Bianchi, S., Pruner, R., Vizsnyiczai, G., Maggi, C. & Di Leonardo, R. Active dynamics of colloidal particles in time-varying laser speckle patterns. Sci. Rep. 6, 27681. https://doi.org/10.1038/srep27681 (2016).

Article ADS CAS PubMed PubMed Central Google Scholar

Meeker, D. C. Finite element method magnetics. https://www.femm.info (2023).

Download references

This research was supported by Sao Paulo Research Foundation (FAPESP) under grant 2023/04201-2; Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq) under grants 403418/2021-6, 302094/2022-9, and 309989/2021-3; Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES) under grant 001; Japan Society for the Promotion of Science (JSPS) Grants-in-Aid for Scientific Research JP21H03458, JP20K20626; and Gunma University for the Promotion of Scientific Research.

School of Mechanical Engineering, University of Campinas, Campinas, 13083-860, Brazil

Eric Fujiwara & Lidia O. Rosa

Faculty of Informatics, Gunma University, Kiryu, 376-8518, Japan

Hiromasa Oku

Institute of Physics, University of Campinas, Campinas, 13083-859, Brazil

Cristiano M. B. Cordeiro

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

You can also search for this author in PubMed Google Scholar

E.F., H.O. and C.M.B.C. conceived the original idea and the experiments. E.F. and L.O.R. fabricated the samples and performed the experiments. E.F. and C.M.B.C. analyzed the results. E.F. wrote the paper. All authors discussed the results and reviewed the manuscript.

Correspondence to Eric Fujiwara.

The authors declare no competing interests.

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

Fujiwara, E., Rosa, L.O., Oku, H. et al. Agar-based optical sensors for electric current measurements. Sci Rep 13, 13517 (2023). https://doi.org/10.1038/s41598-023-40749-7

Download citation

Received: 09 June 2023

Accepted: 16 August 2023

Published: 19 August 2023

DOI: https://doi.org/10.1038/s41598-023-40749-7

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.