3.1. Composition Optimization
The choice of the optode active components (chromoionophores and ionophores) was guided by available literature data. ETH5294 (Ch I), ETH2439 (Ch II) and ETH5350 (Ch III) were used as chromoionophores, as they have been best studied for physiological concentration ranges. The widely studied and well-characterized ionophores Na VI and Na X, with known stability constants for complexes with the sodium cation in plasticized PVC, were used to fabricate sodium-selective sensors. Among the four commercially available chloride-selective ionophores (Cl I–Cl IV), two (Cl II and Cl III) are structurally similar organomercury compounds. The Cl I ionophore is a colored metalloporphyrin, which hampers its use in optical sensors due to its intense absorption in the visible range. The Cl II ionophore appears to be the best studied among existing chloride ionophores and was chosen for this work. It is well known that, along with the nature of the optode components, its response depends on the quantitative composition [
36], therefore, it was also varied in this study to finely tune the optical signal for the required concentration range.
Optode thin films of compositions
1–14 (
Table S3) were fabricated by spin-coating. Their response in NaCl solutions of different concentrations at fixed pH = 6.5 was recorded spectrophotometrically. Examples of the series of spectra for the optodes with all three used chromoionophores are shown in
Figure S1(B-D). The most representative examples of the corresponding response curves are presented in
Figure 1 (for compositions
2 and
11) and in
Figure S2(A–H). The analytical characteristics of the optical response are given in
Table S4.
The theoretical response curves for the optodes of the studied compositions were calculated using conventional formalism of the optode response: Equation (5) (for sodium-selective ion-exchange based optodes) or Equation (6) (for chloride-selective coextraction based optodes) [
37]:
where
α = [C]⁄CT—the relative optode signal (the fraction of the deprotonated chromoionophore);
CT, LT, R-T—gross concentrations of the active components: chromoionophore, ionophore and ion-exchanger (when needed), respectively;
Ka—protonation constant of the chromoionophore in plasticized PVC,
βIL(XL)—ion-ionophore complex formation constant;
kH, kI, kX—Eisenman partition coefficients of the corresponding ions [
38] between polymeric and aqueous phases.
The following parameters available from the literature were used for calculations: constants of ion-ionophore complexation in the polymeric phase (PVC:DOS 1:2) log
βIL(Na VI) = 6.55 [
39], log
βIL(Na X) = 7.5 [
40], log
βXL(Cl II) = 3.6 [
41]; acidity constants for the chromoionophores p
Ka(Ch I) = 12.0, p
Ka(Ch II) = 10.2, p
Ka(Ch III) = 13.4 [
42]. The cation/anion partition coefficients between the aqueous and polymeric phases log(
kNa/kH) = -0.4 (estimated for optode membranes with Ch I, [
43]), -0.02 (estimated for optode membranes with Ch II, [
40]) or –0.11 (estimated for optode membranes with Ch III, [
40]), log(
kClkH) = -9.37 [
44]. The calculations were performed at pH 6.5 characteristic of neutral sweat fluid typically secreted by apocrine glands and then extrapolated by means of Equations (5) and (6) to pH 5.5 and 8.0 typical of sweat secretion by eccrine glands and in large skin folds, respectively.
The theoretical and experimental response curves for the Na
+-selective sensors were found to be in good agreement (see
Figure 1 and
Figure S2(A–E)). The calculated and experimental response medians, as well as ion-exchange/coextraction constants (see
Table S4), showed insignificant differences, except for composition
8, where the discrepancy between the theoretical and observed response median reached 0.3 log units.
In the case of chloride-selective optodes, the expected and observed coextraction constants did not converge when using the complexation constant from the literature: the response range for compositions
10–12 is shifted towards lower NaCl concentrations compared to the predicted range. This discrepancy may be attributed to inaccuracies in the literature data regarding the complexation of the ionophore with the chloride anion. Based on the experimental data, the ion-ionophore complexation constant was re-estimated using Equation (6), giving log
βXL(Cl II) = 4.17 ± 0.07. This value is approximately 0.6 log units higher than that reported in [
42]. The newly determined constant was further used to recalculate the response of the chloride-selective sensors and provided decent agreement between the calculation and experiment (
Figure 1B and
Figure S2(F–H)) except for composition
14, where the discrepancy in the inflection point was about 0.5 log units. This may be due to the use of a different batch of chloride ionophore II, which had been stored longer and had partially degraded. Furthermore, the generally recognized theory expressed by Equation (6) successfully predicted the response median but failed to predict the response slope in the case of composition
12, which appears to require separate investigation.
Correlations were observed between the composition of the sensing phase and the response range and sensitivity of the resulting optodes (
Table S4). An increase in ionophore content in Na
+-selective optodes led to a slight loss in sensitivity: a decrease by factors of 1.1 and 1.3 was observed when comparing responses of the compositions
2 and
3 (ionophore Na X), and
5 and
8 (ionophore Na VI), respectively. A similar decrease in sensitivity with increasing ionophore content was noticed for Cl
--selective optodes (compositions
10,
11). However, in this case, the loss of sensitivity was accompanied by an expansion of the response range from 2.6 to 3.5 log units.
Among Na+-sensors, those containing the less lipophilic cation exchanger TpClPB (composition 9) demonstrated the highest sensitivity. No significant change in sensitivity was observed when Ch I (composition 1) was replaced with Ch III (composition 2).
The width of the response range for all Na+-selective optodes was within 2.5-2.8 log units. For Cl--selective sensors, composition 12 with a large excess of ionophore over chromoionophore exhibited a narrow response range (0.9 log units) and the greatest sensitivity. In contrast, composition 14, with a much lower ionophore-to-chromoionophore molar ratio, delivered a significantly broader response range (3.3 log units).
The key criterion for selecting optimal compositions was a suitable response range enabling measurements in the physiological range of Na+ and Cl- concentrations in sweat, ~5–100 mmol/L (approximately -2.3 to -1.0 in log units). Optodes based on chromoionophore II (pKa = 10.2) demonstrated response ranges that fell far below (in the case of Na+-selective sensors) or above (for Cl--selective optodes) the required concentration ranges and were therefore not further studied.
The Na
+-selective compositions
2–
4 showed an optimal optical response in the desired concentration range at an intermediate pH of 6.5 (see
Figure 1 and
Figure S2), whereas composition
1, based on the calculated response, can be used to measure sodium concentrations in sweat samples with a pH of around 5.5. Compositions
5,
8, and
9 are suitable for Na
+ detection in more alkaline sweat samples with a pH closer to 8. For measuring Cl
- anions in neutral sweat samples (pH 6.5), chloride compositions
11 and
14 can be chosen. Compositions
10 and
12 demonstrated sufficiently suitable response medians for determining chloride anion in the range of interest at pH 5.5 and 8, respectively.
As shown by the responses of compositions
1 and
2, replacing the Ch I (p
Ka = 12) with less acidic Ch III (p
Ka = 13.4) leads to a shift of the response median towards more concentrated solutions by approximately 1.3 log units, which is close to Δp
Ka (
Figure S3A). This observation corresponds to well-established formalism [
39].
Figure S3B shows the effect of substituting the ionophore in otherwise identical compositions
2 and
5. The nearly 1.0 log unit shift of the response range coincides with the logarithmic difference in complex formation constants of sodium ionophores Na X and Na VI. Finally, changing the quantitative composition, namely, increasing the ionophore content, leads to the expected effect of decreasing the measurable concentration (compare the plots for compositions
2 and
3 in
Figure S3C) [
36].
The hysteresis of the optode response was estimated (i) spectrophotometrically for the spin-coated optode films of compositions
1 and
10 suitable for acidic sweat samples,
2, 3, 11 and
14 for neutral sweat, and
5 and
12 for alkaline samples; (ii) by means of macrophotography followed by DCA for the optodes of compositions
2, 3, 14 fabricated in the form of drop-cast arrays. The results are shown in
Figure 2 for compositions
2 and
11, and in
Figure S4 for the remaining compositions.
The tested compositions generally showed no significant hysteresis, with the maximum difference in analyte activity measured at α = 0.5 on the ascending and descending branches, not exceeding 0.09 log units in most cases. However, composition 14 was a notable exception, exhibiting a discrepancy of 0.5–0.8 log units for both registration methods. This can again be explained by partial degradation of the used batch of ionophore.
While the response time for thin spin-coated films (1.5–3 μm thick) was on the order of seconds, thicker drop-cast optodes (15–20 μm) exhibited significantly slower kinetics, with response times reaching 10–15 minutes (see
Figure 3A and further examples in
Figure S11 for artificial sweat measurements). In the case of drop-casting, the highly hydrophobic Teflon surface impedes the spreading of the optode droplets, thereby limiting their distribution over a larger area.
It is well-established that the response time depends quadratically on the membrane thickness [
39]:
where
denotes the membrane thickness, and
stands for the diffusion coefficient within the membrane phase. Consequently, to accelerate sensor equilibration, it is necessary to reduce the optode thickness. To achieve this, the initial optode cocktail was diluted approximately two-fold with THF (using a volume ratio of 1:15 instead of the standard 1:8). With a typical optode-to-THF volume ratio of 1:8, the dry membrane thickness, estimated from the response time using Equation 7, was approximately 23 μm. However, due to the reduced amount of solid components per unit volume of THF and the altered surface tension of the optode solution, the final membrane thickness decreased and was estimated to be 8.5 μm. This reduction resulted in a nearly 7.5-fold acceleration of the response time (
Figure 3B). The optimized protocol was further employed to prepare optode compositions containing TiO
2.
3.2. Optimization of Measurement Protocols
The simplification of signal registration systems is often accompanied by a degradation in sensor analytical performance if not properly designed. To evaluate the quality of readouts when replacing bulky spectrophotometry with digital colorimetry, we adopted the approach proposed by the authors of ref. [
30] who proposed the parameter robustness (
Rob). This metric allows for a quantitative assessment of major factors that may vary depending on the experimental protocol and unambiguously determines the advantages of a particular signal registration method. In this work, robustness is evaluated as the ratio of the dynamic range to the geometric mean of the standard deviations for each sensor across the entire concentration range (see Equation (4)). The higher this parameter, the superior the measurement quality. In this section, drop-cast optode arrays were exclusively employed to verify whether conventional thin-film spectrophotometry can be substituted by optode array imaging combined with DCA.
To assess the robustness of the optodes under various signal registration conditions, two compositions differing in the nature and quantities of active components (compositions 1 and 12) were selected. Arrays containing 9 individual sensors were calibrated in NaCl solutions (6–8 concentrations) at pH 5.5 and 8 for compositions 1 and 12, respectively. The robustness analysis covered three key parameters: the type of image acquisition device, the illumination source and conditions, and the shooting angle. The capturing devices included a research-grade microscope camera, a consumer-grade camera, and two smartphones of different price categories. Illumination was varied using incandescent lamps (at fixed and randomly changing angles), the built-in flash of smartphone 2, and ambient room light (office LED lamps). For all setups, images were acquired using smartphone 2. The shooting angle was varied from normal to the Teflon surface to 45° as well as dynamically within the range from 45° to 90°.
For comparison,
Figure S5 presents the normalized irradiation spectra of the aforementioned light sources alongside the typical absorption spectrum of the chromoionophore. The obtained values of robustness are presented in
Figure 4.
The robustness values obtained using a research-grade camera and a consumer camera were comparable for both optode types; notably, the higher-quality smartphone outperformed both mentioned cameras in terms of robustness (
Figure 4A). Overall, the results demonstrate that the use of simple and accessible devices, such as smartphones, for optical signal registration does not lead to a critical decrease in robustness compared to laboratory instruments. For both optode compositions, all protocols yielded comparable results (except for
smartphone 1 with composition
1), while
smartphone 2 consistently exhibited the highest robustness value.
Since the analytical signal is derived from a photograph of the sensor array, external illumination is the primary factor that can directly affect the measurements.
Figure 4B evidences a significant role of the light source; in our experiment, incandescent lamps provided the highest robustness values (
Figure 4B), even under dynamic illumination mode (for the case of composition
12). Although the smartphone flash features a high-quality white emission spectrum (
Figure S5), it generally delivered lower robustness values compared to incandescent lamps. This can be attributed to the greater discreteness and spectral inhomogeneity of LED emission relative to thermal sources. The relative improvement in robustness observed under ambient room light, which, in fact, shares a similar emission spectrum with the smartphone’s white LEDs (
Figure S5), can be explained by the superior homogeneity of illumination over the area of interest. This effect arises from indirect positioning of the light source and scattering within the environment, which prevents the formation of local shadows.
Based on
Figure 4C, it can be concluded that the positioning of the recording device has a rather weak influence on the reliability of the results. However, to maintain its impact constant under real measurement conditions, it is advisable to keep the capturing angle fixed and preferably close to 90° relative to the substrate surface.
In real-world applications, the intrinsic coloration of a sample can interfere with optical measurements performed using transparent PVC-based optode films. To mitigate this background contribution, we adopted the strategy described in ref. [
31], which involves incorporating light-scattering microparticles into the polymeric matrix to render the optode opaque.
To optimize the density and homogeneity of the dispersion within the polymeric phase, several protocols for incorporating nanosized TiO2 particles were evaluated. The mass ratio of PVC to TiO2 was varied from 1:0.25 to 1:1. Particle dispersion was achieved using either an ultrasonic bath or vortex mixing, while the duration of treatment was also systematically varied. Then, the resulting compositions were deposited on flexible polypropylene supports to form an array and imaged against a black background.
The dependences of the mean grey intensity of chromoionophore-free PVC films on the TiO
2 content, dispersing method, and sonication time are presented in
Figure S6, while
Figure S7A shows representative optical images of the resulting TiO
2-containing films placed on various colored backgrounds. Overall, introducing TiO
2 particles to the membrane effectively mitigates the background color interference. Under the experimental conditions used (black background), the average grey intensity, by its proximity to pure white, reflects the overall opacity of the film. Furthermore, the standard deviation of the pixel intensities within a single array element reflects the degree of TiO
2 heterogeneity in the bulk polymer.
Figure S6A suggests that, for ultrasonication, a processing time of 60 minutes is sufficient to achieve maximal background filtering; longer exposure does not improve opacity and leads to less uniform distribution of TiO
2 throughout the film bulk due to particle agglomeration. As expected, increasing the TiO
2 fraction results in higher film opacity and more efficient suppression of the background signal (
Figure S6B). Generally, vortex dispersion (
Figure S6C) outperforms ultrasonication: it yields higher mean values of grey and produces a more homogeneous spatial distribution of the dopant. These characteristics further improve with prolonged mixing times. Therefore, a protocol comprising 20 min of vortexing at a PVC:TiO
2 mass ratio of 1:1 was established as optimal for incorporating the color-filtering agent into the optode membranes.
Figure 5 and
Figure S7B compare the colorimetric responses of drop-cast optode arrays prepared with and without titanium dioxide (compositions
15 and
2, respectively) when measured against various colored backgrounds simulating skin hues. The arrays were cast onto a transparent polypropylene support, and the optical signals were captured using a digital microscope camera coupled with an incandescent illumination system.
Figure S7B unambiguously demonstrates an expansion of the optical response span upon incorporation of the light-scattering component. This observation is consistent with established optical principles: the introduction of scattering particles increases the effective path length of light within the membrane due to multiple internal reflections, which in turn amplifies the magnitude of the colorimetric change [
31].
Meanwhile, the plots in
Figure 5A demonstrate a trend of increasing response amplitude for optical sensors without TiO
2 as the background color shifts from white to beige and dark beige. This artifact arises because transparent TiO
2-free sensors do not mask the underlying substrate; since the chosen backgrounds exhibit high reflectance in the red spectral region, they elevate the red-to-green ratio captured by the camera. The influence of this parasitic absorption becomes increasingly significant as the chromoionophore transitions into its deprotonated form.
In contrast, optodes doped with titanium dioxide at a 1:1 ratio with PVC exhibit a stable response regardless of the background hue. Nevertheless, a negligible residual trend persists, characterized by a minimal response span on a white background and a marginally expanded span against a dark beige background.
Finally, the effect of TiO
2 addition on the response time of the optodes was studied using compositions
2 and
15 prepared from the diluted casting solutions (1:15 volume ratio of membrane components to THF). The dynamic response of the optodes with and without TiO
2 to the change in NaCl concentration from 10
-4 to 10
-1 mol/L is shown in
Figure S7C. Evidently, incorporating TiO
2 into the polymeric phase at a 1:1 mass ratio does not significantly increase the response time.
To conclude, light-scattering agents such as TiO2 can be successfully implemented in polymeric optode membranes to render them opaque and effectively prevent interference from colored samples without compromising sensor sensitivity, response span, or measurement time.
3.3. Measurements in Artificial Sweat Solutions
The validation of the obtained optodes was conducted in model artificial sweat solutions (
Table S1) across a physiological pH range of 5.5 to 8.0. Based on preliminary screening, optimal membrane compositions were selected:
1, 2, 5 and
10, 11, 12 selective for sodium and chloride ions, respectively.
To ensure the composition of the artificial sweat solutions, acidic and alkaline samples were titrated potentiometrically using a glass pH electrode to localize the inherent buffer capacity (
Figure S8A,B). The resulting buffer capacities covered pH ranges of 5.5–8.0 for acidic sweat and 7.0–9.1 for alkaline sweat. As the neutral sweat standard lacks an intrinsic buffer system, 0.01 mol/L HEPES buffer was added to maintain a stable pH of 6.5 within the target range of 6.0–8.0. In the neutral standard containing lactic acid, time-dependent precipitation of polylactides was observed. Consequently, optimal storage conditions were established (
Figure S8C), and all subsequent solutions were stored at 4 °C in opaque beakers to prevent chemical degradation.
The response curves were recorded using two different recording devices: a spectrophotometer (for thin films) and a research-grade digital camera coupled with a microscope (for drop-cast arrays). For direct comparison, the data collected from the two methods were normalized to a unified scale. For spectrophotometry, the absorbance intensity of the protonated optode in contact with 0.1 mol/L HNO
3 was defined as 1, while the signal in 0.1 mol/L KOH was defined as 0. For digital colorimetry, the red-to-green component ratio upon contact with 0.1 mol/L HNO
3 was set to 1, and the ratio in 0.1 mol/L KOH was set to 0. Representative calibration plots obtained by these methods are presented in
Figure 6 for compositions
2 and
11 and in
Figure S9 for the remaining optodes.
To assess response hysteresis in artificial sweat, calibration curves obtained via spectrophotometry and macrophotography were compared for both increasing and decreasing analyte concentrations. Representative results obtained in acidic sweat standard for compositions
1 and
12 are shown in
Figure 7, while for the remaining compositions are presented in
Figure S10.
Both Na+- and Cl--selective compositions showed good agreement between the ascending and descending branches of their respective calibration curves. However, hysteresis was more pronounced in the complex artificial sweat matrix than in pure aqueous NaCl solutions, particularly for chloride-selective sensors and in the case of using macrophotography for signal acquisition. This effect may be attributed to the thicker optode films in drop-cast arrays and incomplete equilibration with the artificial sweat solution in some cases.
The response time of the drop-cast sensors in artificial sweat samples was approximately 7.5 min for sodium-selective sensors and averaged 14 min for chloride-selective optodes (
Figure S11). Nevertheless, rapid equilibrium is not essential for the intended epidermal application of these sensors, in which sweat composition is expected to be monitored over longer time intervals. Furthermore, if faster kinetics becomes necessary, the equilibration time may be reduced by diluting the membrane casting solution before deposition to produce thinner sensing films.
To prepare model artificial sweat samples for the recovery-based validation (
Table S2), calibration solutions were mixed in different proportions to obtain samples with known Na
+ and Cl
– concentrations. Calibration curves for thin optode films and drop-cast sensor arrays were recorded using spectrophotometry and macrophotography combined with DCA, respectively. The concentrations of the validation samples were then back-calculated from the linear domains of the corresponding calibration curves. The results are presented in
Figure 6Figures 6, S9 and summarized in
Table S5. Both tested measurement approaches yielded comparable quantitative results for both ions. The deviation between the found and target concentrations did not exceed 10% on a logarithmic concentration scale, corresponding to a minimum recovery of 93.9%. These results support the potential applicability of the developed sensors for Na
+ and Cl
– determination in sweat. Furthermore, given its portability and simpler instrumentation, macrophotography may provide a practical alternative to conventional spectrophotometry for in situ analysis with optical sensor arrays.
To evaluate sensor performance under conditions more closely resembling epidermal measurements, artificial sweat solutions (pH 6.5) were absorbed onto filter paper strips to simulate a moist skin surface. Excess solution was removed by blotting, and the sensor array based on composition
4, deposited on a flexible transparent polypropylene support, was placed in contact with the moistened paper and allowed to equilibrate. Calibration curves were acquired using a microscope camera under incandescent lamp illumination (
Figure 8A) and
smartphone 3 with built-in LED flash (
Figure 8B). The resulting calibration curves were then used to determine Na
+ concentrations in two artificial sweat validation samples, with the results summarized in
Table 1.
Under both imaging conditions, the normalized color ratio showed an approximately linear dependence on the logarithm of NaCl concentration within the studied range, with R
2 values of 0.995 and 0.988 for the microscope and smartphone cameras, respectively. Measurements obtained using the microscope camera exhibited lower variability than those acquired using the smartphone, particularly at the higher concentration level. Nevertheless, the two imaging approaches produced comparable mean recoveries, ranging from 84 to 86% for the microscope camera and from 82 to 88% for the smartphone (
Table 1). The smartphone measurements showed greater uncertainty, especially for the 90 mmol/L sample, but the built-in LED flash provided sufficiently reproducible illumination to distinguish between the tested concentration levels. Overall, the experiment demonstrates the feasibility of acquiring the optode response from a flexible sensor array under conditions simulating contact with a moist epidermal surface. However, the recoveries below 90% indicate a negative analytical bias that should be considered and further minimized before application to real sweat samples.