METHOD FOR FLEXIBLE AND SCALABLE GAS IDENTIFICATION AND QUANTIFICATION IN A MULTI-GAS PLATFORM
20230110328 · 2023-04-13
Inventors
- Cecilia Carbonelli (Munchen, DE)
- Simon Mittermaier (Forstern, DE)
- Sebastian Schober (Ulm, DE)
- Jianyu Zhao (Munchen, DE)
Cpc classification
G01N33/0034
PHYSICS
International classification
G01N33/00
PHYSICS
Abstract
A gas sensing device includes one or more chemo-resistive gas sensors; one or more heat sources; a preprocessing processor; a feature extraction processor; a discriminative embedding network processor for receiving sets of feature values and for creating for each of the sets of feature values a set of embedded feature values; a classification processor for receiving the sets of embedded feature values and for creating a classification value for each set of the embedded feature values, wherein the classification value indicates a class of a mixture of gases; and a quantification processor for receiving the sets of embedded feature values and the classification values, wherein the quantification processor is creates, for each of the gases, a sensing result for each of the sets of embedded feature values.
Claims
1. A gas sensing device for sensing one or more gases in a mixture of gases; the gas sensing device comprising: one or more chemo-resistive gas sensors, wherein each of the gas sensors is configured for generating signal samples corresponding to concentrations of the one or more gases in the mixture of gases; one or more heat sources, wherein the one or more heat sources are controlled in such way that the gas sensors are each heated according to one or more temperature profiles; a preprocessing processor configured for receiving the signal samples from each of the gas sensors and for preprocessing the received signal samples in order to generate preprocessed signal samples for each of the gas sensors; a feature extraction processor configured for receiving the preprocessed signal samples and for extracting a set of feature values from each of the received preprocessed signal samples of the gas sensors based on characteristics of the received preprocessed signal samples of the gas sensors; a discriminative embedding network processor configured for receiving the sets of feature values and for creating for each of the sets of feature values a set of embedded feature values, wherein the discriminative embedding network processor comprises a first trained model based algorithm processor and a first trained model for the first trained model based algorithm processor, wherein the first trained model is configured for applying a loss function using discriminate weights to the sets of feature values in order to create the sets of embedded features values; a classification processor configured for receiving the sets of embedded feature values and for creating a classification value for each set of the embedded feature values, wherein the classification value indicates a class of the mixture of gases, wherein the classification processor comprises a second trained model based algorithm processor and a second trained model for the second trained model based algorithm processor, wherein the sets of embedded feature values are fed to an input of the second trained model based algorithm processor, wherein the classification values are provided at an output of the second trained model based algorithm processor; and a quantification processor configured for receiving the sets of embedded feature values and the classification values, wherein the quantification processor is configured for creating for each of the gases a sensing result for each of the sets of embedded feature values, wherein the quantification processor comprises a third trained model based algorithm processor and a plurality of third trained models for the third trained model based algorithm processor, wherein the sets of embedded feature values are fed to an input of the third trained model based algorithm processor, wherein the sensing result are provided at an output of the third trained model based algorithm processor, wherein one third trained model of the plurality of third trained models is selected for creating the sensing results based on the classification values.
2. A gas sensing device according to claim 1, wherein the one or more gas sensors are alternately operated in recovery phases and in sense phases; wherein the one or more heat sources are controlled in such way that the gas sensors are each heated according to one or more first temperature profiles of the one or more temperature profiles during the recovery phases and according to one or more second temperature profiles of the one or more temperature profiles during the sense phases, wherein for each of the gas sensors a maximum temperature of the respective first temperature profile is higher than a maximum temperature of the respective second temperature profile.
3. A gas sensing device according to claim 1, wherein a number of the chemo-resistive gas sensors is greater than one, wherein at least some of the chemo-resistive gas sensors have different sensitivities towards one or more of the gases.
4. A gas sensing device according to claim 1, wherein the preprocessing processor is configured for executing a baseline calibration algorithm for the signal samples received from the gas sensors.
5. A gas sensing device according to claim 1, wherein the preprocessing processor is configured for executing a filtering algorithm for the signal samples received from the gas sensors.
6. A gas sensing device according to claim 1, wherein the feature extraction processor is configured for extracting from the received preprocessed signal samples a normalized sensor sensitivity as one of the feature values for each of the gas sensors.
7. A gas sensing device according to claim 1, wherein the feature extraction processor is configured for extracting from the received preprocessed signal samples a slope of one of the preprocessed signal samples as one of the feature values for each of the gas sensors.
8. A gas sensing device according to claim 1, wherein the feature extraction processor is configured for extracting from the received preprocessed signal samples for each of the gas sensors a time correlation between a first of the preprocessed signal samples of the respective gas sensor and a second preprocessed signal sample of the respective gas sensor as one of the feature values for the respective gas sensor.
9. A gas sensing device according to claim 1, wherein the feature extraction processor is configured for extracting from the received preprocessed signal samples for each of the gas sensors a spatial correlation between one of the preprocessed signal samples of the respective gas sensor and one of the preprocessed signal sample of another of the gas sensors as one of the feature values for the respective gas sensor.
10. A gas sensing device according to claim 1, wherein the first trained model based algorithm processor is implemented as a first artificial neural network.
11. A gas sensing device according to claim 1, wherein the discriminative embedding network processor comprises a plurality of first gated recurrent units and a discriminative loss computation processor, which are configured for optimizing parameters, in particular weights and/or offsets, of the first trained model.
12. A gas sensing device according to claim 1, wherein the second trained model based algorithm processor is implemented as a second artificial neural network, in particular as a fully connected artificial neural network.
13. A gas sensing device according to claim 1, wherein the second trained model based algorithm processor is implemented as an incremental linear discriminant analysis processor.
14. A gas sensing device according to claim 1, wherein the third trained model based algorithm processor is implemented as a third artificial neural network, in particular as a second gated recurrent unit followed by a fully connected artificial neural network.
15. A gas sensing device according to claim 1, wherein the classification processor is configured for preventing the quantification processor from creating sensing results, in case the classification processor is unable to create one of the classification value for one of the sets of the embedded feature values.
16. A method for operating a gas sensing device for sensing one or more gases in a mixture of gases; the gas sensing device comprising one or more chemo-resistive gas sensors, wherein the method comprises the steps of: using each of the gas sensors for generating signal samples corresponding to concentrations of the one or more gases in the mixture of gases; using one or more heat sources for heating each of the gas sensors according to one or more temperature profiles; using a preprocessing processor for receiving the signal samples from each of the gas sensors and for preprocessing the received signal samples in order to generate preprocessed signal samples for each of the gas sensors; using a feature extraction processor for receiving the preprocessed signal samples and for extracting one or more feature values from the received preprocessed signal samples of each of the gas sensors based on characteristics of the received preprocessed signal samples of the respective gas sensor; using a discriminative embedding network processor for receiving sets of feature values and for creating for each of the sets of feature values a set of embedded feature values, wherein the discriminative embedding network processor comprises a first trained model based algorithm processor and a first trained model for the first trained model based algorithm processor, wherein the first trained model is configured for applying a loss function using discriminate weights to the sets of feature values in order to create the sets of embedded features values; using a classification processor for receiving the sets of embedded feature values and for creating a classification value for each set of the embedded feature values, wherein the classification value indicates a class of the mixture of gases, wherein the classification processor comprises a second trained model based algorithm processor and a second trained model for the second trained model based algorithm processor, wherein the sets of embedded feature values are fed to an input of the second trained model based algorithm processor, wherein the classification values are provided at an output of the second trained model based algorithm processor; and using a quantification processor configured for receiving the sets of embedded feature values, for receiving the classification values, and for creating for each of the gases a sensing result for each of the sets of embedded feature values, wherein the quantification processor comprises a third trained model based algorithm processor and a plurality of third trained models for the third trained model based algorithm processor, wherein the sets of embedded feature values are fed to an input of the third trained model based algorithm processor, wherein the sensing result are provided at an output of the third trained model based algorithm processor, wherein one third trained model of the plurality of third trained models is selected for creating the sensing results based on the classification values.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Preferred embodiments of the invention are subsequently discussed with respect to the accompanying drawings, in which:
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077] Equal or equivalent elements or elements with equal or equivalent functionality are denoted in the following description by equal or equivalent reference numerals.
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0078] In the following description, a plurality of details is set forth to provide a more thorough explanation of embodiments of the present disclosure. However, it will be apparent to those skilled in the art that embodiments of the present disclosure may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form rather than in detail in order to avoid obscuring embodiments of the present disclosure. In addition, features of the different embodiments described hereinafter may be combined with each other, unless specifically noted otherwise.
[0079]
[0080] The gas sensing device 1 is configured for sensing one or more gases in a mixture of gases. The gas sensing device 1 comprises:
[0081] one or more chemo-resistive gas sensors 2, wherein each of the gas sensors 2 is configured for generating signal samples SIG corresponding to concentrations of the one or more gases in the mixture of gases;
[0082] one or more heat sources 3, wherein the one or more heat sources 3 are controlled in such way that the gas sensors 2 are each heated according to one or more temperature profiles FTP, STP;
[0083] a preprocessing processor 4 configured for receiving the signal samples SIG from each of the gas sensors 2 and for preprocessing the received signal samples SIG in order to generate preprocessed signal samples PSS for each of the gas sensors 2;
[0084] a feature extraction processor 5 configured for receiving the preprocessed signal samples PSS and for extracting a set of feature values FV from each of the received preprocessed signal samples PSS of the gas sensors 2 based on characteristics of the received preprocessed signal samples PSS of the gas sensors 2;
[0085] a discriminative embedding network processor 6 configured for receiving the sets of feature values FV and for creating for each of the sets of feature values FV a set of embedded feature values EV, wherein the discriminative embedding network processor 6 comprises a first trained model based algorithm processor 7 and a first trained model 8 for the first trained model based algorithm processor 7, wherein the first trained model 8 is configured for applying a loss function using discriminate weights to the sets of feature values FV in order to create the sets of embedded features values EV;
[0086] a classification processor 9 configured for receiving the sets of embedded feature values EV and for creating a classification value CV for each set of the embedded feature values EV, wherein the classification value CV indicates a class of the mixture of gases, wherein the classification processor 9 comprises a second trained model based algorithm processor 10 and a second trained model ii for the second trained model based algorithm processor 10, wherein the sets of embedded feature values EV are fed to an input 12 of the second trained model based algorithm processor 10, wherein the classification values CV are provided at an output 13 of the second trained model based algorithm processor 10; and a quantification processor 14 configured for receiving the sets of embedded feature values EV and the classification values CV, wherein the quantification processor 14 is configured for creating for each of the gases a sensing result SR for each of the sets of embedded feature values EV, wherein the quantification processor 14 comprises a third trained model based algorithm processor 15 and a plurality of third trained models 16 for the third trained model based algorithm processor 15, wherein the sets of embedded feature values EV are fed to an input 17 of the third trained model based algorithm processor 15, wherein the sensing result SR are provided at an output 18 of the third trained model based algorithm processor 15, wherein one third trained model 16 of the plurality of third trained models 16 is selected for creating the sensing results SR based on the classification values CV.
[0087] According to embodiments of the disclosure the preprocessing processor 4 is configured for executing a baseline calibration algorithm for the signal samples SIG received from the gas sensors 2.
[0088] According to embodiments of the disclosure the preprocessing processor 4 is configured for executing a filtering algorithm for the signal samples SIG received from the gas sensors 2.
[0089] According to embodiments of the disclosure the feature extraction processor 5 is configured for extracting from the received preprocessed signal samples PSS a normalized sensor sensitivity as one of the feature values FV for each of the gas sensors 2.
[0090] According to embodiments of the disclosure the feature extraction processor 5 is configured for extracting from the received preprocessed signal samples PSS a slope of one of the preprocessed signal samples PSS as one of the feature values FV for each of the gas sensors 2.
[0091] According to embodiments of the disclosure the feature extraction processor 5 is configured for extracting from the received preprocessed signal samples PSS for each of the gas sensors 2 a time correlation between a first of the preprocessed signal samples PSS of the respective gas sensor 2 and a second preprocessed signal sample PSS of the respective gas sensor 2 as one of the feature values FV for the respective gas sensor 2.
[0092] According to embodiments of the disclosure the feature extraction processor 5 is configured for extracting from the received preprocessed signal samples PSS for each of the gas sensors 2 a spatial correlation between one of the preprocessed signal samples PSS of the respective gas sensor 2 and one of the preprocessed signal sample PSS of another of the gas sensors 2 as one of the feature values FV for the respective gas sensor 2.
[0093] According to embodiments of the disclosure the classification processor 9 is configured for preventing the quantification processor 14 from creating sensing results, in case the classification processor 9 is unable to create one of the classification value CV for one of the sets of the embedded feature values EV.
[0094] In a further aspect, the disclosure refers to a method for operating a gas sensing device 1 for sensing one or more gases in a mixture of gases, wherein the gas sensing device 1 comprises one or more chemo-resistive gas sensors 2, wherein the method comprises the steps of:
[0095] using each of the gas sensors 2 for generating signal samples SIG corresponding to concentrations of the one or more gases in the mixture of gases;
[0096] using one or more heat sources 3 for heating each of the gas sensors 2 according to one or more temperature profiles FTP, STP;
[0097] using a preprocessing processor 4 for receiving the signal samples SIG from each of the gas sensors 2 and for preprocessing the received signal samples SIG in order to generate preprocessed signal samples PSS for each of the gas sensors 2;
[0098] using a feature extraction processor 5 for receiving the preprocessed signal samples PSS and for extracting one or more feature values FV from the received preprocessed signal samples PSS of each of the gas sensors 2 based on characteristics of the received preprocessed signal samples PSS of the respective gas sensor 2;
[0099] using a discriminative embedding network processor 6 for receiving the sets of feature values FV and for creating for each of the sets of feature values FV a set of embedded feature values EV, wherein the discriminative embedding network processor 6 comprises a first trained model based algorithm processor 7 and a first trained model 8 for the first trained model based algorithm processor 7, wherein the first trained model 8 is configured for applying a loss function using discriminate weights to the sets of feature values FV in order to create the sets of embedded features values EV;
[0100] using a classification processor 9 for receiving the sets of embedded feature values EV and for creating a classification value CV for each set of the embedded feature values EV, wherein the classification value CV indicates a class of the mixture of gases, wherein the classification processor 9 comprises a second trained model based algorithm processor 10 and a second trained model ii for the second trained model based algorithm processor 10, wherein the sets of embedded feature values EV are fed to an input 12 of the second trained model based algorithm processor 10, wherein the classification values CV are provided at an output 13 of the second trained model based algorithm processor 10; and
[0101] using a quantification processor 14 configured for receiving the sets of embedded feature values EV, for receiving the classification values CV, and for creating for each of the gases a sensing result SR for each of the sets of embedded feature values EV, wherein the quantification processor 14 comprises a third trained model based algorithm processor 15 and a plurality of third trained models 16 for the third trained model based algorithm processor 15, wherein the sets of embedded feature values EV are fed to an input 17 of the third trained model based algorithm processor 15, wherein the sensing result SR are provided at an output 18 of the third trained model based algorithm processor 15, wherein one third trained model 16 of the plurality of third trained models 16 is selected for creating the sensing results SR based on the classification values CV.
[0102] After the preprocessing processor 4 and feature extraction processor 5 a discriminative embedding processor 6 is introduced which embeds the sets of feature values FV into a new space where the embedded feature values EV have better separability. The discriminative embedding processor 6 may be implemented as a neural network with a contrastive ‘distance-learning’ loss function such that, after transformation, embedded feature values EV belonging to the same gas or gas mixture types are closer to each other and those belonging to different gas types or gas mixtures are further apart. An example is provided in
[0103] It is sufficient to train the discriminative embedding network processor 6 on a selection of representative mixtures of gases. Afterwards, the discriminative embedding network processor 6 shall be capable of discriminating also unseen gases or use-cases.
[0104] Depending on the target application of the product, certain target gases or mixtures of gases have to be identified. For example, it was observed that, in a mixture, nitrogen dioxide is masked by ozone and, as such, nitrogen dioxide cannot—and shall not—be estimated in the presence of ozone. In this specific case, we need to identify three classes: specifically, nitrogen dioxide only, air, or ozone dominated gas mixture. Thresholds may be used to identify the different categories. For instance, ‘nitrogen dioxide only’ means nitrogen dioxide >1 ppb and ozone <10 ppb, ‘ozone-mixture’ corresponds to ozone >=10 ppb and ‘Air’ means ozone <10 ppb and nitrogen dioxide <1 ppb, and so on.
[0105] For other products/applications, a mixture of gases can still come into play (for example, a mixture of ozone and carbon monoxide) and, as such, this class and respective weights will have to be enabled at the classification processor 9.
[0106] Thanks to the initial discriminative feature embedding, the classification processor 9 can quite reliably identify, for each set of embedded feature values EV over time, the relevant class or scenario and, as such, recommend a certain third trained model 16 (regressor model) to the quantification processor 14, which eventually quantifies the concentration of the gases of interest for the corresponding time sample.
[0107] Furthermore, the classification processor 9 can also be equipped with an additional output, which detects an unknown gas for which then no concentration shall be estimated since no third trained model 16 is available for it. A possible implementation is shown in
[0108] The quantification processor 14 may apply O3-mixture and NO2-only weights from a specific third trained model 16 to the incoming sets of embedded feature values EV. In other applications, where the gas sensing device 1 is selective to more gases and more than one gas concentration has to be estimated at the same time, then gas mixture weights from another third trained model 16 will be applied.
[0109] Thanks to the initial discriminative feature embedding and to the presence of the classification processor 9, which provides the quantification processor 14 with additional information on the specific scenario, the quantification processor 14 can be greatly simplified and one can resort to simpler processing steps. A possible implementation is shown in
[0110]
[0111]
[0112] According to embodiments of the disclosure the first trained model based algorithm processor 6 is implemented as a first artificial neural network.
[0113] According to embodiments of the disclosure the discriminative embedding network processor 6 comprises a plurality of first gated recurrent units 19 and a discriminative loss computation processor 20, which are configured for optimizing parameters, in particular weights and/or offsets, of the first trained model 8.
[0114] The discriminative embedding network 6 may be implemented as a triplet gated recurrent unit network with triplet loss defined as
Loss=max(D.sub.+−D.sub.−α,0.0)
where
D.sub.+=Σ(GRU(F)−GRU(F.sup.+)).sup.2
D.sub.−=Σ(GRU(F)−GRU(F.sup.−)).sup.2
and α is a parameter such that 0<α<1. The training strategy is shown in
[0115] The recurrent nature of the triplet approach above achieves superior performance when dealing with time series data from low cost gas sensors 2. The difficulty here is that feature values FV from the past need to be included, since instantaneous feature values FV are not sufficient to correctly identify and learn the dynamics of the signal samples SIG.
[0116] Furthermore, thanks to the discriminative embedding network processor 6 in
[0117]
[0118] According to embodiments of the disclosure the second trained model based algorithm processor 13 is implemented as a second artificial neural network, in particular as a fully connected artificial neural network.
[0119] According to embodiments of the disclosure the second trained model based algorithm processor 10 is implemented as an incremental linear discriminant analysis processor (not shown).
[0120] In its simplest form, the classification processor 9 could be implemented as a fully connected (FC) neural network with weights adjusted to the target output of the gas sensing device 1. As illustrated in
P.sub.cl(t)=softmax(W.sub.ciF.sub.em(t)+b.sub.cl)
[0121] For each temporal set of embedded feature values EV, the classification processor 9 assigns a value P.sub.cl(t) of the classification value CV and passes this information to the quantification processor 14. For example, P.sub.cl (t) could be chosen out of the set ‘NO2-only’, O3-Mixture’ or ‘Air’. Alternatively, a linear discriminant analysis classifier could also replace the fully connected layer in
[0122]
[0123] According to embodiments of the disclosure the third trained model based algorithm processor 15 is implemented as a third artificial neural network, in particular as a second gated recurrent unit 21 followed by a fully connected artificial neural network 22.
[0124] Based on the recommendation of the classification processor 9, the appropriate pretrained set of weights and offsets, W.sub.rg and b.sub.rg, may be selected for second gated recurrent unit 21 and the second gated recurrent unit 21, applied to the same values F.sub.em(t) of the embedded feature values EV used at the classification processor 9 and one or multiple gas predictions, for example in ppb/ppm, are finally delivered as illustrated in
[0125] If an unknown gas is found or if the classification processor 9 is not sure about its own output decision, which can be determined by the differences among class probabilities not exceeding a certain threshold, then the quantification processor 14 output may be put on standby.
[0126] Thanks to the improved embedded representation, simpler 1-D (single gas) weights/filters can be applied at the regressor as an alternative to complex 2D weights/filters learnt in gas mixture scenarios.
[0127]
[0128]
[0129]
[0130]
[0131] The upper chart shows the values “Pred NO2” of the sensing results SRI for a first gas, which is in this example nitrogen oxide, and the true values “True NO2” for the first gas over time.
[0132] The chart in the middle shows the values “Pred O3” of the sensing results SR.sub.2 for a second gas, which is in this example ozone, and the true values “True O3” for the second gas over time.
[0133] The lower chart shows the values “prediction” of the classification values CV and the true values “label” of the scenario over time.
[0134]
[0135] According to embodiments of the disclosure a number of the chemo-resistive gas sensors 2 is greater than one, wherein at least some of the chemo-resistive gas sensors 2 have different sensitivities towards one or more of the gases.
[0136] Each sensor 2.1, 2.2, 2.3 and 2.4 in the array is heated by a heat source 3, whose temperature is being pulsed between first temperature T1 during a recovery phase and a second temperature T2 during sense phase (see Figure ii). In other embodiments, the sensors 2.1, 2.2, 2.3 and 2.4 in the array are heated by a plurality of heat sources 3. For example, each of the sensors 2.1, 2.2, 2.3 and 2.4 could be heated individually by one heat source of the plurality of the heat sources. The result of these controlled temperature oscillations is a more dynamic behavior of the signal samples SIG1, SIG2, SIG3, SIG4 as shown in
[0137] Several implementations of temperature pulsing mechanism are possible. For example, the temperature modulation could be the same for all sensors 2.1, 2.2, 2.3 and 2.4 or different in order to better exploit the different functionalizations of the base material and to improve gas separability. Similarly, multiple heater controls can be used (one for each sensor 2.1, 2.2, 2.3 and 2.4) or, alternatively, a single heater control in time division multiplexing with different applied voltages so as to obtain sensor specific temperature values.
[0138] The sensors 2.1, 2.2, 2.3 and 2.4 form a multi-gas sensor array, where a base material consisting of graphene is functionalized with different chemicals (e.g., Pd, Pt, and MnO2) for dissimilar selectivity. The interaction between graphene sheets and absorbed gas analytes would influence the electronic structure of the material, resulting in altered charge carrier concentrations and changed electrical conductance. Meanwhile, due to different sensitivity towards various gas molecules resistances of the sensors 2.1, 2.2, 2.3 and 2.4 also change in disparate patterns, making it possible to analyze complicated gas mixtures with one single sensor array.
[0139]
[0140] According to embodiments of the disclosure the one or more gas sensors 2 are alternately operated in recovery phases RP and in sense phases SP;
[0141] wherein the one or more heat sources 3 are controlled in such way that the gas sensors 2 are each heated according to one or more first temperature profiles FTP of the one or more temperature profiles FTP, STP during the recovery phases RP and according to one or more second temperature profiles STP of the one or more temperature profiles FTP, STP during the sense phases SP, wherein for each of the gas sensors 2 a maximum temperature of the respective first temperature profile FTP is higher than a maximum temperature of the respective second temperature profile STP.
[0142] In the particular example of
[0143] Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent a description of the corresponding method, where a block or device corresponds to a method step or a feature of a method step. Analogously, aspects described in the context of a method step also represent a description of a corresponding block or item or feature of a corresponding apparatus.
[0144] The above described is merely illustrative, and it is understood that modifications and variations of the arrangements and the details described herein will be apparent to others skilled in the art. It is the intent, therefore, to be limited only by the scope of the impending claims and not by the specific details presented by way of description and explanation above.