JPH01199146A - Method of detecting gas - Google Patents

Method of detecting gas

Info

Publication number
JPH01199146A
JPH01199146A JP2530588A JP2530588A JPH01199146A JP H01199146 A JPH01199146 A JP H01199146A JP 2530588 A JP2530588 A JP 2530588A JP 2530588 A JP2530588 A JP 2530588A JP H01199146 A JPH01199146 A JP H01199146A
Authority
JP
Japan
Prior art keywords
noise
signal
duration
value
gas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2530588A
Other languages
Japanese (ja)
Other versions
JP2645564B2 (en
Inventor
Susumu Yasunaga
安永 進
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Figaro Engineering Inc
Original Assignee
Figaro Engineering Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Figaro Engineering Inc filed Critical Figaro Engineering Inc
Priority to JP2530588A priority Critical patent/JP2645564B2/en
Publication of JPH01199146A publication Critical patent/JPH01199146A/en
Application granted granted Critical
Publication of JP2645564B2 publication Critical patent/JP2645564B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [発明の利用分野] この発明は、ガスセンサによるガスの検出に関し、特に
ノイズの処理に関する。またこの発明は、空調装置の制
御やガス漏れの検出、あるいはガス爆発の防止等の、ガ
スセンサを用いたガスの検出に利用できる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to gas detection by a gas sensor, and particularly to noise processing. Further, the present invention can be used for detecting gas using a gas sensor, such as controlling an air conditioner, detecting gas leaks, or preventing gas explosions.

[従来技術] 周知のように、ガスセンサの信号は多くのノイズを含ん
でいる。例えばガス漏れの場合、有機溶剤の使用等によ
る、−時的なガス濃度の増加による信号はノイズである
。また空調制御の場合、局所的なガス濃度の増加、ある
いは−時的なセンサの温度変動等による信号はノイズで
ある。
[Prior Art] As is well known, gas sensor signals contain a lot of noise. For example, in the case of a gas leak, a signal due to a temporal increase in gas concentration, such as due to the use of an organic solvent, is noise. Furthermore, in the case of air conditioning control, signals caused by local increases in gas concentration or temporal temperature fluctuations of sensors are noise.

ノイズの除去に対して、センサ信号を積分回路で処理し
、積分回路を通過した信号のみを取り出すことが知られ
ている(実公昭57−38,619号)、、ところでノ
イズの大きさや持続時間は使用環境に依存し、−律に処
理することは難しい。そこで何等かの手法でノイズの持
続時間を検出し、これを基にガスの検出条件を定めれば
、ノイズと有意信号とを正確に識別できることなる。ま
たノイズか有意信号かの識別に必要な遅延時間を、最小
限に止どめることができる。
To remove noise, it is known to process the sensor signal with an integrating circuit and extract only the signal that has passed through the integrating circuit (Utility Model Publication No. 57-38,619).By the way, the size and duration of the noise are known. depends on the usage environment and is difficult to process in a regular manner. Therefore, if the duration of noise is detected using some method and gas detection conditions are determined based on this, noise and significant signals can be accurately distinguished. Furthermore, the delay time required to distinguish between noise and significant signals can be kept to a minimum.

[発明の課題] この発明は、ノイズの持続時間を学習し、ノイズをより
効率的に除去することを目的とする。
[Problem to be solved by the invention] An object of the present invention is to learn the duration of noise and remove noise more efficiently.

[発明の構成] この発明では、センサ信号の持続時間からノイズか否か
を識別し、ノイズの持続時間を検出して記憶する。そし
て記憶した持続時間に基づき、ガスの検出条件を変更す
る。
[Configuration of the Invention] In the present invention, it is determined whether or not it is noise based on the duration of a sensor signal, and the duration of the noise is detected and stored. Then, gas detection conditions are changed based on the stored duration.

ノイズの基本的特徴は、持続時間が短いことにある。そ
こで適当な上限を固定し、これ以下の持続時間の信号を
ノイズとする。ノイズの他6特徴は、信号の強さが低い
点にある。そこでこの特徴も加味して、ノイズを判別し
ても良い。ノイズの識別のためには、例えば適当な閾値
を用意し、閾値とセンサ信号の比較から持続時間を取り
出せば良い。
The basic characteristic of noise is its short duration. Therefore, an appropriate upper limit is fixed, and signals with durations shorter than this are treated as noise. In addition to noise, the other six characteristics are low signal strength. Therefore, noise may be determined by taking this feature into consideration. In order to identify noise, for example, an appropriate threshold value may be prepared, and the duration time may be extracted from a comparison between the threshold value and the sensor signal.

ノイズの持続時間の学習は、例えば次のようにする。適
当な区間を設けて、その間のノイズの持続時間の最大値
を取り出す。長時間検出を続けると、上限に近い長さの
ノイズも発生するので、区間の変更毎に記憶した最大値
を減少させて、次の区間での初期値とする。あるいは実
際のノイズの持続時間を測定せず、ノイズの持続時間に
対する推定値を用意する。次ぎにある区間での推定値よ
りも長いノイズの数をカウントし、このカウント値によ
り推定値を修正する。この手法では、推定値よりも長い
ノイズの頻度が目的範囲内に入るように、推定値を修正
する。勿論、ガスの検出を短時間しか続けない場合、持
続時間の発散のおそれは少なく、このような処理は不要
である。 ノイズの持続時間を学習すると、例えば次の
ように利用する。
The duration of noise can be learned, for example, as follows. Set an appropriate interval and extract the maximum value of the duration of the noise during that interval. If detection is continued for a long time, noise with a length close to the upper limit will occur, so the stored maximum value is decreased each time the section is changed, and is used as the initial value for the next section. Alternatively, instead of measuring the actual duration of the noise, an estimated value for the duration of the noise is prepared. Next, the number of noises that are longer than the estimated value in a certain section is counted, and the estimated value is corrected based on this count value. In this method, the estimated value is corrected so that the frequency of noise that is longer than the estimated value falls within the target range. Of course, if gas detection continues only for a short period of time, there is little possibility that the duration will diverge, and such processing is unnecessary. Once the duration of the noise is learned, it can be used, for example, as follows.

(1)間隔ΔTでN個のセンサ信号をサンプリングし、
これに重み因子an(n= l〜N)を付加して籍算平
均とする。ここでN・ΔTをノイズの持続時間Tよりも
十分大きくすれば、加算平均にはノイズの影響は現れな
い。そこでサンプリングしたノイズの持続時間から、検
出間隔ΔTを変更する。
(1) Sampling N sensor signals at intervals ΔT,
A weighting factor an (n=1 to N) is added to this to obtain a cumulative average. Here, if N·ΔT is made sufficiently larger than the duration T of the noise, the influence of the noise will not appear on the arithmetic average. Then, the detection interval ΔT is changed based on the duration of the sampled noise.

(2)センサ信号の持続時間をノイズの持続時間Tと比
較し、Tよりも持続時間が長い信号のみを取り出す。
(2) Compare the duration of the sensor signal with the duration T of the noise, and extract only the signals whose duration is longer than T.

(3)ノイズの持続時間とピーク値とを記憶する。(3) Store the duration and peak value of the noise.

これを下限に検出を行い、持続時間あるいはピーク値の
いずれかを越える信号を取り出す。
Detection is performed using this as the lower limit, and signals exceeding either the duration or the peak value are extracted.

(4)ノイズの持続時間Tの間、ノイズ信号を積算する
。この積算値を越える信号を有意信号とする。
(4) Integrate the noise signal during the noise duration T. A signal exceeding this integrated value is determined to be a significant signal.

[用語法] この明細書では、センサ信号は検出対象ガスにより増加
するものとして示した。しかしセンサの種類や信号処理
の手法等により、逆の結果となることも有る。この場合
は、信号の増加、減少の意味を、この明細書と逆に解釈
すれば良い。
[Nomenclature] In this specification, the sensor signal is shown as increasing with the gas to be detected. However, depending on the type of sensor, signal processing method, etc., the opposite result may occur. In this case, the meanings of signal increase and decrease may be interpreted in the opposite manner to this specification.

[実施例] 実施例1 第1図〜第5図に、最初の実施例を示す。なお各実施例
は、低蟲度のガスの検出による空調の制御を例に示す。
[Example] Example 1 A first example is shown in FIGS. 1 to 5. Each of the embodiments takes as an example the control of air conditioning by detecting a gas with low turbidity.

第1図に、センサ信号の持続時間Tと信号の頻度との関
係を、模式的に示す。図のTlは有意信号に対する下限
値であり、これ以上の長さの信号は有意信号として扱う
べきものとする。この長さは用途により定まり、例えば
ガス漏れの検出では200分程、空調の制御では2分程
度である。一方ノイズの長さのピークは、これよりも低
い点にある。発明者らの実験によれば、空調の制御の場
合、ノイズの持続時間は10秒以下のものが主である。
FIG. 1 schematically shows the relationship between the duration T of a sensor signal and the frequency of the signal. Tl in the figure is the lower limit value for a significant signal, and signals longer than this should be treated as significant signals. This length is determined depending on the application, for example, about 200 minutes for gas leak detection, and about 2 minutes for air conditioning control. On the other hand, the peak length of the noise is at a point lower than this. According to experiments conducted by the inventors, in the case of air conditioning control, the duration of noise is mainly 10 seconds or less.

またガス漏れの検出の場合、1〜5分程度のノイズが多
い。そこでノイズの長さのピークと、有意信号信号の長
さに対する下限値TIとの間にカットオフを設け、カッ
トオフ以下の信号を切り捨てる。カットオフの位置は、
ノイズの持続時間の学習から修正する。このようにすれ
ば、ノイズの判定時間をTIからカットオフ点まで短縮
できる。
Further, in the case of gas leak detection, there is a lot of noise for about 1 to 5 minutes. Therefore, a cutoff is provided between the peak of the length of the noise and the lower limit value TI for the length of the significant signal signal, and signals below the cutoff are discarded. The cutoff position is
Correct by learning the duration of the noise. In this way, the noise determination time can be shortened from TI to the cutoff point.

なおノイズか否かは、信号の強度からも判別できる。そ
こで大きな信号に対しては、持続時間と無関係に有意信
号と処理するようにしても良い。
Note that whether it is noise or not can also be determined from the strength of the signal. Therefore, a large signal may be treated as a significant signal regardless of its duration.

この場合、比較的弱く、ノイズか否かの判別レベル付近
の信号に対してのみ、持続時間による識別を行えば良い
。
In this case, it is sufficient to perform the discrimination based on the duration only for signals that are relatively weak and close to the level for determining whether or not they are noise.

第2図に、実施例でのサンプリング原理を示す。FIG. 2 shows the sampling principle in this embodiment.

間隔へTでサンプリングしたN個のセンサ信号をfl〜
fnとし、これに重み因子を付加して平均する。
N sensor signals sampled at intervals T are fl~
fn, add a weighting factor to this, and average it.

ここで N−ΔT =m−Tmax       (1)とする
。なお m>1  であり、Tmaにはノイズの持続時
間の最大値を現す。平均値へのノイズの影響はmを増す
と減少し、検出精度と検出の遅延時間との兼合いからm
を決定しておく。そしてT maXに応じ、ΔTあるい
はNを変更すれば、ノイズの影響を抑制できる。例えば
mは3程度とすれば良い。
Here, it is assumed that N-ΔT=m-Tmax (1). Note that m>1, and Tma represents the maximum duration of noise. The influence of noise on the average value decreases as m increases, and due to the balance between detection accuracy and detection delay time, m
Decide. Then, by changing ΔT or N according to T maX, the influence of noise can be suppressed. For example, m may be about 3.

第3図に、実施例を概略的に示す。この実施例は、初期
化と、サンプリング・サブルーチン、ノイズ幅の学習サ
ブルーチン、適当な区間例えば1〜4時間毎のT ma
xやxminの変更処理の4つのブロックで構成しであ
る。検出を開始すると、データの初期化を行う。例えば
f l−f nの初期値を、その時点でのセンサ信号V
とし、またr I−f’ nの加算平均値Xの初期値を
N−V、加算平均値Xの最小値xminの初期値をN−
Vとする。更にサンプリング間隔ΔTの初期値を定める
。ここではf1〜fnに対する重み因子を全てlとした
が、これはnの値により変えても良い。例えば現在付近
の信号rnに対しては大きく、過去の「、に対しては小
さくしても良い。
FIG. 3 schematically shows an embodiment. This embodiment includes initialization, a sampling subroutine, a noise width learning subroutine, and a T ma
It consists of four blocks for x and xmin change processing. When detection starts, data is initialized. For example, let the initial value of f l-f n be the sensor signal V at that time
Also, the initial value of the additive average value X of r I-f' n is N-V, and the initial value of the minimum value xmin of the additive average value X is N-
Let it be V. Furthermore, an initial value of the sampling interval ΔT is determined. Here, all the weighting factors for f1 to fn are set to l, but this may be changed depending on the value of n. For example, it may be made large for the signal rn near the present, and may be made small for the signal rn in the past.

次ぎに、サンプリング間隔ΔT毎に、割り込み処理でサ
ンプリング・サブルーチンに移行する。
Next, at every sampling interval ΔT, a transition is made to a sampling subroutine by interrupt processing.

fnに新たなセンサ信号Vを、f+−fn−+に元のf
、〜fnを代入し、Xを1/Nずつ修正する。またXと
xminとを比較し、Xの最小値をxlI+inとする
。更にXとxminとの比較から、雰囲気の汚染を検出
する。
Add a new sensor signal V to fn, and add the original f to f+-fn-+.
, ~fn and modify X by 1/N. Also, compare X and xmin, and set the minimum value of X to xlI+in. Further, by comparing X and xmin, atmospheric contamination is detected.

ノイズ幅、即ちノイズの持続時間の学習サブルーチンは
、間欠的に行うサンプリングサブルーチンと分離して処
理する。適当なノイズの検出レベルを用意し、これとの
比較からノイズの持続時間を求める。即ち検出レベル以
上の信号が、上限TI以下の間しか持続しなかった場合
をノイズとする。
The learning subroutine for the noise width, that is, the noise duration, is processed separately from the sampling subroutine that is performed intermittently. Prepare an appropriate noise detection level and calculate the duration of the noise by comparing it with this level. That is, a case where a signal higher than the detection level lasts only for a period lower than the upper limit TI is considered to be noise.

そして持続時間の最大値をT maxとし、式(1)に
従いΔTを変更する。
Then, the maximum value of the duration is set as T max, and ΔT is changed according to equation (1).

区間が経過すると、xminやΔTの発散を防止するた
め、これらの値を変更して、次の区間に受は継がせる。
When the interval has elapsed, in order to prevent xmin and ΔT from diverging, these values are changed and the reception is continued to the next interval.

例えば新たなT maxを元の0.8倍、xninを元
の1.05倍とする。これらの定数は、用途に応じ任意
に変更できる。
For example, assume that the new T max is 0.8 times the original value and xnin is 1.05 times the original value. These constants can be changed arbitrarily depending on the purpose.

第4図に、実施例の回路構成を示す。図において、2は
適宜の電源、4は金属酸化物半導体6の抵抗値の変化を
用いたガスセンサ、8はそのヒータである。ここではセ
ンサ4に、5nOtの抵抗値の変化を用いたものを用い
た。なおセンサには、これ以外に接触酸化触媒での可燃
性ガスの燃焼熱からガスを検出するようにした接触燃焼
式ガスセンサ、あるいはZrO,やアンチモン酸等の固
体電解質の起電力等を用いたセンサ等の、任意のガスセ
ンサを用い得る。
FIG. 4 shows the circuit configuration of the embodiment. In the figure, 2 is a suitable power source, 4 is a gas sensor using a change in resistance value of a metal oxide semiconductor 6, and 8 is a heater thereof. Here, the sensor 4 used had a resistance value change of 5 nOt. In addition to these sensors, there are also catalytic combustion gas sensors that detect gas from the heat of combustion of combustible gas in a catalytic oxidation catalyst, or sensors that use the electromotive force of solid electrolytes such as ZrO or antimonic acid. Any gas sensor can be used, such as.

lOはセンサ4の負荷抵抗である。負荷抵抗10への電
圧Vをセンサ4の信号とする。
lO is the load resistance of the sensor 4. Let the voltage V applied to the load resistor 10 be the signal of the sensor 4.

12は信号処理用のマイクロコンピュータで、例えば4
ビツト〜8ビツトのワンチップ・マイクロコンピュータ
を用いる。14はセンサ信号VをA/D変換するための
A/Dコンバータ、16は算術論理演算ユニットである
。18はクロック回路、20はセンサ信号Vを記憶する
ためのRAM。
12 is a microcomputer for signal processing, for example 4
A one-chip microcomputer with 8 bits to 8 bits is used. 14 is an A/D converter for A/D converting the sensor signal V, and 16 is an arithmetic and logic unit. 18 is a clock circuit; 20 is a RAM for storing the sensor signal V;

22はセンサ信号の列(f、〜fn)を記憶するための
RAM、24はXやxminを記憶するためのRAM。
22 is a RAM for storing the sensor signal sequence (f, to fn), and 24 is a RAM for storing X and xmin.

26はΔTやT maxを記憶するためのRAMである
。また28は出力信号Kを記憶したR、AM、 30は
タイマカウンタで、ノイズの持続時間に対するカウント
値C3、サンプリング間隔を定めるための時間に対する
カウント値Cp、区間の変更のための時間に対するカウ
ント値C5をカウントする。32は負荷の空調装置で、
換気扇や空気清浄機等とする。負荷32は汚染検出信号
Kにより動作する。
26 is a RAM for storing ΔT and T max. Further, 28 is a timer counter that stores the output signal K, and 30 is a timer counter, which includes a count value C3 for the duration of noise, a count value Cp for the time for determining the sampling interval, and a count value for the time for changing the interval. Count C5. 32 is the load air conditioner,
Use ventilation fans, air purifiers, etc. The load 32 is operated by the contamination detection signal K.

第5図に移り、実施例の動作を説明する。Moving to FIG. 5, the operation of the embodiment will be explained.

電源を投入すると例えば2分間待機し、データの初期化
を行う。初期化は例えば、その時点でのセンサ信号Vを
、信号列(L−fn)の初期値とし、XやxIIlin
の初期値を、N−Vとする。またΔTの初期値をΔT9
、T ff1axの初期値をN・ΔT/+aとする。次
いでC1を0としてカウントを開始すると共に、C5の
カウントも開始する。以下カウントの開始とは、カウン
ト値を0にした後、カウントを始めることとする。
When the power is turned on, the device waits for 2 minutes, for example, and initializes the data. For example, the initialization may be performed by setting the sensor signal V at that time to the initial value of the signal string (L-fn), and
Let the initial value of be NV. Also, the initial value of ΔT is ΔT9
, Tff1ax is assumed to have an initial value of N·ΔT/+a. Next, counting is started with C1 set to 0, and counting of C5 is also started. Hereinafter, "starting counting" means starting counting after setting the count value to 0.

以後ΔTの経過毎にサンプリング処理を行う。Thereafter, sampling processing is performed every time ΔT elapses.

■を読込、過去の信号列(f、〜fn)を1個分ずつ過
去の側にシフトさせ、最新の信号fnにVを代入する。
(2) is read, the past signal strings (f, to fn) are shifted to the past side one by one, and V is substituted for the latest signal fn.

次ぎにこれらの加算平均をデジタルセンサ信号Xとする
。なおNの値は複数とし、少なくとも3以上とするのが
好ましい。Xと最小値xminとを比較し、XがxII
inより小さい場合、xminにXを代入する。またX
がJ−xn+1n(Jは空気汚染に対する検出因子でこ
こでは1.3)を越えると汚染と判断して、汚染検出信
号Kをセットし、XがJ−xmin以下の場合汚染検出
信号Kをリセットする。モしてJの値に応じて、負荷3
2を動作させる。このサブルーチンの他の特徴は、N個
の点での加算平均値を用いるにもかかわらず、サンプリ
ング間隔ΔT毎に検出を行う点に有る。
Next, the average of these additions is defined as the digital sensor signal X. Note that N has a plurality of values, preferably at least 3 or more. Compare X with the minimum value xmin, and
If it is smaller than in, assign X to xmin. Also X
When X exceeds J-xn+1n (J is the detection factor for air pollution, here 1.3), it is determined to be pollution and the pollution detection signal K is set, and when X is less than J-xmin, the pollution detection signal K is reset. do. load 3 according to the value of J.
Operate 2. Another feature of this subroutine is that although the average value of N points is used, detection is performed at every sampling interval ΔT.

ノイズ幅の学習処理は、例えば2秒間隔で行う。The noise width learning process is performed, for example, at intervals of 2 seconds.

ノイズの検出レベルを、例えばJ −xminとし、V
がJ−xIliiを越えるとCIのカウントを開始する
。
Let the noise detection level be, for example, J −xmin, and V
When exceeds J-xIlii, counting of CI starts.

ノイズの検出レベルの設定は、任意である。次ぎにVが
ノイズの検出レベル以下に低下すると、上限TI以下の
長さの信号を取り出し、元のT ll1axと比較して
、ノイズの持続時間の最大値をT IIIaxとする。
Setting of the noise detection level is arbitrary. Next, when V falls below the noise detection level, a signal with a length below the upper limit TI is extracted and compared with the original Tll1ax, and the maximum value of the noise duration is set as TIIIax.

そしてこのT ll1axを基に、サンプリング間隔Δ
Tを定める。なおここではノイズの持続時間C3のカウ
ントの開始と、カウントの終了とに同一のレベルJ−v
IIlinを用いたが、2つのレベルを異ならせても良
い。
Based on this Tll1ax, the sampling interval Δ
Define T. Note that here, the same level J-v is used at the start of counting the noise duration C3 and at the end of counting.
Although IIlin was used, the two levels may be different.

適当な区間が経過したことをC3のカウント値から検出
し、Tmax’Pxminを修正して、次の区間の初期
値とする。
It is detected from the count value of C3 that an appropriate interval has elapsed, and Tmax'Pxmin is corrected to be the initial value for the next interval.

実施例2 第6図、第7図に、最初の実施例を修正したものを示す
。この実施例ではT ff1axを直接には測定せず、
適当な推定値を用いる。そして推定値Tll1axを越
える長さのノイズの個数dを、区間毎にカウントする。
Embodiment 2 Figures 6 and 7 show a modification of the first embodiment. In this example, Tff1ax was not measured directly;
Use appropriate estimates. Then, the number d of noises whose length exceeds the estimated value Tll1ax is counted for each section.

区間の変更時点で、このカウント値dにより、次のT 
waxやΔTを決定する。変更は例えば、d=1でT 
maxやΔTを維持し、d=0ではT waxやΔTを
20%減少させる。d=2ではT+oaxやΔTを20
%増加させ、dが3以上で40%増加させる。
At the time of changing the section, this count value d determines the next T
Determine wax and ΔT. For example, change T with d=1
max and ΔT are maintained, and when d=0, T wax and ΔT are decreased by 20%. For d=2, T+oax and ΔT are 20
% and increases by 40% when d is 3 or more.

第7図に、新たなマイクロコンピュータ72を示す。変
更点は、dをカウントするためのカウンタ74を設けた
点である。
A new microcomputer 72 is shown in FIG. The difference is that a counter 74 for counting d is provided.

第6図に、この実施例のノイズ幅の学習サブルーチンを
示す。■がノイズの検出レベルJ −xminを越えた
時間からノイズの持続時間C1を求める。
FIG. 6 shows the noise width learning subroutine of this embodiment. The noise duration C1 is determined from the time when (2) exceeds the noise detection level J-xmin.

C3とT waxとの比較から、Tmaxの推定値を越
える長さのノイズの個数をdとしてカウントし、区間の
経過毎にdの値を調べる。なお区間の経過は、C8≧T
s     (2)   (T3は区間の長さ)から求
める。そしてこの時点で、上記の条件に沿って、T m
axやΔTを変更する。T waxを直接求めず、dを
求める点、またdの値により区間の変更毎にΔTたT 
maxを修正する点の他は、最初の実施例と同様である
。
From the comparison between C3 and Twax, the number of noises whose length exceeds the estimated value of Tmax is counted as d, and the value of d is checked every time the interval passes. The progress of the section is C8≧T
s (2) (T3 is the length of the section). And at this point, according to the above conditions, T m
Change ax and ΔT. The point where d is calculated without directly calculating T wax, and the value of d is used to calculate ΔT at each interval change.
This embodiment is the same as the first embodiment except that max is modified.

実施例3 第8図〜第1O図に、ノイズの最大値とノイズの長さの
最大値とにより、ノイズを弁別するようにした実施例を
示す。第10図に示すように、ノイズの長さとノイズの
大きさとに上限TI、PIを設け、この範囲内でT m
axやノイズの大きさの最大値P ff1axを求める
。そして持続時間がT max以下で、かつ大きさがP
 max以下の信号をノイズとする。
Embodiment 3 FIGS. 8 to 1O show an embodiment in which noise is discriminated based on the maximum value of the noise and the maximum value of the length of the noise. As shown in Fig. 10, upper limits TI and PI are set for the length and magnitude of the noise, and within this range T m
The maximum value Pff1ax of the magnitude of ax and noise is determined. and the duration is less than or equal to T max and the magnitude is P
Signals below max are treated as noise.

第9図に、新たなマイクロコンピュータ92を示す。図
において、94はセンサ信号Vの最小値Vminを記憶
するためのRAM、96は時間信号CI、C1をカウン
トするためのカウンタ、98はP maxやその中間値
Pを記憶するためのRAMである。
FIG. 9 shows a new microcomputer 92. In the figure, 94 is a RAM for storing the minimum value Vmin of the sensor signal V, 96 is a counter for counting the time signals CI and C1, and 98 is a RAM for storing P max and its intermediate value P. .

第8図に戻り、この実施例では信号列r l−f nに
よる平均化を行わず、各時点でのセンサ信号Vを用いる
。これに伴いC3のカウントが不要となる。
Returning to FIG. 8, in this embodiment, the sensor signal V at each point in time is used without averaging using the signal sequence rl-fn. Accordingly, counting of C3 becomes unnecessary.

更にノイズのサンプリングと、汚染の検出とを同一のサ
ブルーチン(検出サブルーチン)で処理する。
Furthermore, noise sampling and contamination detection are processed in the same subroutine (detection subroutine).

また先の実施例と同様、区間でのセンサ信号の最小値V
minに着目し、 V>J−Vmin       (3)から汚染を検出
する。そして(3)式の状態がT IIIax以上の間
続いた時、あるいは V>Pmax−VIIlin       (4)で汚
染信号Kをセットする。
Also, as in the previous embodiment, the minimum value V of the sensor signal in the section
Focusing on min, contamination is detected from V>J-Vmin (3). Then, when the state of equation (3) continues for a period longer than TIIIax, or when V>Pmax-VIIlin (4), the contamination signal K is set.

初期化の過程で、P maxの初期値を適当にPlと定
めた後、T、の長さの区間でのセンサ信号の最小値Vm
inをサンプリングする。センサ信号の読込毎に、検出
サブルーチンに移行し、 V>J−Vmin の状態がT max以上経過したこと、あるいはVがP
maX−vIIlin以上に増加したことから、検出信
号Kを1にセットする。同時に上限TI以下の信号をノ
イズとし、その持続時間の最大値をT maxとする。
In the initialization process, after appropriately setting the initial value of P max as Pl, the minimum value Vm of the sensor signal in an interval of length T is set.
Sample in. Each time a sensor signal is read, the process moves to a detection subroutine and detects that the state of V>J-Vmin has exceeded Tmax or that V has changed to P.
Since the increase has exceeded maX-vIIlin, the detection signal K is set to 1. At the same time, a signal below the upper limit TI is treated as noise, and its maximum duration is set as T max.

また持続時間がTI以下で、大きさがPI以下の信号に
対して、その最大値を取り出す。この最大値をVmin
で割り、P maxとする。これは2つの上限TIとp
t以下のものに付いて、ノイズの持続時間と大きさの最
大値をサンプリングすることを意味する。そしてこれら
のいずれかを越える信号を有意信号とする。
Furthermore, for signals whose duration is less than or equal to TI and whose magnitude is less than or equal to PI, the maximum value is extracted. This maximum value is Vmin
Divide by P max. This has two upper bounds TI and p
This means sampling the maximum value of the duration and magnitude of the noise for those less than or equal to t. A signal that exceeds either of these values is determined to be a significant signal.

区間を変更する際には、第5図の実施例と同様に、T 
maxを元の0.8倍、P waxも元の0.8倍、V
IIlinは元の1,05倍とする。
When changing the section, T
max is 0.8 times the original, P wax is also 0.8 times the original, V
IIlin is 1.05 times the original value.

ここではP IIIaxとT maxの双方を用いたが
、ノイズの持続時間の最大値T maxのみの処理でも
良いことは言うまでもない。
Although both P IIIax and T max are used here, it goes without saying that only the maximum noise duration T max may be processed.

X監■土 第11図、第12図に、ノイズ信号を積算し、この積算
値を基にノイズと有意信号とを識別する実施例を示す。
Figures 11 and 12 show an embodiment in which noise signals are integrated and noise and significant signals are discriminated based on this integrated value.

センサ信号をノイズ検出レベルJ・V sinと比較し
、ノイズの判別を行うと共に、検出レベルを越える部分
を積算する(積算値S)。
The sensor signal is compared with the noise detection level J·V sin to determine noise, and the portion exceeding the detection level is integrated (integrated value S).

適当な区間に対して、この積算値の最大値S maxを
求め、S max以上の積算値を持つ信号を有意信号と
する。これは、ノイズ信号の積算値を学習し、これを基
にノイズの弁別を行うことに等しい。
The maximum value S max of this integrated value is determined for an appropriate section, and a signal having an integrated value greater than or equal to S max is determined to be a significant signal. This is equivalent to learning the integrated value of the noise signal and performing noise discrimination based on this.

第11図に戻り、この実施例の動作を説明する。Returning to FIG. 11, the operation of this embodiment will be explained.

主な変更点は検出サブルーチンを第8図から第11図の
もに変更した点にある。なお第8図のメインループは、
P waxに変え5IIlaxを用い、またP 1ll
axの初期値P、をS ll1axの初期値S、に変え
れば、そのまま第11図のものに適用できる。
The main change is that the detection subroutine has been changed from FIG. 8 to that shown in FIG. 11. The main loop in Figure 8 is
Use 5IIlax instead of P wax, and P 1ll
If the initial value P of ax is changed to the initial value S of Sll1ax, it can be directly applied to the one shown in FIG.

■が、11/minを越えた時間C3をカウントすると
共に、VとJ −Vminとの差を積算してSとする。
(2) counts the time C3 during which time exceeds 11/min, and integrates the difference between V and J-Vmin to obtain S.

CIが上限T1以下で、Sが上限Sl以下のものをノイ
ズとし、Sの最大値をS maxとする。
If CI is less than or equal to upper limit T1 and S is less than or equal to upper limit Sl, it is considered noise, and the maximum value of S is defined as S max.

汚染の検出にもSのカウント値を利用し、S max以
上の積算値を有するものを汚染と判断し、検出信号Kを
セットする。
The count value of S is also used to detect contamination, and if the integrated value is greater than or equal to Smax, it is determined to be contamination, and a detection signal K is set.

腹足 各実施例では、センサ出力の絶対値を用いたが、絶対値
ではなくセンサ出力の時間微分値等を用いても良い。ま
たセンサ出力の時間積分値等を用いても良い。第11図
、第12図の実施例は、時間積分値を用いるものの一例
である。
In each of the embodiments, the absolute value of the sensor output is used, but instead of the absolute value, a time differential value of the sensor output or the like may be used. Alternatively, a time integral value of the sensor output or the like may be used. The embodiments shown in FIGS. 11 and 12 are examples that use time integral values.

次ぎに各実施例は、空調の制御を目的とし、低濃度のガ
スの発生を検出することを特に重視した。
Next, each embodiment is aimed at controlling air conditioning, and places particular emphasis on detecting the generation of low-concentration gas.

このため、センサの経時変化や温湿度の影響等を除去す
ることに配慮して、xminやV min等を基準とし
て、ガスを検出した。しかしガス漏れの検出等のガス濃
度の絶対値の検出が重要な場合、基準値は、センサ出力
に沿って変動させるのではなく、一定の固定した値とす
るのが好ましい。またT maxやΔT等の変更の区間
は、ガス漏れ゛の検出の場合1〜4時間程度ではなく、
1週間〜1ケ月程度とするのが好ましい。
For this reason, gas was detected using xmin, Vmin, etc. as a reference, taking into account the effects of changes in the sensor over time, temperature and humidity, and the like. However, when it is important to detect the absolute value of the gas concentration, such as when detecting a gas leak, it is preferable that the reference value be a fixed value rather than being varied along the sensor output. Also, the period for changing T max, ΔT, etc. is not about 1 to 4 hours in the case of gas leak detection;
It is preferable to set it as about 1 week to 1 month.

[発明の効果コ この発明では、ノイズの持続時間の学習を介して、ノイ
ズを除去する。
[Effects of the Invention] In this invention, noise is removed through learning the duration of the noise.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図、第2図は最初の実施例の特性図、第3図は最初
の実施例の要部フローチャート、第4図はその回路図、
第5図はその動作の細部を示すフローチャートである。 第6図は第2の実施例の動作フローチャート、第7図は
その回路の要部ブロック図である。第8図は第3の実施
例の動作フローチャート、第9図はその回路の要部ブロ
ック図、第1O図はその特性図である。第11図は第4
の実施例の動作フローチャート、第12図はその特性図
である。 図において、   4 ガスセンサ、 12.72.92  マイクロコンピュータ、14  
A/Dコンバータ 16 算術論理演算ユニット。
Figures 1 and 2 are characteristic diagrams of the first embodiment, Figure 3 is a flowchart of the main parts of the first embodiment, Figure 4 is its circuit diagram,
FIG. 5 is a flowchart showing details of the operation. FIG. 6 is an operation flowchart of the second embodiment, and FIG. 7 is a block diagram of the main part of the circuit. FIG. 8 is an operation flowchart of the third embodiment, FIG. 9 is a block diagram of the main part of the circuit, and FIG. 1O is a characteristic diagram thereof. Figure 11 is the fourth
The operation flowchart of this embodiment is shown in FIG. 12, and its characteristic diagram is shown in FIG. In the figure, 4 gas sensor, 12.72.92 microcomputer, 14
A/D converter 16 arithmetic logic unit.

Claims (6)

【特許請求の範囲】[Claims] (1)ガスセンサを用いたガス検出方法において、短時
間しか持続しないセンサ信号をノイズと判定すると共に
、ノイズの持続時間を記憶して、ノイズの持続時間によ
りガスの検出条件を変更することを特徴とする、ガス検
出方法。
(1) In a gas detection method using a gas sensor, a sensor signal that lasts only a short time is determined to be noise, the duration of the noise is memorized, and the gas detection conditions are changed depending on the duration of the noise. gas detection method.
(2)特許請求の範囲第1項記載の方法において、セン
サ信号とノイズ検出レベルとの比較から、ノイズの持続
時間を検出することを特徴とする、ガス検出方法。
(2) A gas detection method according to claim 1, characterized in that the duration of the noise is detected from a comparison between a sensor signal and a noise detection level.
(3)特許請求の範囲第1項記載の方法において、セン
サ信号を時間間隔をもってサンプリングし、サンプリン
グしたセンサ信号に重み因子を付加して複数個積算し、
この積算信号を基にガスを検出すると共に、ノイズの持
続時間によりサンプリングの時間間隔を変更することを
特徴とする、ガス検出方法。
(3) In the method according to claim 1, a sensor signal is sampled at time intervals, a weighting factor is added to the sampled sensor signal, and a plurality of weighting factors are integrated,
A gas detection method characterized by detecting gas based on this integrated signal and changing the sampling time interval depending on the duration of the noise.
(4)特許請求の範囲第1項記載の方法において、ノイ
ズの持続時間以上持続する信号を有意信号とし、この有
意信号に基づきガスを検出することを特徴とする、ガス
検出方法。
(4) A gas detection method according to claim 1, characterized in that a signal that lasts for the duration of noise or longer is defined as a significant signal, and gas is detected based on this significant signal.
(5)特許請求の範囲第1項記載の方法において、ノイ
ズの持続時間とノイズの大きさとを検出して記憶し、こ
れを基にセンサ信号が有意信号か否かを識別することを
特徴とする、ガス検出方法。
(5) The method according to claim 1, characterized in that the duration of the noise and the magnitude of the noise are detected and stored, and based on this, it is determined whether the sensor signal is a significant signal or not. gas detection method.
(6)特許請求の範囲第1項記載の方法において、ノイ
ズ信号の積算値を検出して記憶し、これを上回るセンサ
信号を有意信号とすることを特徴とする、ガス検出方法
。
(6) A gas detection method according to claim 1, characterized in that an integrated value of noise signals is detected and stored, and a sensor signal exceeding this is determined to be a significant signal.
JP2530588A 1988-02-04 1988-02-04 Gas detection method Expired - Lifetime JP2645564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2530588A JP2645564B2 (en) 1988-02-04 1988-02-04 Gas detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2530588A JP2645564B2 (en) 1988-02-04 1988-02-04 Gas detection method

Publications (2)

Publication Number Publication Date
JPH01199146A true JPH01199146A (en) 1989-08-10
JP2645564B2 JP2645564B2 (en) 1997-08-25

Family

ID=12162303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2530588A Expired - Lifetime JP2645564B2 (en) 1988-02-04 1988-02-04 Gas detection method

Country Status (1)

Country Link
JP (1) JP2645564B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021257470A1 (en) * 2020-06-17 2021-12-23 Nexceris, Llc Systems and methods for monitoring a gas analyte

Also Published As

Publication number Publication date
JP2645564B2 (en) 1997-08-25

Similar Documents

Publication Publication Date Title
JP4038456B2 (en) Battery characteristic detection method
US6636791B2 (en) Collision record apparatus, collision state estimation method, and record medium
US20170131364A1 (en) Battery Degradation Degree Estimation Device and Battery Degradation Degree Estimation Method
JPH09127215A (en) Battery remaining capacity measurement device
JP2008216018A (en) Calculation method of internal resistance of secondary battery for vehicle
JP2000323183A (en) Battery state detector
JP2021103158A (en) Vehicle speed pulse detection device and vehicle speed pulse detection method
CN105092262A (en) Vehicle starting detection apparatus and method
JP3914141B2 (en) Gas detection device and vehicle auto ventilation system
JPH0538068A (en) Rechargeable battery charging circuit
JP2645564B2 (en) Gas detection method
JPH11215725A (en) Charge state determination method, charge state determination device, and charging device
JP4378923B2 (en) Vehicle equipped with a battery charge / discharge current measuring device
CN113565551B (en) Mine ventilation method, device and system with automatic gain control
JP2001281185A (en) Control system
JP2008022649A (en) Noise removal device for pulse signal
JPH09238431A (en) Storage battery charging method and device
CN115656697A (en) Strong magnetic interference detection method for door magnet and door magnet device
JP2007086064A (en) Particle detection apparatus and particle detection method
JP4627650B2 (en) Radiation measuring instrument
JP4006820B2 (en) Seismic device
US7019476B2 (en) Method for recognizing an obstructive situation in a motor driven element
CN110584674B (en) Method for identifying human body motion direction based on digital sensor and electronic equipment
US6407610B2 (en) Circuit and a method for extending the output voltage range of an integrator circuit
JPH11142526A (en) Seismic device