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

Dual Oxygen and Temperature Luminescence Learning Sensor with Parallel Inference

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Francesca Venturini — TOELT LLC, Birchlenstrasse 25, 8600 Dübendorf, Switzerland|||Institute of Applied Mathematics and Physics, Zurich University of Applied Sciences, Technikumstrasse 9, 8401 Winterthur, Switzerland
DOI
10.3390/s20174886
저널
MDPI (MDPI AG)
발행년도
2020
발행기관
Multidisciplinary Digital Publishing Institute (Switzerland)
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://dx.doi.org/10.3390/s20174886
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W3082094476

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
oxygen sensor, luminescence quenching, neural network, cross-sensitivity, multi-task learning
판단 근거
본 논문은 인공지능(Neural Network)을 활용하여 산소 농도와 온도를 동시에 측정하는 광학 센서의 신호 처리 모델링을 다룹니다. 이는 수소연료전지(PEMFC)의 핵심 구성 요소인 막가습기(5)나 전해질막(6)의 운전 환경(산소/가스 농도 및 온도)을 정밀하게 모니터링하고 제어하는 알고리즘 및 센서 기술에 응용될 수 있습니다.
R&D 활용 포인트
PEMFC 시스템 내 가스 농도 및 온도 변화에 따른 센서의 교차 간섭 문제를 해결하기 위한 머신러닝 기반 신호 처리 모델로 활용 가능합니다.
평가 입력
본문 41,865자 중 30,032자 발췌

초록

A well-known approach to the optical measure of oxygen is based on the quenching of luminescence by molecular oxygen. The main challenge for this measuring method is the determination of an accurate mathematical model for the sensor response. The reason is the dependence of the sensor signal from multiple parameters (like oxygen concentration and temperature), which are cross interfering in a sensor-specific way. The common solution is to measure the different parameters separately, for example, with different sensors. Then, an approximate model is developed where these effects are parametrized ad hoc. In this work, we describe a new approach for the development of a learning sensor with parallel inference that overcomes all these difficulties. With this approach we show how to generate automatically and autonomously a very large dataset of measurements and how to use it for the training of the proposed neural-network-based signal processing. Furthermore, we demonstrate how the sensor exploits the cross-sensitivity of multiple parameters to extract them from a single set of optical measurements without any a priori mathematical model with unprecedented accuracy. Finally, we propose a completely new metric to characterize the performance of neural-network-based sensors, the Error Limited Accuracy. In general, the methods described here are not limited to oxygen and temperature sensing. They can be similarly applied for the sensing with multiple luminophores, whenever the underlying mathematical model is not known or too complex.

본문 41,865자

