The present application claims priority from Japanese application JP2021-075204, filed on Apr. 27, 2021, the contents of which is hereby incorporated by reference into this application.
The present invention relates to a gas detection system and a gas detection method.
In addition to a device such as an on-site fire alarm, technical development of an odor measurement device using a combination of a plurality of odor sensors having different sensitivities has progressed. As such a technique, a method for identifying an odor type based on output patterns of a plurality of odor sensors and a method for executing machine learning on sensor data and analyzing a component have been proposed.
As such a technique, JP-A-2018-194314 discloses that “a gas analysis device 100 includes: a chamber 10; three or more gas sensors 30a, 30b, and 30c that are provided in the chamber and that include gas sensitive members having different material compositions; a storage unit 63 that stores in advance information for converting responses of the gas sensitive members of the three or more gas sensors into concentrations for a plurality of gas types whose components and concentrations are known; a detection unit that detects responses of the gas sensitive members of the three or more gas sensors for gas to be measured; and a gas type identification unit that calculates conversion concentrations of the plurality of gas types using the information stored in the storage unit and the responses detected by the detection unit and that identifies a gas type having a smallest variation among differences between conversion concentrations of a specific gas sensor of the three or more gas sensors and conversion concentrations corresponding to the other two or more gas sensors”.
In such a gas detection system, it is necessary to individually customize gas components to be detected. However, it is required not to customize an odor sensor depending on an environment in order to improve versatility of the device.
The invention has been made in view of such a circumstance, and an object of the invention is to provide a gas detection system or the like that does not require customization of an odor sensor depending on an environment.
To solve the above problem, the invention provides a gas detection system. The gas detection system includes an element array including a plurality of gas detection elements having different characteristic sensitivities, a conversion unit configured to convert each of output values acquired from the gas detection elements constituting the element array into an output ratio as a ratio of the output value to a predetermined value, and a determination unit configured to determine, by comparing a normal range generated based on a result of executing first pattern classification on a past output ratio acquired from each of the gas detection elements constituting the element array in the past with the output ratio obtained by the conversion unit executing the conversion, whether the output ratio is within the normal range.
According to the invention, it is possible to provide a gas detection system or the like that does not require customization of an odor sensor depending on an environment.
Other problems, configurations, and effects will be clarified based on description of embodiments as follows.
An embodiment according to the invention will be described hereinafter with reference to the accompanying drawings. The embodiment is an example for describing the invention, and omission and simplification are appropriately made for clarified description. The invention can be implemented in various other forms. Unless otherwise specified, components may be singular or plural.
Positions, sizes, shapes, ranges, and the like of the components showed in the drawings may not represent actual positions, sizes, shapes, ranges, and the like in order to facilitate understanding of the invention. Therefore, the invention is not necessarily limited to the positions, sizes, shapes, ranges, and the like disclosed in the drawings.
When there are a plurality of components having the same or similar functions, different subscripts may be added to the same reference numeral. When it is not necessary to distinguish the plurality of components from one another, the subscripts may be omitted in the description.
In the embodiment, processing executed by executing a program may be described. Here, a computer executes a program by a processor (for example, a CPU 212 (see
A program may be installed in a computer from a program source. The program source may be, for example, a program distribution server or a storage medium readable by a computer. When the program source is a program distribution server, the program distribution server may include a processor and a storage resource that stores a program to be distributed, and the processor of the program distribution server may distribute the program to be distributed to another computer. In the embodiment, two or more programs may be implemented as one program, or one program may be implemented as two or more programs.
As shown in
The odor measurement device 1 includes a sensor array 100 including a plurality of sensors 110 (see
The cloud server 2 includes a pre-learning unit 201, a pre-processing unit 202, a cluster processing unit 203, an odor determination processing unit 204, an unusual odor determination processing unit 205, and a notification unit 206.
The pre-learning unit 201 converts a sensor output (output voltage) measured in advance by the sensor array 100 into an output ratio. Further, the pre-learning unit 201 classifies the sensor output of the sensors 110 into clusters by executing cluster analysis.
The preprocessing unit 202 executes pre-processing such as converting a measured sensor output of each sensor 110 into an output ratio to attain a format suitable for cluster classification to be executed thereafter. In the present embodiment, measurement in a processing stage of the pre-learning unit 201 is referred to as “pre-measurement”, and measurement in processing executed by the pre-processing unit 202, the cluster processing unit 203, the odor determination processing unit 204, the unusual odor determination processing unit 205, and the notification unit 206 is simply referred to as “measurement”.
The cluster processing unit 203 executes cluster classification based on the pre-processed sensor output. Specifically, the cluster processing unit 203 determines to which cluster the sensor output is classified among the clusters classified by the pre-learning unit 201. When a measured result coincides with unusual odor information, cluster analysis of the output ratio is executed again.
The odor determination processing unit 204 sets a level to a cluster, determines which level an odor of an environment to be measured is, and executes processing according to the level.
The unusual odor determination processing unit 205 determines whether an unusual odor has been detected based on the output ratio.
The notification unit 206 issues an alarm when the unusual odor determination processing unit 205 determines that an unusual odor has been detected.
The database 3 stores cluster information 301, normal range information 302, and abnormality information 303.
In the cluster information 301, information on a cluster generated by category analysis is stored.
The normal range information 302 stores a range of an output ratio determined to be normal by the unusual odor determination processing unit 205.
The abnormality information 303 stores information on an output ratio determined to be abnormal.
The network N may be capable of fifth-generation (5G) communication.
As shown in
In the present embodiment, the sensors 110 are odor sensors. Specifically, the sensors 110 are implemented by a semiconductor gas sensor, a sensitive film using an organic film, or the like, and respond to a specific odor. The sensors 111 to 115 are odor sensors having different characteristic sensitivities. For example, the sensor 111 is an odor sensor having a characteristic sensitivity for an ethanol-based odor, and the sensor 112 is an odor sensor having a characteristic sensitivity for a ketone-based odor. Similarly, a sensor 113 is an odor sensor having a characteristic sensitivity for a hydrogen-based odor, a sensor 114 is an odor sensor having a characteristic sensitivity for an ammonia-based odor, and a sensor 115 is an odor sensor having a characteristic sensitivity for a hydrocarbon-based odor.
The present embodiment shows an example in which five types of five sensors 110 are provided in the sensor array 100. However, the invention is not limited thereto, and two or more sensors 110 may be provided in the sensor array 100. Types of the sensors 110 provided in the sensor array 100 are different.
As shown in
In the example shown in
In the present embodiment, the smartphone 140 is connected to the odor measurement terminal 130, but the invention is not limited thereto. The odor measurement terminal 130 may be one device including the sensor array 100 and the data transmission unit 121.
Hereinafter, the first base correction in the present embodiment will be described with reference to
First, the pre-learning unit 201 acquires sensor outputs in the outside air (base environment) from the sensors 110 (S101). Measurement executed in step S101 is different from pre-measurement in step S201 in
Then, the pre-learning unit 201 executes correction (first base correction) such that each sensor output becomes constant (S102). In the first base correction, the sensors 110 are adjusted individually such that the sensor outputs of the sensors 110 are substantially equal to one another. Adjustment is generally executed by the user.
The measurement in the outside air in step S101 may be executed for a certain period of time, and the pre-learning unit 201 may execute the first base correction based on an average value of the measurement.
First,
In
In
That is, in
Next, the pre-learning processing according to the present embodiment will be described with reference to
First, the pre-learning unit 201 executes, using the sensor array 100 on which the first base correction has been executed, pre-measurement for a certain period of time in an environment (factory in the present embodiment) to be measured (S201 in
A vertical axis and a horizontal axis in
In a bar graph in
In
Then, the pre-learning unit 201 calculates output ratios of the sensors 110 based on the result shown in
An output ratio Yn of the certain sensor 110 at a certain time t is calculated according to the following equations (1) and (2).
Yn(t)=|Xn(t)|/Xall(t) (1)
Xall(t)=|X1(t)|+|X2(t)|+|X3(t)|+|X4(t)|+|X5(t)| (2)
Here, n is a sensor number. That is, when n=1, the sensor 111 is indicated, and when n=2, the sensor 112 is indicated. Similarly, when n=3, the sensor 113 is indicated, when n=4, the sensor 114 is indicated, and when n=5, the sensor 115 is indicated. X1(t) indicates the output voltage of the sensor 111 at the time t, and X2(t) indicates the output voltage of the sensor 112 at the time t. Similarly, X3(t) indicates the output voltage of the sensor 113 at the time t, X4(t) indicates the output voltage of the sensor 114 at the time t, and X5(t) indicates the output voltage of the sensor 115 at the time t. Since the output voltages may be shifted to a negative side, each output voltage is represented by an absolute value.
In
In
As described above, an output ratio represented in the equations (1) and (2) is calculated for each pre-measurement time of the sensor array 100. A variation region of the output ratio is indicated by the box in
Then, the pre-learning unit 201 selects a reference sensor from the sensors 110 (S203 in
The reference sensor is selected according to the following conditions (A1) and (A2).
(A1) The reference sensor belongs to a category having a small variation range (whiskers in
(A2) A variation range (box in
The pre-learning unit 201 selects the reference sensor by prioritizing the condition (A2) over the condition (A1). For example, when variation ranges of the output ratios of the sensors 110 constituting the sensor array 100 are approximately the same, the pre-learning unit 201 selects the reference sensor based on the condition (A1). A fact that the variation ranges of the output ratios of the sensors 110 are approximately the same is described below. For example, a variation range of the sensor 110 having a maximum variation range is denoted by Wmax. A variation range of the sensor 110 other than the sensor 110 having a maximum variation range is denoted by W. In this case, Wmax>W≥0.95×Wmax. In examples in
Then, the pre-learning unit 201 executes the cluster analysis (first pattern classification) based on the output ratios of the sensors 110 (S204 in
For example, when the output ratios of the sensors 111 to 115 are {x1, x2, x3, x4, x5}, a group of the output ratios is classified into a “cluster C1”. When the output ratios of the sensors 111 to 115 are {x11, x21, x31, x41, x51}, a group of the output ratios is classified into a “cluster C2” different from the “cluster C1”. In this way, the cluster is a set of groups of values of the sensors 111 to 115.
Sensitivity measurement of the sensors 110 for an environment to be measured is executed by processing in steps S201 to S203.
The pre-learning unit 201 stores a result of the cluster analysis in step S204 in
Next, the measurement and analysis according to the present embodiment will be described with reference to
First, the sensor array 100 executes real-time measurement (measurement), for example, at an interval of 0.5 seconds in an environment (factory in the present embodiment) to be measured (S301 in
Subsequently, the pre-processing unit 202 executes second base correction (S302 in
The second base correction executed in step S302 in
In
Here, the graph G1 indicates the time variation of the output voltage of the sensor 111, the graph G2 indicates the time variation of the output voltage of the sensor 112, and the graph G3 indicates the time variation of the output voltage of the sensor 113. Further, the graph G4 indicates the time variation of the output voltage of the sensor 114, and the graph G5 indicates the time variation of the output voltage of the sensor 115.
In
The pre-processing unit 202 executes the second base correction shown in step S302 in
In
In
In the second base correction, a time may be determined at which the sensor outputs of the sensors 110 are aligned. In an example in
Thereafter, the pre-processing unit 202 substitutes the sensor outputs after the second base correction into the equations (1) and (2), and calculates output ratios at each measurement time and a total output (equation (2)) (S303 in
A graph G21 is a graph showing a time change in output ratios of the sensor 113 after the second base correction has been executed. A graph G22 is a graph shown as a comparison target, and is a graph showing a time change in the output ratios of the sensor 113 before the second base correction is executed.
Widths of portions indicated by dash-dotted lines in
After step S303 in
After step S304 in
A level setting method includes, for example, the following methods.
(B1) The level is set according to an average value of the output ratios of the reference sensor (the sensor 113 in the present embodiment). The average value in (B1) refers to an average value of the output ratios in a cluster.
For example, the following levels are set for average values in the clusters of the sensor 113 selected as the reference sensor in the example according to the present embodiment.
Average value: 0.16→Level 5
Average value: 0.17→Level 4
Average value: 0.19→Level 3
Average value: 0.21→Level 2
Average value: 0.22→Level 1
Here, a reason why the level increases as the average value decreases is that the sensor 113 is the sensor 110 whose sensor output decreases as a predetermined odor is stronger. The sensor 113 is a calculation target of the average value. When the sensor 110 whose sensor output increases as the predetermined odor is stronger is selected as the reference sensor, the level may increase as the average value increases. The predetermined odor refers to an oily smell in the example according to the present embodiment.
(B2) The level is set according to an average value of Xall (equation (2)) in a cluster. Hereinafter, the average value of Xall in a cluster is referred to as a total average value. For example, the odor determination processing unit 204 calculates the total average value of all the sensors 110 in each cluster. Then, the odor determination processing unit 204 sets a level for each cluster based on the calculated total average value. For example, levels are set as follows.
Total average value: 5.5 V→Level 5
Total average value: 4.2 V→Level 4
Total average value: 3.7 V→Level 3
Total average value: 3.4 V→Level 2
Total average value: 3.1 V→Level 1
In the above example, the level increases as the total average value increases. However, for example, when the total average value decreases as the predetermined odor is stronger, the level may increase as the total average value decreases.
In the present embodiment, a level of a cluster is set based on an average value, but the invention is not limited thereto. For example, in a case in which an average value is not suitable as a level setting reference, such as a case in which a large outlier is present, the odor determination processing unit 204 may set the level of the cluster according to a median value.
In the present embodiment, the level of the cluster is set at a stage of step S305 in
Both of the methods (B1) and (B2) may reverse an increasing direction of the level.
An example of the level set according to the method (B1) will be described with reference to
An upper part of
A lower part of
In the lower part of
In the lower part of
Then, the output ratio of the sensor 113 greatly decreases at positions indicated by arrows AR1 and AR2 in the lower part of
After step S305 in
As an example of the level processing, the following can be considered.
(D1) Air conditioning management in the factory according to the level.
(D2) Estimation and abnormality detection of the number of operating devices in the factory.
(D3) Unusual odor leakage warning from the factory.
If unusual odor leakage is in, for example, the “level 4” or higher, the odor determination processing unit 204 determines that the unusual odor leakage occurs.
Hereinafter, a specific example of (D2) will be described with reference to
In an upper part of
A lower part of
Data shown in the upper part and the lower part of
Then, the odor determination processing unit 204 estimates the number of operating devices in the factory based on the determined level. Thereafter, the odor determination processing unit 204 determines whether a deviation occurs between the estimated number of operating devices in the factory and the actual number of operating devices, and detects an abnormality in the devices in the factory and loads on the devices in the factory ((D2) described above).
Subsequently, the unusual odor determination processing unit 205 reads the normal range information 302 from the database 3, and determines whether the output ratios of the sensors 110 are within a normal range (S311).
In
In
The normal ranges as shown in
If the output ratio of any one of the sensors 110 among the current output ratios deviates from the normal range (S311→No in
Then, the unusual odor determination processing unit 205 determines whether the current output ratios coincide with registered unusual odor data (S321 in
Then, if the current output ratios coincide with the abnormality information 303 (S321→Yes in
On the other hand, if the current output ratios do not coincide with the registered abnormality information 303 (S321→No), the cluster processing unit 203 executes the cluster analysis again using data of the output ratios including the output ratio determined to be deviated from the normal range in step S311 in
Then, as a result of the cluster analysis, the unusual odor determination processing unit 205 determines whether the output ratio deviating from the normal range is classified as a cluster (another cluster) different from the previous clusters (S331 in
When the output ratio deviating from the normal range is not classified as a cluster different from the previous clusters (S331→No), the unusual odor determination processing unit 205 updates the normal range (S332 in
When the output ratio deviating from the normal range is classified as a cluster different from the previous clusters (S331→Yes), the unusual odor determination processing unit 205 determines the output ratio determined to be deviated from the normal range as information indicating that an unusual odor has been detected. Then, the notification unit 206 issues an alarm (S334), and the unusual odor determination processing unit 205 additionally registers the output ratio determined to be deviated from the normal range as the abnormality information 303 (S335).
In the present embodiment, odor measurement in the factory is described as an example. Alternatively, the odor measurement system F according to the present embodiment may be applied to odor measurement in another environment to be measured.
For example,
Here, when the result in
The odor measurement system F according to the present embodiment can be applied to places other than the factory or the office described in the present embodiment. An application range of the odor measurement system F according to the present embodiment is wide, and for example, the odor measurement system F can be applied to odor management in a smoking area or odor management of a crop or soil.
In the present embodiment, the sensor 110 having the smallest variation range and a maximum output ratio range is selected as the reference sensor, but the method for selecting the reference sensor is not limited thereto.
In the present embodiment, the equations (1) and (2) are used as calculation expressions of an output ratio, but the invention is not limited thereto. For example, the output ratio may be calculated according to the following equation (11) in which an absolute value of the sensor output (output voltage) of each sensor 110 is divided by an absolute value of the sensor output of the reference sensor.
Yn(t)=|Xn(t)|/|Xc(t)| (11)
Here, n is the number of the sensor 110. Further, t is a time. Xc(t) is the sensor output of the reference sensor. For example, since the sensor 115 is selected as the reference sensor in the result in
The output ratio as in the equation (11) may be used when the sensor 110, in which the sensor output of the sensor 110 changes with a logarithmic function, is used. Examples of the sensor 110, in which the sensor output of the sensor 110 changes with the logarithmic function, include an odor sensor using a crystal oscillator. Even when the sensor 110 in which the sensor output changes with the logarithmic function and the sensor 110 in which the sensor output changes linearly are mixed, the output ratio according to the equation (11) may be used.
Two or more reference sensors may be selected. Further, the quantitative sensor 110 may be used as a reference sensor. Therefore, the sensors 110 constituting the sensor array 100 may include a combination of the qualitative sensor 110 and the quantitative sensor 110. Examples of the quantitative odor sensor include a photoacoustic sensor and a near-infrared ray absorption sensor. Examples of the qualitative odor sensor include a semiconductor sensor and an odor sensor using a sensitive film having a chemical adsorption function.
The cloud server 2 includes a memory 211, a central processing unit (CPU) 212, a storage device 213 such as a hard disk (HD), and a communication device 214.
Programs stored in the storage device 213 are loaded into the memory 211 and executed by the CPU 212, whereby the units 201 to 206 shown in
The odor measurement system F according to the present embodiment includes the plurality of sensors 110 having different characteristic sensitivities. The odor measurement system F compares a normal range obtained as a result of executing cluster analysis on the output ratios based on the sensor outputs output in the past (pre-measurement) from the sensors 110 with the output ratios based on the sensor outputs currently output from the sensors 110. Then, as a result of the comparison, the odor measurement system F determines whether the output ratios based on the sensor outputs currently output from the sensors 110 are within the normal range. A sensor configuration that varies for each environment to be measured is not required using the normal range obtained as a result of executing the cluster analysis on the past output ratios, and thus versatility of the sensor 110 is improved. In other words, it is not required to customize the configuration of the sensor 110 of the sensor array 100 depending on the environment to be measured.
In related-art odor measurement techniques, drift or the like may occur in the output of the odor sensor due to environmental change during measurement or gas flow velocity change at the time of suctioning ambient gas by a pump. The odor measurement system F according to the present embodiment calculates the output ratio obtained by normalizing the sensor outputs of the sensors 110. Then, the odor measurement system F determines normality or abnormality using the output ratio. Accordingly, it is possible to correct a voltage change (drift) of the entire sensors 110 due to the environmental change during measurement. Therefore, it is possible to execute the category analysis in which an influence of drift has been corrected by executing the category analysis based on the output ratio. The normal range generated based on such category analysis is a normal range in which the influence of drift has been corrected. Thus, the odor measurement system F according to the present embodiment can improve accuracy of normality or abnormality determination.
Further, in the related-art odor measurement techniques, a suction completion type measurement method has been disclosed, which has problems that measurement time is long and real-time performance cannot be ensured. The odor measurement system F according to the present embodiment can ensure real-time performance by classifying the measured output ratios into categories generated in advance.
The odor measurement system F according to the present embodiment selects a reference sensor for each environment to be measured, and sets a normal range for each environment to be measured. Accordingly, the odor measurement system F according to the present embodiment can detect an odor, which is a non-examination target, as an unusual odor.
The odor measurement system F according to the present embodiment executes machine learning (cluster analysis) on the sensor output. Accordingly, a database of information on odors can be created, and a platform of odors can be implemented.
The odor measurement system F according to the present embodiment sets a level for a category, and executes processing according to the level. Accordingly, it is possible to appropriately execute processing according to a degree of an odor.
The odor measurement system F according to the present embodiment repeats the category analysis while accumulating data of the sensor outputs. In this way, the odor measurement system F can sequentially update the normal range, thereby improving accuracy of unusual odor determination. With repeated learning, the odor measurement system F may include the odor information that has been excluded from the normal range into the normal range, and the accuracy of unusual odor determination can be improved.
Further, as a result of the category analysis, when the current output ratio is classified into another category that does not belong to the previous categories, or when the current output ratio coincides with preset abnormality information, the notification unit 206 issues an alarm. Accordingly, it is possible to notify the user of odor abnormality detection.
In the present embodiment, an odor sensor is used as the sensor 110 to measure an odor, but the invention is not limited thereto. A gas sensor may be used as the sensor 110 to measure gas.
In the embodiments, control lines and information lines considered to be necessary for description are shown, and not all control lines and information lines are necessarily shown in a product. Actually, it may be considered that almost all the configurations are connected to one another.
The invention is not limited to the embodiments described above, and includes various modifications. For example, the above embodiments have been described in detail for easy understanding of the invention, and the invention is not necessarily limited to those having all the configurations described above. A part of a configuration according to one embodiment can be replaced with a configuration according to another embodiment, and a configuration according to one embodiment can be added to a configuration according to another embodiment. A part of the configuration according to the embodiments can be added, deleted, or replaced with other configurations.
Number | Date | Country | Kind |
---|---|---|---|
2021-075204 | Apr 2021 | JP | national |