Abstract
We present a rapid, accurate and miniaturized electrochemical platform for urinary chloride measurement using chronopotentiometry coupled with conductivity measurement on screen-printed electrodes. Chronopotentiometry was employed to measure physiological chloride concentrations (10–200 mM) in urine mimicking electrolyte solutions (UMES) and urine samples obtained from research participants transitioning from high to low salt diets. The current density used in chronopotentiometry was systematically optimized between 60 and 960A/m2 using UMES; however, no single current density was able to resolve the entire physiologically relevant chloride range. Therefore, two separate calibration curves were constructed using current densities of 120 A/m2 and 600 A/m2 for the 10–50 mM and 50–200 mM chloride concentration ranges, respectively. Additionally, our studies revealed that sample conductivity (3–42 mS/cm) introduces significant variability in the chloride measurement. Thus, the effect of conductivity on urinary chloride measurement was addressed using two independent correction strategies: a heuristic statistical approach and a machine learning approach. The heuristic statistical method improves the coefficient of determination (R2) from 0.81 (uncorrected) to 0.95 (corrected). The machine learning approach, based on the XGBoost algorithm, achieved R2 values of 0.98 on the training set and 0.93 on the independent test set.
Keywords: Electrochemical sensing, Chloride, Conductivity, Chronopotentiometry, Urine, Point-of-care testing
1. Introduction
The precise measurement of chloride levels could assist in managing cardiovascular disease, particularly those with heart failure (HF) and hypertension (Arora, 2023; Grodin et al., 2016; ter Maaten et al., 2016; Zandijk et al., 2021). These cardiovascular diseases affect nearly 64 million individuals worldwide and are associated with substantial morbidity and mortality (Bozkurt et al., 2025; Shahim et al., 2023). Current medical guidelines emphasize low salt dietary approaches as a primary preventive and therapeutic approach to cardiovascular disease (Jones et al., 2019; Chrysohoou et al., 2022; Gay et al., 2016). However, measurement of salt intake by questionnaire or self-report is cumbersome, prone to bias, and does not provide real-time feedback to providers or patients (Cobb et al., 2014). In patients with HF, who often experience fluid overload and volume congestion, loop diuretics are typically prescribed (Arumugham and Shahin, 2024; Casu and Merella, 2015; Magdy et al., 2022; Shahim et al., 2023). Rapid and complete decongestion with diuretics in patients with decompensated HF improves symptoms and clinical outcomes, but can be challenging to achieve (Pagnesi et al., 2025). The response to diuretic therapy is typically evaluated by monitoring daily weight changes and urine output. However, these parameters are time-delayed and prone to measurement inaccuracies, underscoring the need for rapid and precise monitoring to optimize patient outcomes and reduce complications (Konerman et al., 2022).
Measurement of urinary electrolytes can identify diuretic resistance and guide dosing; among electrolytes monitored during diuretic therapy, chloride has emerged as particularly important (Aletras et al., 2025; Kataoka, 2021; Zandijk et al., 2021). Chloride is an essential ion in the body that helps keep fluids balanced, controls acidity levels, and supports normal heart and kidney function (Berend et al., 2012; Raut et al., 2024). While clinicians have often focused on sodium levels when treating heart failure due to its role in fluid retention and volume overload, recent evidence shows that chloride plays an equally prominent role in predicting mortality and therapeutic response (Aletras et al., 2025). Imbalances in chloride levels can make symptoms worse, reduce diuretic effectiveness (Kataoka, 2021), increase hospital length of stay, and contribute to complications such as arrhythmias and muscle weakness (Huxel et al., 2025; Schwinger and Erdmann, 1992). A reliable, fast, and accurate device to monitor chloride levels regularly could improve diuretic management and potentially outcomes in HF.
The most widely used clinical methods for measuring chloride ion concentration are the ion-selective electrode (ISE), coulometry and colorimetric techniques, which can be applied to blood or urine samples (Rayana et al., 2006). The ISE offers high sensitivity with rapid turn-around times; however, they require complex instrumentation, rigorous calibration, and skilled personnel. Traditional laboratory methods include coulometric titration, where chloride is measured
By titration with electrogenerated silver ions (Cotlove et al., 1958). Although accurate, coulometric methods require bench-top instrumentation, regular electrode maintenance, and are not portable, making them less suitable for point-of-care testing. Colorimetric assays, which rely on reagents forming colored complexes with chloride, offer simplicity and are used in some clinical labs for screening, but typically have lower specificity and may be influenced by sample color or turbidity (Crockson, 1963). Collectively, these conventional methods underscore the ongoing need for faster, simplified, and reliable chloride measurement that are suitable for decentralized or bedside application.
Beyond standard clinical assays, several innovative electrochemical methods have been developed to detect chloride using specialized sensors and electrodes (Ke, 2020). Trnkova et al. employed carbon paste electrode (CPE) customized with solid AgNO3, a solution of AgNO3 and/or solid silver particles, utilizing the amperometry electrochemical technique (Trnkova et al., 2008). Similarly, Patella et al. conducted electrochemical detection of chloride ions using Ag-based electrodes obtained from an upcycled compact disc using linear sweep voltammetry (Patella et al., 2022). Using the same electrochemical technique, Lopresti et al. developed a wearable silver based electrochemical sensor for chloride detection in sweat (Lopresti et al., 2022). Previous work from our lab investigated multi-step chronopotentiometry at varying current densities to measure a wide range of chloride concentrations and assess sensor reusability across multiple measurements (Nelson et al., 2023; Schubert et al., 2025). While these studies demonstrate promising electrochemical strategies for chloride detection, further advances are needed to achieve rapid, accurate, and user-friendly solutions, particularly for complex matrices such as urine.
The goal of this study was to measure physiologically relevant urinary chloride in concentrations ranging from 10 to 200 mM (Wang et al., 2013). We have developed an electrochemical chronopotentiometric sensor for measuring urinary chloride concentration, coupled with a conductivity sensor for precise measurements. We optimized the chronopotentiometric sensor and developed a novel dual-current density calibration curve to measure physiologically relevant urinary chloride. The accuracy of urinary chloride measurements has been improved by incorporating sample conductivity into our analysis. For urinary conductivity measurements, we have developed an electrochemical sensor employing a gold screen printed electrode to measure bulk resistance of a sample to calculate its conductivity. Our developed method offers a miniaturized and accurate solution, delivering chloride concentration results within a matter of seconds.
2. Theory and background
2.1. Chloride measurement
Chloride measurement utilizes chronopotentiometry, a constant-current electrochemical technique with a silver working electrode, in which silver is oxidized in the presence of chloride ions to form AgCl, Equation (1).
| (1) |
As chloride near the electrode is depleted, the measured voltage increases sharply, signaling a transition to a new electrochemical process (Abbas et al., 2013; Baur, 2007; Nelson et al., 2023). The precise moment of local chloride ion exhaustion, known as the inflection point and the corresponding transition time (τ) is mathematically defined by the Sand equation (Equation (2)).
| (2) |
| (3) |
where, Faraday’s constant , mean chloride ion diffusion coefficient , current density , bulk ion concentration (C*), and chloride ion transference number are crucial parameters in the Sand equation (Equation (2)). The transference number can be computed (Equation (3)) for chloride and other ion species in the electrolyte, considering the ion charge , limiting molar conductivity , and bulk ion concentration (C*).
2.2. Conductivity measurement
Conductivity is determined by applying a small amplitude alternating current (AC) at a fixed high frequency (e.g., 1 MHz) and measuring the resulting bulk resistance between gold screen-printed electrodes. At such high frequencies, the measured impedance is dominated by its real (resistive) component, as electrode polarization and interfacial effects are minimized (Halim et al., 2021; Magar et al., 2021). Thus, the resistance primarily reflects the bulk properties of the electrolyte solution.
The relationship between measured resistance and solution conductivity depends on the geometry of the measurement cell, as the cell constant defined in Equation (4). Once the cell constant is known by calibrating standard solutions, the conductivity of unknown samples can be calculated from their measured resistance using Equation (5).
| (4) |
| (5) |
where is cell constant (cm−1), is conductivity of the standard solution (S/cm), is measured resistance of the standard (Ω), is conductivity of the sample, and is measured resistance of the sample .
Building on these principles, the present study aimed to advance chloride sensing technology by coupling chronopotentiometric detection with conductivity-based corrections thereby enabling precise and practical assessment of chloride concentrations in urine samples.
3. Materials and methods
3.1. Materials and reagents
Sodium chloride, NaCl, >99% and sodium sulphate, Na2SO4, >99% were purchased from Sigma-Aldrich (St. Louis, MO, USA). Deionized water was purchased from Fisher BioReagents (Waltham, MA, USA) and Avantor (Radnor Township, PA, USA). Screen-printed electrodes named DRP-C013 and DRP-220AT were purchased from Metrohm Dropsens (Oviedo, Spain). SP-200 potentiostat (Biologic Science Instruments, Seyssinet-Pariset, France) is used to apply electrochemical techniques. The conductivity probe, Orion™ DuraProbe™ Epoxy Bodied Graphite 4-Cell Conductivity Electrode and conductivity meter, Orion Star™ A212 Conductivity Benchtop Meter were purchased from Thermofisher (Waltham, MA, USA). The artificial urine was obtained from Biochemazone (BZ104, Edmonton, AB, CA, USA) and customized as per our requirement, where it contains no chloride with sodium citrate, sodium phosphate dibasic, magnesium sulphate heptahydrate, sodium sulphate, potassium phosphate, uric acid, urea, acetic acid, and creatinine.
3.2. Preparation of test solutions
3.2.1. Chloride measurement
To calibrate chronopotentiometry, a stock solution of 20 mM Na2SO4 in deionized water was prepared. Aliquots of this stock were supplemented with varying amounts of NaCl from 5 to 200 mM, while the Na2SO4 concentration was kept constant. Measurements were performed in triplicate (n = 3) on different days using freshly prepared solutions and new electrodes for each test. The customized artificial urine is spiked with sodium chloride to the necessary chloride concentration.
3.2.2. Conductivity measurement
For these tests, a stock solution of, for example, 100 mM NaCl was prepared, and incremental amounts of Na2SO4 (5–150 mM final concentration) were added to separate aliquots to achieve a broad range of conductivities. The conductivity values were selected to align with the typical range observed in urine samples, which spans from 1 to 34 mS/cm with an average of 21.5 mS/cm (Fazil Marickar, 2010). Similar series of solutions were prepared for other fixed NaCl concentrations from 10 to 200 mM.
3.3. Experimental setup for measuring chloride concentration
Silver screen-printed electrodes (DRP-C013) as shown in Fig. 1(a), were used for chloride ion measurements. Each electrode consists of a silver working electrode (diameter 1.6 mm, active area 2 mm2), a carbon counter electrode, and a silver pseudo-reference electrode. The electrodes, test solution, and potentiostat probe were held in a custom-designed 3D-printed chip holder (Nelson et al., 2023). For each experiment, 300 μL of the sample was added to the holder. The entire assembly, including the chip holder, electrode, and sample solution, was maintained at 25 °C using a water bath.
Fig. 1.