본문 펼치기
# _sensors_ _Article_ ## Dual Oxygen and Temperature Luminescence Learning Sensor with Parallel Inference Francesca Venturini <sup>1,2,</sup> *, Umberto Michelucci <sup>2,3</sup> and Michael Baumgartner <sup>1</sup> 1 Institute of Applied Mathematics and Physics, Zurich University of Applied Sciences, Technikumstrasse 9, 8401 Winterthur, Switzerland; Michael.Baumgartner@zhaw.ch 2 TOELT LLC, Birchlenstrasse 25, 8600 Dübendorf, Switzerland; umberto.michelucci@toelt.ai 3 School of Computing, University of Portsmouth, Portsmouth PO1 3HE, UK * Correspondence: vent@zhaw.ch Received: 12 August 2020; Accepted: 26 August 2020; Published: 28 August 2020 Abstract: A well-known approach to the optical measure of oxygen is based on the quenching of luminescence by molecular oxygen. The main challenge for this measuring method is the determination of an accurate mathematical model for the sensor response. The reason is the dependence of the sensor signal from multiple parameters (like oxygen concentration and temperature), which are cross interfering in a sensor-specific way. The common solution is to measure the different parameters separately, for example, with different sensors. Then, an approximate model is developed where these effects are parametrized ad hoc. In this work, we describe a new approach for the development of a learning sensor with parallel inference that overcomes all these difficulties. With this approach we show how to generate automatically and autonomously a very large dataset of measurements and how to use it for the training of the proposed neural-network-based signal processing. Furthermore, we demonstrate how the sensor exploits the cross-sensitivity of multiple parameters to extract them from a single set of optical measurements without any a priori mathematical model with unprecedented accuracy. Finally, we propose a completely new metric to characterize the performance of neural-network-based sensors, the Error Limited Accuracy. In general, the methods described here are not limited to oxygen and temperature sensing. They can be similarly applied for the sensing with multiple luminophores, whenever the underlying mathematical model is not known or too complex. Keywords: artificial intelligence; neural network; machine learning; oxygen sensor; luminescence; optical sensor; luminescence quenching; phase fluorimetry 1. Introduction The simultaneous determination of multiple physical quantities can be very advantageous in many sensor applications, for example, when an in-situ or a remote acquisition is required. If the physical effect on which the measurement method is based presents cross-sensitivity between more than one quantity, their simultaneous determination becomes a necessity. Optical luminescence sensing is particularly attractive for multiple sensing. Since several parameters can be measured using the same principle, namely luminescence, it is possible to use the same illumination or detection channels, thus allowing a compact and simple sensor design. The typical approaches to multiple sensing are based on either the use of a single luminescence indicator (luminophore), in which the luminescence is sensitive to more than one physical quantity, or the use of several luminophores, one for each quantity, embedded in a substrate and placed in close physical proximity [1–9]. To be able to determine each quantity separately, it may be necessary to determine more than one optical property (e.g., absorption spectrum, emission spectrum, luminescence _Sensors_ 2020, _20_ [, 4886; doi:10.3390/s20174886](http://dx.doi.org/10.3390/s20174886) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2020, _20_, 4886 2 of 13 intensity, decay time). Another possibility is to measure one single optical property using special detection schemes that take advantage of the emission properties of the used luminophores [4,6,10–13]. The problem of dual sensing is particularly relevant in applications that involve oxygen sensing. Since oxygen plays a major role for living organisms, the measurement of oxygen partial pressure is of great relevance in fields which range from medicine and biotechnology, to environmental monitoring [4,14]. One of the most used optical measuring approaches is based on dynamical luminescence quenching. When colliding with molecular oxygen, the energy of the excited luminophore is reduced due to radiationless deactivation. As a result, both the intensity and decay time of the luminescence are reduced (quenched) [15]. The dependence of the measured sensing quantity (e.g., luminescence intensity or decay time) on the relevant influencing factors needs to be described through mathematical models with a sufficiently complex parametrization. Among the cross-interfering quantities, temperature is the most relevant since both the luminescence and its quenching are strongly temperature-dependent phenomena. Therefore, in any optical oxygen sensor, the temperature must be continuously monitored, most frequently with a separate sensor, and used to correct the calculated oxygen concentration [16]. This task can be difficult in practical implementation and may become a significant source of error. Another disadvantage of this approach is that the parametrization of the sensor response is system-specific since it depends on how the sensing element was fabricated and on the sensor itself [17–22]. In this work, these difficulties are overcome through a new approach for sensor development based on neural networks for parallel inference. This enables accurate dual-sensing, using one single luminophore and by measuring a single quantity. Instead of describing the response of the sensor as a function of the relevant parameters through an analytical model, a neural network was designed and trained to predict both oxygen concentration and temperature simultaneously. Multi-task learning (MTL) architectures were chosen for this new approach because they can learn correlated tasks [23–28]. In a previous purely theoretical study that used only synthetic data, the authors showed that MTL architectures can be flexible enough to address multi-dimensional regressions problems [29] as required by this new type of sensor. This work demonstrates for the first time that this is indeed true by building, training and characterizing a real physical optical sensor based on this principle. To train the MTL neural network and to test the performance of the sensor on unseen data, a very large amount of data is needed. Since the collection cannot be performed by hand, a fully automated data collection setup was developed and used to both vary the sensor environment conditions (gas concentration and temperature) and to collect the sensor response. This work proposes a paradigm shift from the classical description of the response of a sensor through an approximate model, to the use of MTL based sensor learning thanks to neural networks. These will learn the complex inter-parameter dependencies and sensor-specific response characteristics from a large amount of data automatically collected. This new method will enable to build sensors even if the response of the system to the physical quantities is too complex to be comfortably described by a mathematical model. 2. Methods _2.1._ _Measurement Principle_ Luminescence-based oxygen sensors usually are based on a luminophore in which luminescence intensity and decay time decrease for increasing O2 concentrations. This reduction is due to collisions of the excited luminophore with molecular oxygen, which thus provides a radiationless deactivation process. The dependence of the luminescence intensity and decay time of the luminophores used for oxygen sensing is best described by the Stern–Volmer (SV) equation [15]. Using a frequency-domain _Sensors_ 2020, _20_, 4886 3 of 13 approach, the phase shift difference between the excitation and the emitted luminescence can be approximated using a two-site model [30,31] and written as [32] <u>tan</u> _<u>θ</u>_ <u>0(</u> _<u>ω</u>_ <u>,</u> _<u>T</u>_ <u>)</u> tan _θ_ ( _ω_, _T_, [ _O_ 2]) <sup>=</sup> - _<u>f</u>_ <u>(</u> _<u>ω</u>_ <u>,</u> _<u>T</u>_ <u>)</u> 1 + _KSV_ 1( _ω_, _T_ ) _·_ [ _O_ 2] <sup>+</sup> <u>1</u> _<u>−</u>_ _<u>f</u>_ <u>(</u> _<u>ω</u>_ <u>,</u> _<u>T</u>_ <u>)</u> 1 + _KSV_ 2( _ω_, _T_ ) _·_ [ _O_ 2] - _−_ 1 (1) where _θ_ 0 and _θ_, are the phase shifts without and with oxygen, _f_ and 1 _−_ _f_ are the fractions of the total emission for the two components, _KSV_ 1 and _KSV_ 2 are the corresponding Stern–Volmer constants, and _ω_ is the angular modulation frequency. It is to be noted that the quantities _θ_ 0, _f_, _KSV_ 1, and _KSV_ 2 are all temperature dependent [33–35]. Additionally, they also depend on the modulation frequency, which in the case of _f_, _KSV_ 1, and _KSV_ 2 is an artifact due to the approximate nature of the model. Finally, Equation (1) needs to be inverted to determine [ _O_ 2] from the measured quantity _θ_ . From Equation (1) it is evident that the phase shift cannot be easily used to determine the oxygen concentration unless _ω_ and _T_, the parameters _f_, _KSV_ 1 and _KSV_ 2 (including their dependencies from _ω_ and _T_ ) are known. The proposed sensor not only overcomes the above-mentioned difficulties in finding an approximate mathematical model, but also allows the determination of multiple quantities simultaneously. _2.2._ _Experimental Setup and Dataset_ The luminophore used for oxygen detection is Pt-TFPP, commercially available as Oxygen Sensor Spot (PSt3, PreSens GmbH, Regensburg, Germany). The optical setup for the luminescence measurements is described in [36]. The large amount of data needed for the training and the test of the neural network was acquired using an automated acquisition program written using the software LabVIEW by National Instruments. The flow chart of the automated data acquisition program is shown in Figure 1. First, the program fixed the temperature and concentration of the gas in contact with the sensor. Then, the phase shift was measured for 50 modulation frequencies between 200 Hz and 15 kHz. This measurement was repeated 20 times. Next, keeping the temperature fixed, the program changed the oxygen concentration, and the entire frequency-loop was repeated. The oxygen concentration was varied between 0% air and 100% air in 5% air steps. Finally, the temperature was changed, and then the oxygen and frequency loops where repeated. The temperature was varied between 5 <sup>_◦_</sup> C and 45 <sup>_◦_</sup> C in 5 <sup>_◦_</sup> C steps. The total number of measurements was thus 50 (frequencies) times 20 (loops) times 21 (oxygen concentrations) times 9 (temperatures) for a total of 189’000, which required a total acquisition time of approximately 65 h. This number of measurements was chosen as a compromise between maximizing the number of data and avoiding photodegradation, which naturally occurs when the sample is subjected to illumination. _2.3._ _Signal Processing Algorithm_ The software component of this new sensor type is based on a neural network model (NNM). An NNM is made of three components [37]: a neural network architecture (that includes how neurons are connected, the activation functions and all the hyperparameters), a loss function (here indicated with _L_ ) and an optimizer algorithm. In this particular work we use what is called a Multi Task Learning (MTL) network architecture [25]. This architecture has different branches, each able to learn to predict a separate quantity (in our case one _T_ and [ _O_ 2]). The details and parameters of the neural network architecture, of the loss function and of the optimizer used in this work are studied and described in detail in [29] and will not be described again here. _Sensors_ 2020, _20_, 4886 4 of 13 Figure 1. Flow-chart of the automated data acquisition program. The network was trained with two types of input to test its effectiveness. In the first case, each observation consists of a vector of 50 values defined as 90 (2) _θ_ _s_ = - _<u>θ</u>_ <u>(</u> _<u>w</u>_ <u>1)</u>, <sup>_<u>θ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>w</u>_</sup> <sup><u>2)</u></sup> 90 90 <sup>_<u>w</u>_</sup> <sup><u>2)</u></sup>, ..., <sup>_<u>θ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>w</u>_</sup> <sup><u>50)</u></sup> 90 90 where _wi_ are the 50 values of the angular modulation frequency of the excitation light (see Section 2.2). The measured phase shift was divided by 90 to normalize the inputs between 0 and 1. In the second case, each observation is _θ_ _n_ = - _θθ_ 0(( _<u>ww</u>_ <u>11))</u> <sup>,</sup> _θ_ <sup>_<u>θ</u>_</sup> 0 <sup><u>(</u></sup> ( <sup>_<u>w</u>_</sup> _w_ <sup><u>2</u></sup> 2 <sup><u>)</u></sup> _θ_ <sup>_<u>θ</u>_</sup> 0 <sup><u>(</u></sup> ( <sup>_<u>w</u>_</sup> _w_ <sup><u>2</u></sup> 2 <sup><u>)</u></sup> ) <sup>, ...,</sup> _θ_ <sup>_<u>θ</u>_</sup> 0 <sup><u>(</u></sup> ( <sup>_<u>w</u>_</sup> _w_ <sup><u>50</u></sup> 50 <sup><u>)</u></sup> ) _θ_ 0( _w_ 50) (3) where _θ_ 0( _wi_ ) is the value of the measured phase shift without oxygen quenching at the angular modulation frequency _wi_ . The loss function was minimized using the optimizer Adaptive Moment Estimation (Adam) [37,38]. The implementation was performed using the TensorFlow <sup>TM</sup> library. The training was performed with a starting learning rate of 10 <sup>_−_</sup> <sup>3</sup> . Two types of training were investigated to compare the training efficiency and performance of the network. _No-batch training_ : with this method all the training data are used to perform an update of the weights and to evaluate the loss function. _Sensors_ 2020, _20_, 4886 5 of 13 _Mini-batch training_ : with this method the weights update is performed after the network has seen 32 observations (this number is called mini-batch size [37]). For each update of the weights, 32 random observations are chosen from the training dataset without repetitions until all the training data are fed to the network. The size of the mini-batch was chosen as a compromise between a good performance (measured through the value of the loss function) and the duration of training. No-batch training has the advantage of stability and requires less time for each epoch since it performs one update of the weights using the entire training dataset. Mini-batch training is normally more effective in reaching small values of the loss function in fewer epochs, but it requires more time for each epoch [37]. In our experiments the training for 20’000 epochs took roughly five minutes for no-batch training, and approximately 1 h with mini-batch training with mini-batch size of 32, thus resulting ca. 12 times slower. The training has been performed on a 2.2 GHz 6-Core Intel Core i7, with 32 GB of RAM. No GPU acceleration was used. _2.4._ _Sensor Performance Evaluation_ To evaluate the performance of the sensor, the dataset _S_ of measured data was divided into two parts: one containing 80% of randomly chosen observations (indicated with _Strain_ ), and one containing the remaining 20% of the data (indicated with _Stest_ ). All the results presented here were obtained by measuring the different metrics on the _Stest_ dataset. The metric used to compare predictions from expected values is the absolute error ( _AE_ ) defined as the absolute value of the difference between the predicted and the expected value for a given observation. The mean of the _AE_ overall observations of a given dataset is the mean absolute error _MAE_ and is a further metric used to characterize the performance. In Section 3, the prediction distribution of the _AE_ s for both the oxygen and temperature predictions is discussed in detail. To better illustrate this distribution, the kernel density estimate ( _KDE_ ) of the _AE_ s was also evaluated. Details on the calculation of the _AE_, _MAE_ and _KDE_ can be found in [29]. Error Limited Accuracy Generally, in a commercial sensor, the accuracy quantifies the performance of the sensor and helps to decide if the chosen device is appropriate for the application of interest. The above-defined metrics ( _AE_, _MAE_ and _KDE_ ) are useful to compare the performance of different NNMs but do not help quantify which error the sensor reading will ultimately have in practice. For this reason, in this work we introduce a new metric, called Error Limited Accuracy ( _ELA_ ) and indicated with _η_ . Definition 1. _In a regression problem, given the metric_ _AE, and a chosen value of it_ _AE_ ˆ _, the ELA η limited by_ _the error_ _AE_ ˆ _is defined as the number of predictions_ _y_ ˆ _of the NNM that lie in the range |_ ˆ _y −_ _y| ≤_ _AE_ ˆ _, with y_ _the expected value, divided by the total number of observations._ _It will be indicated with η_ ( _AE_ <sup>ˆ</sup> ) _._ _Given the set_ _E_ ( _AE_ <sup>ˆ</sup> ) = _{_ ˆ _y_ <sup>[</sup> <sup>_i_</sup> <sup>]</sup> _with i_ = 1, ..., _n |_ _|_ ˆ _y_ <sup>[</sup> <sup>_i_</sup> <sup>]</sup> _−_ _y_ <sup>[</sup> <sup>_i_</sup> <sup>]</sup> _| ≤_ _AE_ ˆ _}_ (4) _η_ ( _AE_ <sup>ˆ</sup> ) _is defined as_ _η_ ( _AE_ <sup>ˆ</sup> ) = <sup>_<u>|E</u>_</sup> <sup><u>(</u></sup> _<u>AE</u>_ <sup>ˆ</sup> <u>)</u> _<u>|</u>_ (5) _n_ _where |E_ ( _AE_ <sup>ˆ</sup> ) _| is the cardinality of the set E_ ( _AE_ <sup>ˆ</sup> ) _or, in other words, the number of its elements._ _y_ <sup>[</sup> <sup>_i_</sup> <sup>]</sup> _and_ _y_ ˆ <sup>[</sup> <sup>_i_</sup> <sup>]</sup> _are respectively the expected and predicted value of the target variable for observation i._ This metric allows interpreting the regression problem as a classification one. _η_ ( _AE_ <sup>ˆ</sup> ) simply describes how many observations are predicted by the NNM within a given value of the absolute error. In other words, it represents the percentage of predictions that are within a certain error _AE_ ˆ . Therefore, if we make _AE_ ˆ big enough, all the predictions will be classified perfectly, so _η_ ( _AE_ <sup>ˆ</sup> ) is expected to approach 1 for increasing _AE_ ˆ . On the other hand, the smaller _AE_ ˆ is, the lower will be the number of predictions correctly classified. We finally define _AE_ as the minimum value of _AE_ ˆ for _Sensors_ 2020, _20_, 4886 6 of 13 which _η_ ( _AE_ <sup>ˆ</sup> ) = 1, so the minimum value of the absolute error for which the network predicts all the observations correctly. This value ( _AE_ ) can be interpreted as the biggest error in the sensor predictions. 3. Results and Discussion _3.1._ _Pt-TFPP Luminescence_ As described in Section 2.1, the phase shift depends non-linearly on the oxygen concentration according to the Stern–Volmer equation. It also depends on the temperature, which influences the luminescence and the collision mechanisms, and on the modulation frequency of the excitation light. The experimental observations for the phase shift for variations of these three quantities are shown in Figures 2–4. Figure 2 shows the measured phase shifts as a function of the oxygen concentration at a constant modulation frequency of 6 kHz and for increasing temperatures. For clarity, the results at selected temperatures are shown. The decrease of the phase shift due to the collisional quenching is clearly visible in all curves. The phase shift is, as expected, also strongly temperature-dependent. For [ _O_ 2] = 0, in the absence of oxygen, the reduction of the phase shift with increasing _T_ is due to temperature quenching; the influence of temperature becomes stronger at higher oxygen concentration, as a result of the increase of the diffusion rates of oxygen through the sample. Figure 2. Measured phase shift as a function of the oxygen concentration for selected temperatures at a fixed modulation frequency of 6 kHz. The arrow marks increasing temperatures. Figure 3. Measured phase shift as a function of the modulation frequency for selected temperatures at a fixed oxygen concentration of [ _O_ 2] = 20% air. The arrow marks increasing temperatures. _Sensors_ 2020, _20_, 4886 7 of 13 Figure 4. Measured phase shift as a function of the modulation frequency for selected oxygen concentrations at a fixed temperature of _T_ = 25 <sup>_◦_</sup> C. The arrow marks increasing oxygen concentrations. For a given oxygen concentration, the phase shift is strongly dependent on the modulation frequency, as it can be seen in Figure 3, where the shape of the frequency response is determined by the distribution of decay times of the sample. From the figure it is visible that the reduction of the phase shift with increasing temperatures is not constant but depends on the modulation frequency. For completeness, the effect of the oxygen concentration on the frequency response at a fixed temperature is shown in Figure 4. Compared to Figure 3, the frequency response of the sample is affected more strongly by the oxygen concentration than by temperature. In other words, the sample has a higher sensitivity to oxygen than to temperature. The measurements of Figures 2–4 show how similar the curves of the phase shift are for different values of oxygen, temperature and modulation frequency. This helps to understand why it is not possible from the measurement of the phase shift, or even of the phase shift for varying modulation frequencies, to simultaneously determine both the oxygen concentration and the temperature using Equation (1). The temperature must be known in advance and used to compute the oxygen concentration. This is no longer the case for the proposed sensor, as it will be shown in the next section. _3.2._ _Sensor Performance_ First, the effect of the training on the sensor performance was investigated. As described previously, the neural network was trained with no-batches and with mini-batches. For this comparison the network was trained for 20’000 epochs using the input observations _θ_ _s_ as defined in Equation (2). The results for _AE_ [ _O_ 2] and _AET_ are shown in Figure 5A,B, respectively. The blue histogram shows the _AE_ distribution when using no-batch, the gray when using mini-batches of size 32. The _KDE_ profiles help to illustrate the features of the histogram. The effect of introducing mini-batches on the performance is significant. The predictions distributions get much narrower, the mean average errors decrease from _MAE_ [ _O_ 2] = 2.4% air and _MAET_ = 3.6 <sup>_◦_</sup> C to _MAE_ [ _O_ 2] = 1.4% air and _MAET_ = 1.6 <sup>_◦_</sup> C. Although the performance is significantly improved, from Figure 5A,B it can also be clearly seen that errors as high as approximately 5% air for [ _O_ 2] or 12 <sup>_◦_</sup> C for _T_ are still possible. Figure 5C,D shows the effect of the training length. Here the comparison is between prediction distributions with 20’000 and 100’000 epochs (always using a mini-batch of size 32), using the input observations _θ_ _s_ as defined in Equation (2). The effect of longer training is a dramatic improvement in the performance. When the network was trained for 100’000 epochs the mean average errors were reduced to only _MAE_ [ _O_ 2] = 0.22% air and _MAET_ = 0.27 <sup>_◦_</sup> C. Additionally, all the predictions for [ _O_ 2] lie below 0.94% air, and for _T_ lie below 2.1 <sup>_◦_</sup> C. _Sensors_ 2020, _20_, 4886 8 of 13 (A) N (B) N N N (C) (D) (E) (F) N N Figure 5. Distributions of the neural network predictions for the oxygen concentration (panels ( A, C, E ) and for the temperature (panels ( B, D, F ). In all panels the normalized prediction distribution histogram (columns), the kernel density estimate _KDE_ of the distribution of the absolute errors _AE_ s (solid line), and mean absolute errors _MAE_ s (dashed vertical line) are shown. Panels ( A, B ): Comparison between training using no batches (NB) and using mini-batches (MB) with a batch size of 32 both trained for 20’000 epochs; the input of the network is _θ_ _s_ . Panels ( C, D ): Comparison between training using mini-batches (MB) with a batch size of 32 for 100’000 and 20’000 epochs; the input of the network is _θ_ _s_ . Panels (E) and (F): results with a training using mini-batches (MB) with a batch size of 32 for 20’000 epochs and using the input of the network is _θ_ _n_ . The results of Figure 5C,D demonstrate two new findings: (1) with the proposed approach, it is possible to predict both [ _O_ 2] and _T_ at the same time from the phase shift using a single luminophore and a set of measurements; (2) the prediction has an expected error that is comparable or below the typical accuracy of commercial sensors. The possibility of dual sensing paves the road to the development of a completely new generation of sensors. The price to pay is that the training of a network for 100’000 epochs requires approximately 5 h on the hardware described earlier. To investigate if the training can be performed more efficiently, the normalized phase shift _θ_ _n_ defined in Equation (3) was used as input to the network. The performance of the network in this _Sensors_ 2020, _20_, 4886 9 of 13 case, with a mini-batch size of 32 and a training of 20’000 epochs is shown in Figure 5E,F. With this input the performance is further improved: even if the number of epochs is only 20’000 the mean average errors are better than what was obtained with _θ_ _s_ and a training of 100’000 epochs, achieving _MAE_ [ _O_ 2] = 0.13% air and _MAET_ = 0.24 <sup>_◦_</sup> C. The distributions are also narrower, particularly for the temperature. Additionally, all the _AE_ [ _O_ 2] lie below 0.87% air, and _AET_ below 1.7 <sup>_◦_</sup> C. This type of training is clearly more efficient. The reason may lie in the additional information which is fed to the network when using the input _θ_ _n_ and in the simplified functional behavior of _θ_ _n_ compared to _θ_ _s_ (see Equation (1)). The performance of the different neural networks is summarized in Table 1. Table 1. Summary of the performance of the sensor for different neural network models. Input Epochs/Batch Size _MAE_ [ _O_ 2] _MAE_ [ _T_ ] _θ_ _s_ 20’000/no batch 2.4% air 3.6 <sup>_◦_</sup> _C_ _θ_ _s_ 20’000/32 1.4% air 1.6 <sup>_◦_</sup> _C_ _θ_ _s_ 100’000/32 0.22% air 0.27 <sup>_◦_</sup> _C_ _θ_ _n_ 20’000/32 0.13% air 0.24 <sup>_◦_</sup> _C_ The response time of the sensor is due to the sum of two contributions: the actual measurement time of the phase shift and the time needed by the algorithm to calculate the oxygen concentration and temperature. The measurement time for 50 frequencies with our setup was below one minute but could be easily improved by reducing the time delays in the communication between the various instruments. _3.3._ _Error Limited Accuracy_ The metrics discussed in the previous sections are useful to compare the network performance and to measure how good the predictions are. However, they do not offer an understanding on what a sensor built with such a model could achieve. For practical applications, the relevant question is rather what is the maximum error the sensor will have in predicting the oxygen concentration and temperature. To answer this question, the _ELA_ ( _η_ ) defined in Section 2.4 can be used. Figure 6 displays the _ELA η_ ( _AE_ <sup>�</sup> ) for oxygen concentration (A) and for the temperature (B). In each panel, the results obtained with the bests models described before are shown: the ELAs using the input _θ_ _n_ and a training for 20’000 epochs are shown in black, and the ELAs obtained using the input _θ_ _s_ and a training for 100’000 epochs in red. In both cases, the training was performed with mini-batches of size 32. The dashed lines indicate the values of the _AE_ [ _O_ 2] and _AET_ for which the error limited accuracy _η_ equals 1. In other words, all the predictions will have an error equal or smaller than _AE_ . From Figure 6A can be seen that, for the network trained with _θ_ _s_ as input, the model would predict perfectly all the oxygen concentrations within 0.95% air error. For the network trained with _θ_ _n_ this value is further reduced to 0.87% air. _AE_ [ _O_ 2] can be interpreted as the accuracy a sensor based on this NNM would have. Figure 6B shows the results of the same analysis for the temperature measurement. The interpretation is similar to the one given above for the oxygen concentration. For the network trained with _θ_ _s_ as input, the model would predict perfectly all the temperature values within _AET_ = <u>2.1</u> <sup>_◦_</sup> C error. For the network trained with _θ_ _n_ this value would be _AET_ = 1.7 <sup>_◦_</sup> C. The values of _AE_ [ _O_ 2] and _AET_ are summarized in Table 2. _Sensors_ 2020, _20_, 4886 10 of 13 (A) (B) _n_ _s_ _n_ _s_ Figure 6. Comparison of the _ELA η_ : Panel ( A ) oxygen prediction, panel ( B ) temperature prediction. The black lines are the results obtained with a network that was trained with _θ_ _n_ as input for 20’000 epochs with mini-batchs of size 32, while the red ones with _θ_ _s_ as input for 100’000 epochs with mini-batchs of size 32. The dashed lines indicates the values of the _AE_ for which the predictions would give _η_ = 1. Table 2. Summary of the values of _AE_ for the cases shown in Figure 6A,B. Input Epochs/Batch Size _AE_ [ _O_ 2] _AET_ _θ_ _s_ 100’000/32 0.95% air 2.1 <sup>_◦_</sup> C _θ_ _n_ 20’000/32 0.87% air 1.7 <sup>_◦_</sup> C 4. Conclusions In this work, the realization of a new type of sensor based on luminescence sensing is presented. The proposed sensor allows parallel inference, or the extraction of multiple physical quantities simultaneously, from a single set of measurements without any a priori mathematical model, even in the presence of cross interferences. Classical approaches to this type of problem in physics can be challenging or impossible to solve if the mathematical models describing the functional dependencies are too complex or even unknown. This sensor, which uses a single luminophore and a single measuring channel can measure simultaneously both the oxygen concentration and the temperature of a medium. This is achieved using a multi-task learning neural network model, which was trained on a very large dataset. The results in the prediction of the oxygen concentration and temperature show unprecedented accuracy for both parameters, demonstrating that this approach could open up the possibility of a new generation of dual- or even multiple-parameter sensors. Estimating the accuracy of a sensor based on a given NNM approach is intrinsically difficult. For this reason, the new metric Error Limited Accuracy _ELA_ is proposed. The _ELA_ enables to estimate how many predicted values lie within a certain absolute error from the expected measurement. This new metric allows therefore the estimation of the maximum measurement error of any NNM-based sensor. The ability to predict both [ _O_ 2] and _T_ at the same time, from a single set of data obtained with a single indicator, has profound implications for the development of luminescence sensors. Sensors will become easier and cheaper to build since no separate temperature measurements are necessary anymore. Generally, this work shows that the effect of interferences can be learned by the neural network and do not need to be corrected for in the data processing. This work opens the road to complete new optical sensing approaches for future generations of sensors. Those sensors will be able to extract multiple physical quantities from a common set of data at the same time to achieve consistent results that are both accurate and stable. The described approach is relevant for many practical applications in sensor science and demonstrates that this model-free approach has the potential of revolutionizing optical sensing. _Sensors_ 2020, _20_, 4886 11 of 13 Author Contributions: F.V. conceived the work, performed the data analysis and wrote the paper; U.M. performed the data analysis, developed and optimized the neural network and wrote the paper; M.B. optimized the laboratory setup, programmed the automated data acquisition and performed the experiments. All authors have read and agreed to the published version of the manuscript. Funding: This research received no external funding. Conflicts of Interest: The authors declare no conflict of interest. Abbreviations The following abbreviations are used in this manuscript: SV Stern–Volmer Adam Adaptive Moment Estimation NNM Neural Network Model MAE Mean Absolute Error AE Absolute Error KDE Kernel Density Estimate ELA Error Limited Accuracy References 1. Stich, M.I.; Fischer, L.H.; Wolfbeis, O.S. Multiple fluorescent chemical sensing and imaging. _Chem._ _Soc._ _Rev._ 2010, _39_, 3102–3114. [[CrossRef] [PubMed]](http://dx.doi.org/10.1039/b909635n) 2. Borisov, S.M.; Seifner, R.; Klimant, I. A novel planar optical sensor for simultaneous monitoring of oxygen, carbon dioxide, pH and temperature. _Anal._ _Bioanal._ _Chem._ 2011, _400_, 2463–2474. [[CrossRef] [PubMed]](http://dx.doi.org/10.1007/s00216-010-4617-4) 3. Kameya, T.; Matsuda, Y.; Egami, Y.; Yamaguchi, H.; Niimi, T. Dual luminescent arrays sensor fabricated by inkjet-printing of pressure-and temperature-sensitive paints. _Sens._ _Actuators B Chem._ 2014, _190_, 70–77. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2013.08.011) 4. Wang, X.D.; Wolfbeis, O.S. Optical methods for sensing and imaging oxygen: Materials, spectroscopies and applications. _Chem._ _Soc._ _Rev._ 2014, _43_, 3666–3761. [[CrossRef]](http://dx.doi.org/10.1039/C4CS00039K) 5. Santoro, S.; Moro, A.; Portugal, C.; Crespo, J.; Coelhoso, I.; Lima, J. Development of oxygen and temperature sensitive membranes using molecular probes as ratiometric sensor. _J._ _Membr._ _Sci._ 2016, _514_, 467–475. [[CrossRef]](http://dx.doi.org/10.1016/j.memsci.2016.05.019) 6. Biring, S.; Sadhu, A.S.; Deb, M. An Effective Optical Dual Gas Sensor for Simultaneous Detection of Oxygen and Ammonia. _Sensors_ 2019, _19_, 5124. [[CrossRef]](http://dx.doi.org/10.3390/s19235124) 7. Wolfbeis, O.S. Feasibility of optically sensing two parameters simultaneously using one indicator. In _Chemical,_ _Biochemical, and Environmental Fiber Sensors II_ ; International Society for Optics and Photonics: Bellingham, WA, USA, 1991; Volume 1368, pp. 218–222. 8. Zieger, S.E.; Steinegger, A.; Klimant, I.; Borisov, S.M. TADF-Emitting Zn (II)-Benzoporphyrin: An indicator for simultaneous sensing of oxygen and temperature. _ACS Sens._ 2020, _5_, 1020–1027. [[CrossRef]](http://dx.doi.org/10.1021/acssensors.9b02512) 9. Ohira, S.I.; Dasgupta, P.K.; Schug, K.A. Fiber optic sensor for simultaneous determination of atmospheric nitrogen dioxide, ozone, and relative humidity. _Anal._ _Chem._ 2009, _81_, 4183–4191. [[CrossRef]](http://dx.doi.org/10.1021/ac801756z) 10. Collier, B.B.; McShane, M.J. Time-resolved measurements of luminescence. _J. Lumin._ 2013, _144_, 180–190. [[CrossRef]](http://dx.doi.org/10.1016/j.jlumin.2013.06.034) 11. Stehning, C.; Holst, G.A. Addressing multiple indicators on a single optical fiber-digital signal processing approach for temperature compensated oxygen sensing. _IEEE Sens._ _J._ 2004, _4_, 153–159. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2003.822215) 12. Jorge, P.; Maule, C.; Silva, A.; Benrashid, R.; Santos, J.; Farahi, F. Dual sensing of oxygen and temperature using quantum dots and a ruthenium complex. _Anal._ _Chim._ _Acta_ 2008, _606_, 223–229. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.aca.2007.11.008) 13. Moore, J.P.; Higgins, C.; McGaughey, O.; Lawless, B.G.; MacCraith, B.D. Exploiting sensor cross sensitivity: Achieving temperature compensation via a dual-element optical oxygen sensor. In _Advanced Environmental,_ _Chemical, and Biological Sensing Technologies IV_ ; International Society for Optics and Photonics: Bellingham, WA, USA, 2006; Volume 6377, p. 63770I. _Sensors_ 2020, _20_, 4886 12 of 13 14. Papkovsky, D.B.; Dmitriev, R.I. Biological detection by optical oxygen sensing. _Chem._ _Soc._ _Rev._ 2013, _42_, 8700–8732. [[CrossRef] [PubMed]](http://dx.doi.org/10.1039/c3cs60131e) 15. Lakowicz, J.R. _Principles of Fluorescence Spectroscopy_, 3rd ed.; Springer: New York, NY, USA, 2006. 16. Li, F.; Wei, Y.; Chen, Y.; Li, D.; Zhang, X. An intelligent optical dissolved oxygen measurement method based on a fluorescent quenching mechanism. _Sensors_ 2015, _15_, 30913–30926. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s151229837) 17. Xu, W.; McDonough, R.C.; Langsdorf, B.; Demas, J.; DeGraff, B. Oxygen sensors based on luminescence quenching: interactions of metal complexes with the polymer supports. _Anal._ _Chem._ 1994, _66_, 4133–4141. [[CrossRef]](http://dx.doi.org/10.1021/ac00095a004) 18. Draxler, S.; Lippitsch, M.E.; Klimant, I.; Kraus, H.; Wolfbeis, O.S. Effects of polymer matrixes on the time-resolved luminescence of a ruthenium complex quenched by oxygen. _J. Phys._ _Chem._ 1995, _99_, 3162–3167. [[CrossRef]](http://dx.doi.org/10.1021/j100010a029) 19. Hartmann, P.; Trettnak, W. Effects of polymer matrices on calibration functions of luminescent oxygen sensors based on porphyrin ketone complexes. _Anal._ _Chem._ 1996, _68_, 2615–2620. [[CrossRef]](http://dx.doi.org/10.1021/ac960008k) 20. Mills, A. Controlling the sensitivity of optical oxygen sensors. _Sens._ _Actuators B Chem._ 1998, _51_, 60–68. [[CrossRef]](http://dx.doi.org/10.1016/S0925-4005%0x2898%0x2900211-1) 21. Badocco, D.; Mondin, A.; Pastore, P.; Voltolina, S.; Gross, S. Dependence of calibration sensitivity of a polysulfone/Ru (II)-Tris (4, 7-diphenyl-1, 10-phenanthroline)-based oxygen optical sensor on its structural parameters. _Anal._ _Chim._ _Acta_ 2008, _627_, 239–246. [[CrossRef]](http://dx.doi.org/10.1016/j.aca.2008.08.019) 22. Dini, F.; Martinelli, E.; Paolesse, R.; Filippini, D.; D’Amico, A.; Lundström, I.; Di Natale, C. Polymer matrices effects on the sensitivity and the selectivity of optical chemical sensors. _Sens._ _Actuators_ _B_ _Chem._ 2011, _154_, 220–225. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2010.04.002) 23. Argyriou, A.; Evgeniou, T.; Pontil, M. Multi-task feature learning. In Proceedings of the 19th International Conference on Neural Information Processing Systems (NIPS’06), Vancouver, BC, Canada, 4–7 December 2006. 24. Thrun, S. Is learning the n-th thing any easier than learning the first? In Proceedings of the 8th International Conference on Neural Information Processing Systems (NIPS’95), Denver, CO, USA, 27 November 1995; pp. 640–646. 25. Caruana, R. Multitask learning. _Mach._ _Learn._ 1997, _28_, 41–75. [[CrossRef]](http://dx.doi.org/10.1023/A:1007379606734) 26. Zhang, Y.; Yang, Q. A survey on multi-task learning. _arXiv_ 2017, arXiv:1707.08114 27. Baxter, J. A model of inductive bias learning. _J. Artif._ _Intell._ _Res._ 2000, _12_, 149–198. [[CrossRef]](http://dx.doi.org/10.1613/jair.731) 28. Thung, K.H.; Wee, C.Y. A brief review on multi-task learning. _Multimed._ _Tools Appl._ 2018, _77_, 29705–29725. [[CrossRef]](http://dx.doi.org/10.1007/s11042-018-6463-x) 29. Michelucci, U.; Venturini, F. Multi-task learning for multi-dimensional regression: Application to luminescence sensing. _Appl._ _Sci._ 2019, _9_, 4748. [[CrossRef]](http://dx.doi.org/10.3390/app9224748) 30. Carraway, E.; Demas, J.; DeGraff, B.; Bacon, J. Photophysics and photochemistry of oxygen sensors based on luminescent transition-metal complexes. _Anal._ _Chem._ 1991, _63_, 337–342. [[CrossRef]](http://dx.doi.org/10.1021/ac00004a007) 31. Demas, J.N.; DeGraff, B.; Xu, W. Modeling of luminescence quenching-based sensors: Comparison of multisite and nonlinear gas solubility models. _Anal._ _Chem._ 1995, _67_, 1377–1380. [[CrossRef]](http://dx.doi.org/10.1021/ac00104a012) 32. Michelucci, U.; Baumgartner, M.; Venturini, F. Optical oxygen sensing with artificial intelligence. _Sensors_ 2019, _19_, 777. [[CrossRef]](http://dx.doi.org/10.3390/s19040777) 33. Ogurtsov, V.I.; Papkovsky, D.B. Modelling of phase-fluorometric oxygen sensors: Consideration of temperature effects and operational requirements. _Sens._ _Actuators B Chem._ 2006, _113_, 917–929. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2005.03.079) 34. Lo, Y.L.; Chu, C.S.; Yur, J.P.; Chang, Y.C. Temperature compensation of fluorescence intensity-based fiber-optic oxygen sensors using modified Stern–Volmer model. _Sens._ _Actuators B Chem._ 2008, _131_, 479–488. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2007.12.010) 35. Zaitsev, N.; Melnikov, P.; Alferov, V.; Kopytin, A.; German, K. Stable optical oxygen sensing material based on perfluorinated polymer and fluorinated platinum (II) and palladium (II) porphyrins. _Procedia Eng._ 2016, _168_, 309–312. [[CrossRef]](http://dx.doi.org/10.1016/j.proeng.2016.11.203) 36. Venturini, F.; Michelucci, U.; Baumgartner, M. Dual oxygen and temperature sensing with single indicator using multi-task-learning neural networks. In _Optical Sensing and Detection VI_ ; Berghmans, F., Mignani, A.G., Eds.; International Society for Optics and Photonics, SPIE: Bellingham, WA, USA, 2020; Volume 11354, pp. 212–218. _Sensors_ 2020, _20_, 4886 13 of 13 37. Michelucci, U. _Applied_ _Deep_ _Learning—A_ _Case-Based_ _Approach_ _to_ _Understanding_ _Deep_ _Neural_ _Networks_ ; APRESS Media, LLC: New York, NY, USA, 2018. 38. Kingma, D.P.; Ba, J.A. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, 7–9 May 2015; pp. 1–15. _⃝_ c 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 32문단 · 25,762자

