METHOD FOR DETERMINING A GAS CONCENTRATION FROM A GROUP OF SENSORS
20230236120 · 2023-07-27
Inventors
Cpc classification
International classification
Abstract
A method for determining a measure of a gas concentration from a group of at least two non- dispersive infrared, NDIR, gas sensors (S1-SN) is described. The method comprises the steps of obtaining, at a processing unit (1), from each NDIR gas sensor (S1-SN) a measure of a gas concentration as a belief function Pi(x), which provides a probability as a function of the sensed light intensity at a specific wavelength, merging, in the processing unit, the belief functions Pi(x) to a merged belief function P(x). A computer program performing the method is also described.
Claims
1. A method for determining a measure of a gas concentration from a group of at least two non-dispersive infrared, NDIR, gas sensors (S1-SN), wherein the method comprises the steps of obtaining, at a processing unit, from each NDIR gas sensor (S1-SN) a measure of a gas concentration as a belief function P.sub.i(x), which is a probability as a function of the measure of the gas concentration at a specific wavelength, and merging, in the processing unit, the belief functions P.sub.i(x) to a merged belief function P(x).
2. The method according to claim 1, also comprising the step of calibrating each NDIR gas sensor using the merged belief function P(x).
3. The method according to claim 1, wherein the processing unit is a central processing unit (1) which is in communication with each one of the NDIR gas sensors (S1-SN).
4. The method according to claim 1, wherein the merging of the belief functions Pi(x) is performed using the Dempster-Shafer rules for merging.
5. The method according to claim 1, wherein the merging of the belief functions Pi(x) comprises calculation of a weighted average P(x) of the belief functions P.sub.i(x), wherein the weight of each belief function is dependent on the distance W(P.sub.i(x), P.sub.j(x)) between each belief function P.sub.i(x) and the other belief functions P.sub.j,.sub.j≠i(x) such that an increased distance W.sub.2(P.sub.i(x), P.sub.j(x)) of a belief function P.sub.i(x) from the other belief functions P.sub.j,.sub.j≠i(x) results in a decreased weight of the belief function P.sub.i(x).
6. The method according to claim 5 wherein the distance between two belief functions P.sub.i(x), P.sub.j(x) used in the weighting of the belief functions P.sub.i(x) is determined as the Wasserstein distance W.sub.p, where W.sub.p, p≥1 for two probability measures P.sub.i and P.sub.j defined on the gas concentration range is given by
7. The method according to claim 6, wherein the support degree Supp(P.sub.i(x)) of a given belief function P.sub.i(x) is calculated as
8. The method according to claim 1, wherein the method also comprises the step of selecting the NDIR gas sensors (S1-SN) in the group from a plurality of NDIR gas sensors, wherein each NDIR gas sensor (S1-SN) of the plurality of NDIR gas sensors is related to a present position, and wherein the NDIR gas sensors (S1-SN) are selected based on their present position.
9. The method according to claim 8, wherein the NDIR gas sensors (S1-SN) are also related to historic positions and wherein the NDIR gas sensors (S1-SN) are also selected based on their historic positions.
10. The method according to claim 8, wherein the NDIR gas sensors are also selected based on the gas concentration measurements of the NDIR gas sensors (S1-SN).
11. The method according to 8, wherein the selection of NDIR gas sensors (S1-SN) is performed repeatedly over time.
12. A computer program for determining a gas concentration from a group of at least two non-dispersive infrared, NDIR, gas sensors (S1-SN), comprising instructions which, when executed by a processor in a processing unit causes the processing unit to control the processing unit to carry out the method according to claim 1.
13. A processing unit configured for determining a gas concentration from a group of at least two non-dispersive infrared gas, NDIR, sensors (S1-SN), wherein the processing unit is configured to obtain from each NDIR gas sensor (S1-SN) a measure of gas concentration as a belief function, which is a probability as a function of the measure of the gas concentration at a specific wavelength, and merging, in the processing unit the belief functions P.sub.i(x) to a merged belief function P(x).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
DETAILED DESCRIPTION
[0041] In the following detailed description of the invention similar features in the different figures will be denoted with the same reference numeral.
[0042]
[0043] According to the embodiment with a separate processing unit 1, the processing unit obtains from each NDIR gas sensor a measure of a gas concentration as a belief function, which provides a probability as a function of the sensed light intensity measured at a specific wavelength, providing the belief functions from each one of the NDIR gas sensors to a processing unit, and merging, in the processing unit 1, the belief functions P.sub.i(x) to a merged belief function P(x). The merged belief function P(x) provides a more reliable measure of the gas concentration. In order to further improve future measurements of the gas concentration the processing unit 1 may provide the merged belief function to each one of the gas sensors S1-SN for calibration of the gas sensors S1-SN.
[0044]
[0045]
[0046]
[0047]
[0048]
[0049] In the following it will be described in more detail how a merged belief function P(x) may be achieved and calculated.
[0050] The distance between two belief functions P.sub.i(x), P.sub.j(x) used in the weighting of the belief functions P.sub.i(x) is determined as the Wasserstein distance W.sub.p, where W.sub.p, p≥1 for two probability measures P.sub.i and P.sub.j defined on the gas concentration range is given by
wherein Γ(Pi, Pj) denotes the set of joint probability measures P.sub.ij defined on the gas concentration range, with marginals Pi and Pj and d denotes the distance of the gas concentration values from the corresponding random variables. It is favourable to use the Wasserstein distance in the calculations as this discriminates belief functions which differ from the majority of belief functions which measures well the similarity.
[0051] The support degree of a given belief function may be calculated as
wherein
and wherein
[0052] The corresponding weighting factor of belief function Pi is then obtained after normalization, where the weighting factor α.sub.i is expressed as
[0053] The weighted average of all the N belief functions can be expressed
which is used to compute the final belief function for each sensor. There are alternative ways to use the weighted average to compute the merged belief, for instance it is possible to use the Dempster-Shafer rule applied to the weighted average belief function with itself N-1 times.
[0054]
[0055] The above described embodiments may be amended in many ways without departing from the scope of the invention which is limited only by the appended claims.