The schematic representation of the screen-printed electrode and setup (a) For chloride measurement, Dropsens C013 and schematic of chronopotentiometric setup, where a constant current is applied between the working and counter electrodes, and change in voltage is measured, (b) For conductivity measurement, Dropsens 220AT with gold working and counter electrodes is used where a current pulse is applied and resistance is measured at 1 MHz frequency. (For interpretation of the references to color in this figure legend, the reader is referred to the Web version of this article.)
Fig. 1(a) illustrates a schematic of the experimental setup, with the electrode submerged in the test solution and connected to a potentiostat. Chronopotentiometric measurements were performed using Biologic’s EC-Lab software. The measurement protocol consisted of two steps: first, an open circuit potential (OCP) was applied for 30 s to allow the system to reach equilibrium, during which no current was passed between the working and counter electrodes. Following this, a chronopotentiometry (CP) was applied for 5 s. A cutoff voltage of 0.9 V was set to automatically terminate the measurement if the voltage reached this value, preventing unwanted reactions that could affect the working electrode surface. Voltage versus time data (known as a chronopotentiogram) from the CP measurement was acquired at 0.01 s intervals and saved as text files. We regenerated electrodes between experiments by reversing the electrochemical reaction i.e. applying a voltage of 0.4 V that converted AgCl back to Ag, which removed chloride ions from the electrode surface into the 100 mM Na2SO4 solution. Regenerated electrodes were used to produce replicates for conductivity experiments. For calibration curve generation and clinical sample measurements, fresh electrodes were used for each test.
3.4. Experimental setup for measuring conductivity
We developed a method to measure conductivity employing gold screen-printed electrodes (DRP-220AT) in combination with high-frequency resistance measurement, as shown in Fig. 1(b). The setup utilized the same custom sample holder and temperature control described in section 3.3, accommodating only 300 μL per test. Prior to measurements, a 30 s open-circuit potential was applied to ensure solution equilibrium. Screen-printed electrodes configured in a two-electrode system (gold working and counter electrodes) were used. Measurements were performed by recording the real impedance (resistance) at a frequency of 1 MHz, while applying a 1 μA current. Calibration was performed using standard solutions of known conductivity to determine the cell constant, which was then applied to calculate the conductivity of unknown samples as explained in section 2.2. The accuracy of the conductivity measurements was first validated using a urine-mimicking electrolyte solution (UMES), and subsequently with artificial urine samples (SI Figure S1(a)), where our method demonstrated strong agreement with the standard commercial probe. Based on this validation, the method was applied to measure conductivity of clinical urine samples.
3.5. Collection and preparation of clinical samples
Human urine samples were collected during a dietary intervention clinical trial (NCT03170375) conducted at the Veterans Affairs (VA) Health System in Ann Arbor, Michigan, between 2019 and 2022. The trial was approved by the VA Ann Arbor Institutional Review Board and funded by the VA Office of Research and Development (I01CX001636). A total of 65 samples from patients with hypertension were analyzed. After a two-week period on usual diet, participants consumed a low-salt (chloride and sodium) diet for two weeks. 24-hour urine samples were collected and aliquoted at two time points: prior to starting the low-salt diet (week 0) and after two weeks on the low-salt diet (week 2). After collection, all samples were stored at −80 °C to preserve analyte integrity until analysis. Before measurement, samples were thawed and brought to room temperature, then split into two aliquots. The first aliquot was analyzed by the VA Pathology using the Beckman Coulter DxC 500 AU analyzer which uses ISE method and offers high precision, with a total coefficient of variation (CV) of 0.64% for chloride determination. This method serves as the gold standard in this study. The second aliquot was used in our laboratory to measure chloride concentration and conductivity. To prevent the inclusion of precipitates, samples were not mixed after thawing and measurement aliquots were drawn from the clear supernatant, leaving settled particulates undisturbed at the bottom of the container; no filtration or centrifugation steps were performed. Due to limited sample volumes, both our analysis and the pathology department were performed as single measurements rather than triplicates.
3.6. Data analysis
Chronopotentiogram data were analyzed using an in-house-developed Python program. The derivative of voltage with respect to time was computed, and the transition time defined as the point corresponding to the maximum derivative was identified and used to determine the chloride concentration. Two chloride-conductivity correction approaches were developed. For heuristic model development, cubic regression equations were constructed using statistical methods implemented in Python. Machine learning models were implemented using the scikit-learn library in Python. Multiple algorithms, including multiple linear regression, Random Forest, Gradient Boosting, and XGBoost were trained and optimized using grid search and cross-validation techniques. Model performance was evaluated using standard statistical metrics, including mean absolute error (MAE), root mean square error (RMSE), and R2, to identify the best-performing model.
4. Results and discussion
In this section, we present a novel urinary chloride sensing platform that integrates chloride and conductivity measurement. Validation and optimization are performed on clinical trial urine samples from patients with hypertension using heuristic statistical method and machine learning algorithms.
4.1. Optimization of chronopotentiometry for physiologically relevant chloride concentration
We optimized the current densities used in chronopotentiometry to measure a physiologically relevant chloride concentration range of 10-200 mM in near-real time. In chronopotentiometry, a constant current is applied between the silver working and carbon counter electrodes as demonstrated in Fig. 1(a). As chloride ions in the sample deplete on the surface of the working electrode to form silver chloride, the local chloride ion concentration decreases. This results in a change in voltage between the working and reference electrodes, indicating the chloride levels in the sample. Fig. 2(a) presents a chronopotentiogram and its derivative for a 25 mM chloride concentration (20 mM Na2SO4 as background electrolyte) using a current density of 120 A/m2, where current density is calculated by dividing the current applied by the surface area of the working electrode. The green solid line shows the change in voltage, and the green dashed line shows its derivative. The green region indicates the depletion of local chloride ions. Once the local chloride ion concentration is completely depleted near the working electrode surface, there is a rapid increase in voltage, and this increase marks the onset of other faradaic reactions, necessary to maintain the current, which is represented as the grey region. The peak of the derivative gives the inflection point and this moment is termed the transition time, where the local chloride ions deplete, resulting in a rapid increase of voltage. For instance, the transition time (τ) of 25 mM chloride concentration at a current density of 120 A/m2 as shown in Fig. 2(a), is 0.86 s. Thus, chronopotentiometry offers a simple approach to quantify chloride concentration, where the chloride concentration is directly proportional to the square root of the transition time as shown in Equation (2).
Fig. 2.

