원시데이터 수집 시스템
선정목록으로

Multi-Ion-Sensing Emulator and Multivariate Calibration Optimization by Machine Learning Models

관련 수소연료전지 · (6) PEM(고분자전해질막) (5) 연료전지용 수분제어장치(가습기)(18) VENT(방수통기 부품)

기본 정보

저자
  1. Ivan Ny Hanitra — Integrated Systems Laboratory (IC-IINFCOM-LSI1), Swiss Federal Institute of Technology Lausanne (EPFL), Station 14, Lausanne, Switzerland
  2. Francesca Criscuolo — Integrated Systems Laboratory (IC-IINFCOM-LSI1), Swiss Federal Institute of Technology Lausanne (EPFL), Station 14, Lausanne, Switzerland
  3. Sandro Carrara — Integrated Systems Laboratory (IC-IINFCOM-LSI1), Swiss Federal Institute of Technology Lausanne (EPFL), Station 14, Lausanne, Switzerland
  4. Giovanni De Micheli — Integrated Systems Laboratory (IC-IINFCOM-LSI1), Swiss Federal Institute of Technology Lausanne (EPFL), Station 14, Lausanne, Switzerland
DOI
10.1109/access.2021.3065754
저널
IEEE Access
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2021.3065754
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W3136229538

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
(5) 연료전지용 수분제어장치(가습기), (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
polymeric membrane, ion-selective electrode, ion interference, phase-boundary potential model, multivariate calibration
판단 근거
이 논문은 고분자 막(polymeric membrane)을 이용한 이온 선택성 전극(ISE)의 응답을 모델링하고, 이온 간섭 문제를 머신러닝으로 해결하는 방법을 다룹니다.
R&D 활용 포인트
수소연료전지용 PEM(고분자전해질막) 및 중공사막의 이온 전도성, 화학적 열화 및 이온 선택성 메커니즘을 분석하거나 성능을 예측하는 모델링 연구에 참고할 수 있습니다.
평가 입력
본문 77,527자 중 30,032자 발췌

초록

One paramount challenge in multi-ion-sensing arises from ion interference that degrades the accuracy of sensor calibration. Machine learning models are here proposed to optimize such multivariate calibration. However, the acquisition of big experimental data is time and resource consuming in practice, necessitating new paradigms and efficient models for these data-limited frameworks. Therefore, a novel approach is presented in this work, where a multi-ion-sensing emulator is designed to explain the response of an ion-sensing array in a mixed-ion environment. A case study is performed emulating the concurrent monitoring of sodium, potassium, lithium, and lead ions, in a medium representative of sweat samples. These analytes are relevant examples of sweat ion-sensing applications for physiology, therapeutic drug monitoring, and heavy metal contamination. It is demonstrated that calibration datasets output by the emulator explain accurately the experimental response of polymeric solid-contact ion-selective electrodes, where root-mean-squared error of 1.37, 1.44, 1.78, 2 mV are obtained, respectively, for Na <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">+</sup> , K <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">+</sup> , Li <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">+</sup> , Pb <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2+</sup> sensor calibration in artificial sweat. Besides, synthetic datasets of custom size are generated to train, validate, and evaluate different types of multivariate regressors. A Multi-Output Support Vector Regressor (M-SVR) is proposed as a compact, accurate, robust, and efficient multivariate calibration model. It features 13.22% normalized root mean squares, and 20.29% mean root squares improvement compared to a simple linear regression model. It is an unbiased estimator for medium to large datasets, and its average generalization error is of 3.22%. Besides, M-SVR models have a lower computational complexity than single-output SVR or neural network models, making them a suitable solution for memory and energy-constrained edge devices used for continuous and real-time multi-ion monitoring.

본문 77,527자

본문 펼치기
Received February 11, 2021, accepted March 8, 2021, date of publication March 12, 2021, date of current version March 30, 2021. _Digital Object Identifier 10.1109/ACCESS.2021.3065754_ # Multi-Ion-Sensing Emulator and Multivariate Calibration Optimization by Machine Learning Models IVAN NY HANITRA, (Graduate Student Member, IEEE), FRANCESCA CRISCUOLO, SANDRO CARRARA, (Fellow, IEEE), AND GIOVANNI DE MICHELI, (Life Fellow, IEEE) Integrated Systems Laboratory (IC-IINFCOM-LSI1), Swiss Federal Institute of Technology Lausanne (EPFL), Station 14, 1015 Lausanne, Switzerland Corresponding author: Ivan Ny Hanitra (ivan.nyhanitra@epfl.ch) This work was supported by the Horizon 2020 CyberCare under Grant ERC 2014 ADG 669354. ABSTRACT One paramount challenge in multi-ion-sensing arises from ion interference that degrades the accuracy of sensor calibration. Machine learning models are here proposed to optimize such multivariate calibration. However, the acquisition of big experimental data is time and resource consuming in practice, necessitating new paradigms and efficient models for these data-limited frameworks. Therefore, a novel approach is presented in this work, where a multi-ion-sensing emulator is designed to explain the response of an ion-sensing array in a mixed-ion environment. A case study is performed emulating the concurrent monitoring of sodium, potassium, lithium, and lead ions, in a medium representative of sweat samples. These analytes are relevant examples of sweat ion-sensing applications for physiology, therapeutic drug monitoring, and heavy metal contamination. It is demonstrated that calibration datasets output by the emulator explain accurately the experimental response of polymeric solid-contact ion-selective electrodes, where root-meansquared error of 1 _._ 37, 1 _._ 44, 1 _._ 78, 2 _mV_ are obtained, respectively, for _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, _Pb_ <sup>2+</sup> sensor calibration in artificial sweat. Besides, synthetic datasets of custom size are generated to train, validate, and evaluate different types of multivariate regressors. A Multi-Output Support Vector Regressor (M-SVR) is proposed as a compact, accurate, robust, and efficient multivariate calibration model. It features 13 _._ 22% normalized root mean squares, and 20 _._ 29% mean root squares improvement compared to a simple linear regression model. It is an unbiased estimator for medium to large datasets, and its average generalization error is of 3 _._ 22%. Besides, M-SVR models have a lower computational complexity than single-output SVR or neural network models, making them a suitable solution for memory and energy-constrained edge devices used for continuous and real-time multi-ion monitoring. INDEX TERMS Ion interference modeling, machine learning, multi-ion-sensing emulator, multivariate calibration, multi-output support vector regressor. I. INTRODUCTION Potentiometric ion-sensors are increasingly applied in many fields, leveraging progress in all-solid-state sensing and technology [1]. Namely, they are used for environmental monitoring of pollutants [2], for agricultural soil analysis [2], for water quality control [3], or for biomedical applications such as physiology and healthcare monitoring [4], [5]. The sensor consists in an Ion-Selective Electrode (ISE) coated with a polymeric membrane that selectively entraps the target analyte. Research efforts are focused on improving The associate editor coordinating the review of this manuscript and approving it for publication was Ze Ji . sensing technology and transduction mechanisms [6], but ion interference is strongly limiting sensing performances because of ISE intrinsic selectivity bounds [7]. Interference arises from the electrolytes inherently constituting the sample, whose composition could vary in a non-predictable way with the environment. Besides, accurate ion-monitoring becomes more intricate when the target electrolyte is extremely diluted in the sample, the analyte concentration being of the same order as sensor Limit Of Detection (LOD). As a result, multivariate calibration, that consists in binding the multivariate response of the ion-sensing array to the concentration of the target ions, is becoming less accurate. To overcome ion interference and increase sensing accuracy, the concept of electronic tongue has been introduced. It is a recent trend for which sensor arrays are coupled with chemometric tools. [8] More precisely, it is defined by IUPAC as ‘‘a multisensor system, which consists of a number of low-selective sensors, and uses advanced mathematical procedures for signal processing based on Pattern Recognition and/or Multivariate data analysis—Artificial Neural Networks (ANNs), Principal Component Analysis (PCA), and so forth–.’’ [9] Several works are proposed in literature where ANN architectures are coupled to sensor arrays in order to determine simultaneously multi-ions in samples subject to ion interference [2], [10]–[17]. The quality of results obtained with these black-box chemometric models depends on the size and the representativeness of the training dataset. Unfortunately, the acquisition of big data is time and resource consuming in practice, entailing high labor costs of chemical assays. Indeed, the datasets in the aforementioned works are restricted to 15 up to 100 samples. Some approaches have been proposed to cope with this data scarcity issue. Data fusion techniques are used in [18] to extract relevant features from data-limited ion-sensors, and generate synthetic samples from Cumulative Distribution Functions (CDFs) of the concentration of the target ions, before feeding the training set to different machine learning algorithms implemented for ammonium ion measurement. In this work, a novel approach is proposed, where a multiion-sensing emulator is designed to explain the response of an ion-sensor array subject to ion interference from a mixed-ion sample. A compact version of the phase-boundary potential model [19], that is valid for polymeric ISEs, is built at the core of the emulator. Datasets of different size are generated and fed to linear and non-linear regressors that are implemented to improve sensing accuracy. A case study is carried out, emulating the concurrent monitoring of sodium, potassium, lithium, and lead ions, in an environment representative of sweat samples. These ions are relevant examples of sweat ion-sensing applications for physiology, therapeutic drug monitoring, and trace heavy metal contamination. Namely, the main minerals present in perspiration are sodium, potassium, and calcium [20]. During physical exercise, a depletion of sodium and potassium ions is observed [21]. An excessive loss of these ions could lead to muscle cramps, dehydration, or to hypokalemia and hyponatremia [22]. Besides, sweat ion-sensing could be applied to therapeutic drug monitoring. For instance, lithium salts are administrated to people suffering from bipolar disorder [23]. The therapeutic window of the drug is narrow (0 _._ 8 − 1 _._ 5 _mM_ [24]), necessitating an accurate and continuous lithium monitoring. Moreover, some trace heavy metals such as lead are present in sweat, but in diluted amount (below 283 _µg/L_ ). Nevertheless, massive lead contamination from food, water, or the environment could result in memory trouble, pain, numbness, or behavioral problems [25], thus requiring an accurate lead monitoring system. The remainder of the manuscript is organized as follows. First, some related works on multivariate calibration optimization in multi-ion-sensing are discussed in Section II to highlight the challenges in data-constrained systems for accurate and simultaneous monitoring of multi-ions. Then, the multi-ion-sensing emulator is presented in Section III, with the description of the compact phase-boundary potential model that is at its core. The methodology carried out to generate synthetic datasets out of the emulator is described in Section IV. Next, the proposed Multi-output Support Vector Regressor (M-SVR) is detailed in Section V. The results of the case study are discussed in Section VI, and the conclusions are reported in Section VII. II. CHALLENGES AND RELATED WORKS One of the main challenge in accurate ion-sensing arises from ion interference, due to the background electrolytes in the sample, that creates non-linearity in sensor response. Moreover, in multi-ion-sensing, cross-interference is not negligible, and monitoring analytes that are diluted in the sample is intricate. As a result, multivariate calibration is commonly optimized by machine learning models. Some related works on multi-ion-sensing are listed in Table 1, aiming mainly at environmental, agriculture, and water quality monitoring. Polymeric ISEs are fabricated and characterized, enabling the monitoring of ions of interest, and in some works, the tracking of interfering ions as well. Then, synthetic training datasets are acquired from the sensors. They are of relative small size, considering the huge time and chemical resource needed to acquire big data. Nevertheless, the calibration dataset should be representative enough of real samples. Factorial design, random design in the concentration range of the target ions, or usage of CDFs of the concentration of the ions are strategies implemented to obtain statistically relevant synthetic training sets with a limited amount of samples. The test sets are acquired either from real samples, or with synthetic design procedures. Multivariate calibration is performed mostly with feed-forward Back-Propagation Neural Network (BPNN) of one to three hidden layers, trained with a Bayesian regularization algorithm. More complicated architectures are investigated to incorporate a priori knowledge from the sensors (charge balance, electrical conductivity constraints) [12], or genetic independent component analysis [10], [11]. III. EMULATOR DESIGN FOR MULTI-ION-SENSING The approach proposed in this work to overcome the datalimited constraints in the training of chemometric tools deployed for multivariate calibration is to design an emulator of synthetic datasets, explaining the responses of polymeric ISEs exposed to mixed-ions samples. First, the compact modeling of ISE response is described, then the design of the emulator is detailed. _A._ _MODELING OF INTERFERENCE IN ION-SENSING_ In potentiometric sensing, ISEs are functionalized with an ion-selective membrane that entraps the target ion. The electrode transduces the thermodynamic activity of the target TABLE 1. Related works on multivariate calibration in multi-ion-sensing. ion into an electric potential. The Open Circuit Potential (OCP) between the sensing electrode and an inert reference electrode, which has a stable potential, is measured under quasi-zero current conditions [6]. Sensor calibration consists in mapping the measured OCP with the target ion activity. The latter refers to the ability of the analyte to react with other ions, and is related to the effective analyte concentration in the sample by the activity coefficient. In the following, ion activity is the chemical property of interest in the multivariate calibration. ISE response is usually described by the semi-empirical Nicolsky-Eisenman model [26]. However, it is not very accurate when ions of different charges are present in the sample. Namely, large deviations from acquired sensor data are observed in ion mixtures [27]. In this work, the phaseboundary potential model is used to describe ion-sensor response of a polymeric ISE in mixed-ion solutions. A comprehensive description of the model is presented in [19]. The hereunder analytical derivation is carried out to get a compact ion-sensing model, highlighting the key parameters explaining sensor output distortion due to ion interference. An exhaustive derivation of the model is reported in Appendix A. The phase-boundary potential model is based on ion-exchange considerations at the sample/membrane interface. Transmembrane ion fluxes are ignored in this model. When the target ion is entrapped in the polymeric membrane, an electrical potential is built up at the interface to counter-balance the ion fluxes from the sample phase to the membrane phase, and to preserve electroneutrality. The phase-boundary potential at equilibrium for any ion j is shown in (1). It is obtained by equating the electrochemical potential in the membrane and sample phase, where _�_ is the electrical potential, _ϵj_ <sup>0</sup> <sup>is</sup> <sup>the</sup> <sup>standard</sup> <sup>potential</sup> <sup>of</sup> <sup>ion</sup> j of valence _zj_, of activity _aj_ ( _m_ ) and _aj_ ( _aq_ ), in the membrane and sample phase, respectively. _s_ = _<u>RTF</u>_ <sup>_ln_</sup> <sup>10</sup> <sup>is</sup> <sup>the</sup> Nernst slope. _EPB_ _def_ = _�_ ( _m_ ) − _�_ ( _aq_ ) _._ (1) _j_ <sup>0</sup> <sup>+</sup> <sup><u>1</u></sup> = _ϵj_ <sup>0</sup> _zj_ - _aj_ ( _aq_ ) _aj_ ( _m_ ) _s_ log Next, it is assumed that the membrane ionic strength is unaltered during ion exchange. By applying membrane electroneutrality, with multiple ions interacting with the membrane phase (interfering ions), 10 <sup>−</sup> <sup>_zjEPB/s_</sup> <sup>�</sup> _j_ _aj_ ( _aq_ ) 10 <sup>_zjE_</sup> _j_ <sup>0</sup> <sup>_/s_</sup> = 1 _,_ (2) is the apparent standard where _Ej_ <sup>0</sup> _j_ <sup>0</sup> = _ϵj_ <sup>0</sup> _j_ <sup>0</sup> <sup>+</sup> _z_ <sup><u>1</u></sup> _j_ _z_ <sup><u>1</u></sup> _j_ <sup>_s_</sup> <sup>log</sup> <u>1</u> _aj_ ( _m_ ) potential of ion j. All interactions of ion j with the ionophore of the membrane are embedded in _aj_ ( _m_ ). Then, the membrane selectivity is quantified by the selectivity coefficient _I_ <sup>_pot_</sup> _,J_ <sup>=</sup> <sup>_<u>zI</u>_</sup> _s_ _I_ <sup>0)</sup> <sup>_._</sup> (3) log _KI_ <sup>_pot_</sup> _,J_ <sup>_<u>zI</u>_</sup> _J_ _s_ <sup>(</sup> <sup>_E_</sup> <sup>0</sup> _J_ <sup>0</sup> <sup>−</sup> <sup>_E_</sup> _I_ <sup>0</sup> It represents how much the membrane is selective towards a target ion I than an interferent ion J. Substituting (3) in (2), the compact equation (4), as shown at the bottom of the next page, is obtained, considering monovalent and divalent ions in the sample. The contributions of the target ion I, monovalent, and divalent interfering ions are put in evidence. The selectivity coefficients could be seen as weighting factors of the activity of interfering ions. Equation (4) is solved for _EPB_, and yields (5) and (6), as shown at the bottom of the next page, for a monovalent and divalent target ion, respectively. An ideal Nernstian response is recovered if all interfering electrolytes have a null activity (no interferent), or if ∀ _j,_ log _KI_ <sup>_pot_</sup> _,j_ −→−∞ (perfectly selective membrane). The ion-selective membrane properties are embedded in the constant _EI_ <sup>0</sup> <sup>that</sup> <sup>could</sup> <sup>be</sup> <sup>seen</sup> <sup>as</sup> <sup>an</sup> <sup>offset</sup> <sup>potential</sup> <sup>inde-</sup> pendent of _aI_ ( _aq_ ). The parameters to model ion interference are reduced to the selectivity coefficients log _K_ <sup>_pot_</sup> _I_ _,J_ <sup>,</sup> <sup>and</sup> <sup>the</sup> activity of the interfering ions _aJ_ ( _aq_ ). Eventually, the OCP between an ISE for target ion I, and the reference electrode is _EI_ = _Kcell_ + _EPB,_ (7) where _Kcell_ takes into account the constant potentials in the galvanic cell, including reference electrode potential and electrode contact potential drops. _B._ _MULTI-ION-SENSING EMULATOR_ A Graphical Unit Interface (GUI) implementation of an ionsensor calibration curves emulator has been presented in [28]. Its main features are summarized in the following. The tool allows for selecting generic monovalent or divalent primary ions and interfering ions. The selectivity coefficients of the ISEs are tunable, as well as the offset parameter that is fitted from real ISE calibration curves. The phase-boundary potential model and Nicolsky-Eisenman model could be used to output the calibration data, where a Gaussian noise equivalent to sensor signal-to-noise ratio is added. The investigation tool features parametric analysis of the impact of interferent ion activity, and selectivity coefficient of an ISE towards an interferent, in the distortion of the calibration curves due to ion interference. Database of calibration curves from in-vitro measurements could be loaded to compare the emulator outputs to real calibration data. The investigation tool described previously is modified into a synthetic dataset generator in order to produce the training dataset for the multivariate calibration models. The building blocks of the emulator are pictured in Fig. 1. The compact phase-boundary potential model takes as input parameters the selectivity coefficients of each target ion against each interferent, and the offset parameter encompassing membrane composition. Both parameters are experimentally extracted from real ISE calibration curves. The synthetic dataset is obtained following a factorial design where the activity of each constituent in the sample is discretized in _L_ levels in the detection range of the analyte, for the given application. The constituents include the primary ions and the interfering ones. The output of the dataset generator consists of calibration curves of each sensor at discrete level points. FIGURE 1. Building blocks of multi-ion-sensing emulator of _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, and _Pb_ <sup>2</sup> <sup>+</sup> monitoring in synthetic sweat samples. TABLE 2. _OA_ 18 (6 <sup>1</sup> × 3 <sup>6</sup> ). IV. DESIGN OF SYNTHETIC DATASETS A case study is performed to emulate simultaneous monitoring of _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, and _Pb_ <sup>2+</sup> in ion mixtures representative of sweat samples. The methodology applied to design synthetic training, validation, and test datasets are described. The multi-ion-sensing emulator described in Section III is used to generate synthetic OCP signals in controlled ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> 10 <sup>_zI_</sup> <sup>(</sup> <sup>_E_</sup> _I_ <sup>0−</sup> <sup>_EPB_</sup> <sup>)</sup> <sup>_/s_</sup> _aI_ ( _aq_ ) + 10 <sup>(</sup> <sup>_E_</sup> _I_ <sup>0−</sup> <sup>_EPB_</sup> <sup>)</sup> <sup>_/s_</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ _zI_ <u>1</u> _aj_ ( _aq_ ) + 10 <sup>2(</sup> <sup>_E_</sup> _I_ <sup>0−</sup> <sup>_EPB_</sup> <sup>)</sup> <sup>_/s_</sup> _zI_ <u>1</u> _aj_ ( _aq_ ) + 10 <sup>2(</sup> <sup>_E_</sup> _I_ <sup>0</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ <u>2</u> _zI_ _aj_ ( _aq_ ) = 1 _._ (4) _j s.t. zj_ =1 _j s.t. zj_ =2 _j s.t. zj_ =1 _aI_ ( _aq_ ) + _j s.t. zj_ =1 _j s.t. zj_ =1 <sup>_pot_</sup> _I_ _,j_ <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> ~~�~~ <u>�</u> <u>�</u> �� <sup><u>1</u></sup> _aI_ ( _aq_ ) + 4 <sup>_pot_</sup> _I_ _,j_ <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> + <u>�2</u> <sup>)</sup> + _._ (5) _K_ <sup>_pot_</sup> _I_ _,j_ _K_ <sup>_pot_</sup> _I_ _,j_ _j s.t. zj_ =2 ( _KI_ <sup>_pot_</sup> _,j_ _I_ <sup>_pot_</sup> _,j_ <sup>)2</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> _EPB_ = _EI_ <sup>0</sup> <sup>+</sup> <sup>_s_</sup> <sup>log</sup> _j s.t. zj_ =1 _j s.t. zj_ =2 <sup>_pot_</sup> _I_ _,j_ <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> ~~�~~ <u>�</u> - <sup><u>1</u></sup> 4 <u>�</u> <u>1</u> 2 _aj_ ( _aq_ ) + <u>1</u> <u>�2</u> 2 _aj_ ( _aq_ ) + _aI_ ( _aq_ ) + <u>�</u> _._ (6) ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> _K_ <sup>_pot_</sup> _I_ _,j_ _EPB_ = _EI_ <sup>0</sup> <sup>+</sup> <sup>_s_</sup> <sup>log</sup> - <u>1</u> 2 - <u>1</u> 2 TABLE 3. Discrete levels of the activity of the seven constituents ( _activity_ × 1 _e_ − 3). TABLE 4. Selectivity coefficients of platinum-nanostructured solid-contact ISEs obtained from fixed-interference method. mixed-ion samples, in an automated way. Four sensors for _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, and _Pb_ <sup>2+</sup> monitoring are emulated in presence of _NH_ 4 <sup>+,</sup> <sup>_Ca_</sup> <sup>2+, and</sup> <sup>_Mg_</sup> <sup>2+, that are the major ions constitut-</sup> ing sweat samples [31]. The determination of ion mixture combinations requires a multi-factorial design of synthetic samples. In this work, the physiological range of activity of each constituent is divided into six levels. It is a good tradeoff between capturing enough variability in the activity of the ions, and avoiding to generate exponential number of samples. Indeed, a full-factorial design involves 6 <sup>7</sup> ∼ 280 <sup>′</sup> 000 ion combinations. This amount is not reasonable. Moreover, a full-factorial design will produce a redundant dataset. Therefore, Taguchi method is implemented to generate a representative subset of all constituent combinations, leveraging orthogonal arrays [32]. The _L_ 18(6 <sup>1</sup> × 3 <sup>6</sup> ) orthogonal array used is reported in Table 2, where the factor C0 comprises 6 levels, and the 6 other factors have 3 levels. The columns Ci are orthogonal, and orthogonality is preserved through column permutation. Thus, C0 could be permuted over the seven constituents. Row R0 is redundant while permuting columns, so it is removed. The activity of the seven constituents are quantized over the physiological or therapeutic range of the considered ions in sweat. The discrete levels of activities are reported in Table 3. As for selectivity coefficients, they are obtained from electrochemical characterization of polymeric solid-contact ISEs. Fixed interference method is carried out to compute the coefficients reported in Table 4, and the full characterization of _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, and _Pb_ <sup>2+</sup> sensors is published at [33]. The entire factorial-designed set is needed to train the multivariate calibration model since it includes all the statistical variability in the data that the regressor should learn. Therefore, cross-validation procedure or splitting of where the scale and shape of the distribution are _λ_ = _b_ <sup>−1</sup> <sup>_/k_</sup> and _k_, respectively. This PDF is chosen so as to generate independent and identically distributed ion mixtures representative of sweat samples for which the activity of each constituent is around its nominal value, or rather in excess in the sample (e.g. due to physical exercise for physiology). In order to increase the robustness of the comparison between multivariate regressors, five validation splits, of one-fifth of the size of the training set each, are randomly generated to emulate a cross-validation. Thus, chemometric models are evaluated on each validation split, and the average and standard deviation of the metrics are computed. The final FIGURE 2. Weibull distribution ( _k_ = 1 _._ 25 _,_ _b_ = 6) (blue), and discrete levels of each constituent scaled to its respective activity range(red). the training set is avoided. Consequently, validation and test sets are designed independently. Random sampling in the activity window of the ions of interest is the usual approach adopted [2], [15]. In this work, the Weibull distribution is used. Its Probability Distribution Function (PDF) is plotted in Fig. 2, and it is defined as _f_ ( _x_ ; _k, b_ ) = - _b k x_ <sup>_k_</sup> <sup>−1</sup> _exp_ (− _b x_ <sup>_k_</sup> ) _,_ _x_ ≥ 0 _,_ (8) 0 _,_ _x_ _<_ 0 _,_ validation of the model is performed on an additional test set of similar size as a validation split. Furthermore, datasets of different size are generated to assess the effect of dataset scarcity on the chemometric models. One notices that if the upper bound of the ion activity _L_ 5 in Table 3 is discarded, there are 10 combinations of 3-level ion activity to configure the orthogonal Table 2, allowing to tune the training set size. As a result, training sets of 68 up to 680 samples are generated following the aforementioned procedure. V. MULTIVARIATE CALIBRATION MODELS In this section, the multivariate calibration models used in this work are presented. In a multivariate calibration procedure, the signals output by an array of sensors are processed by a multivariate model that estimates the activity of selected analytes constituting the sample. The chemometric model is trained beforehand with OCP/activity observations, and is then inferred to predict the activity of the analytes in unknown samples [34]. For N observations, let X = { xn } _n_ =1 _,_ ··· _,N_, with xn ∈ R <sup>_P_</sup>, denote the tensor of OCP signals coming from P ISEs, and Y = { yn } _n_ =1 _,_ ··· _,N_, with yn ∈ R <sup>_M_</sup>, denote the tensor of activity of the M electrolytes of interest. The multivariate calibration problem can be formulated as Y = XW + E _,_ (9) where W is the tensor of regression coefficients, and E is the error made in the prediction of the activity of the analytes. It is an inverse calibration problem since the controlled variables (activity of the ions) are estimated taking the dependent variables (OCP signals) as regressors. _A._ _TRADITIONAL LINEAR REGRESSION MODELS_ Inverse least-squares regressor is the simplest first-order model used in multivariate calibration. Contrary to classical least-squares regression, the activity of all electrolytes constituting the sample do not need to be known during the calibration phase. As a result, the tensor of activity of the ions Y could be of any dimension M. The minimization objective is a set of successive orthogonal components that explain a maximum amount of their variance. The resulting Principal Component (PC) scores, denoted as T, are the new input tensor variables. Combination of PCA and MLR refers to Principal Components Regression (PCR). Furthermore, Partial LeastSquares (PLS) regression is another popular chemometric tool [35]. It constructs latent variables for X and Y by taking into account the variance of X and the correlation between factors excerpted from both tensors. Linear regressors are traditionally used for univariate calibration systems. However, in multivariate systems, and above all, in presence of non-linearity due to ion interference, nonlinear regressors are privileged to increase multivariate calibration accuracy. They are described in the following. _B._ _SINGLE-OUTPUT SUPPORT VECTOR REGRESSION_ Support Vector Machines (SVMs) are prominent tools for linear and non-linear input/output modeling, as it is the case of multivariate calibration subject to ion interference [36]. Standard SVR models perform unidimensional regression of the input tensor X to each output channel m, y ∗ _,_ m . For nonlinear SVRs, X is implicitly mapped to a higher dimensional feature space by a kernel function [37]. Thus, the model learns a linear function in the space induced by the kernel. Gaussian Radial Basis Function (RBF) is a non-linear kernel commonly used for which X is mapped to an infinite dimensional Hilbert space [38]. The primal formulation of SVR minimization objective is _N_ _n_ =1 min ∀ _m_ ∈ �1; _M_ - _,_ w ∗ _,m,bm_ <u>1</u> 2 �� w ∗ _,m_ ��2 + _C_ _Lϵ_ ( _un,m_ ) _,_ with _un,m_ = y _n,m_ - ( _�_ ( x _n_ ) <sup>T</sup> w ∗ _,m_ + _bm_ ) _._ (12) _Lϵ_ is the Vapnik _ϵ_ -insensitive loss function defined as _Lϵ_ ( _u_ ) = max{0 _,_ | _u_ |− _ϵ_ }. _�_ is the non-linear function defining the kernel function _κ_ ( x _i,_ x _j_ ) ≡ _�_ ( x _i_ ) <sup>_T_</sup> - _�_ ( x _j_ ). C is a hyperparameter trading-off margin violations and minimization of the distance _ϵ_ from the support vectors to the SVR model. In practice, a dual formulation of the SVR minimization is used, where quadratic programming leveraging kernel formulation yields a problem faster to solve. _C._ _PROPOSED MULTI-OUTPUT SUPPORT_ _VECTOR REGRESSION_ In single-output SVR problems, the loss function L is an _L_ 1-based norm, hence, it needs to take into account each of the M dimensions independently which makes the solution complexity grow linearly with M. Moreover, such unidimensional model does not consider correlations between the output columns. Hence, it is less robust to noise and non-linearity in the dataset. In this work, a multivariate multi-output SVR is implemented to consider correlations and non-linear cross-relations between X and Y, enabling a concurrent optimization of the regressor of each target ion activity. min w ∗ _,m_ ∀ _m_ ∈ �1; _M_ - _,_ �� Xw ∗ _,m_ - y ∗ _,m_ ��22 <sup>_,_</sup> (10) where w ∗ _,m_ and y ∗ _,m_ are columns of W and Y, respectively. Namely, the activity of each target ions is estimated independently, ignoring cross-correlations. Hence, this multivariate calibration model consists in multiple independent Ordinary Least-Squares (OLS) regressions, or Multiple Linear Regression (MLR). W <sup>�</sup> could be computed by least-squares minimization of (10), or in a closed-form solution with the normal equation W - = ( X <sup>T</sup> X ) <sup>−1</sup> X <sup>T</sup> Y _,_ (11) where X <sup>T</sup> X must be invertible. This holds if X is a full-rank matrix, or the columns of X are uncorrelated. The application of PCA to X will generate a matrix T that complies with the latter constraint. Namely, OCP signals are decomposed in The objective function to minimize is _M_ _m_ =1 _L_ ( W _,_ b ) = <sup><u>1</u></sup> 2 _L_ ( W _,_ b ) = <sup><u>1</u></sup> �� w ∗ _,m_ ��2 + _C_ _L_ ( _un_ ) _,_ _N_ _n_ =1 _with un_ = ∥ e _n_ ∥2 _s.t._ e _n_ = y _n_ - ( W <sup>T</sup> _�_ ( x _n_ ) + b ) _._ (13) Iterative Reweighted Least-Squares (IRWLS) procedures permit the use of an arbitrary cost function L. _L_ 2-based norm cost functions are appealing since the constraints for all M output dimensions could be considered into a single error vector, contrary to _L_ 1-based Vapnik loss function described previously that need to take into account all M dimensions separately. As a result, IRWLS procedures yield one-dimension support vectors, instead of M-dimension for single-output SVRs. In this work, an IRWLS procedure is implemented with the quadratic and differentiable cost function Algorithm 1 Iterative Reweighted Least-Squares <u>Procedure</u> Input: OCP signal X, ions log-activity Y, kernel function _�_, kernel parameters _param_, convergence tolerance _tol_, maximum number of iterations _max_iter_ Output: Trained weights W, trained bias b, number of iterations _k_ / <sup>∗</sup> Initialization <sup>∗</sup> / 1 ( W, b ) ← ( 0, 0 ); k ← 0; 2 K ← X mapped to kernel _�_ ; 3 foreach n do 4 en ← yn - ( W <sup>T</sup> K ∗ _,_ n + b ); // residual error 5 u <sup>k</sup> n <sup>←∥en∥;</sup> 6 {i} <sup>k</sup> ← {n s.t. u <sup>k</sup> n <sup>≥</sup> <sup>_ϵ_</sup> <sup>;</sup> // support vectors 7 foreach i do 8 L(u <sup>k</sup> i / <sup>∗</sup> Iterative procedure <sup>∗</sup> / <sup>k</sup> i <sup>) ←</sup> <sup>u</sup> i <sup>k2</sup> i <sup>k2</sup> - 2u <sup>k</sup> i <sup>k</sup> i <sup>_ε_</sup> <sup>+</sup> <sup>_ε_</sup> <sup>2;</sup> // to compute _L_ _L_ ( _u_ ) = - 0 _,_ _u < ϵ._ (14) _u_ <sup>2</sup> - 2 _uϵ_ + _ϵ_ <sup>2</sup> _,_ _u_ ≥ _ϵ._ 9 ai ← <sup><u>2C(u</u></sup> <u>i</u> <sup>k</sup> u <sup>k</sup> <u>i</u> <sup>k)−e</sup> u <sup>k</sup> i <u>i</u> <sup><u>)−e</u></sup> <sup>k</sup> ; // to compute _L_ <sup>′</sup> <sup>k</sup> i The proof of convergence of such SVM is demonstrated in [39]. The IRWLS method is constructed by performing a first-order Taylor approximation of the error function (14) over the previous solution ( W _,_ b ). A quadratic approximation of the former expansion gives the weighted least-squares minimization problem 13 update u, {i}, L, and _L_ ; 14 minimize _L_ with descending direction step _η_ <sup>k</sup> ; 10 while _convergence tolerance is not reached_ _and_ k _<_ max ___ iter do 11 ( W <sup>k</sup>, b <sup>k</sup> ) ← ( W, b ); E <sup>k</sup> ← E ; u <sup>k</sup> ← u ; {i} <sup>k</sup> ← {i}; 12 build H tensor and solve _L_ <sup>′</sup> → ( W <sup>so1</sup>, b <sup>so1</sup> ); _N_ _n_ =1 _L_ <sup>′</sup> ( W _,_ b ) = <sup><u>1</u></sup> 2 _M_ _m_ =1 �� w ∗ _,m_ ��2 + <u>1</u> 2 _anu_ <sup>2</sup> _n_ <sup>+</sup> <sup>_cste,_</sup> (15) 15 compute next step solution - W k + 1� - W k = + ( b <sup>k+1</sup> )T ( b <sup>k</sup> )T = + _η_ <sup>k</sup> ; - W k ( b <sup>k</sup> )T - W sol− W k ( b <sup>sol</sup> - b <sup>k</sup> )T ��� _u_ <sup>_k_</sup> _n_ where _an_ = <sup>_<u>C</u>_</sup> _u_ <sup>_k_</sup> _n_ _<u>d L</u>_ <u>(</u> _<u>u</u>_ <u>)</u> _du_ 0 _,_ _u_ <sup>_k_</sup> _n_ =    0 _,_ _u_ <sup>_k_</sup> _n_ <sup>_< ϵ._</sup> <u>2</u> _<u>C</u>_ <u>(</u> _<u>u</u>_ <sup>_k_</sup> _<u>n</u>_ <sup>−</sup> <sup>_ϵ_</sup> <sup><u>)</u></sup> _,_ _u_ <sup>_k_</sup> _n_ <sup>≥</sup> <sup>_ϵ._</sup> _u_ <sup>_k_</sup> _n_ _,_ _u_ <sup>_k_</sup> _n_ <sup>_k_</sup> _n_ <sup>≥</sup> <sup>_ϵ._</sup> The latter function is minimized with respect to ( W _,_ b ). It yields a linear system represented in matrix form as - w _sol∗,m_ _b_ <sup>_sol_</sup> _m_ - y ∗ _,_ m a <sup>T</sup> y ∗ _,_ m _,_ (16) 16 recompute ai and update least-squares problem _L_ <sup>′</sup> ; 17 k ← k + 1; potentiometric sensors subject to ion interference in order to benchmark the proposed M-SVR algorithm. The feedforward NN architecture implemented is illustrated in Fig. 3. The input layer consists of four pass-through neurons that relay the input features x _n_ to the subsequent layers. The features are either the OCP signals of the _P_ = 4 ionsensors, or their PC scores after applying PCA. Two hidden layers of _N_ 1 and _N_ 2 units produce non-linear transformations of the dataset, and the output layer predicts the activity of the _M_ = 4 target ions. The model parameters (weights and bias) are trained with a back-propagation training algorithm minimizing the mean-squared error loss function [40]. The hyper-parameters of the MLP models are optimized with a grid-search procedure. They are summarized in Table 5. _E._ _SOFTWARE AND HARDWARE_ Data pre-processing pipeline and multivariate models are implemented within a Python 3.7 environment. PCA algorithm is implemented through a Singular Value Decomposition (SVD) where LAPACK routine [42] is used. MLR and OLS minimization problems are solved using SVD on ∀ _m_ ∈ �1; _M_ - _,_ - K + D - _a_ 1 1 a <sup>T</sup> K 1 <sup>T</sup> a <u>�</u> �� H = where ( K ) _ij_ = _κ_ ( x _i,_ x _j_ ), a = [ _a_ 1 _,_ - · · _, an_ ] <sup>T</sup>, ( D _a_ ) _ij_ = _aiδ_ ( _i_ - _j_ ). It is important to notice that the matrix H is independent of m, so it does not depend on the output channel. The kernel function used is the Gaussian RBF. The pseudocode of the IRWLS procedure is reported hereunder. IRWLS procedure is implemented in a quasi-Newton approach, for which the errors _u_ <sup>_k_</sup> _n_ <sup>and</sup> <sup>_an_</sup> <sup>are</sup> <sup>recomputed</sup> at each iteration k, so as the solution ( W <sup>_sol_</sup> _,_ b <sup>_sol_</sup> ) of the reweighted least-squares problem. Each iteration has the complexity of an OLS problem. _D._ _MULTI-LAYER PERCEPTRONS MODEL_ Multi-Layer Perceptrons (MLP) models are commonly used in complex multivariate calibration systems [2], [10]–[17]. MLP networks are built for the multivariate calibration of FIGURE 4. Modeling OCP distortion due to: (a) ion interference _aJ_ swept from 0 to 1 _e_ − 3, with _zI_ = 1, _offset_ = 400 _mV_, _zJ_ = 1, and log _KI_ <sup>_pot_</sup> _,_ _J_ = − (b) ISE selectivity log _KI_ <sup>_pot_</sup> _,_ _J_ swept from −∞ to − 1, with _zI_ = 1, _offset_ = 450 _mV_, _zJ_ = 1, and _aJ_ = 10 _e_ − 6. _I_ <sup>_pot_</sup> _,_ _J_ = − 3; FIGURE 3. Feed-forward neural network architecture for simultaneous monitoring of sodium, potassium, lithium, and lead ions: the input features (OCP signals or their PC scores) are fed to the passthrough neurons of the input layer, then conveyed to two fully-connected hidden layers of _N_ 1 and _N_ 2 number of units, respectively. The output layer consists of four units with no activation function, providing the activity of the target ions. TABLE 5. Configuration and hyper-parameters of MLP model, optimizer, and training procedure. zero-mean and unit-variance X with LAPACK routine [42], while PLS is implemented with Non-Linear Iterative Partial Least-Squares (NIPALS) algorithm [43]. Single-output SVR is constructed leveraging LIBSVM library that supports quadratic programming [44]. As for MLP models, they are implemented through Keras high-level API [45], with TensorFlow 2.0 deep learning library as computational backend. The experiments are run on a 2x Intel(R) Xeon(R) CPU E5-2690 v4 @ 2 _._ 60 _GHz_ with 256 _GB_ RAM. VI. RESULTS AND DISCUSSION In this section, the results of the case study are presented. The performance of the multi-ion-sensing emulator is assessed and compared with calibration curves obtained from polymeric solid-contact ISEs. Then, the synthetic datasets generated by the tool are shown. Next, the multivariate calibration optimization with linear and non-linear regressors is discussed. _A._ _MULTI-ION-SENSING EMULATOR AND ION_ _INTERFERENCE MODELING_ First, the ion-sensing emulator is used as investigation tool to evaluate the effect of ion interference on ISE response. Fig. 4 illustrates the impact of the two model parameters on calibration curve distortion. Namely, the activity of the interfering ion _aJ_, and the selectivity coefficient of the primary ion I towards the interfering ion J, log _K_ <sup>_pot_</sup> _I_ _,J_ <sup>. The background</sup> potential offset in diluted analyte (log _aI_ ←−∞) increases with the activity of the interfering electrolyte, and this effect is enhanced for a poorly-selective sensor. Moreover, the elbow of the calibration curve highlighting the change of sensor regime from flat OCP response (not detecting) to a Nernstian behavior is extrapolated as the sensor lower LOD [46]. It is shown that sensor lower LOD increases, the more the severity of ion interference is high. This is critical if the lower LOD reaches the physiological/therapeutic range of the target analyte. In practice a margin of 1 : 10 is needed between the sensor lower LOD and the lowest activity of the primary ion to be measured. Next, the calibration curves generated by the emulator are compared with OCP responses acquired from batch of polymeric solid-contact ISEs in artificial sweat [33]. The results are displayed in Fig. 5, where the measured calibration curves exhibit inter-sensor variability, mainly for _Li_ <sup>+</sup> and _Pb_ <sup>2+</sup> sensors. The simulated OCP response is computed by taking the same electrolyte background composition as the artificial sweat, and with the selectivity coefficients of the corresponding polymeric solid contact ISEs against the interfering ions. The offset parameter for each primary ion is fitted to the in-vitro calibration data. Then, the RMSE between the modeled and the experimental data is computed, and yields, 1 _._ 37, 1 _._ 44, 1 _._ 78, 2 _mV_, for _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, _Pb_ <sup>2+</sup> sensors, respectively. As a result, the ionsensing model explains accurately polymeric ISE responses subject to ion interference from artificial sweat background electrolyte. TABLE 6. Prediction accuracy obtained by applying linear regressors to datasets of different size. FIGURE 5. Comparison between the calibration curves output by the ion-sensing emulator and the calibration curves acquired from batch of polymeric solid-contact ISEs in artificial sweat. RMSE of 1 _._ 37, 1 _._ 44, 1 _._ 78, 2 _mV_ are obtained for _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, _Pb_ <sup>2</sup> <sup>+</sup> sensors, respectively. _B._ _GENERATION OF SYNTHETIC DATASETS_ The multi-ion-sensing emulator has been demonstrated to model well ISE responses in nominal sweat background electrolyte. Thus, in this section, the tool is used to generate synthetic datasets following experimental design procedures described in Section IV. Ten datasets Dataset_n of training setscarcestsize _N_ dataset _train_ =is 68displayed· _n_ ( _n_ in∈ Fig.�1; 106.�)Thearesixgenerated.levels ofThethe training set are clearly visible since it has been generated through a factorial design. The composition of the validation and test sets is randomly designed in the same activity range as the training set, resulting in samples intermingled in between the factor levels. Emulated _Na_ <sup>+</sup> -ISE calibration data exhibits a Nernstian response since the physiological range in sweat is large (above tens of mM). Conversely, _Pb_ <sup>2+</sup> is detected as metal traces (tens of _µM_ ), so it is diluted in the sample. The emulated potential response shows more FIGURE 6. Dataset_1: _Ntrain_ = 68, _Nval_ _,_ _split_ 1 = 17, _Ntest_ = 17. potential dispersion. As for _Li_ <sup>+</sup> -ISE, the sensor has a good selectivity towards the constituents (see Table 4), so it is less affected by ion interference. It is not the case of _K_ <sup>+</sup> -ISE that is poorly selective, mainly towards _Na_ <sup>+</sup> that is a predominant ion in the samples. This results in major OCP dispersion, accentuated at lower _aK_ +. The same results are observed with larger datasets. The apparent linear correlation between _EX_ and log _aX_ that is observed in Fig. 6 suggests to compute the correlation coefficients between the two variables, for each ion, for the training set of the ten datasets. The results are displayed in Fig. 7. The lower correlation in _K_ + and _Pb_ <sup>2+</sup> channels is due to ion interference that is explained by the larger potential dispersion at lower ion activity. The correlation between sensor OCP and ion activity tends to increase with larger datasets. _C._ _LINEAR REGRESSION MODELS_ Prior to multivariate calibration, PCA is applied to the input tensor X . Fig. 8 shows the scatter plots of the PC scores. Error (MRE) are defined as ~~�~~ <u>�</u> - <sup><u>1</u></sup> _Ntest_ _Ntest_ _n_ =1 _NRMSE_ = <sup><u>100</u></sup> y ˜ _NRMSE_ = <sup><u>100</u></sup> - _y_ ˜ _n_ - _y_ <sup>ˆ</sup> ˜ _n_ �2 _,_ (17) _MRE_ = <sup><u>100</u></sup> _Ntest_ _Ntest_ _n_ =1 |˜ _<u>yn</u>_ - _<u>y</u>_ <sup>ˆ</sup> ˜ _<u>n</u>_ | _y_ ˜ _n_ _,_ (18) FIGURE 7. Pearson correlation coefficient between _EX_ and log _aX_ for _Na_ <sup>+</sup> (green), _K_ <sup>+</sup> (blue), _Li_ <sup>+</sup> (red), and _Pb_ <sup>2</sup> <sup>+</sup> (black) channels. FIGURE 8. Scatter matrices of PCA scores for Dataset_1. The whitened PC scores are uncorrelated and do not present higher order dependence. Moreover, the explained variance per PC yields 34 _._ 23%, 24 _._ 51%, 21 _._ 39%, and 19 _._ 87%, for _PC_ 1 to _PC_ 4, respectively. This indicates that all the PCs are needed to explain the variance present in the input tensor. It is important to underline that PCA is employed as a pre-processing step, and not as a dimensionality reduction technique ( _P_ = 4). Moreover, two metrics are introduced to assess the accuracy of the regressors. The Normalized Root Mean-Squared Error (NRMSE) and the Mean Relative where _y_ ˜ is the mean of the test set labels, _y_ ˜ _n_ and _y_ <sup>ˆ</sup> ˜ _n_ are the true and predicted log-activity of the primary ions, respectively. Normalized metrics are required to balance error contributions from analytes highly concentrated (sodium ions), and diluted analytes in the sample (lead ions). In addition, the two metrics do not over-penalize outliers. NRMSE and MRE are computed for each primary ion, but total NRMSE and MRE of all four primary ions yield two compact model performance measure that are used during training. An analysis is carried out by applying MLR to X <sup>˜</sup> = {{ _PC_ 1} _,_ { _PC_ 1 _, PC_ 2} _,_ { _PC_ 1 _, PC_ 2 _, PC_ 3} _,_ { _PC_ 1 _, PC_ 2 _, PC_ 3 _,_ _PC_ 4}}}. The regressors are fitted to the training set and evaluated on the validation splits. The total NRMSE decreases with the dimension of the latent space. Likewise, PLS algorithm is applied to the input tensor X, and the same factorial analysis is performed, suggesting to use the four-dimension latent space. Next, the fitted models are evaluated on the external test set. It results that factorial decomposition with PCR and PLS yield identical multivariate calibration accuracy when the full latent space is used. When a reduced latent space is used, PLS performs slightly better, as expected, since it is a more compact model than PCR. The metrics achieved by applying linear regressors on the ten datasets are reported in Table 6. It could be seen that _K_ <sup>+</sup> and _Pb_ <sup>2+</sup> calibration are the less accurate ones due to the non-linear distortion added by severe ion interference. Besides, the metrics are improving steadily with larger datasets, for the four target ions. The metrics obtained with linear regression models are used as benchmark for the subsequent non-linear multivariate regressors implemented. _D._ _MULTIVARIATE CALIBRATION OPTIMIZATION_ In this section, the non-linear multivariate calibration models are compared to simple MLR model. Namely, SVR, the proposed M-SVR, and MLP models are evaluated on the ten synthetic datasets. A cross-validation grid-search on the model hyper-parameters is carried out to identify the best models, while limiting over-fitting. More explicitly, the models are trained on the entire orthogonal training set, and evaluated on five validation splits. The best model is retained and evaluated on the external test set. For MLP models, the hyperparameters space being wide, a coarse search is done before refining the grid-search on relevant hyper-parameters space. The results of multivariate calibration are displayed in Fig. 9. We observe a clear improvement between linear regressors and non-linear ones. For total NRMSE, there is an average improvement of 16 _._ 27%, 13 _._ 22%, and 18 _._ 12%, and an improvement of total MRE of 22 _._ 23%, 20 _._ 29%, and FIGURE 9. Total NRMSE and total MRE obtained by evaluating the best multivariate calibration models on the test set of the ten synthetic datasets. FIGURE 10. Total NRMSE obtained while assessing multivariate calibration models on five random validation splits and on a test set. 23 _._ 92%, for SVR, M-SVR, and MLP, respectively. The accuracy improvement obtained with the proposed M-SVR is satisfactory given the lower complexity of the proposed model. Namely, M-SVR optimizes concurrently the calibration of the four channels with four-dimension support vectors. Conversely, single-output SVR optimizes independently one ion channel at a time with one-dimension support vectors, therefore four times more support vectors than with M-SVR. Besides, M-SVR is more robust to noise and correlation in the dataset since it considers the four ion channels when constructing the model regression hyperplane. It is also observed that with large datasets (more than 540 training samples), M-SVR performs better than SVR and MLP regressors. Next, the quality of the models is assessed by comparing the scores obtained during the validation stage (metrics calculated with five validation splits of random samples) and the scores obtained with the test set. The results are displayed in Fig. 10. We observe that the generalization error is large FIGURE 11. Total NRMSE obtained while applying PCA pre-processing or not before multivariate calibration. for the scarcest dataset, for which the models are more likely subject to over-fitting. Overall, the generalization error is the smallest for M-SVR with an average of 3 _._ 22%, while it is of 4 _._ 43% and 4 _._ 79%, for SVR and MLP models, respectively. A further analysis is performed on the importance of PCA pre-processing. The scores obtained while applying PCA before the multivariate calibration, and without applying PCA are reported in Fig. 11. It is added that the input tensor X is scaled to zero-mean and unit-variance in both cases. We observe that PCA does not influence the calibration accuracy for MLR and M-SVR, while improvement is observed with SVR and MLP models. MLP regressors are feature-based models, so the pre-processing of the input tensor is essential to feed uncorrelated data to the network model. SVR and M-SVR models are distance-based models, so scaling the input tensor is the essential pre-processing step. The predicted ion activity vs target values when applying the optimal M-SVR model on Dataset_1 and Dataset_10 are plotted in Fig. 12 and 13, respectively. The scatter points fall along the 1:1 lines, with more dispersion for _K_ <sup>+</sup> and _Pb_ <sup>2+</sup> ions that are subject to severe ion interference. For Dataset_1, the 95% confidence interval on the slopes of the model fit contains 1 for _Li_ <sup>+</sup> and _Pb_ <sup>2+</sup> channels, and the intercepts contain 0 except for _Pb_ <sup>2+</sup> . These results are consistent with the previous conclusion that M-SVR models are less accurate with a scarcer dataset since the model is slightly biased. As for Dataset_10, the 95% confidence interval on the slopes of the model fit contains 1, and the intercepts contain 0 for the four channels. Therefore, M-SVR models applied to larger datasets are accurate and unbiased estimators. The computed coefficients of determination provide reliable information TABLE 7. Training parameters of the multivariate calibration models. FIGURE 12. Scatter plot of predicted log <sup>�</sup> aX vs target log aX for _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, and _Pb_ <sup>2</sup> <sup>+</sup> channel, by applying the optimal M-SVR model on Dataset_1. The model fit and its 95% confidence interval are plotted, where _R_ <sup>2</sup> is the coefficient of determination. The red plot is the 1:1 line. about the variance in activity of the target ions explained by the multivariate calibration models. _E._ _ANALYSIS OF MODEL COMPLEXITY_ Model complexity is a paramount feature to consider prior to deploying the multivariate calibration models onto memory and energy-constrained edge nodes, for real-time ion prediction. The trainable parameters of the multivariate calibration models are reported in Table 7. MLR model has _M_ - _P_ = 16 trainable weights, independently of the size of the training set, and OLS minimization has a complexity of _O_ ( _NM_ <sup>2</sup> ). The complexity of SVR models is indicated by the number of support vectors needed to build the regression hyperplane. More accurate models are obtained with small _ϵ_, so most of the training instances are used as support vectors. However, M-SVR has four-dimension support vectors for each training FIGURE 13. Scatter plot of predicted log <sup>�</sup> aX vs target log aX for _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, and _Pb_ <sup>2</sup> <sup>+</sup> channel, by applying the optimal M-SVR model on Dataset_10. The model fit and its 95% confidence interval are plotted, where _R_ <sup>2</sup> is the coefficient of determination. The red plot is the 1:1 line. instance since the four ion channels are considered simultaneously. On the contrary, four independent models are constructed with single-output SVR, explaining the four times larger amount of one-dimension support vectors. Besides, the complexity of IRWLS procedure is equivalent to an OLS minimization per iteration. The number of iterations required to reach convergence is reasonable, being less than 20. As for MLP models, the complexity of the model is set by the number of neurons in the model. The amount of wights and bias to estimate during the training phase is quite large, and tends to grow with larger training sets. The number of epochs before early-stopping is also reported. It does not exceed 400 epochs for a training batch size of 32 samples. The training runtime of the different models is measured to compare the model complexity quantitatively. The models are trained 100 times with the best hyper-parameters found FIGURE 14. (a) Training runtime and (b) prediction latency of multivariate calibration models. * values divided by 1. during grid-search. The results are displayed in Fig. 14.a. The training runtime of MLR models is not reported since it is constantly between 300 and 450 _µs_ . We observe that the training runtime of SVR model is relatively fast for scarce datasets, but it increases geometrically with the number of training samples beyond 400 samples. Conversely, the training runtime of M-SVR models does not grow excessively and remains below 8 _s_ . As for MLP models, they are the longer to train for scarce datasets, and the runtime grows steadily when increasing the training set. The multivariate calibration models could be trained offline and we could deploy the trained models directly onto edge devices for real-time ion monitoring. Consequently, the prediction latency of each model is measured for 100 runs, and normalized by the number of samples constituting the test set. The results are reported in Fig. 14.b. The prediction latency is obviously the shortest for MLR models. M-SVR models are compact models, so the prediction latency is inferior to 20 _µs/sample_ . Conversely, single-output SVR embed M dense models, explaining the larger latency. Neural network models have the larger prediction latency (scale divided by ten to fit onto the graph), making these models the less suitable for real-time monitoring applications. VII. CONCLUSION This work presents a novel approach for multi-ion-sensing frameworks, where the accuracy of the multivariate calibration depends on the training dataset representativeness and size. Namely, the response of ion-sensing arrays subject to ion interference are explained by an ion-sensing emulator. The parameters of the tool are experimentally determined from a couple of in-vitro calibration curves acquired from polymeric solid-contact ISEs, and from the selectivity coefficients of the developed sensors. It is demonstrated that the calibration curves output by the emulator fit with the calibration data acquired in artificial sweat from _Na_ <sup>+</sup>, _K_ <sup>+</sup>, _Li_ <sup>+</sup>, _Pb_ <sup>2+</sup> sensors, with RMSE of 1 _._ 37, 1 _._ 44, 1 _._ 78, 2 _mV_, respectively. This legitimates the use of the tool for generating synthetic datasets of custom size, emulating multi-ion-sensing in sweat. Therefore, the proposed approach circumvents the acquisition of big calibration data that is highly expensive in terms of chemical resource and time. Then, the emulated datasets are fed to a multivariate and multi-output SVR model. Multivariate calibration accuracy is increased, with NRMSE improvements of 13 _._ 22%, and MRE improvements of 20 _._ 29% with respect to a simple MLR model. The generalization error is quite small, being of 3 _._ 22%, and the regressor is statistically unbiased for medium to large datasets. The proposed model is more compact and more robust than a single-output SVR that embeds an independent regressor for each ion channel to predict. The latter does not consider the correlations between output channels, and above all, its computational complexity increases geometrically with the training set size, for large datasets. The proposed M-SVR model represents a robust, accurate, and low-complexity solution for memory and energy-constrained embedded devices, paving the way for continuous and realtime multi-ion monitoring. Eventually, the multi-ion-sensing emulator and multivariate calibration models are designed in this work for biomedical and healthcare monitoring in sweat. But the flexibility of the tool enables its use for broader applications such as environmental or water quality monitoring. APPENDIX A PHASE-BOUNDARY POTENTIAL MODEL At equilibrium, the electrochemical potentials for any ion j, of valence _zj_, in the sample and membrane phase are - _µj_ ( _aq_ ) = _µ_ <sup>0</sup> _j_ _µj_ ( _aq_ ) = _µ_ <sup>0</sup> _j_ <sup>(</sup> <sup>_aq_</sup> <sup>) +</sup> <sup>_RTln_</sup> <sup>(</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)) +</sup> <sup>_zjF�_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> _µj_ ( _m_ ) = _µ_ <sup>0</sup> _j_ <sup>(</sup> <sup>_m_</sup> <sup>) +</sup> <sup>_RTln_</sup> <sup>(</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_m_</sup> <sup>)) +</sup> <sup>_zjF�_</sup> <sup>(</sup> <sup>_m_</sup> <sup>)</sup> <sup>_,_</sup> (A.1) <sup>0</sup> _j_ <sup>(</sup> <sup>_m_</sup> <sup>) +</sup> <sup>_RTln_</sup> <sup>(</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_m_</sup> <sup>)) +</sup> <sup>_zjF�_</sup> <sup>(</sup> <sup>_m_</sup> <sup>)</sup> <sup>_,_</sup> respectively, where _µ_ <sup>0</sup> _j_ <sup>is the standard chemical potential,</sup> <sup>_aj_</sup> <sup>is</sup> the ion activity, and _�_ is the electrical potential. Assuming partition equilibrium of ion j between both membrane and sample phases, _µj_ ( _aq_ ) = _µj_ ( _m_ ), one obtains the phase boundary potential defined as _EPB_ _def_ = _�_ ( _m_ ) − _�_ ( _aq_ ), _,_ (A.2) _j_ <sup>0</sup> <sup>+</sup> <sup><u>1</u></sup> _EPB_ = _ϵj_ <sup>0</sup> _zj_ - _aj_ ( _aq_ ) _s_ log _aj_ ( _m_ ) <sup>)−</sup> <sup>_µ_</sup> <sup>0</sup> _<u>j</u>_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> is the standard potential, constant _zjF_ where _ϵj_ <sup>0</sup> <sup>=</sup> _µ_ <sup>0</sup> _<u>j</u>_ <sup>0</sup> _<u>j</u>_ <sup>(</sup> <sup>_aq_</sup> <sup>)−</sup> <sup>_µ_</sup> <sup>0</sup> _<u>j</u>_ for a given ion. _s_ = _<u>RTF</u>_ for a given ion. _s_ = _<u>RTF</u>_ <sup>_ln_</sup> <sup>10</sup> <sup>is</sup> <sup>the</sup> <sup>Nernst</sup> <sup>slope.</sup> <sup>Then,</sup> let us consider the ion-selective membrane composed of an ionophore L of charge _zL_ and concentration _LT_, and an ionexchanger R of charge _zR_ and molar concentration _RT_ . The ionophore includes ion carriers that selectively transport ions across the membrane. The ionophore forms complexes with the target ion I as _I_ <sup>_zj_</sup> ( _m_ ) + _nL_ _βn_ −→ _jLn,_ (A.3) where _βn_ is the complex formation constant. The interactions between the ion-exchanger and the co-ions are neglected. The charge balance in the ion-selective membrane yields _zRRT_ + _zLLT_ + _n_ ( _nzL_ + _zj_ ) _cjLn_ + _zjcj_ ( _m_ ) = 0 _,_ (A.4) where each contributions are, from the ion-exchanger, the ionophore, the complex formed with the target ion, and the free form of the target ion in the membrane, respectively. c stands for compound concentration. The label (m) is added to emphasize that it refers to the concentration of ion j in the membrane and not in the sample phase. Inserting complex formation constants _βn_ and activity coefficients _γ_, Equation (A.11) is substituted in (A.10), and gives the compact equation 10 <sup>_zI_</sup> <sup>(</sup> <sup>_E_</sup> _I_ <sup>0−</sup> <sup>_EPB_</sup> <sup>)</sup> <sup>_/s_</sup> _aI_ ( _aq_ ) + 10 <sup>(</sup> <sup>_E_</sup> _I_ <sup>0−</sup> <sup>_EPB_</sup> <sup>)</sup> <sup>_/s_</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ <u>1</u> _zI_ _aj_ ( _aq_ ) _j s.t. zj_ =1 ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> ( _K_ <sup>_pot_</sup> _I_ _,j_ <u>2</u> _zI_ _aj_ ( _aq_ ) = 1 _,_ (A.12) _j s.t. zj_ =2 limiting the sum expansion to monovalent and divalent ions. Equation (A.12) is solved for _EPB_, with a second-order polynomial equation formulation. For _zI_ = 1, _EPB_ +10 <sup>2(</sup> <sup>_E_</sup> _I_ <sup>0−</sup> <sup>_EPB_</sup> <sup>)</sup> <sup>_/s_</sup> 1 + <sup>�</sup> _n_ _<u>nzL</u>_ + _<u>zj</u>_ _zj_ _<u>γj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γjLn</u>_ <sup>_βna_</sup> _L_ <sup>_n_</sup> _zR_ _RT_ + _zL_ _<u>γ</u>_ <sup>_<u>aL</u>_</sup> _L_ <sup>+</sup> <sup>_zj_</sup> _<u>aj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γj</u>_ ( _m_ ) _L_ = 0 _._ (A.5) Next, let us consider that multiple ions from the sample phase (interfering ions) could interact with the membrane. It is assumed that the activity of the uncomplexed ionophore and the activity coefficient of the extracted ions remain unaltered. This is valid for a polymeric membrane with an ionophore in excess with respect to the ion-exchanger, and considering that the membrane ionic strength is not changing during ion exchange. (A.5) is summed over the ions extracted from the sample phase into the membrane, and yields _j s.t. zj_ =1 <sup>_pot_</sup> _I_ _,j_ <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> _aI_ ( _aq_ ) + _K_ <sup>_pot_</sup> _I_ _,j_ = _EI_ <sup>0</sup> <sup>+</sup> <sup>_s_</sup> <sup>log</sup> - <u>1</u> 2 ~~�~~ <u>�</u> - <sup><u>1</u></sup> 4 _j s.t. zj_ =1 ( _KI_ <sup>_pot_</sup> _,j_ <u>�2</u> + <u>�</u> _,_ _I_ <sup>_pot_</sup> _,j_ <sup>)2</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> _K_ <sup>_pot_</sup> _I_ _,j_ <sup>_pot_</sup> _I_ _,j_ <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> + <u>�</u> _aI_ ( _aq_ )+ (A.13) 1 + <sup>�</sup> _n_ _<u>γj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γjLn</u>_ <sup>_βna_</sup> _L_ <sup>_n_</sup> _j_ _zj_ _aj_ ( _m_ ) _γj_ ( _m_ ) _<u>nzL</u>_ + _<u>zj</u>_ _zj_ _L_ = − _zRRT_ - _zL_ _<u>γ</u>_ <sup>_<u>aL</u>_</sup> _L_ <sup>_._</sup> (A.6) Then, an apparent standard potential for each ion j, _Ej_ <sup>0,</sup> is introduced such that _EPB_ = _Ej_ <sup>0</sup> <sup>+</sup> _zsj_ <sup>log(</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)).</sup> <sup>The</sup> apparent standard potential is expressed as while for _zI_ = 2, _EPB_ _j s.t. zj_ =1 _j s.t. zj_ =2 <u>1</u> 2 _aj_ ( _aq_ ) ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> = _EI_ <sup>0</sup> <u>�1</u> 2 _I_ <sup>0</sup> <sup>+</sup> <sup>_s_</sup> <sup>log</sup> _j s.t. zj_ =1 ( _K_ <sup>_pot_</sup> _I_ _,j_ <sup>)</sup> <u>�</u> _._ <u>1</u> <u>�2</u> 2 _aj_ ( _aq_ ) + _aI_ ( _aq_ )+ _K_ <sup>_pot_</sup> _I_ _,j_ <sup>_pot_</sup> _I_ _,j_ <sup>_aj_</sup> <sup>(</sup> <sup>_aq_</sup> <sup>)</sup> <u>�</u> + _<u>γj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γj</u>_ <u>(</u> _<u>m</u>_ <u>)</u> _<u>γjLn</u>_ <sup>_βna_</sup> _L_ <sup>_n_</sup> _,_ (A.7) _<u>nzL</u>_ + _<u>zj</u>_ _j s.t. zj_ =2 _n_ _zj_ _<u>γjLn</u>_ <sup>_βna_</sup> _L_ <sup>_n_</sup> _zRRT_ + _zL_ _<u>γ</u>_ <sup>_<u>aL</u>_</sup> _L_ _<u>γL</u>_ (A.14) APPENDIX B SYNTHETIC DATASETS The synthetic datasets generated are available at http://ieeedataport.org/documents/multi-ion-sensing-emulator. REFERENCES [1] Ö. Isildak and O. Özbek, ‘‘Application of potentiometric sensors in real samples,’’ _Crit._ _Rev._ _Anal._ _Chem._, pp. 1–14, Jan. 2020, [doi: 10.1080/10408347.2019.1711013.](http://dx.doi.org/10.1080/10408347.2019.1711013) [2] A. Mimendia, J. M. Gutiérrez, L. Leija, P. R. Hernández, L. Favari, R. Muñoz, and M. del Valle, ‘‘A review of the use of the potentiometric electronic tongue in the monitoring of environmental systems,’’ _Environ._ _Model. Softw._, vol. 25, no. 9, pp. 1023–1030, Sep. 2010. [3] A. V. Mueller and H. F. Hemond, ‘‘Statistical generation of training sets for measuring NO3-, NH4+ and major ions in natural waters using an ion selective electrode array,’’ _Environ. Sci., Processes Impacts_, vol. 18, no. 5, pp. 590–599, 2016. [4] W. Gao, S. Emaminejad, H. Y. Y. Nyein, S. Challa, K. Chen, A. Peck, H. M. Fahad, H. Ota, H. Shiraki, D. Kiriya, D.-H. Lien, G. A. Brooks, R. W. Davis, and A. Javey, ‘‘Fully integrated wearable sensor arrays for multiplexed _in_ _situ_ perspiration analysis,’’ _Nature_, vol. 529, no. 7587, pp. 509–514, Jan. 2016. [5] M. Parrilla, M. Cuartero, and G. A. Crespo, ‘‘Wearable potentiometric ion sensors,’’ _TrAC Trends Anal. Chem._, vol. 110, pp. 303–320, Jan. 2019. [6] J. Hu, A. Stein, and P. Bühlmann, ‘‘Rational design of all-solid-state ion selective electrodes and reference electrodes,’’ _TrAC Trends Anal. Chem._, vol. 76, pp. 102–114, Feb. 2016. [7] G. Dimeski, T. Badrick, and A. S. John, ‘‘Ion selective electrodes (ISEs) and interferences—A review,’’ _Clinica_ _Chim._ _Acta_, vol. 411, nos. 5–6, pp. 309–317, Mar. 2010. [8] M. del Valle, ‘‘Sensor arrays and electronic tongue systems,’’ _Int. J. Elec-_ _trochem._, vol. 2012, pp. 1–11, Oct. 2012. ~~�~~ <u>�</u> - <sup><u>1</u></sup> 4 _Ej_ <sup>0</sup> _j_ <sup>0</sup> <sup>=</sup> <sup>_ϵ_</sup> _j_ <sup>0</sup> _j_ <sup>0</sup> <sup>+</sup> <sup>_<u>s</u>_</sup> _zj_ - _zj_ _γj_ ( _m_ ) 1 + <sup>�</sup> _n_ _zj_ log where the expression in the log is equal to _aj_ (1 _m_ ) <sup>.</sup> <sup>(A.7)</sup> <sup>is</sup> rewritten as _γj_ ( _m_ ) _γjLn_ 1 + _n_ _nzL_ + _zj_ _zj_ 10 <sup>−</sup> <sup>_zjE_</sup> _j_ <sup>0</sup> <sup>_/s_</sup> _zj_ _kj_ _γj_ ( _m_ ) _βna_ <sup>_n_</sup> _L_ = − _zRRT_ - _zL_ _<u>aL</u>_ _γL_ _,_ (A.8) where the free energy of ion transfer _kj_ is defined as _ϵj_ <sup>0</sup> <sup>=</sup> _zsj_ <sup>log(</sup> <sup>_kj_</sup> <sup>).</sup> <sup>Moreover,</sup> <sup>_aj_</sup> <sup>(</sup> <sup>_m_</sup> <sup>)</sup> <sup>is</sup> <sup>extracted</sup> <sup>from</sup> <sup>(A.2)</sup> <sup>and</sup> <sup>sub-</sup> stituted in (A.6), yielding _γj_ ( _m_ ) _γjLn_ 10 <sup>−</sup> <sup>_zjEPB/s_</sup> _aj_ ( _aq_ ) 1 + _n_ _nzL_ + _zj_ _zj_ _j_ _zj_ _γj_ ( _m_ ) <sup>_kj_</sup> _βna_ <sup>_n_</sup> _L_ _βna_ <sup>_n_</sup> _L_ = − _zRRT_ - _zL_ Inserting (A.8) in (A.9), one finds _<u>aL</u>_ _γL_ _._ (A.9) 10 <sup>−</sup> <sup>_zjEPB/s_</sup> <sup>�</sup> _j_ _aj_ ( _aq_ )10 <sup>_zjE_</sup> _j_ <sup>0</sup> <sup>_/s_</sup> = 1 _._ (A.10) The selectivity coefficient of a membrane with target ion I, with respect to an interfering ion J, is defined as _I_ <sup>_pot_</sup> _,J_ <sup>=</sup> <sup>_<u>zI</u>_</sup> _s_ _I_ <sup>0)</sup> <sup>_._</sup> (A.11) log _KI_ <sup>_pot_</sup> _,J_ <sup>_<u>I</u>_</sup> _J_ _s_ <sup>(</sup> <sup>_E_</sup> <sup>0</sup> _J_ <sup>0</sup> <sup>−</sup> <sup>_E_</sup> _I_ <sup>0</sup> [9] Y. Vlasov, A. Legin, A. Rudnitskaya, C. Di Natale, and A. D’Amico, ‘‘Nonspecific sensor arrays (‘electronic tongue’) for chemical analysis of liquids (IUPAC technical report),’’ _Pure_ _Appl._ _Chem._, vol. 77, no. 11, pp. 1965–1983, 2005. [10] L. Wang, D. Yang, C. Fang, Z. Chen, P. J. Lesniewski, M. Mallavarapu, and R. Naidu, ‘‘Application of neural networks with novel independent component analysis methodologies to a prussian blue modified glassy carbon electrode array,’’ _Talanta_, vol. 131, pp. 395–403, Jan. 2015. [11] L. Wang, Y. Cheng, D. Lamb, M. Megharaj, and R. Naidu, ‘‘Application of ion selective electrode array to simultaneously determinate multi-free ions in solution,’’ _Environ. Technol. Innov._, vol. 15, Aug. 2019, Art. no. 100424. [12] A. V. Mueller and H. F. Hemond, ‘‘Extended artificial neural networks: Incorporation of a priori chemical knowledge enables use of ion selective electrodes for _in-situ_ measurement of ions at environmentally relevant levels,’’ _Talanta_, vol. 117, pp. 112–118, Dec. 2013. [13] L. Wang, Y. Cheng, D. Lamb, Z. Chen, P. J. Lesniewski, M. Megharaj, and R. Naidu, ‘‘Simultaneously determining multi-metal ions using an ion selective electrode array system,’’ _Environ._ _Technol._ _Innov._, vol. 6, pp. 165–176, Nov. 2016. [14] A. Mimendia, J. M. Gutiérrez, J. M. Alcañiz, and M. del Valle, ‘‘Discrim ination of soils and assessment of soil fertility using information from an ion selective electrodes array and artificial neural networks,’’ _CLEAN Soil,_ _Air, Water_, vol. 42, no. 12, pp. 1808–1815, Dec. 2014. [15] L. Nuñez, X. Cetó, M. I. Pividori, M. V. B. Zanoni, and M. del Valle, ‘‘Development and application of an electronic tongue for detection and monitoring of nitrate, nitrite and ammonium levels in waters,’’ _Microchem._ _J._, vol. 110, pp. 273–279, Sep. 2013. [16] J. Gallardo, S. Alegret, M. A. de Román, R. Muñoz, P. R. Hernández, L. Leija, and M. del Valle, ‘‘Determination of ammonium ion employing an electronic tongue based on potentiometric sensors,’’ _Anal. Lett._, vol. 36, no. 14, pp. 2893–2908, Jan. 2003. [17] D. Wilson, M. N. Abbas, A. L. A. Radwan, and M. D. Valle, ‘‘Potentiomet ric electronic tongue to resolve mixtures of sulfide and perchlorate anions,’’ _Sensors_, vol. 11, no. 3, pp. 3214–3226, Mar. 2011. [18] A. M. Snauffer, U. Chauhan, K. Cogert, M. K. H. Winkler, and A. V. Mueller, ‘‘Data fusion for environmental process control: Maximizing useful information recovery under data limited constraints,’’ _IEEE_ _Sensors Lett._, vol. 3, no. 1, pp. 1–4, Jan. 2019. [19] E. Bakker, P. Bühlmann, and E. Pretsch, ‘‘The phase-boundary potential model,’’ _Talanta_, vol. 62, no. 4, pp. 843–860, 2004. [20] M. Chung, G. Fortunato, and N. Radasci, ‘‘Wearable flexible sweat sensors for healthcare monitoring: A review,’’ _J._ _Roy._ _Soc._ _Interface_, vol. 16, pp. 1–15, Oct. 2018. [21] B. Lara, C. Gallo-Salazar, C. Puente, F. Areces, J. J. Salinero, and J. Del Coso, ‘‘Interindividual variability in sweat electrolyte concentration in marathoners,’’ _J._ _Int._ _Soc._ _Sports_ _Nutrition_, vol. 13, no. 1, pp. 1–8, Dec. 2016. [22] D. B. Speedy, T. D. Noakes, and C. Schneider, ‘‘Exercise-associated hyponatremia: A review,’’ _Emergency_ _Med._, vol. 13, no. 1, pp. 17–27, Mar. 2001. [23] A. Muneer, ‘‘Staging models in bipolar disorder: A systematic review of the literature,’’ _Clin._ _Psychopharmacol._ _Neurosci._, vol. 14, no. 2, pp. 117–130, May 2016. [24] D. Gruson, A. Lallali, V. Furlan, A. M. Taburet, A. Legrand, and M. Conti, ‘‘Evaluation of a new lithium colorimetric assay performed on the dade behring dimension X-pand system,’’ _Clin. Chem. Lab. Med._, vol. 42, no. 9, pp. 1066–1068, Jan. 2004. [25] M. E. Sears, K. J. Kerr, and R. I. Bray, ‘‘Arsenic, cadmium, lead, and mer cury in sweat: A systematic review,’’ _J. Environ. Public Health_, vol. 2012, pp. 1–10, Feb. 2012. [26] L. Z. Benet, ‘‘Glass electrodes for hydrogen and other cations. Edited by george Eisenman. Marcel Dekker, Inc., 95 Madison Ave., New York, NY 10016, 1967. XII + 582pp. 15 × 22.5 cm. Price $24.75,’’ _J. Pharmaceutical_ _Sci._, vol. 57, no. 7, p. 1271, Jul. 1968. [27] M. Nägele, E. Bakker, and E. Pretsch, ‘‘General description of the simul taneous response of potentiometric ionophore-based sensors to ions of different charge,’’ _Anal. Chem._, vol. 71, no. 5, pp. 1041–1048, Mar. 1999. [28] I. N. Hanitra, D. Demarchi, S. Carrara, and G. De Micheli, ‘‘Emulator design and generation of synthetic dataset in multi-ion sensing,’’ in _Proc._ _IEEE Int. Symp. Circuits Syst. (ISCAS)_, Oct. 2020, pp. 1–5. [29] W. Ament, J. Huizenga, G. Mook, C. Gips, and C. J. Verkerke, ‘‘Lac tate and ammonia concentration in blood and sweat during incremental cycle ergometer exercise,’’ _Int._ _J._ _Sports_ _Med._, vol. 18, no. 1, pp. 35–39, Jan. 1997. [30] R. Klesges, K. Ward, M. Shelton, and, ‘‘Changes in bone mineral content in male athletes: Mechanisms of action and intervention effects,’’ _J. Amer._ _Med. Assoc._, vol. 276, no. 3, pp. 226–230, 1996. [31] M. Bariya, H. Y. Y. Nyein, and A. Javey, ‘‘Wearable sweat sensors,’’ _Nature_ _Electron._, vol. 1, no. 3, pp. 160–171, Mar. 2018. [32] R. N. Kacker, E. S. Lagergren, and J. J. Filliben, ‘‘Taguchi’s orthogonal arrays are classical designs of experiments,’’ _J._ _Res._ _Nat._ _Inst._ _Standards_ _Technol._, vol. 96, no. 5, p. 577, Sep. 1991. [33] F. Criscuolo, I. Ny Hanitra, S. Aiassa, I. Taurino, N. Oliva, S. Carrara, and G. De Micheli, ‘‘Wearable multifunctional sweat-sensing system for efficient healthcare monitoring,’’ _Sens._ _Actuators_ _B,_ _Chem._, vol. 328, Feb. 2021, Art. no. 129017. [34] A. C. Olivieri, _Introduction_ _to_ _Multivariate_ _Calibration_ . Cham, Switzer land: Springer, 2018. [35] S. Wold, M. Sjöström, and L. Eriksson, ‘‘PLS-regression: A basic tool of chemometrics,’’ _Chemometrics_ _and_ _Intelligent_ _Laboratory_ _Systems_, vol. 58, no. 2, pp. 109–130, 2001. [36] V. Vapnik, S. E. Golowich, and A. Smola, ‘‘Support vector method for function approximation, regression estimation and signal processing,’’ in _Proc. 9th Int. Conf. Neural Inf. Process. Syst._, Cambridge, MA, USA: MIT Press, 1996, pp. 281–287. [37] V. N. Vapnik, _Statistical_ _Learning_ _Theory_ . Hoboken, NJ, USA: Wiley, 1998. [38] B. Scholkopf and A. J. Smola, _Learning_ _With_ _Kernels:_ _Support_ _Vector_ _Machines,_ _Regularization,_ _Optimization,_ _and_ _Beyond_ . Cambridge, MA, USA: MIT Press, 2001. [39] M. Sanchez-Fernandez, M. de-Prado-Cumplido, J. Arenas-Garcia, and F. Perez-Cruz, ‘‘SVM multiregression for nonlinear channel estimation in multiple-input multiple-output systems,’’ _IEEE Trans. Signal Process._, vol. 52, no. 8, pp. 2298–2307, Aug. 2004. [40] D. E. Rumelhart and J. L. McClelland, Eds., _Parallel Distributed Process-_ _ing: Explorations in the Microstructure of Cognition: Foundations_, vol. 1. Cambridge, MA, USA: MIT Press, 1986. [41] X. Glorot and Y. Bengio, ‘‘Understanding the difficulty of training deep feedforward neural networks,’’ in _Proc._ _Int._ _Conf._ _Artif._ _Intell._ _Statist._ _(AISTATS)_, 2010, pp. 249–256. [42] J. J. Dongarra, J. W. Demmel, and S. Ostrouchov, ‘‘Lapack: A linear alge bra library for high-performance computers,’’ in _Computational Statistics_, Y. Dodge and J. Whittaker, Eds. Berlin, Germany: Physica-Verlag HD, 1992, pp. 23–28. [43] P. Geladi and B. R. Kowalski, ‘‘Partial least-squares regression: A tutorial,’’ _Analytica Chim. Acta_, vol. 185, pp. 1–17, Jan. 1986. [44] C.-C. Chang and C.-J. Lin, ‘‘LIBSVM: A library for support vector machines,’’ _ACM_ _Trans._ _Intell._ _Syst._ _Technol._, vol. 2, no. 3, pp. 1–39, Apr. 2011. [45] F. Chollet. (2015). _Keras_ . [Online]. Available: https://keras.io [46] R. P. Buck and E. Lindner, ‘‘Recomendations for nomenclalture of ion selective electrodes,’’ _Pure_ _Appl._ _Chem._, vol. 66, no. 12, pp. 2527–2536, 1994. IVAN NY HANITRA (Graduate Student Member, IEEE) received the B.S. degree in physics and chemistry from the Grenoble Institute of Technology, Grenoble, France, in 2014, and the M.S. degree in micro and nanotechnologies for integrated systems, a joint degree between the Politecnico di Torino, Turin, Italy, the Grenoble Institute of Technology, and EPFL, Lausanne, Switzerland, in 2016. He is currently pursuing the Ph.D. degree in microelectronics and microsystems. He joined the Integrated Systems Laboratory, EPFL, under the supervision of Prof. De Micheli, in October 2016, where he designed and realized multi-target electrochemical sensing platforms. His work is aiming at physical status monitoring and advanced healthcare diagnosis for wearable applications. His research interests includes the co-design and development of hardware and software interfaces for electrochemical sensors. A strong emphasis of his research is laid on developing efficient data processing tools and optimization algorithms within a multi-sensing paradigm. FRANCESCA CRISCUOLO received the B.Sc. and M.Sc. degrees _(cum laude)_ in materials engineering and nanotechnology from the Politecnico di Milano, Italy, and the Ph.D. degree from the Integrated System Laboratory, EPFL, Lausanne, Switzerland, in April 2020, with her thesis ‘‘Wearablemulti-electrode platform for ionsensing’’. During her studies, she participated in several exchange programs in France, Czech Republic, The Netherlands, and Belgium. She spent one year with TU Delft, where she specialized in bio-nanomaterials and in nanoelectronics. In 2015, she worked with the Energy Storage Group, IMEC, Leuven, Belgium. She is currently a Postdoctoral Fellow with EPFL, where she focuses on novel electrochemical biosensors for healthcare and diagnostics. SANDRO CARRARA (Fellow, IEEE) is currently a Faculty with the EPFL, Lausanne, Switzerland, and a former Professor with the University of Genoa, Italy, and the University of Bologna, Italy. Along his carrier, he published seven books, with prestigious publishers like Springer/Nature and Cambridge University Press. He published more than 270 papers and 14 patents. He was a member of the BoG of the IEEE CASS and also a member of the IEEE Sensors Council. He was a recipient of the IEEE Sensors Council Technical Achievement Award. He is also the Editor-in-Chief of the IEEE SENSORS JOURNAL and an Associate Editor of IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS. GIOVANNI DE MICHELI (Life Fellow, IEEE) is currently a Professor and the Director of the Institute of Electrical Engineering, EPFL, Lausanne, Switzerland. His research interest includes several aspects of design technologies for integrated circuits and systems, such as synthesis for emerging technologies, networks on chips, and bio-sensing/systems. He was a recipient of the 2016 IEEE/CS Harry Goode Award, the 2016 EDAA Lifetime Achievement Award, and the 2012 IEEE/CAS Mac Van Valkenburg Award among other recognitions. He is also a Fellow of ACM and a member of the Academia Europaea and an International Honorary member of the American Academy of Arts and Sciences.

섹션 본문 66문단 · 48,883자

(제목 없음)

1One paramount challenge in multi-ion-sensing arises from ion interference that degrades the accuracy of sensor calibration. Machine learning models are here proposed to optimize such multivariate calibration. However, the acquisition of big experimental data is time and resource consuming in practice, necessitating new paradigms and efficient models for these data-limited frameworks. Therefore, a novel approach is presented in this work, where a multi-ion-sensing emulator is designed to explain the response of an ion-sensing array in a mixed-ion environment. A case study is performed emulating the concurrent monitoring of sodium, potassium, lithium, and lead ions, in a medium representative of sweat samples. These analytes are relevant examples of sweat ion-sensing applications for physiology, therapeutic drug monitoring, and heavy metal contamination. It is demonstrated that calibration datasets output by the emulator explain accurately the experimental response of polymeric solid-contact ion-selective electrodes, where root-meansquared error of 1.37, 1.44, 1.78, 2 mV are obtained, respectively, for Na + , K + , Li + , Pb 2+ sensor calibration in artificial sweat. Besides, synthetic datasets of custom size are generated to train, validate, and evaluate different types of multivariate regressors. A Multi-Output Support Vector Regressor (M-SVR) is proposed as a compact, accurate, robust, and efficient multivariate calibration model. It features 13.22% normalized root mean squares, and 20.29% mean root squares improvement compared to a simple linear regression model. It is an unbiased estimator for medium to large datasets, and its average generalization error is of 3.22%. Besides, M-SVR models have a lower computational complexity than single-output SVR or neural network models, making them a suitable solution for memory and energy-constrained edge devices used for continuous and real-time multi-ion monitoring.INDEX TERMS Ion interference modeling, machine learning, multi-ion-sensing emulator, multivariate calibration, multi-output support vector regressor.

I. INTRODUCTION

2Potentiometric ion-sensors are increasingly applied in many fields, leveraging progress in all-solid-state sensing and technology [1]. Namely, they are used for environmental monitoring of pollutants [2], for agricultural soil analysis [2], for water quality control [3], or for biomedical applications such as physiology and healthcare monitoring [4], [5]. The sensor consists in an Ion-Selective Electrode (ISE) coated with a polymeric membrane that selectively entraps the target analyte. Research efforts are focused on improving The associate editor coordinating the review of this manuscript and approving it for publication was Ze Ji . sensing technology and transduction mechanisms [6], but ion interference is strongly limiting sensing performances because of ISE intrinsic selectivity bounds [7]. Interference arises from the electrolytes inherently constituting the sample, whose composition could vary in a non-predictable way with the environment. Besides, accurate ion-monitoring becomes more intricate when the target electrolyte is extremely diluted in the sample, the analyte concentration being of the same order as sensor Limit Of Detection (LOD).

3As a result, multivariate calibration, that consists in binding the multivariate response of the ion-sensing array to the concentration of the target ions, is becoming less accurate. To overcome ion interference and increase sensing accuracy, VOLUME 9, 2021 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ the concept of electronic tongue has been introduced. It is a recent trend for which sensor arrays are coupled with chemometric tools. [8] More precisely, it is defined by IUPAC as ''a multisensor system, which consists of a number of low-selective sensors, and uses advanced mathematical procedures for signal processing based on Pattern Recognition and/or Multivariate data analysis-Artificial Neural Networks (ANNs), Principal Component Analysis (PCA), and so forth-.'' [9] Several works are proposed in literature where ANN architectures are coupled to sensor arrays in order to determine simultaneously multi-ions in samples subject to ion interference [2], [10]- [17]. The quality of results obtained with these black-box chemometric models depends on the size and the representativeness of the training dataset. Unfortunately, the acquisition of big data is time and resource consuming in practice, entailing high labor costs of chemical assays. Indeed, the datasets in the aforementioned works are restricted to 15 up to 100 samples. Some approaches have been proposed to cope with this data scarcity issue. Data fusion techniques are used in [18] to extract relevant features from data-limited ion-sensors, and generate synthetic samples from Cumulative Distribution Functions (CDFs) of the concentration of the target ions, before feeding the training set to different machine learning algorithms implemented for ammonium ion measurement.

4In this work, a novel approach is proposed, where a multiion-sensing emulator is designed to explain the response of an ion-sensor array subject to ion interference from a mixed-ion sample. A compact version of the phase-boundary potential model [19], that is valid for polymeric ISEs, is built at the core of the emulator. Datasets of different size are generated and fed to linear and non-linear regressors that are implemented to improve sensing accuracy. A case study is carried out, emulating the concurrent monitoring of sodium, potassium, lithium, and lead ions, in an environment representative of sweat samples. These ions are relevant examples of sweat ion-sensing applications for physiology, therapeutic drug monitoring, and trace heavy metal contamination. Namely, the main minerals present in perspiration are sodium, potassium, and calcium [20]. During physical exercise, a depletion of sodium and potassium ions is observed [21]. An excessive loss of these ions could lead to muscle cramps, dehydration, or to hypokalemia and hyponatremia [22]. Besides, sweat ion-sensing could be applied to therapeutic drug monitoring. For instance, lithium salts are administrated to people suffering from bipolar disorder [23]. The therapeutic window of the drug is narrow (0.8 − 1.5 mM [24]), necessitating an accurate and continuous lithium monitoring. Moreover, some trace heavy metals such as lead are present in sweat, but in diluted amount (below 283 µg/L). Nevertheless, massive lead contamination from food, water, or the environment could result in memory trouble, pain, numbness, or behavioral problems [25], thus requiring an accurate lead monitoring system.

5The remainder of the manuscript is organized as follows. First, some related works on multivariate calibration optimization in multi-ion-sensing are discussed in Section II to highlight the challenges in data-constrained systems for accurate and simultaneous monitoring of multi-ions. Then, the multi-ion-sensing emulator is presented in Section III, with the description of the compact phase-boundary potential model that is at its core. The methodology carried out to generate synthetic datasets out of the emulator is described in Section IV. Next, the proposed Multi-output Support Vector Regressor (M-SVR) is detailed in Section V. The results of the case study are discussed in Section VI, and the conclusions are reported in Section VII.

II. CHALLENGES AND RELATED WORKS

6One of the main challenge in accurate ion-sensing arises from ion interference, due to the background electrolytes in the sample, that creates non-linearity in sensor response. Moreover, in multi-ion-sensing, cross-interference is not negligible, and monitoring analytes that are diluted in the sample is intricate. As a result, multivariate calibration is commonly optimized by machine learning models. Some related works on multi-ion-sensing are listed in Table 1, aiming mainly at environmental, agriculture, and water quality monitoring. Polymeric ISEs are fabricated and characterized, enabling the monitoring of ions of interest, and in some works, the tracking of interfering ions as well. Then, synthetic training datasets are acquired from the sensors. They are of relative small size, considering the huge time and chemical resource needed to acquire big data. Nevertheless, the calibration dataset should be representative enough of real samples. Factorial design, random design in the concentration range of the target ions, or usage of CDFs of the concentration of the ions are strategies implemented to obtain statistically relevant synthetic training sets with a limited amount of samples. The test sets are acquired either from real samples, or with synthetic design procedures. Multivariate calibration is performed mostly with feed-forward Back-Propagation Neural Network (BPNN) of one to three hidden layers, trained with a Bayesian regularization algorithm. More complicated architectures are investigated to incorporate a priori knowledge from the sensors (charge balance, electrical conductivity constraints) [12], or genetic independent component analysis [10], [11].

III. EMULATOR DESIGN FOR MULTI-ION-SENSING

7The approach proposed in this work to overcome the datalimited constraints in the training of chemometric tools deployed for multivariate calibration is to design an emulator of synthetic datasets, explaining the responses of polymeric ISEs exposed to mixed-ions samples. First, the compact modeling of ISE response is described, then the design of the emulator is detailed.

A. MODELING OF INTERFERENCE IN ION-SENSING

8In potentiometric sensing, ISEs are functionalized with an ion-selective membrane that entraps the target ion. The electrode transduces the thermodynamic activity of the target ion into an electric potential. The Open Circuit Potential (OCP) between the sensing electrode and an inert reference electrode, which has a stable potential, is measured under quasi-zero current conditions [6]. Sensor calibration consists in mapping the measured OCP with the target ion activity. The latter refers to the ability of the analyte to react with other ions, and is related to the effective analyte concentration in the sample by the activity coefficient. In the following, ion activity is the chemical property of interest in the multivariate calibration. ISE response is usually described by the semi-empirical Nicolsky-Eisenman model [26]. However, it is not very accurate when ions of different charges are present in the sample. Namely, large deviations from acquired sensor data are observed in ion mixtures [27]. In this work, the phaseboundary potential model is used to describe ion-sensor response of a polymeric ISE in mixed-ion solutions. A comprehensive description of the model is presented in [19]. The hereunder analytical derivation is carried out to get a compact ion-sensing model, highlighting the key parameters explaining sensor output distortion due to ion interference. An exhaustive derivation of the model is reported in Appendix A. The phase-boundary potential model is based on ion-exchange considerations at the sample/membrane interface. Transmembrane ion fluxes are ignored in this model. When the target ion is entrapped in the polymeric membrane, an electrical potential is built up at the interface to counter-balance the ion fluxes from the sample phase to the membrane phase, and to preserve electroneutrality. The phase-boundary potential at equilibrium for any ion j is shown in (1). It is obtained by equating the electrochemical potential in the membrane and sample phase, where is the electrical potential, 0 j is the standard potential of ion j of valence z j , of activity a j (m) and a j (aq), in the membrane and sample phase, respectively. s = RT F ln 10 is the Nernst slope.

9Next, it is assumed that the membrane ionic strength is unaltered during ion exchange. By applying membrane electroneutrality, with multiple ions interacting with the membrane phase (interfering ions),

10where E 0

11is the apparent standard potential of ion j. All interactions of ion j with the ionophore of the membrane are embedded in a j (m). Then, the membrane selectivity is quantified by the selectivity coefficient

12It represents how much the membrane is selective towards a target ion I than an interferent ion J. Substituting (3) in (2), the compact equation (4), as shown at the bottom of the next page, is obtained, considering monovalent and divalent ions in the sample. The contributions of the target ion I, monovalent, and divalent interfering ions are put in evidence.

13The selectivity coefficients could be seen as weighting factors of the activity of interfering ions. Equation (4) is solved for E PB , and yields (5) and (6), as shown at the bottom of the next page, for a monovalent and divalent target ion, respectively. An ideal Nernstian response is recovered if all interfering electrolytes have a null activity (no interferent), or if ∀j, log K pot I ,j −→ −∞ (perfectly selective membrane). The ion-selective membrane properties are embedded in the VOLUME 9, 2021 constant E 0 I that could be seen as an offset potential independent of a I (aq). The parameters to model ion interference are reduced to the selectivity coefficients log K pot I ,J , and the activity of the interfering ions a J (aq). Eventually, the OCP between an ISE for target ion I, and the reference electrode is

14where K cell takes into account the constant potentials in the galvanic cell, including reference electrode potential and electrode contact potential drops.

B. MULTI-ION-SENSING EMULATOR

15A Graphical Unit Interface (GUI) implementation of an ionsensor calibration curves emulator has been presented in [28]. Its main features are summarized in the following. The tool allows for selecting generic monovalent or divalent primary ions and interfering ions. The selectivity coefficients of the ISEs are tunable, as well as the offset parameter that is fitted from real ISE calibration curves. The phase-boundary potential model and Nicolsky-Eisenman model could be used to output the calibration data, where a Gaussian noise equivalent to sensor signal-to-noise ratio is added. The investigation tool features parametric analysis of the impact of interferent ion activity, and selectivity coefficient of an ISE towards an interferent, in the distortion of the calibration curves due to ion interference. Database of calibration curves from in-vitro measurements could be loaded to compare the emulator outputs to real calibration data. The investigation tool described previously is modified into a synthetic dataset generator in order to produce the training dataset for the multivariate calibration models. The building blocks of the emulator are pictured in Fig. 1. The compact phase-boundary potential model takes as input parameters the selectivity coefficients of each target ion against each interferent, and the offset parameter encompassing membrane composition. Both parameters are experimentally extracted from real ISE calibration curves. The synthetic dataset is obtained following a factorial design where the activity of each constituent in the sample is discretized in L levels in the detection range of the analyte, for the given application. The constituents include the primary ions and the interfering ones. The output of the dataset generator consists of calibration curves of each sensor at discrete level points.

IV. DESIGN OF SYNTHETIC DATASETS

16A case study is performed to emulate simultaneous monitoring of Na + , K + , Li + , and Pb 2+ in ion mixtures representative of sweat samples. The methodology applied to design synthetic training, validation, and test datasets are described.

17The multi-ion-sensing emulator described in Section III is used to generate synthetic OCP signals in controlled mixed-ion samples, in an automated way. Four sensors for Na + , K + , Li + , and Pb 2+ monitoring are emulated in presence of NH + 4 , Ca 2+ , and Mg 2+ , that are the major ions constituting sweat samples [31]. The determination of ion mixture combinations requires a multi-factorial design of synthetic samples. In this work, the physiological range of activity of each constituent is divided into six levels. It is a good tradeoff between capturing enough variability in the activity of the ions, and avoiding to generate exponential number of samples. Indeed, a full-factorial design involves 6 7 ∼ 280 000 ion combinations. This amount is not reasonable. Moreover, a full-factorial design will produce a redundant dataset. Therefore, Taguchi method is implemented to generate a representative subset of all constituent combinations, leveraging orthogonal arrays [32]. The L 18 (6 1 × 3 6 ) orthogonal array used is reported in Table 2, where the factor C 0 comprises 6 levels, and the 6 other factors have 3 levels. The columns C i are orthogonal, and orthogonality is preserved through column permutation. Thus, C 0 could be permuted over the seven constituents. Row R0 is redundant while permuting columns, so it is removed. The activity of the seven constituents are quantized over the physiological or therapeutic range of the considered ions in sweat. The discrete levels of activities are reported in Table 3. As for selectivity coefficients, they are obtained from electrochemical characterization of polymeric solid-contact ISEs. Fixed interference method is carried out to compute the coefficients reported in Table 4, and the full characterization of Na + , K + , Li + , and Pb 2+ sensors is published at [33]. The entire factorial-designed set is needed to train the multivariate calibration model since it includes all the statistical variability in the data that the regressor should learn. Therefore, cross-validation procedure or splitting of the training set is avoided. Consequently, validation and test sets are designed independently. Random sampling in the activity window of the ions of interest is the usual approach adopted [2], [15]. In this work, the Weibull distribution is used. Its Probability Distribution Function (PDF) is plotted in Fig. 2, and it is defined as

18where the scale and shape of the distribution are λ = b −1/k and k, respectively. This PDF is chosen so as to generate independent and identically distributed ion mixtures representative of sweat samples for which the activity of each constituent is around its nominal value, or rather in excess in the sample (e.g. due to physical exercise for physiology).

19In order to increase the robustness of the comparison between multivariate regressors, five validation splits, of one-fifth of the size of the training set each, are randomly generated to emulate a cross-validation. Thus, chemometric models are evaluated on each validation split, and the average and standard deviation of the metrics are computed. The final VOLUME 9, 2021 validation of the model is performed on an additional test set of similar size as a validation split. Furthermore, datasets of different size are generated to assess the effect of dataset scarcity on the chemometric models. One notices that if the upper bound of the ion activity L5 in Table 3 is discarded, there are 10 combinations of 3-level ion activity to configure the orthogonal Table 2, allowing to tune the training set size. As a result, training sets of 68 up to 680 samples are generated following the aforementioned procedure.

V. MULTIVARIATE CALIBRATION MODELS

20In this section, the multivariate calibration models used in this work are presented. In a multivariate calibration procedure, the signals output by an array of sensors are processed by a multivariate model that estimates the activity of selected analytes constituting the sample. The chemometric model is trained beforehand with OCP/activity observations, and is then inferred to predict the activity of the analytes in unknown samples [34]. For N observations, let X = {x n } n=1,··· ,N , with x n ∈ R P , denote the tensor of OCP signals coming from P ISEs, and Y = {y n } n=1,··· ,N , with y n ∈ R M , denote the tensor of activity of the M electrolytes of interest. The multivariate calibration problem can be formulated as

21where W is the tensor of regression coefficients, and E is the error made in the prediction of the activity of the analytes. It is an inverse calibration problem since the controlled variables (activity of the ions) are estimated taking the dependent variables (OCP signals) as regressors.

A. TRADITIONAL LINEAR REGRESSION MODELS

22Inverse least-squares regressor is the simplest first-order model used in multivariate calibration. Contrary to classical least-squares regression, the activity of all electrolytes constituting the sample do not need to be known during the calibration phase. As a result, the tensor of activity of the ions Y could be of any dimension M. The minimization objective is

23where w * ,m and y * ,m are columns of W and Y, respectively. Namely, the activity of each target ions is estimated independently, ignoring cross-correlations. Hence, this multivariate calibration model consists in multiple independent Ordinary Least-Squares (OLS) regressions, or Multiple Linear Regression (MLR). W could be computed by least-squares minimization of (10), or in a closed-form solution with the normal equation

24where X T X must be invertible. This holds if X is a full-rank matrix, or the columns of X are uncorrelated. The application of PCA to X will generate a matrix T that complies with the latter constraint. Namely, OCP signals are decomposed in a set of successive orthogonal components that explain a maximum amount of their variance. The resulting Principal Component (PC) scores, denoted as T, are the new input tensor variables. Combination of PCA and MLR refers to Principal Components Regression (PCR). Furthermore, Partial Least-Squares (PLS) regression is another popular chemometric tool [35]. It constructs latent variables for X and Y by taking into account the variance of X and the correlation between factors excerpted from both tensors. Linear regressors are traditionally used for univariate calibration systems. However, in multivariate systems, and above all, in presence of non-linearity due to ion interference, nonlinear regressors are privileged to increase multivariate calibration accuracy. They are described in the following.

25B. SINGLE-OUTPUT SUPPORT VECTOR REGRESSION Support Vector Machines (SVMs) are prominent tools for linear and non-linear input/output modeling, as it is the case of multivariate calibration subject to ion interference [36]. Standard SVR models perform unidimensional regression of the input tensor X to each output channel m, y * ,m . For nonlinear SVRs, X is implicitly mapped to a higher dimensional feature space by a kernel function [37]. Thus, the model learns a linear function in the space induced by the kernel. Gaussian Radial Basis Function (RBF) is a non-linear kernel commonly used for which X is mapped to an infinite dimensional Hilbert space [38]. The primal formulation of SVR minimization objective is L is the Vapnik -insensitive loss function defined as L (u) = max{0, |u|− }. is the non-linear function defining the kernel function κ(x i , x j ) ≡ (x i ) T · (x j ). C is a hyperparameter trading-off margin violations and minimization of the distance from the support vectors to the SVR model. In practice, a dual formulation of the SVR minimization is used, where quadratic programming leveraging kernel formulation yields a problem faster to solve.

C. PROPOSED MULTI-OUTPUT SUPPORT VECTOR REGRESSION

26In single-output SVR problems, the loss function L is an L 1 -based norm, hence, it needs to take into account each of the M dimensions independently which makes the solution complexity grow linearly with M. Moreover, such unidimensional model does not consider correlations between the output columns. Hence, it is less robust to noise and non-linearity in the dataset. In this work, a multivariate multi-output SVR is implemented to consider correlations and non-linear cross-relations between X and Y, enabling a concurrent optimization of the regressor of each target ion activity.

27The objective function to minimize is

28with u n = e n 2 s.t. e n = y n − (W T (x n ) + b). (13) Iterative Reweighted Least-Squares (IRWLS) procedures permit the use of an arbitrary cost function L. L 2 -based norm cost functions are appealing since the constraints for all M output dimensions could be considered into a single error vector, contrary to L 1 -based Vapnik loss function described previously that need to take into account all M dimensions separately. As a result, IRWLS procedures yield one-dimension support vectors, instead of M-dimension for single-output SVRs. In this work, an IRWLS procedure is implemented with the quadratic and differentiable cost function

29The proof of convergence of such SVM is demonstrated in [39]. The IRWLS method is constructed by performing a first-order Taylor approximation of the error function (14) over the previous solution (W, b). A quadratic approximation of the former expansion gives the weighted least-squares minimization problem

30where a n = C u k

31The latter function is minimized with respect to (W, b). It yields a linear system represented in matrix form as ∀m ∈ 1; M ,

32. It is important to notice that the matrix H is independent of m, so it does not depend on the output channel. The kernel function used is the Gaussian RBF. The pseudocode of the IRWLS procedure is reported hereunder. IRWLS procedure is implemented in a quasi-Newton approach, for which the errors u k n and a n are recomputed at each iteration k, so as the solution (W sol , b sol ) of the reweighted least-squares problem. Each iteration has the complexity of an OLS problem.

D. MULTI-LAYER PERCEPTRONS MODEL

33Multi-Layer Perceptrons (MLP) models are commonly used in complex multivariate calibration systems [2], [10]- [17]. MLP networks are built for the multivariate calibration of potentiometric sensors subject to ion interference in order to benchmark the proposed M-SVR algorithm. The feedforward NN architecture implemented is illustrated in Fig. 3. The input layer consists of four pass-through neurons that relay the input features x n to the subsequent layers. The features are either the OCP signals of the P = 4 ionsensors, or their PC scores after applying PCA. Two hidden layers of N 1 and N 2 units produce non-linear transformations of the dataset, and the output layer predicts the activity of the M = 4 target ions. The model parameters (weights and bias) are trained with a back-propagation training algorithm minimizing the mean-squared error loss function [40]. The hyper-parameters of the MLP models are optimized with a grid-search procedure. They are summarized in Table 5.

E. SOFTWARE AND HARDWARE

34Data pre-processing pipeline and multivariate models are implemented within a Python 3.7 environment. PCA algorithm is implemented through a Singular Value Decomposition (SVD) where LAPACK routine [42] is used. MLR and OLS minimization problems are solved using SVD on VOLUME 9, 2021 zero-mean and unit-variance X with LAPACK routine [42], while PLS is implemented with Non-Linear Iterative Partial Least-Squares (NIPALS) algorithm [43]. Single-output SVR is constructed leveraging LIBSVM library that supports quadratic programming [44]. As for MLP models, they are implemented through Keras high-level API [45], with Ten-sorFlow 2.0 deep learning library as computational backend. The experiments are run on a 2x Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60 GHz with 256 GB RAM.

VI. RESULTS AND DISCUSSION

35In this section, the results of the case study are presented. The performance of the multi-ion-sensing emulator is assessed and compared with calibration curves obtained from polymeric solid-contact ISEs. Then, the synthetic datasets generated by the tool are shown. Next, the multivariate calibration optimization with linear and non-linear regressors is discussed.

A. MULTI-ION-SENSING EMULATOR AND ION INTERFERENCE MODELING

36First, the ion-sensing emulator is used as investigation tool to evaluate the effect of ion interference on ISE response. Fig. 4 illustrates the impact of the two model parameters on calibration curve distortion. Namely, the activity of the interfering ion a J , and the selectivity coefficient of the primary ion I towards the interfering ion J, log K pot I ,J . The background potential offset in diluted analyte (log a I ← −∞) increases with the activity of the interfering electrolyte, and this effect is enhanced for a poorly-selective sensor. Moreover, the elbow of the calibration curve highlighting the change of sensor regime from flat OCP response (not detecting) to a Nernstian behavior is extrapolated as the sensor lower LOD [46]. It is shown that sensor lower LOD increases, the more the severity of ion interference is high. This is critical if the lower LOD reaches the physiological/therapeutic range of the target analyte. In practice a margin of 1 : 10 is needed between the sensor lower LOD and the lowest activity of the primary ion to be measured.

37Next, the calibration curves generated by the emulator are compared with OCP responses acquired from batch of polymeric solid-contact ISEs in artificial sweat [33]. The results are displayed in Fig. 5, where the measured calibration curves exhibit inter-sensor variability, mainly for Li + and Pb 2+ sensors. The simulated OCP response is computed by taking the same electrolyte background composition as the artificial sweat, and with the selectivity coefficients of the corresponding polymeric solid contact ISEs against the interfering ions. The offset parameter for each primary ion is fitted to the in-vitro calibration data. Then, the RMSE between the modeled and the experimental data is computed, and yields, 1.37, 1.44, 1.78, 2 mV , for Na + , K + , Li + , Pb 2+ sensors, respectively. As a result, the ionsensing model explains accurately polymeric ISE responses subject to ion interference from artificial sweat background electrolyte.

B. GENERATION OF SYNTHETIC DATASETS

38The multi-ion-sensing emulator has been demonstrated to model well ISE responses in nominal sweat background electrolyte. Thus, in this section, the tool is used to generate synthetic datasets following experimental design procedures described in Section IV. Ten datasets Dataset_n of training set size N train = 68 · n (n ∈ 1; 10 ) are generated. The scarcest dataset is displayed in Fig. 6. The six levels of the training set are clearly visible since it has been generated through a factorial design. The composition of the validation and test sets is randomly designed in the same activity range as the training set, resulting in samples intermingled in between the factor levels. Emulated Na + -ISE calibration data exhibits a Nernstian response since the physiological range in sweat is large (above tens of mM). Conversely, Pb 2+ is detected as metal traces (tens of µM ), so it is diluted in the sample. The emulated potential response shows more potential dispersion. As for Li + -ISE, the sensor has a good selectivity towards the constituents (see Table 4), so it is less affected by ion interference. It is not the case of K + -ISE that is poorly selective, mainly towards Na + that is a predominant ion in the samples. This results in major OCP dispersion, accentuated at lower a K + . The same results are observed with larger datasets. The apparent linear correlation between E X and log a X that is observed in Fig. 6 suggests to compute the correlation coefficients between the two variables, for each ion, for the training set of the ten datasets. The results are displayed in Fig. 7. The lower correlation in K + and Pb 2+ channels is due to ion interference that is explained by the larger potential dispersion at lower ion activity. The correlation between sensor OCP and ion activity tends to increase with larger datasets.

C. LINEAR REGRESSION MODELS

39Prior to multivariate calibration, PCA is applied to the input tensor X. Fig. 8 shows the scatter plots of the PC scores. VOLUME 9, 2021 FIGURE 7. Pearson correlation coefficient between E X and log a X for Na + (green), K + (blue), Li + (red), and Pb 2+ (black) channels. The whitened PC scores are uncorrelated and do not present higher order dependence. Moreover, the explained variance per PC yields 34.23%, 24.51%, 21.39%, and 19.87%, for PC1 to PC4, respectively. This indicates that all the PCs are needed to explain the variance present in the input tensor. It is important to underline that PCA is employed as a pre-processing step, and not as a dimensionality reduction technique (P = 4). Moreover, two metrics are introduced to assess the accuracy of the regressors. The Normalized Root Mean-Squared Error (NRMSE) and the Mean Relative Error (MRE) are defined as

40whereỹ is the mean of the test set labels,ỹ n andŷ n are the true and predicted log-activity of the primary ions, respectively. Normalized metrics are required to balance error contributions from analytes highly concentrated (sodium ions), and diluted analytes in the sample (lead ions). In addition, the two metrics do not over-penalize outliers. NRMSE and MRE are computed for each primary ion, but total NRMSE and MRE of all four primary ions yield two compact model performance measure that are used during training. An analysis is carried out by applying MLR toX =

41The regressors are fitted to the training set and evaluated on the validation splits. The total NRMSE decreases with the dimension of the latent space. Likewise, PLS algorithm is applied to the input tensor X, and the same factorial analysis is performed, suggesting to use the four-dimension latent space. Next, the fitted models are evaluated on the external test set. It results that factorial decomposition with PCR and PLS yield identical multivariate calibration accuracy when the full latent space is used. When a reduced latent space is used, PLS performs slightly better, as expected, since it is a more compact model than PCR. The metrics achieved by applying linear regressors on the ten datasets are reported in Table 6. It could be seen that K + and Pb 2+ calibration are the less accurate ones due to the non-linear distortion added by severe ion interference. Besides, the metrics are improving steadily with larger datasets, for the four target ions. The metrics obtained with linear regression models are used as benchmark for the subsequent non-linear multivariate regressors implemented.

D. MULTIVARIATE CALIBRATION OPTIMIZATION

42In this section, the non-linear multivariate calibration models are compared to simple MLR model. Namely, SVR, the proposed M-SVR, and MLP models are evaluated on the ten synthetic datasets. A cross-validation grid-search on the model hyper-parameters is carried out to identify the best models, while limiting over-fitting. More explicitly, the models are trained on the entire orthogonal training set, and evaluated on five validation splits. The best model is retained and evaluated on the external test set. For MLP models, the hyperparameters space being wide, a coarse search is done before refining the grid-search on relevant hyper-parameters space. The results of multivariate calibration are displayed in Fig. 9.

43We observe a clear improvement between linear regressors and non-linear ones. For total NRMSE, there is an average improvement of 16.27%, 13.22%, and 18.12%, and an improvement of total MRE of 22.23%, 20.29%, and FIGURE 9. Total NRMSE and total MRE obtained by evaluating the best multivariate calibration models on the test set of the ten synthetic datasets. 23.92%, for SVR, M-SVR, and MLP, respectively. The accuracy improvement obtained with the proposed M-SVR is satisfactory given the lower complexity of the proposed model. Namely, M-SVR optimizes concurrently the calibration of the four channels with four-dimension support vectors. Conversely, single-output SVR optimizes independently one ion channel at a time with one-dimension support vectors, therefore four times more support vectors than with M-SVR. Besides, M-SVR is more robust to noise and correlation in the dataset since it considers the four ion channels when constructing the model regression hyperplane. It is also observed that with large datasets (more than 540 training samples), M-SVR performs better than SVR and MLP regressors.

44Next, the quality of the models is assessed by comparing the scores obtained during the validation stage (metrics calculated with five validation splits of random samples) and the scores obtained with the test set. The results are displayed in Fig. 10. We observe that the generalization error is large FIGURE 11. Total NRMSE obtained while applying PCA pre-processing or not before multivariate calibration.

45for the scarcest dataset, for which the models are more likely subject to over-fitting. Overall, the generalization error is the smallest for M-SVR with an average of 3.22%, while it is of 4.43% and 4.79%, for SVR and MLP models, respectively.

46A further analysis is performed on the importance of PCA pre-processing. The scores obtained while applying PCA before the multivariate calibration, and without applying PCA are reported in Fig. 11. It is added that the input tensor X is scaled to zero-mean and unit-variance in both cases.

47We observe that PCA does not influence the calibration accuracy for MLR and M-SVR, while improvement is observed with SVR and MLP models. MLP regressors are feature-based models, so the pre-processing of the input tensor is essential to feed uncorrelated data to the network model. SVR and M-SVR models are distance-based models, so scaling the input tensor is the essential pre-processing step.

48The predicted ion activity vs target values when applying the optimal M-SVR model on Dataset_1 and Dataset_10 are plotted in Fig. 12 and 13, respectively. The scatter points fall along the 1:1 lines, with more dispersion for K + and Pb 2+ ions that are subject to severe ion interference. For Dataset_1, the 95% confidence interval on the slopes of the model fit contains 1 for Li + and Pb 2+ channels, and the intercepts contain 0 except for Pb 2+ . These results are consistent with the previous conclusion that M-SVR models are less accurate with a scarcer dataset since the model is slightly biased. As for Dataset_10, the 95% confidence interval on the slopes of the model fit contains 1, and the intercepts contain 0 for the four channels. Therefore, M-SVR models applied to larger datasets are accurate and unbiased estimators. The computed coefficients of determination provide reliable information

FIGURE 12.

49Scatter plot of predicted log a X vs target log a X for Na + , K + , Li + , and Pb 2+ channel, by applying the optimal M-SVR model on Dataset_1. The model fit and its 95% confidence interval are plotted, where R 2 is the coefficient of determination. The red plot is the 1:1 line. about the variance in activity of the target ions explained by the multivariate calibration models.

E. ANALYSIS OF MODEL COMPLEXITY

50Model complexity is a paramount feature to consider prior to deploying the multivariate calibration models onto memory and energy-constrained edge nodes, for real-time ion prediction. The trainable parameters of the multivariate calibration models are reported in Table 7. MLR model has M · P = 16 trainable weights, independently of the size of the training set, and OLS minimization has a complexity of O(NM 2 ). The complexity of SVR models is indicated by the number of support vectors needed to build the regression hyperplane. More accurate models are obtained with small , so most of the training instances are used as support vectors. However, M-SVR has four-dimension support vectors for each training FIGURE 13. Scatter plot of predicted log a X vs target log a X for Na + , K + , Li + , and Pb 2+ channel, by applying the optimal M-SVR model on Dataset_10. The model fit and its 95% confidence interval are plotted, where R 2 is the coefficient of determination. The red plot is the 1:1 line.

51instance since the four ion channels are considered simultaneously. On the contrary, four independent models are constructed with single-output SVR, explaining the four times larger amount of one-dimension support vectors. Besides, the complexity of IRWLS procedure is equivalent to an OLS minimization per iteration. The number of iterations required to reach convergence is reasonable, being less than 20. As for MLP models, the complexity of the model is set by the number of neurons in the model. The amount of wights and bias to estimate during the training phase is quite large, and tends to grow with larger training sets. The number of epochs before early-stopping is also reported. It does not exceed 400 epochs for a training batch size of 32 samples.

52The training runtime of the different models is measured to compare the model complexity quantitatively. The models are trained 100 times with the best hyper-parameters found during grid-search. The results are displayed in Fig. 14.a. The training runtime of MLR models is not reported since it is constantly between 300 and 450 µs. We observe that the training runtime of SVR model is relatively fast for scarce datasets, but it increases geometrically with the number of training samples beyond 400 samples. Conversely, the training runtime of M-SVR models does not grow excessively and remains below 8 s. As for MLP models, they are the longer to train for scarce datasets, and the runtime grows steadily when increasing the training set. The multivariate calibration models could be trained offline and we could deploy the trained models directly onto edge devices for real-time ion monitoring. Consequently, the prediction latency of each model is measured for 100 runs, and normalized by the number of samples constituting the test set. The results are reported in Fig. 14.b. The prediction latency is obviously the shortest for MLR models. M-SVR models are compact models, so the prediction latency is inferior to 20 µs/sample. Conversely, single-output SVR embed M dense models, explaining the larger latency. Neural network models have the larger prediction latency (scale divided by ten to fit onto the graph), making these models the less suitable for real-time monitoring applications.

VII. CONCLUSION

53This work presents a novel approach for multi-ion-sensing frameworks, where the accuracy of the multivariate calibration depends on the training dataset representativeness and size. Namely, the response of ion-sensing arrays subject to ion interference are explained by an ion-sensing emulator. The parameters of the tool are experimentally determined from a couple of in-vitro calibration curves acquired from polymeric solid-contact ISEs, and from the selectivity coefficients of the developed sensors. It is demonstrated that the calibration curves output by the emulator fit with the calibration data acquired in artificial sweat from Na + , K + , Li + , Pb 2+ sensors, with RMSE of 1.37, 1.44, 1.78, 2 mV , respectively. This legitimates the use of the tool for generating synthetic datasets of custom size, emulating multi-ion-sensing in sweat. Therefore, the proposed approach circumvents the acquisition of big calibration data that is highly expensive in terms of chemical resource and time.

54Then, the emulated datasets are fed to a multivariate and multi-output SVR model. Multivariate calibration accuracy is increased, with NRMSE improvements of 13.22%, and MRE improvements of 20.29% with respect to a simple MLR model. The generalization error is quite small, being of 3.22%, and the regressor is statistically unbiased for medium to large datasets. The proposed model is more compact and more robust than a single-output SVR that embeds an independent regressor for each ion channel to predict. The latter does not consider the correlations between output channels, and above all, its computational complexity increases geometrically with the training set size, for large datasets. The proposed M-SVR model represents a robust, accurate, and low-complexity solution for memory and energy-constrained embedded devices, paving the way for continuous and realtime multi-ion monitoring.

55Eventually, the multi-ion-sensing emulator and multivariate calibration models are designed in this work for biomedical and healthcare monitoring in sweat. But the flexibility of the tool enables its use for broader applications such as environmental or water quality monitoring.

APPENDIX A PHASE-BOUNDARY POTENTIAL MODEL

56At equilibrium, the electrochemical potentials for any ion j, of valence z j , in the sample and membrane phase are

57respectively, where µ 0 j is the standard chemical potential, a j is the ion activity, and is the electrical potential. Assuming partition equilibrium of ion j between both membrane and sample phases, µ j (aq) = µ j (m), one obtains the phaseboundary potential defined as E PB def = (m) − (aq),

58is the standard potential, constant for a given ion. s = RT F ln 10 is the Nernst slope. Then, let us consider the ion-selective membrane composed of an ionophore L of charge z L and concentration L T , and an ionexchanger R of charge z R and molar concentration R T . The ionophore includes ion carriers that selectively transport ions across the membrane. The ionophore forms complexes with the target ion I as

59where β n is the complex formation constant. The interactions between the ion-exchanger and the co-ions are neglected. The charge balance in the ion-selective membrane yields z R R T + z L L T + n (nz L + z j )c jL n + z j c j (m) = 0, (A. 4) where each contributions are, from the ion-exchanger, the ionophore, the complex formed with the target ion, and VOLUME 9, 2021 the free form of the target ion in the membrane, respectively. c stands for compound concentration. The label (m) is added to emphasize that it refers to the concentration of ion j in the membrane and not in the sample phase. Inserting complex formation constants β n and activity coefficients γ ,

60γ jLn β n a n L = 0. (A.5)

61Next, let us consider that multiple ions from the sample phase (interfering ions) could interact with the membrane. It is assumed that the activity of the uncomplexed ionophore and the activity coefficient of the extracted ions remain unaltered. This is valid for a polymeric membrane with an ionophore in excess with respect to the ion-exchanger, and considering that the membrane ionic strength is not changing during ion exchange. (A.5) is summed over the ions extracted from the sample phase into the membrane, and yields j z j a j (m) γ j (m) 1 + n nz L +z j z j γ j (m) γ jLn β n a n L = −z R R T − z L a L γ L .

62(A.6)

63Then, an apparent standard potential for each ion j, E 0 j , is introduced such that E PB = E 0 j + s z j log(a j (aq)). The apparent standard potential is expressed as where the expression in the log is equal to 1 a j (m) . (A.7) is rewritten as z j k j γ j (m) 1 + n nz L + z j z j γ j (m) γ jL n β n a n L 10 −z j E 0

64where the free energy of ion transfer k j is defined as 0 j = s z j log(k j ). Moreover, a j (m) is extracted from (A.2) and substituted in (A.6), yielding j z j γ j (m) k j 1 + n nz L + z j z j γ j (m) γ jL n β n a n L 10 −z j E PB /s a j (aq) The selectivity coefficient of a membrane with target ion I, with respect to an interfering ion J, is defined as log K FRANCESCA CRISCUOLO received the B.Sc. and M.Sc. degrees (cum laude) in materials engineering and nanotechnology from the Politecnico di Milano, Italy, and the Ph.D. degree from the Integrated System Laboratory, EPFL, Lausanne, Switzerland, in April 2020, with her thesis ''Wearablemulti-electrode platform for ionsensing''. During her studies, she participated in several exchange programs in France, Czech Republic, The Netherlands, and Belgium. She spent one year with TU Delft, where she specialized in bio-nanomaterials and in nanoelectronics. In 2015, she worked with the Energy Storage Group, IMEC, Leuven, Belgium. She is currently a Postdoctoral Fellow with EPFL, where she focuses on novel electrochemical biosensors for healthcare and diagnostics.

65SANDRO CARRARA (Fellow, IEEE) is currently a Faculty with the EPFL, Lausanne, Switzerland, and a former Professor with the University of Genoa, Italy, and the University of Bologna, Italy. Along his carrier, he published seven books, with prestigious publishers like Springer/Nature and Cambridge University Press. He published more than 270 papers and 14 patents. He was a member of the BoG of the IEEE CASS and also a member of the IEEE Sensors Council. He was a recipient of the IEEE Sensors Council Technical Achievement Award. He is also the Editor-in-Chief of the IEEE SENSORS JOURNAL and an Associate Editor of IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS.

66GIOVANNI DE MICHELI (Life Fellow, IEEE) is currently a Professor and the Director of the Institute of Electrical Engineering, EPFL, Lausanne, Switzerland. His research interest includes several aspects of design technologies for integrated circuits and systems, such as synthesis for emerging technologies, networks on chips, and bio-sensing/systems. He was a recipient of the 2016 IEEE/CS Harry Goode Award, the 2016 EDAA Lifetime Achievement Award, and the 2012 IEEE/CAS Mac Van Valkenburg Award among other recognitions. He is also a Fellow of ACM and a member of the Academia Europaea and an International Honorary member of the American Academy of Arts and Sciences.

참고문헌 45건

  1. LAPACK: A Linear Algebra Library for High-Performance Computers Computational Statistics · Springer Science+Business Media · 1992 10.1007/978-3-662-26811-7_3
  2. Understanding the difficulty of training deep feedforward neural networks 2010
  3. Learning with Kernels The MIT Press eBooks · The MIT Press · 2001 10.7551/mitpress/4175.001.0001
  4. Sensor Arrays and Electronic Tongue Systems International Journal of Electrochemistry · Hindawi Publishing Corporation · 2012 10.1155/2012/986025
  5. Exercise‐associated hyponatremia: A review Emergency Medicine · Wiley · 2001 10.1046/j.1442-2026.2001.00173.x
  6. Potentiometric Electronic Tongue to Resolve Mixtures of Sulfide and Perchlorate Anions Sensors · Multidisciplinary Digital Publishing Institute · 2011 10.3390/s110303214
  7. Nonspecific sensor arrays ("electronic tongue") for chemical analysis of liquids (IUPAC Technical Report) Pure and Applied Chemistry · International Union of Pure and Applied Chemistry · 2005 10.1351/pac200577111965
  8. Development and application of an electronic tongue for detection and monitoring of nitrate, nitrite and ammonium levels in waters Microchemical Journal · Elsevier BV · 2013 10.1016/j.microc.2013.04.018
  9. General Description of the Simultaneous Response of Potentiometric Ionophore-Based Sensors to Ions of Different Charge Analytical Chemistry · American Chemical Society · 1999 10.1021/ac980962c
  10. Changes in Bone Mineral Content in Male Athletes JAMA · American Medical Association · 1996 10.1001/jama.1996.03540030060033
  11. Evaluation of a new lithium colorimetric assay performed on the Dade Behring Dimension® X-pand™ system Clinical Chemistry and Laboratory Medicine (CCLM) · De Gruyter · 2004 10.1515/cclm.2004.214
  12. Application of neural networks with novel independent component analysis methodologies to a Prussian blue modified glassy carbon electrode array Talanta · Elsevier BV · 2014 10.1016/j.talanta.2014.08.010
  13. Extended artificial neural networks: Incorporation of a priori chemical knowledge enables use of ion selective electrodes for in-situ measurement of ions at environmentally relevant levels Talanta · Elsevier BV · 2013 10.1016/j.talanta.2013.08.045
  14. The phase-boundary potential model Talanta · Elsevier BV · 2003 10.1016/j.talanta.2003.10.006
  15. PLS-regression: a basic tool of chemometrics Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2001 10.1016/s0169-7439(01)00155-1
  16. Ion Selective Electrodes (ISEs) and interferences—A review Clinica Chimica Acta · Elsevier BV · 2009 10.1016/j.cca.2009.12.005
  17. Recommendations for nomenclature of ionselective electrodes (IUPAC Recommendations 1994) Pure and Applied Chemistry · International Union of Pure and Applied Chemistry · 1994 10.1351/pac199466122527
  18. Arsenic, Cadmium, Lead, and Mercury in Sweat: A Systematic Review Journal of Environmental and Public Health · Hindawi Publishing Corporation · 2012 10.1155/2012/184745
  19. Determination of Ammonium Ion Employing an Electronic Tongue Based on Potentiometric Sensors Analytical Letters · Taylor & Francis · 2003 10.1081/al-120026410
  20. SVM Multiregression for Nonlinear Channel Estimation in Multiple-Input Multiple-Output Systems IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2004 10.1109/tsp.2004.831028
  21. A review of the use of the potentiometric electronic tongue in the monitoring of environmental systems Environmental Modelling & Software · Elsevier BV · 2009 10.1016/j.envsoft.2009.12.003
  22. Support Vector Method for Function Approximation, Regression Estimation and Signal Processing 1996
  23. Discrimination of Soils and Assessment of Soil Fertility Using Information from an Ion Selective Electrodes Array and Artificial Neural Networks CLEAN - Soil Air Water · Wiley · 2014 10.1002/clen.201300923
  24. Glass electrodes for hydrogen and other cations. Edited by George Eisenman. Marcel Dekker, Inc., 95 Madison Ave., New York, NY 10016, 1967. xii + 582pp. 15 × 22.5 cm. Price $24.75 Journal of Pharmaceutical Sciences · Elsevier BV · 1968 10.1002/jps.2600570753
  25. LIBSVM ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2011 10.1145/1961189.1961199
  26. Partial least-squares regression: a tutorial Analytica Chimica Acta · Elsevier BV · 1986 10.1016/0003-2670(86)80028-9
  27. Lactate and Ammonia Concentration in Blood and Sweat During Incremental Cycle Ergometer Exercise International Journal of Sports Medicine · Thieme Medical Publishers (Germany) · 1997 10.1055/s-2007-972592
  28. Rational design of all-solid-state ion-selective electrodes and reference electrodes TrAC Trends in Analytical Chemistry · Elsevier BV · 2015 10.1016/j.trac.2015.11.004
  29. Fully integrated wearable sensor arrays for multiplexed in situ perspiration analysis Nature · Nature Portfolio · 2016 10.1038/nature16521
  30. Taguchi's orthogonal arrays are classical designs of experiments Journal of Research of the National Institute of Standards and Technology · The National Institute of Standards and Technology · 1991 10.6028/jres.096.034
  31. Staging Models in Bipolar Disorder: A Systematic Review of the Literature Clinical Psychopharmacology and Neuroscience · Korean College of Neuropsychopharmacology · 2016 10.9758/cpn.2016.14.2.117
  32. Statistical generation of training sets for measuring NO<sub>3</sub><sup>−</sup>, NH<sub>4</sub><sup>+</sup>and major ions in natural waters using an ion selective electrode array Environmental Science Processes & Impacts · Royal Society of Chemistry · 2016 10.1039/c6em00043f
  33. Interindividual variability in sweat electrolyte concentration in marathoners Journal of the International Society of Sports Nutrition · Springer Science+Business Media · 2016 10.1186/s12970-016-0141-z
  34. Simultaneously determining multi-metal ions using an ion selective electrode array system Environmental Technology & Innovation · Elsevier BV · 2016 10.1016/j.eti.2016.10.001
  35. Wearable sweat sensors Nature Electronics · Nature Portfolio · 2018 10.1038/s41928-018-0043-y
  36. Wearable potentiometric ion sensors TrAC Trends in Analytical Chemistry · Elsevier BV · 2018 10.1016/j.trac.2018.11.024
  37. Data Fusion for Environmental Process Control: Maximizing Useful Information Recovery under Data Limited Constraints IEEE Sensors Letters · Institute of Electrical and Electronics Engineers · 2018 10.1109/lsens.2018.2889274
  38. Application of Ion Selective Electrode array to simultaneously determinate multi-free ions in solution Environmental Technology & Innovation · Elsevier BV · 2019 10.1016/j.eti.2019.100424
  39. Wearable flexible sweat sensors for healthcare monitoring: a review Journal of The Royal Society Interface · Royal Society · 2019 10.1098/rsif.2019.0217
  40. Application of Potentiometric Sensors in Real Samples Critical Reviews in Analytical Chemistry · Taylor & Francis · 2020 10.1080/10408347.2019.1711013
  41. Emulator Design and Generation of Synthetic Dataset in Multi-Ion Sensing 2022 IEEE International Symposium on Circuits and Systems (ISCAS) · 2020 10.1109/iscas45731.2020.9181217
  42. Wearable multifunctional sweat-sensing system for efficient healthcare monitoring Sensors and Actuators B Chemical · Elsevier BV · 2020 10.1016/j.snb.2020.129017
  43. Introduction to Multivariate Calibration Springer eBooks · Springer Nature · 2018 10.1007/978-3-319-97097-4
  44. Statistical Learning Theory Technometrics · Taylor & Francis · 1999 10.1080/00401706.1999.10485951
  45. Parallel Distributed Processing 1986 10.7551/mitpress/5236.001.0001