(제목 없음)

1A well-known approach to the optical measure of oxygen is based on the quenching of luminescence by molecular oxygen. The main challenge for this measuring method is the determination of an accurate mathematical model for the sensor response. The reason is the dependence of the sensor signal from multiple parameters (like oxygen concentration and temperature), which are cross interfering in a sensor-specific way. The common solution is to measure the different parameters separately, for example, with different sensors. Then, an approximate model is developed where these effects are parametrized ad hoc. In this work, we describe a new approach for the development of a learning sensor with parallel inference that overcomes all these difficulties. With this approach we show how to generate automatically and autonomously a very large dataset of measurements and how to use it for the training of the proposed neural-network-based signal processing. Furthermore, we demonstrate how the sensor exploits the cross-sensitivity of multiple parameters to extract them from a single set of optical measurements without any a priori mathematical model with unprecedented accuracy. Finally, we propose a completely new metric to characterize the performance of neural-network-based sensors, the Error Limited Accuracy. In general, the methods described here are not limited to oxygen and temperature sensing. They can be similarly applied for the sensing with multiple luminophores, whenever the underlying mathematical model is not known or too complex.

Introduction

2The simultaneous determination of multiple physical quantities can be very advantageous in many sensor applications, for example, when an in-situ or a remote acquisition is required. If the physical effect on which the measurement method is based presents cross-sensitivity between more than one quantity, their simultaneous determination becomes a necessity. Optical luminescence sensing is particularly attractive for multiple sensing. Since several parameters can be measured using the same principle, namely luminescence, it is possible to use the same illumination or detection channels, thus allowing a compact and simple sensor design.