(a) Representative chronopotentiogram (green solid line) and its derivative (green dashed line) of 25 mM NaCl and 20 mM Na2SO4 as background electrolyte at 120 A/m2. (b) Derivative of Chronopotentiograms vs time showing the effect of varying chloride concentration on transition time at different current densities, namely, 120 A/m2, 240 A/m2 and 600 A/m2. (c) Calibration curve of current densities in triplicates and represents a linear relationship between square root of transition time and chloride concentration. A current density 120 A/m2 represented by open triangular markers resolves low chloride concentrations, whereas a current density of 600 A/m2 represented by filled triangular markers works for high chloride concentrations. (For interpretation of the references to color in this figure legend, the reader is referred to the Web version of this article.)
A single current density was insufficient to provide transition times across the entire chloride concentration range within a 5-s window. This limitation is due to the nature of chloride-ion adsorption at the electrode surface. Fig. 2(b) shows the derivatives of the chronopotentiogram obtained at three different current densities of 120 A/m2, 240 A/m2, and 600 A/m2. At 120 A/m2, transition times could be determined for chloride concentrations of 10, 25, 30, 40, and 50 mM, with corresponding transition times of 0.16, 0.86, 1.56, 3.52, and 4.96 s, respectively. However, for chloride concentrations above 50 mM, this low current density does not yield a meaningful derivative within 5 s; local chloride ions cannot be fully depleted due to the slow reaction rate. Conversely, a higher current density of 600 A/m2 enables measurement of higher chloride concentrations 50, 100, 150, and 200 mM with transition times of 0.17, 0.84, 2.16, and 4.17 s, respectively. At this higher current, detection of lower chloride concentrations (<50 mM) was not feasible, as the rapid reaction prevented reliable transition time measurement. The intermediate current density of 240 A/m2 allows resolution of chloride concentrations at 25, 40, 50, 75, and 150 mM, but fails to adequately distinguish concentrations below 25 mM or above 150 mM within the 5-s window. Based on (Nelson et al., 2023) and our preliminary work, measurement windows from less than 1 s up to 15 s are systematically evaluated and findings revealed that while transition times increased with both chloride concentration and measurement duration (up to 15 s), but found that signals became unreliable beyond 5 s and the risk of electrode damage increased. For times less than 0.1 s, the chronopotentiogram exhibits a steep rise, and for times greater than 5 s, it turns horizontal, both of which lead to the absence of a significant derivative. Therefore, it is important to note that the chronopotentiogram data between 0.1 and 5 s is reliable and interpretable for determining chloride concentrations.
We employed a dual-current technique using current densities of 120 A/m2 and 600 A/m2 to measure physiologically relevant chloride concentrations from 10 to 50 mM and 50 to 200 mM, respectively. This approach enables a wide dynamic range for chloride detection without compromising the limit of detection, which is important for clinical and translational applications. Fig. 2(c) illustrates calibration curves of dual-current technique showing the linear relationship between the square root of transition time and chloride concentration. Each calibration data point includes error bars representing triplicate measurements (n = 3) at each concentration. The calibration curve was generated by linear regression, with data presented as mean ± standard deviation. The mean relative standard deviation (RSD) across all concentrations was 3.7%, indicating good assay precision; individual RSD values are provided in SI Table S1.
To evaluate the influence of common urinary interferents, chronopotentiometric measurements were performed in artificial urine (SI Figure S1(b)). Transition times and sensor responses showed negligible shifts compared to pure solutions, suggesting strong selectivity and resistance to interference. By employing this combination of current densities, we achieved comprehensive coverage across the entire physiological range of chloride concentration.
4.2. Impact of conductivity on chloride measurement
Accurate chronopotentiometric chloride quantification in complex biological samples can be significantly affected by the solution’s conductivity, which reflects the overall ionic environment and influences the measured chloride signal. Previously, conductivity has been shown to affect transition time in chronopotentiometry, thereby increasing measurement complexity (Nelson et al., 2023). Our chronopotentiometry calibration was performed using a constant background electrolyte (20 mM Na2SO4), while biological samples naturally contain a variety of other ions at varying concentrations. These additional ions can interfere with the chloride reaction and affect the accuracy of chloride measurements obtained by chronopotentiometry. Fig. 3 (a) illustrates the effect of background electrolyte concentration at constant true 50 mM chloride concentration on the measurement of transition time. As the concentration of background electrolyte in the UMES increases with the same chloride concentration, the measured transition time decreases. Conductivity of UMES has an inverse relationship with measured chloride as shown in Fig. 3(b). Where the true concentration of chloride in the solution is 50 mM, and as conductivity increases, the measured chloride concentration decreases. This inverse relationship is consistent across other chloride concentrations (SI Figure S2).
Fig. 3.

(a) Effect of background electrolyte, Na2SO4 on chloride ion measurement, keeping the chloride ion concentration constant at 50 mM for this particular experiment. (b) An Inverse relationship between measured chloride concentration and conductivity of solution was found whereas the expected chloride concentration is 50 mM (dashed line). (c) Agreement between experimentally measured transition time and theoretically calculated transition time when the actual/expected chloride concentration was 50 mM. (d) Predicted vs true chloride concentration of UMES across varying conductivities of 5, 15, 25, and 35 mS/cm. The light blue region shows the region of overestimation and the light orange region shows the underestimation. (For interpretation of the references to color in this figure legend, the reader is referred to the Web version of this article.)
Theoretically speaking, the sand equation (Equation (2)) relates the transition time, ion concentration, transference number and current density. The chloride ion transference number can be calculated (Equation (3)) for chloride (Cl−) and other ion species (k) in the electrolyte, where z is the charge of the ion, λ is limiting molar conductivity. The transference number reflects the fraction of chloride ions among all ions in the solution. When the total number of ions in the solution increases, the transference number for chloride ions decreases. As a result, the transition time associated with chloride ions also decreases, since chloride ions contribute less significantly to the overall ionic transport in the solution. Fig. 3(c) demonstrates an agreement between theoretical and measured transition time for 50 mM chloride ion concentration at varying concentration of background electrolyte (For other chloride concentration plots, please refer to SI Figure S3).
The accuracy of chloride measurements in UMES varies with conductivity, causing overestimation and underestimation at low and high conductivities, respectively. Fig. 3(d) illustrates the comparison between predicted and true chloride concentrations across different conductivity levels (5, 15, 25 and 35 mS/cm) in UMES. Ideally, if there is no impact of conductivity, we expect all the points on the diagonal line (true chloride equals to predicted chloride) as per the dual current density calibration however, we realize that we overestimated (light blue region) and underestimated (light orange region) the high chloride concentration at varying conductivities. Specifically, at lower conductivities (5 mS/cm and 15 mS/cm), predicted chloride concentrations are generally overestimated, whereas at higher conductivities (25 mS/cm and 35 mS/cm), there is a tendency toward underestimation. The results reveal both overestimation and underestimation of chloride measurements, depending on the solution’s conductivity. So, to account for conductivity discrepancies, it is important to apply a conductivity correction when interpreting chloride concentrations.
4.3. Performance on clinical samples
We validated our optimized electrochemical chronopotentiometric approach for urinary chloride measurement using urine samples from hypertension patients. We utilize the dual current densities calibration curve, where urine samples collected at the week 0 visit (before initiation of a reduced salt diet) were measured using a current density of 600 A/m2, anticipating higher chloride concentrations, while samples from week 2 (after dietary modification) were measured at 120 A/m2, expecting lower chloride levels. Ideally, for samples with unknown matrices, a sweep current densities method should be used, in which each sample goes through both current densities one after the other and transition time will be measured at the suitable current density. Fig. 4(a) compares the chloride concentrations in urine samples measured by our developed method with those obtained from the clinical pathology laboratory, which serves as the gold standard. The data indicate a strong agreement between the two methods, with a coefficient of determination (R2) of 0.81. This high R2 value suggests that our method reliably approximates clinical measurements across a broad range of urine chloride concentrations.
Fig. 4.