3The typical approaches to multiple sensing are based on either the use of a single luminescence indicator (luminophore), in which the luminescence is sensitive to more than one physical quantity, or the use of several luminophores, one for each quantity, embedded in a substrate and placed in close physical proximity [1][2][3][4][5][6][7][8][9]. To be able to determine each quantity separately, it may be necessary to determine more than one optical property (e.g., absorption spectrum, emission spectrum, luminescence intensity, decay time). Another possibility is to measure one single optical property using special detection schemes that take advantage of the emission properties of the used luminophores [4,6,[10][11][12][13].

4The problem of dual sensing is particularly relevant in applications that involve oxygen sensing. Since oxygen plays a major role for living organisms, the measurement of oxygen partial pressure is of great relevance in fields which range from medicine and biotechnology, to environmental monitoring [4,14]. One of the most used optical measuring approaches is based on dynamical luminescence quenching. When colliding with molecular oxygen, the energy of the excited luminophore is reduced due to radiationless deactivation. As a result, both the intensity and decay time of the luminescence are reduced (quenched) [15]. The dependence of the measured sensing quantity (e.g., luminescence intensity or decay time) on the relevant influencing factors needs to be described through mathematical models with a sufficiently complex parametrization. Among the cross-interfering quantities, temperature is the most relevant since both the luminescence and its quenching are strongly temperature-dependent phenomena. Therefore, in any optical oxygen sensor, the temperature must be continuously monitored, most frequently with a separate sensor, and used to correct the calculated oxygen concentration [16]. This task can be difficult in practical implementation and may become a significant source of error. Another disadvantage of this approach is that the parametrization of the sensor response is system-specific since it depends on how the sensing element was fabricated and on the sensor itself [17][18][19][20][21][22].

5In this work, these difficulties are overcome through a new approach for sensor development based on neural networks for parallel inference. This enables accurate dual-sensing, using one single luminophore and by measuring a single quantity. Instead of describing the response of the sensor as a function of the relevant parameters through an analytical model, a neural network was designed and trained to predict both oxygen concentration and temperature simultaneously. Multi-task learning (MTL) architectures were chosen for this new approach because they can learn correlated tasks [23][24][25][26][27][28]. In a previous purely theoretical study that used only synthetic data, the authors showed that MTL architectures can be flexible enough to address multi-dimensional regressions problems [29] as required by this new type of sensor. This work demonstrates for the first time that this is indeed true by building, training and characterizing a real physical optical sensor based on this principle. To train the MTL neural network and to test the performance of the sensor on unseen data, a very large amount of data is needed. Since the collection cannot be performed by hand, a fully automated data collection setup was developed and used to both vary the sensor environment conditions (gas concentration and temperature) and to collect the sensor response.

6This work proposes a paradigm shift from the classical description of the response of a sensor through an approximate model, to the use of MTL based sensor learning thanks to neural networks. These will learn the complex inter-parameter dependencies and sensor-specific response characteristics from a large amount of data automatically collected. This new method will enable to build sensors even if the response of the system to the physical quantities is too complex to be comfortably described by a mathematical model.

Measurement Principle

7Luminescence-based oxygen sensors usually are based on a luminophore in which luminescence intensity and decay time decrease for increasing O 2 concentrations. This reduction is due to collisions of the excited luminophore with molecular oxygen, which thus provides a radiationless deactivation process. The dependence of the luminescence intensity and decay time of the luminophores used for oxygen sensing is best described by the Stern-Volmer (SV) equation [15]. Using a frequency-domain approach, the phase shift difference between the excitation and the emitted luminescence can be approximated using a two-site model [30,31] and written as [32] tan θ 0 (ω, T)

8where θ 0 and θ, are the phase shifts without and with oxygen, f and 1 − f are the fractions of the total emission for the two components, K SV1 and K SV2 are the corresponding Stern-Volmer constants, and ω is the angular modulation frequency. It is to be noted that the quantities θ 0 , f , K SV1 , and K SV2 are all temperature dependent [33][34][35]. Additionally, they also depend on the modulation frequency, which in the case of f , K SV1 , and K SV2 is an artifact due to the approximate nature of the model. Finally, Equation (1) needs to be inverted to determine [O 2 ] from the measured quantity θ.

9From Equation (1) it is evident that the phase shift cannot be easily used to determine the oxygen concentration unless ω and T, the parameters f , K SV1 and K SV2 (including their dependencies from ω and T) are known. The proposed sensor not only overcomes the above-mentioned difficulties in finding an approximate mathematical model, but also allows the determination of multiple quantities simultaneously.

Experimental Setup and Dataset

10The luminophore used for oxygen detection is Pt-TFPP, commercially available as Oxygen Sensor Spot (PSt3, PreSens GmbH, Regensburg, Germany). The optical setup for the luminescence measurements is described in [36]. The large amount of data needed for the training and the test of the neural network was acquired using an automated acquisition program written using the software LabVIEW by National Instruments. The flow chart of the automated data acquisition program is shown in Figure 1.

11First, the program fixed the temperature and concentration of the gas in contact with the sensor. Then, the phase shift was measured for 50 modulation frequencies between 200 Hz and 15 kHz. This measurement was repeated 20 times. Next, keeping the temperature fixed, the program changed the oxygen concentration, and the entire frequency-loop was repeated. The oxygen concentration was varied between 0% air and 100% air in 5% air steps. Finally, the temperature was changed, and then the oxygen and frequency loops where repeated. The temperature was varied between 5 • C and 45 • C in 5 • C steps. The total number of measurements was thus 50 (frequencies) times 20 (loops) times 21 (oxygen concentrations) times 9 (temperatures) for a total of 189'000, which required a total acquisition time of approximately 65 h. This number of measurements was chosen as a compromise between maximizing the number of data and avoiding photodegradation, which naturally occurs when the sample is subjected to illumination.

Signal Processing Algorithm

12The software component of this new sensor type is based on a neural network model (NNM). An NNM is made of three components [37]: a neural network architecture (that includes how neurons are connected, the activation functions and all the hyperparameters), a loss function (here indicated with L) and an optimizer algorithm. In this particular work we use what is called a Multi Task Learning (MTL) network architecture [25]. This architecture has different branches, each able to learn to predict a separate quantity (in our case one T and [O 2 ]). The details and parameters of the neural network architecture, of the loss function and of the optimizer used in this work are studied and described in detail in [29] and will not be described again here. The network was trained with two types of input to test its effectiveness. In the first case, each observation consists of a vector of 50 values defined as

13where w i are the 50 values of the angular modulation frequency of the excitation light (see Section 2.2). The measured phase shift was divided by 90 to normalize the inputs between 0 and 1. In the second case, each observation is

14where θ 0 (w i ) is the value of the measured phase shift without oxygen quenching at the angular modulation frequency w i . The loss function was minimized using the optimizer Adaptive Moment Estimation (Adam) [37,38]. The implementation was performed using the TensorFlow TM library. The training was performed with a starting learning rate of 10 −3 . Two types of training were investigated to compare the training efficiency and performance of the network. No-batch training: with this method all the training data are used to perform an update of the weights and to evaluate the loss function.

15Mini-batch training: with this method the weights update is performed after the network has seen 32 observations (this number is called mini-batch size [37]). For each update of the weights, 32 random observations are chosen from the training dataset without repetitions until all the training data are fed to the network. The size of the mini-batch was chosen as a compromise between a good performance (measured through the value of the loss function) and the duration of training.

16No-batch training has the advantage of stability and requires less time for each epoch since it performs one update of the weights using the entire training dataset. Mini-batch training is normally more effective in reaching small values of the loss function in fewer epochs, but it requires more time for each epoch [37]. In our experiments the training for 20'000 epochs took roughly five minutes for no-batch training, and approximately 1 h with mini-batch training with mini-batch size of 32, thus resulting ca. 12 times slower. The training has been performed on a 2.2 GHz 6-Core Intel Core i7, with 32 GB of RAM. No GPU acceleration was used.

Sensor Performance Evaluation

17To evaluate the performance of the sensor, the dataset S of measured data was divided into two parts: one containing 80% of randomly chosen observations (indicated with S train ), and one containing the remaining 20% of the data (indicated with S test ). All the results presented here were obtained by measuring the different metrics on the S test dataset.

18The metric used to compare predictions from expected values is the absolute error (AE) defined as the absolute value of the difference between the predicted and the expected value for a given observation. The mean of the AE overall observations of a given dataset is the mean absolute error MAE and is a further metric used to characterize the performance. In Section 3, the prediction distribution of the AEs for both the oxygen and temperature predictions is discussed in detail. To better illustrate this distribution, the kernel density estimate (KDE) of the AEs was also evaluated. Details on the calculation of the AE, MAE and KDE can be found in [29].

Error Limited Accuracy

19Generally, in a commercial sensor, the accuracy quantifies the performance of the sensor and helps to decide if the chosen device is appropriate for the application of interest. The above-defined metrics (AE, MAE and KDE) are useful to compare the performance of different NNMs but do not help quantify which error the sensor reading will ultimately have in practice. For this reason, in this work we introduce a new metric, called Error Limited Accuracy (ELA) and indicated with η. Definition 1. In a regression problem, given the metric AE, and a chosen value of itÂE, the ELA η limited by the errorÂE is defined as the number of predictionsŷ of the NNM that lie in the range |ŷ − y| ≤ÂE, with y the expected value, divided by the total number of observations. It will be indicated with η(ÂE). Given the set

20where |E(ÂE)| is the cardinality of the set E(ÂE) or, in other words, the number of its elements. y [i] andŷ [i] are respectively the expected and predicted value of the target variable for observation i.

21This metric allows interpreting the regression problem as a classification one. η(ÂE) simply describes how many observations are predicted by the NNM within a given value of the absolute error. In other words, it represents the percentage of predictions that are within a certain errorÂE. Therefore, if we makeÂE big enough, all the predictions will be classified perfectly, so η(ÂE) is expected to approach 1 for increasingÂE. On the other hand, the smallerÂE is, the lower will be the number of predictions correctly classified. We finally define AE as the minimum value ofÂE for which η(ÂE) = 1, so the minimum value of the absolute error for which the network predicts all the observations correctly. This value (AE) can be interpreted as the biggest error in the sensor predictions.

Pt-TFPP Luminescence

22As described in Section 2.1, the phase shift depends non-linearly on the oxygen concentration according to the Stern-Volmer equation. It also depends on the temperature, which influences the luminescence and the collision mechanisms, and on the modulation frequency of the excitation light. The experimental observations for the phase shift for variations of these three quantities are shown in Figures 2-4. Figure 2 shows the measured phase shifts as a function of the oxygen concentration at a constant modulation frequency of 6 kHz and for increasing temperatures. For clarity, the results at selected temperatures are shown. The decrease of the phase shift due to the collisional quenching is clearly visible in all curves. The phase shift is, as expected, also strongly temperature-dependent. For [O 2 ] = 0, in the absence of oxygen, the reduction of the phase shift with increasing T is due to temperature quenching; the influence of temperature becomes stronger at higher oxygen concentration, as a result of the increase of the diffusion rates of oxygen through the sample. For a given oxygen concentration, the phase shift is strongly dependent on the modulation frequency, as it can be seen in Figure 3, where the shape of the frequency response is determined by the distribution of decay times of the sample. From the figure it is visible that the reduction of the phase shift with increasing temperatures is not constant but depends on the modulation frequency.

23For completeness, the effect of the oxygen concentration on the frequency response at a fixed temperature is shown in Figure 4. Compared to Figure 3, the frequency response of the sample is affected more strongly by the oxygen concentration than by temperature. In other words, the sample has a higher sensitivity to oxygen than to temperature.

24The measurements of Figures 2-4 show how similar the curves of the phase shift are for different values of oxygen, temperature and modulation frequency. This helps to understand why it is not possible from the measurement of the phase shift, or even of the phase shift for varying modulation frequencies, to simultaneously determine both the oxygen concentration and the temperature using Equation (1). The temperature must be known in advance and used to compute the oxygen concentration. This is no longer the case for the proposed sensor, as it will be shown in the next section.

Sensor Performance

25First, the effect of the training on the sensor performance was investigated. As described previously, the neural network was trained with no-batches and with mini-batches. For this comparison the network was trained for 20'000 epochs using the input observations θ θ θ s as defined in Equation (2). The results for AE [O 2 ] and AE T are shown in Figure 5A,B, respectively. The blue histogram shows the AE distribution when using no-batch, the gray when using mini-batches of size 32. The KDE profiles help to illustrate the features of the histogram. The effect of introducing mini-batches on the performance is significant. The predictions distributions get much narrower, the mean average errors decrease from MAE [O 2 ] = 2.4% air and MAE T = 3.6 • C to MAE [O 2 ] = 1.4% air and MAE T = 1.6 • C. Although the performance is significantly improved, from Figure 5A,B it can also be clearly seen that errors as high as approximately 5% air for [O 2 ] or 12 • C for T are still possible. Figure 5C,D shows the effect of the training length. Here the comparison is between prediction distributions with 20'000 and 100'000 epochs (always using a mini-batch of size 32), using the input observations θ θ θ s as defined in Equation (2). The effect of longer training is a dramatic improvement in the performance. When the network was trained for 100'000 epochs the mean average errors were reduced to only MAE [O 2 ] = 0.22% air and MAE T = 0.27 • C. Additionally, all the predictions for [O 2 ] lie below 0.94% air, and for T lie below 2.1 • C. The results of Figure 5C,D demonstrate two new findings: (1) with the proposed approach, it is possible to predict both [O 2 ] and T at the same time from the phase shift using a single luminophore and a set of measurements; (2) the prediction has an expected error that is comparable or below the typical accuracy of commercial sensors. The possibility of dual sensing paves the road to the development of a completely new generation of sensors. The price to pay is that the training of a network for 100'000 epochs requires approximately 5 h on the hardware described earlier.

26To investigate if the training can be performed more efficiently, the normalized phase shift θ θ θ n defined in Equation (3) was used as input to the network. The performance of the network in this case, with a mini-batch size of 32 and a training of 20'000 epochs is shown in Figure 5E,F. With this input the performance is further improved: even if the number of epochs is only 20'000 the mean average errors are better than what was obtained with θ θ θ s and a training of 100'000 epochs, achieving MAE [O 2 ] = 0.13% air and MAE T = 0.24 • C. The distributions are also narrower, particularly for the temperature. Additionally, all the AE [O 2 ] lie below 0.87% air, and AE T below 1.7 • C. This type of training is clearly more efficient. The reason may lie in the additional information which is fed to the network when using the input θ θ θ n and in the simplified functional behavior of θ θ θ n compared to θ θ θ s (see Equation (1)).

27The performance of the different neural networks is summarized in Table 1. The response time of the sensor is due to the sum of two contributions: the actual measurement time of the phase shift and the time needed by the algorithm to calculate the oxygen concentration and temperature. The measurement time for 50 frequencies with our setup was below one minute but could be easily improved by reducing the time delays in the communication between the various instruments.

Error Limited Accuracy

28The metrics discussed in the previous sections are useful to compare the network performance and to measure how good the predictions are. However, they do not offer an understanding on what a sensor built with such a model could achieve. For practical applications, the relevant question is rather what is the maximum error the sensor will have in predicting the oxygen concentration and temperature. To answer this question, the ELA (η) defined in Section 2.4 can be used. Figure 6 displays the ELA η( AE) for oxygen concentration (A) and for the temperature (B). In each panel, the results obtained with the bests models described before are shown: the ELAs using the input θ θ θ n and a training for 20'000 epochs are shown in black, and the ELAs obtained using the input θ θ θ s and a training for 100'000 epochs in red. In both cases, the training was performed with mini-batches of size 32. The dashed lines indicate the values of the AE [O 2 ] and AE T for which the error limited accuracy η equals 1. In other words, all the predictions will have an error equal or smaller than AE.

29From Figure 6A can be seen that, for the network trained with θ θ θ s as input, the model would predict perfectly all the oxygen concentrations within 0.95% air error. For the network trained with θ θ θ n this value is further reduced to 0.87% air. AE [O 2 ] can be interpreted as the accuracy a sensor based on this NNM would have. Figure 6B shows the results of the same analysis for the temperature measurement. The interpretation is similar to the one given above for the oxygen concentration. For the network trained with θ θ θ s as input, the model would predict perfectly all the temperature values within AE T = 2.1 • C error. For the network trained with θ θ θ n this value would be AE T = 1.7 • C. The values of AE [O 2 ] and AE T are summarized in Table 2. The black lines are the results obtained with a network that was trained with θ θ θ n as input for 20'000 epochs with mini-batchs of size 32, while the red ones with θ θ θ s as input for 100'000 epochs with mini-batchs of size 32. The dashed lines indicates the values of the AE for which the predictions would give η = 1. Table 2. Summary of the values of AE for the cases shown in Figure 6A,B.

Conclusions

30In this work, the realization of a new type of sensor based on luminescence sensing is presented. The proposed sensor allows parallel inference, or the extraction of multiple physical quantities simultaneously, from a single set of measurements without any a priori mathematical model, even in the presence of cross interferences. Classical approaches to this type of problem in physics can be challenging or impossible to solve if the mathematical models describing the functional dependencies are too complex or even unknown. This sensor, which uses a single luminophore and a single measuring channel can measure simultaneously both the oxygen concentration and the temperature of a medium. This is achieved using a multi-task learning neural network model, which was trained on a very large dataset. The results in the prediction of the oxygen concentration and temperature show unprecedented accuracy for both parameters, demonstrating that this approach could open up the possibility of a new generation of dual-or even multiple-parameter sensors. Estimating the accuracy of a sensor based on a given NNM approach is intrinsically difficult. For this reason, the new metric Error Limited Accuracy ELA is proposed. The ELA enables to estimate how many predicted values lie within a certain absolute error from the expected measurement. This new metric allows therefore the estimation of the maximum measurement error of any NNM-based sensor.

31The ability to predict both [O 2 ] and T at the same time, from a single set of data obtained with a single indicator, has profound implications for the development of luminescence sensors. Sensors will become easier and cheaper to build since no separate temperature measurements are necessary anymore. Generally, this work shows that the effect of interferences can be learned by the neural network and do not need to be corrected for in the data processing.

32This work opens the road to complete new optical sensing approaches for future generations of sensors. Those sensors will be able to extract multiple physical quantities from a common set of data at the same time to achieve consistent results that are both accurate and stable. The described approach is relevant for many practical applications in sensor science and demonstrates that this model-free approach has the potential of revolutionizing optical sensing.

참고문헌 41건

  1. Polymer matrices effects on the sensitivity and the selectivity of optical chemical sensors Sensors and Actuators B Chemical · Elsevier BV · 2010 10.1016/j.snb.2010.04.002
  2. Fiber Optic Sensor for Simultaneous Determination of Atmospheric Nitrogen Dioxide, Ozone, and Relative Humidity Analytical Chemistry · American Chemical Society · 2009 10.1021/ac801756z
  3. Effects of Polymer Matrices on Calibration Functions of Luminescent Oxygen Sensors Based on Porphyrin Ketone Complexes Analytical Chemistry · American Chemical Society · 1996 10.1021/ac960008k
  4. Oxygen Sensors Based on Luminescence Quenching: Interactions of Metal Complexes with the Polymer Supports Analytical Chemistry · American Chemical Society · 1994 10.1021/ac00095a004
  5. &lt;title&gt;Feasibility of optically sensing two parameters simultaneously using one indicator&lt;/title&gt; Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1991 10.1117/12.24791
  6. Dual sensing of oxygen and temperature using quantum dots and a ruthenium complex Analytica Chimica Acta · Elsevier BV · 2007 10.1016/j.aca.2007.11.008
  7. Temperature compensation of fluorescence intensity-based fiber-optic oxygen sensors using modified Stern–Volmer model Sensors and Actuators B Chemical · Elsevier BV · 2008 10.1016/j.snb.2007.12.010
  8. Dual luminescent arrays sensor fabricated by inkjet-printing of pressure- and temperature-sensitive paints Sensors and Actuators B Chemical · Elsevier BV · 2013 10.1016/j.snb.2013.08.011
  9. Photophysics and photochemistry of oxygen sensors based on luminescent transition-metal complexes Analytical Chemistry · American Chemical Society · 1991 10.1021/ac00004a007
  10. Effects of Polymer Matrixes on the Time-Resolved Luminescence of a Ruthenium Complex Quenched by Oxygen The Journal of Physical Chemistry · American Chemical Society · 1995 10.1021/j100010a029
  11. Modelling of phase-fluorometric oxygen sensors: Consideration of temperature effects and operational requirements Sensors and Actuators B Chemical · Elsevier BV · 2005 10.1016/j.snb.2005.03.079
  12. Optical methods for sensing and imaging oxygen: materials, spectroscopies and applications Chemical Society Reviews · Royal Society of Chemistry · 2014 10.1039/c4cs00039k
  13. Multiple fluorescent chemical sensing and imaging Chemical Society Reviews · Royal Society of Chemistry · 2010 10.1039/b909635n
  14. Controlling the sensitivity of optical oxygen sensors Sensors and Actuators B Chemical · Elsevier BV · 1998 10.1016/s0925-4005(98)00211-1
  15. Modeling of Luminescence Quenching-Based Sensors: Comparison of Multisite and Nonlinear Gas Solubility Models Analytical Chemistry · American Chemical Society · 1995 10.1021/ac00104a012
  16. Time-resolved measurements of luminescence Journal of Luminescence · Elsevier BV · 2013 10.1016/j.jlumin.2013.06.034
  17. Exploiting cross sensitivity: achieving integrated temperature compensation via a dual-element optical oxygen sensor Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2006 10.1117/12.718682
  18. A novel planar optical sensor for simultaneous monitoring of oxygen, carbon dioxide, pH and temperature Analytical and Bioanalytical Chemistry · Springer Science+Business Media · 2011 10.1007/s00216-010-4617-4
  19. Dependence of calibration sensitivity of a polysulfone/Ru(II)-Tris(4,7-diphenyl-1,10-phenanthroline)-based oxygen optical sensor on its structural parameters Analytica Chimica Acta · Elsevier BV · 2008 10.1016/j.aca.2008.08.019
  20. Addressing Multiple Indicators on a Single Optical Fiber—Digital Signal Processing Approaches for Temperature Compensated Oxygen Sensing IEEE Sensors Journal · IEEE Sensors Council · 2004 10.1109/jsen.2003.822215
  21. Biological detection by optical oxygen sensing Chemical Society Reviews · Royal Society of Chemistry · 2013 10.1039/c3cs60131e
  22. A Model of Inductive Bias Learning Journal of Artificial Intelligence Research · AI Access Foundation · 2000 10.1613/jair.731
  23. Multi-Task Feature Learning Advances in neural information processing systems · 2007 10.7551/mitpress/7503.003.0010
  24. An Intelligent Optical Dissolved Oxygen Measurement Method Based on a Fluorescent Quenching Mechanism Sensors · Multidisciplinary Digital Publishing Institute · 2015 10.3390/s151229837
  25. Development of oxygen and temperature sensitive membranes using molecular probes as ratiometric sensor Journal of Membrane Science · Elsevier BV · 2016 10.1016/j.memsci.2016.05.019
  26. Principles of Fluorescence Spectroscopy 2006 10.1007/978-0-387-46312-4
  27. Stable Optical Oxygen Sensing Material Based on Perfluorinated Polymer and Fluorinated Platinum(II) and Palladium(II) Porphyrins Procedia Engineering · Elsevier BV · 2016 10.1016/j.proeng.2016.11.203
  28. A Survey on Multi-Task Learning arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1707.08114
  29. An overview of multi-task learning National Science Review · Oxford University Press · 2017 10.1093/nsr/nwx105
  30. A brief review on multi-task learning Multimedia Tools and Applications · Springer Science+Business Media · 2018 10.1007/s11042-018-6463-x
  31. Optical Oxygen Sensing with Artificial Intelligence Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19040777
  32. Multitask Learning Machine Learning · Springer Science+Business Media · 1997 10.1023/a:1007379606734
  33. An Effective Optical Dual Gas Sensor for Simultaneous Detection of Oxygen and Ammonia Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19235124
  34. TADF-Emitting Zn(II)-Benzoporphyrin: An Indicator for Simultaneous Sensing of Oxygen and Temperature ACS Sensors · American Chemical Society · 2020 10.1021/acssensors.9b02512
  35. Dual oxygen and temperature sensing with single indicator using multi-task-learning neural networks 2020 10.1117/12.2554941
  36. Optical Oxygen Sensing with Artificial Intelligence Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19040777
  37. A Model of Inductive Bias Learning Journal of Artificial Intelligence Research · AI Access Foundation · 2000 10.1613/jair.731
  38. Multi-Task Learning for Multi-Dimensional Regression: Application to Luminescence Sensing Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9224748
  39. Optical oxygen sensing with artificial intelligence 2019 10.20944/preprints201901.0047.v1
  40. Multi-Task Learning for Multi-Dimensional Regression: Application to Luminescence Sensing 2019 10.20944/preprints201910.0009.v1
  41. Applied Deep Learning Apress eBooks · Apress · 2018 10.1007/978-1-4842-3790-8