(a) Comparison between chloride concentrations measured using the electrochemical sensor and values reported by the clinical pathology laboratory, (b) Sankey diagram illustrating the distribution of urine samples based on measured chloride concentration and corresponding conductivity. Each link represents the number of samples falling within specific concentration and conductivity ranges, highlighting the relationship between ionic strength and chloride levels.
In addition to validating the accuracy of our chloride measurement method, we also examined the relationship between chloride concentration and conductivity in the urine samples. The conductivity of the urine samples was calculated by measuring the bulk resistance of the urine samples. Fig. 4(b) illustrates a Sankey diagram that visualizes the distribution of urine samples across measured chloride concentration ranges and corresponding conductivity ranges. Left nodes represent binned chloride concentration ranges in the urine samples and right nodes represent binned conductivity ranges of the same samples. The width of each link (lines) corresponds to the number of samples in that particular concentration - conductivity combination. This visualization reveals that higher chloride levels are generally associated with higher conductivity, and it also makes it easy to identify patterns, common ranges, or outlier measurements among the samples.
4.4. Enhancing chloride accuracy in clinical samples with conductivity correction
Urine samples exhibit a wide range of conductivity values, and our earlier study with UMES indicated that conductivity can significantly impact chloride measurements. Based on these findings, we hypothesized that the accuracy of our method could be enhanced by applying a conductivity correction to the chloride results of urine samples. To test this, we developed two distinguished correction methods, (1) based on a heuristic statistical approach and (2) utilizing machine learning algorithms. Both strategies led to better agreement between our chloride measurements and the gold-standard laboratory results.
4.4.1. Correction using heuristic statistical approach
To systematically correct for conductivity-related variations in urine samples, urine samples were divided into four conductivity bins, as shown in Fig. 5(a–d). Each bin represents a distinct range of urine conductivities and facilitates analysis of measurement trends across physiologically relevant conditions. Measured chloride concentrations were compared to the corresponding values obtained by the pathology laboratory. In the lowest conductivity bin (6–12 mS/cm), our measured chloride concentrations showed strong agreement with the pathology results, so no correction was necessary for this group. This aligns with findings in Fig. 3(d), where minimal error was observed at low conductivity levels. For the remaining three higher conductivity bins, a systematic trend of either overestimation or underestimation of chloride was observed. To address this, we used the clinical urine sample data to derive three separate empirical cubic correction equations for each bin (12-15, 15-17 and 17-26 mS/cm). These equations were constructed by fitting the relationship between the measured chloride, the measured conductivity and pathology chloride within each bin (SI Table S2).
Fig. 5.

(a) – (d) Distribution of clinical urine samples across four conductivity bins: (a) 6–12 mS/cm, (b) 12–15 mS/cm, (c) 15–17 mS/cm, and (d) 17–26 mS/cm. Each bin represents the comparison between chloride concentrations measured by our method and those measured by the pathology laboratory. (e) Comparison of chloride concentrations measured using transition time with VA pathology after correction using heuristic statistical approach, and it gives the R2 of 0.95.
The cubic correction equations developed for each conductivity bin were applied to the measured chloride concentrations of clinical urine samples. By incorporating conductivity into the correction process, the agreement between our method and the pathology laboratory values improved substantially, with the R2 increasing from 0.81 (uncorrected) to 0.95 (corrected), as shown in Fig. 5(e). This result demonstrates that adjusting for sample conductivity effectively accounts for variability due to ionic strength and enhances the accuracy of chloride measurement.
4.4.2. Correction using machine learning algorithm
As an alternative to the heuristic cubic correction, we also explored the use of machine learning models to correct chloride measurements in clinical urine samples. To develop robust predictive models, we assembled a combined dataset consisting of 128 samples, including 65 from clinical urine and 63 from UMES. The UMES samples were specifically prepared to cover physiologically relevant chloride and conductivity ranges, yielding a balanced dataset for effectively training nonlinear models. UMES solutions were prepared to cover a broad range of conductivity (3–42 mS/cm) to ensure the applicability of predictions across expected clinical scenarios. A strategic split of the data was performed to maximize model generalization for clinical use. Our guiding principle was to ensure the testing set was enriched with real urine samples, as the ultimate objective is to accurately predict chloride levels in clinical specimens. The dataset was divided into 60% training data (76 samples; 44 UMES and 32 urine) and 40% testing data (52 samples; 19 UMES and 33 urine). This mix provides the model with synthetic sample diversity during training but reserves the true challenge, real urine prediction for the testing phase.
Models were trained using measured chloride and conductivity as primary input features and conductivity bins as an additional feature. To capture the non-linear relationships between conductivity and measured chloride concentration (as indicated in Fig. 4(b)), we engineered an additional feature, conductivity bins. Conductivity values were divided into three quantiles, labeled low (3–12 mS/cm), mid (12–17 mS/cm), and high (17–42 mS/cm) with each bin containing approximately one-third of the total dataset. This binning strategy enables the model to better account for conductivity-dependent variations and complex patterns in the relationship between measured and true chloride concentrations.
We systematically developed a range of machine learning models to identify the most suitable technique for this application. The models evaluated include Multiple Linear Regression (MLR), for baseline interpretability and to assess linear relationships; Random Forest and Gradient Boosting, for robust ensemble tree methods capable of modeling complex, non-linear dependencies and handling feature interactions; and XGBoost regressor, for advanced gradient boosting frameworks that further improve learning efficiency, and regularization. Each model was rigorously evaluated using three key performance metrics: coefficient of determination (R2), root mean squared error (RMSE), and mean absolute error (MAE), as summarized in Table 1. Hyperparameter optimization was performed using GridSearchCV for all ensemble models, while model robustness was confirmed by 5-fold cross-validation.
Table 1.
Performance metrics for all the developed machine learning models.
| Model | Performance Metrics for Training Data |
Performance Metrics for Testing Data |
||||
|---|---|---|---|---|---|---|
| R2 | RMSE (mM) | MAE (mM) | R2 | RMSE (mM) | MAE (mM) | |
| Multiple Linear Regression | 0.93 | 11.87 | 8.48 | 0.96 | 10.41 | 8.07 |
| Random Forest | 0.96 | 9.60 | 7.23 | 0.93 | 12.84 | 9.15 |
| Gradient Boosting | 0.97 | 7.19 | 5.35 | 0.93 | 12.75 | 9.53 |
| XGBoost | 0.98 | 6.23 | 4.45 | 0.93 | 13.69 | 9.76 |
Among all models, XGBoost demonstrated the highest training R2 (0.98) and the lowest RMSE (6.23 mM) and MAE (4.45 mM), indicating an excellent fit to the training data. Although the testing R2 (0.93) was similar to Random Forest and Gradient Boosting, XGBoost showed consistent performance across folds (SI Table S3), suggesting stable generalization and robustness. A higher error was observed in the test set relative to the training set, which is a common occurrence in machine learning applications due to model generalization limitations. This disparity may be attributed to the modest dataset size, as well as increased variability and edge-case samples in the test cohort that were not fully captured in the training data. Collectively, these results indicate that XGBoost is the most reliable model for predicting chloride concentration in this dataset. Given the limited sample size and the preliminary nature of our analysis, we present our model as a proof-of-concept for machine learning-based correction of chloride measurements in clinical urine samples.
To minimize overfitting in our XGBoost model, we used k-fold cross-validation and applied regularization by adjusting tree depth, learning rate, subsampling ratios, and the number of trees. Model hyperparameters were tuned and validated on separate data, with the testing set consisting primarily of clinical samples to ensure real-world relevance. Hyperparameter tuning gives the best-performing model with the hyperparameters included a learning rate of 0.05 (which controls how quickly the model updates during training), a maximum tree depth of 3 (which limits the complexity of each decision tree), 100 trees in the ensemble, and both column and row subsampling ratios of 1.0 (meaning all features and samples were used in each tree). The performance of the XGBoost regression model is illustrated in Fig. 6(a) for the training data and Fig. 6(b) for the testing data. The model achieved an R2 of 0.98 on the training set, indicating an excellent fit, and an R2 of 0.93 on the testing set, demonstrating strong predictive ability on unseen data. For both sets, the mean absolute error (MAE) remained below 10 mM, which is comparable to reference methods of ±5% allowable error (42 CFR 493.931 – Routine chemistry.) and confirms acceptable model performance. Parity plots for all models are in SI Figure S4.
Fig. 6.

Parity plot of true chloride vs predicted chloride for XGBoost model. Urine samples and Urine-mimicking electrolyte samples (UMES) are color coded to show the performance of the model on each sample type. (a) Parity plot of the training data (n = 90) with R2 of 0.98, and (b) Parity plot of the testing data (n = 38) with R2 of 0.93. (For interpretation of the references to color in this figure legend, the reader is referred to the Web version of this article.)
In summary, both the heuristic statistical and machine learning correction methods successfully improved the accuracy of chloride measurements by adjusting for conductivity variations in urine samples. The enhanced agreement with gold-standard laboratory results demonstrates that either approach can be effectively applied to achieve reliable and clinically relevant chloride assessments. These findings support the use of conductivity correction as an important part of routine chloride measurement in urine diagnostics. As additional clinical data becomes available, the model can be further retrained and refined, ensuring sustained accuracy and adaptability.
5. Conclusion
In this study, we developed a rapid and miniaturized electrochemical platform for the quantification of urinary chloride, leveraging chronopotentiometry in conjunction with conductivity measurements on screen-printed electrodes. The use of dual current densities enabled accurate detection of chloride across a physiological range (10–200 mM), addressing variability in urinary samples. Our results show that conductivity correction is essential for reliable measurements. Two strategies substantially improved analytical accuracy: the first, a heuristic approach employing bin-specific cubic equations, improved the coefficient of determination (R2) from 0.81 to 0.95 in our cardiac patient cohort. The second, a machine learning strategy using XGBoost, further advanced predictive accuracy, achieving an R2 of 0.98 on training and 0.93 on independent test data.
The system is robust and well-suited for point-of-care applications, offering straightforward sample analysis and automated data correction. Nonetheless, the current study was limited by a modest clinical sample size and the use of artificial urine matrices during initial model development. To confirm the generalizability and long-term stability of our approach, further validation in larger and more diverse clinical cohorts will be essential. Additionally, investigating the influence of other urinary constituents and potential interfering substances on sensor accuracy is crucial to ensure reliable measurements in real-world clinical settings.
Future work will concentrate on several key areas. First, we aim to continue to clinically validate and refine the platform across heterogeneous patient populations. Second, we will optimize sensor protocols including refinement of current density sweeps will be explored to improve analytical sensitivity and robustness. Third, we plan to expand the sensor’s capabilities to enable simultaneous detection of multiple urinary analytes, thereby increasing its utility for clinical diagnostics and monitoring.
Supplementary Material
Acknowledgement
This work was funded by National Institutes of Health grants P30 AG024824 and RC2 DK122379 and partially funded by the T.C. Chang Professorship. This work received support from Veterans Affairs (VA) Health System in Ann Arbor, Michigan through NCT03170375 and VA Office of Research and Development (I01CX001636). We are especially grateful to Professor Jennifer Linderman for her consistent support and in Dr. Sanaz Habibi’s career development.
Appendix A. Supplementary data
Supplementary data to this article can be found online at https://doi.org/10.1016/j.bios.2026.118637.
Footnotes
Declaration of competing interest
The authors declare the following financial interests/personal relationships which may be considered as potential competing interests: Mark A. Burns has patent pending to University of Michigan. If there are other authors, they declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Data availability
Data will be made available on request.
References
- Abbas Y, Olthuis W, van den Berg A, 2013. Sensor. Actuator. B Chem. 188, 433–439. [Google Scholar]
- Aletras G, Bachlitzanaki M, Stratinaki M, Petrakis I, Georgopoulou T, Pantazis Y, Foukarakis E, Hamilos M, Stylianou K, 2025. J. Clin. Med. 14, 5230. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Arora N, 2023. Kidney Med 5, 100614. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Arumugham VB, Shahin MH, 2024. Vol. StatPearls. StatPearls Publishing, Treasure Island (FL). [Google Scholar]
- Baur JE, 2007. In: Zoski CG. (Ed.), Vol. Handbook of Electrochemistry. Elsevier, Amsterdam, pp. 829–848. [Google Scholar]
- Berend K, van Hulsteijn LH, Gans ROB, 2012. Eur. J. Intern. Med. 23, 203–211. [DOI] [PubMed] [Google Scholar]
- Bozkurt B, Ahmad T, Alexander K, Baker WL, Bosak K, Breathett K, Carter S, Drazner MH, Dunlay SM, Fonarow GC, Greene SJ, Heidenreich P, Ho JE, Hsich E, Ibrahim NE, Jones LM, Khan SS, Khazanie P, Koelling T, Lee CS, Morris AA, Page RL, Pandey A, Piano MR, Sandhu AT, Stehlik J, Stevenson LW, Teerlink J, Vest AR, Yancy C, Ziaeian B, 2025. J. Card. Fail. 31, 66–116. [DOI] [PubMed] [Google Scholar]
- Casu G, Merella P, 2015. Eur. Cardiol. 10, 42–47. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42 CFR 493.931 – Routine chemistry 42 CFR 493.931 – Routine chemistry. https://www.ecfr.gov/current/title-42/part-493/section-493.931.
- Chrysohoou C, Mantzouranis E, Dimitroglou Y, Mavroudis A, Tsioufis K, 2022. Nutrients 14, 1386. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cobb LK, Anderson CAM, Elliott P, Hu FB, Liu K, Neaton JD, Whelton PK, Woodward M, Appel LJ, on behalf of the American Heart Association Council on Lifestyle and Metabolic Health, 2014. Circulation 129, 1173–1186. [DOI] [PubMed] [Google Scholar]
- Cotlove E, Trantham HV, Bowman RL, 1958. J. Lab. Clin. Med. 51, 461–468. [PubMed] [Google Scholar]
- Crockson RA, 1963. J. Clin. Pathol. 16, 473–475. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fazil Marickar YM, 2010. Urol. Res. 38, 233–235. [DOI] [PubMed] [Google Scholar]
- Gay HC, Rao SG, Vaccarino V, Ali MK, 2016. Hypertension 67, 733–739. [DOI] [PubMed] [Google Scholar]
- Grodin JL, Verbrugge FH, Ellis SG, Mullens W, Testani JM, Tang WHW, 2016. Circ. Heart Fail. 9, e002453. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Halim SIA, Chan CH, Apotheker J, 2021. Chem. Teach. Int. 3, 105–115. [Google Scholar]
- Huxel C, Raja A, Ollivierre-Lawrence MD, 2025. Vol. StatPearls. StatPearls Publishing, Treasure Island (FL). [PubMed] [Google Scholar]
- Jones Nicholas R., Roalfe Andrea K., Adoki Ibiye, Hobbs F.D. Richard, Taylor Clare J., 2019. Survival of Patients with Chronic Heart Failure in the Community: A Systematic Review and Meta-Analysis. European Journal of Heart Failure 21 (11), 1306–1325. 10.1002/ejhf.1594. https://academic.oup.com/eurjhf/article/21/11/1306/8407187. (Accessed 16 September 2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kataoka H, 2021. Cardiol. Ther. 10, 407–428. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ke X, 2020. Talanta 211, 120734. [DOI] [PubMed] [Google Scholar]
- Konerman MC, Bozaan DA, Adie S, Heung M, Guidi J, Stein AB, Mack M, Wesorick D, Proudlock A, 2022. Michigan Medicine Inpatient Diuretic Guideline for Patients with Acute Decompensated Heart Failure Ann Arbor (MI). Michigan Medicine University of Michigan. [PubMed] [Google Scholar]
- Lopresti F, Patella B, Divita V, Zanca C, Botta L, Radacsi N, O’Riordan A, Aiello G, Kersaudy-Kerhoas M, Inguanta R, La Carrubba V, 2022. Sensors 22, 8223. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Magar HS, Hassan RYA, Mulchandani A, 2021. Sensors 21, 6578. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Magdy JS, McVeigh J, Indraratna P, 2022. Aust. Prescr. 45, 200–204. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nelson AM, Habibi S, DeLancey JOL, Ashton-Miller JA, Burns MA, 2023. Biosensors 13, 331. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pagnesi M, Staal L, ter Maaten JM, Beldhuis IE, Cotter G, Davison BA, Jongs N, Felker GM, Filippatos G, Greenberg BH, Pang PS, Ponikowski P, Lombardi CM, Adamo M, Severin T, Gimpelewicz C, Voors AA, Teerlink JR, Metra M, 2025. JACC Heart Fail 13, 414–429. [DOI] [PubMed] [Google Scholar]
- Patella B, Aiello G, Drago G, Torino C, Vilasi A, O’Riordan A, Inguanta R, 2022. Anal. Chim. Acta 1190, 339215. [DOI] [PubMed] [Google Scholar]
- Raut SK, Singh K, Sanghvi S, Loyo-Celis V, Varghese L, Singh ER, Gururaja Rao S, Singh H, 2024. Biosci. Rep. 44. BSR20240029. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rayana MCB, Burnett RW, Covington AK, D’Orazio P, Fogh-Andersen N, Jacobs E, Kataky R, Külpmann WR, Kuwa K, Larsson L, Lewenstam A, Maas AHJ, Mager G, Naskalski JW, Okorodudu AO, Ritter C, John AS, 2006. Clin. Chem. Lab. Med. CCLM 44, 346–352. [DOI] [PubMed] [Google Scholar]
- Schubert A, Agrawal A, Lee K, Smith S, Goldsmith BR, Burns MA, 2025. Sensor. Actuator. B Chem. 443, 138193. [Google Scholar]
- Schwinger RH, Erdmann E, 1992. Methods Find. Exp. Clin. Pharmacol. 14, 315–325. [PubMed] [Google Scholar]
- Shahim B, Kapelios CJ, Savarese G, Lund LH, 2023. Card. Fail. Rev. 9, e11. [DOI] [PMC free article] [PubMed] [Google Scholar]
- ter Maaten JM, Damman K, Hanberg JS, Givertz MM, Metra M, O’Connor CM, Teerlink JR, Ponikowski P, Cotter G, Davison B, Cleland JG, Bloomfield DM, Hillege HL, van Veldhuisen DJ, Voors AA, Testani JM, 2016. Circ. Heart Fail. 9, e003109. [DOI] [PubMed] [Google Scholar]
- Trnkova L, Adam V, Hubalek J, Babula P, Kizek R, 2008. Sensors 8, 5619–5636. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wang C-Y, Cogswell ME, Loria CM, Chen T-C, Pfeiffer CM, Swanson CA, Caldwell KL, Perrine CG, Carriquiry AL, Liu K, Sempos CT, Gillespie CD, Burt VL, 2013. J. Nutr. 143, 1276–1282. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zandijk AJL, van Norel MR, Julius FEC, Sepehrvand N, Pannu N, McAlister FA, Voors AA, Ezekowitz JA, 2021. JACC Heart Fail 9, 904–915. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data will be made available on request.
