JP3062615B2 - Oxygen concentration detector - Google Patents

Oxygen concentration detector

Info

Publication number
JP3062615B2
JP3062615B2 JP3220776A JP22077691A JP3062615B2 JP 3062615 B2 JP3062615 B2 JP 3062615B2 JP 3220776 A JP3220776 A JP 3220776A JP 22077691 A JP22077691 A JP 22077691A JP 3062615 B2 JP3062615 B2 JP 3062615B2
Authority
JP
Japan
Prior art keywords
oxygen concentration
data
measured
storage means
correction amount
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.)
Expired - Fee Related
Application number
JP3220776A
Other languages
Japanese (ja)
Other versions
JPH0560717A (en
Inventor
計文 臼井
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3220776A priority Critical patent/JP3062615B2/en
Publication of JPH0560717A publication Critical patent/JPH0560717A/en
Application granted granted Critical
Publication of JP3062615B2 publication Critical patent/JP3062615B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、空気中の酸素濃度を検
出する酸素濃度検知装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an oxygen concentration detecting device for detecting oxygen concentration in air.

【0002】[0002]

【従来技術及びその問題点】従来、ガルバニ電池式酸素
センサなどを利用した酸素濃度検知装置が考えられてい
る。ガルバニ電池式酸素センサでは酸素濃度に比例した
出力電圧が得られるが、この出力電圧はセンサの経時変
化により低下してくる。
2. Description of the Related Art Conventionally, an oxygen concentration detecting apparatus using a galvanic cell type oxygen sensor or the like has been proposed. In the galvanic cell type oxygen sensor, an output voltage proportional to the oxygen concentration is obtained, but this output voltage decreases with the aging of the sensor.

【0003】そこで、センサの経時変化を補正する方法
が種々提案されており、例えば、特開昭61-231451 号公
報には、測定開始時のセンサの出力電圧を基準値として
記憶しておいて、それ以降に測定されるセンサの出力電
圧と基準値との比を求め、その比が一定値以下となった
なら酸素濃度の異常を報知する技術が示されている。
Therefore, various methods have been proposed for correcting the aging of the sensor. For example, in Japanese Patent Application Laid-Open No. Sho 61-231451, the output voltage of the sensor at the start of measurement is stored as a reference value. A technique is disclosed in which a ratio between an output voltage of a sensor measured thereafter and a reference value is determined, and when the ratio falls below a certain value, an abnormality in the oxygen concentration is notified.

【0004】上記の方法は、暖房器のオン、オフに連動
して酸素濃度検知装置がオン、オフするような場合に
は、測定開始時の酸素濃度が空気中の標準的な酸素濃度
(約21%)とほぼ等しいことが期待されるので、電源
オン時の酸素濃度を基準値として記憶させることでセン
サの出力電圧の経時変化を補正することができるが、電
源が常にオンとなっている装置には適用できない。
[0004] In the above method, when the oxygen concentration detecting device is turned on and off in conjunction with the turning on and off of the heater, the oxygen concentration at the start of the measurement is changed to the standard oxygen concentration in the air (approximately 21%), it is possible to correct the temporal change of the output voltage of the sensor by storing the oxygen concentration at the time of power-on as a reference value, but the power is always on. Not applicable to equipment.

【0005】そこで、所定期間毎に、測定される酸素濃
度を基準値として記憶させ、その基準値とセンサで検出
される酸素濃度とから異常を判別することが考えられ
る。しかしながら、上記の方法では、所定期間毎に取り
込まれる酸素濃度が空気中の標準的な酸素濃度と等しく
なっているとは限らず、例えば暖房器がつけられていて
酸素濃度が低い状態で基準値の取り込みタイミングとな
り、そのときの低い酸素濃度が基準値として設定されて
しまうことも考えられる。この場合、室内の酸素濃度レ
ベルが危険なレベルまで低下しても、基準値が低い為に
異常が報知されないおそれがある。
[0005] Therefore, it is conceivable to store the measured oxygen concentration as a reference value for each predetermined period, and determine abnormality based on the reference value and the oxygen concentration detected by the sensor. However, in the above method, the oxygen concentration taken in every predetermined period is not always equal to the standard oxygen concentration in the air. It is conceivable that the low oxygen concentration at that time is set as the reference value. In this case, even if the oxygen concentration level in the room is reduced to a dangerous level, the abnormality may not be reported because the reference value is low.

【0006】[0006]

【発明の目的】本発明の目的は、酸素センサの出力の経
時変化を正しく補正できる酸素濃度検知装置を提供する
ことである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an oxygen concentration detecting device capable of correctly correcting a change with time of the output of an oxygen sensor.

【0007】[0007]

【発明の要点】本発明の要点は、基準酸素濃度の補正時
の測定酸素濃度データと基準酸素濃度データとの差デー
タを修正量として記憶しておいて、所定期間毎に測定酸
素濃度データと基準酸素濃度データとの差データを求
め、その差データが所定量を超えているか否かを判別
し、差データが所定量以下であれば、そのときの測定酸
素濃度データを基準酸素濃度データとして記憶させ、差
データが所定量を超えているときには、前回補正時の修
正量に基づいて基準酸素濃度データを補正し、その補正
した値を基準酸素濃度データとして記憶させることであ
る。
The gist of the present invention is that the difference data between the measured oxygen concentration data at the time of correction of the reference oxygen concentration and the reference oxygen concentration data is stored as a correction amount, and the measured oxygen concentration data is stored at predetermined intervals. Obtain difference data from the reference oxygen concentration data, determine whether the difference data exceeds a predetermined amount, if the difference data is less than the predetermined amount, the measured oxygen concentration data at that time as the reference oxygen concentration data When the difference data exceeds a predetermined amount, the reference oxygen concentration data is corrected based on the correction amount at the time of the previous correction, and the corrected value is stored as the reference oxygen concentration data.

【0008】[0008]

【実施例】以下、本発明の実施例を図面を参照しながら
説明する。図1は、実施例の酸素濃度検知装置の回路構
成図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit configuration diagram of the oxygen concentration detecting device of the embodiment.

【0009】同図において、発振回路1で生成される基
準クロック信号は、分周回路2で所定周波数に分周され
時刻計数回路3に出力される。時刻計数回路3は、分周
回路2からの計時信号を計数して時刻データを得て、そ
の時刻データを分キャリー、時キャリーと共にCPU5
に出力する。日付計数回路4は、時刻計数回路3からの
日キャリー信号を計数して日付データを得て、その日付
データを週キャリー信号と共にCPU5に出力する。
In FIG. 1, a reference clock signal generated by an oscillation circuit 1 is divided by a frequency dividing circuit 2 to a predetermined frequency and output to a time counting circuit 3. The time counting circuit 3 counts the time signal from the frequency dividing circuit 2 to obtain time data, and the time data is sent to the CPU 5 together with the minute carry and the hour carry.
Output to The date counting circuit 4 counts the day carry signal from the time counting circuit 3 to obtain date data, and outputs the date data to the CPU 5 together with the week carry signal.

【0010】酸素センサ6は、例えばガルバニ電池式酸
素センサからなり空気中の酸素濃度に比例した電圧を出
力する。酸素センサ6の出力電圧は、増幅回路7で増幅
された後、A/D変換回路8でディジタル値に変換され
CPU5に出力される。なお、増幅回路7及びA/D変
換回路8は、CPU5から1分間隔で出力される測定信
号により駆動される。
The oxygen sensor 6 comprises, for example, a galvanic cell type oxygen sensor and outputs a voltage proportional to the oxygen concentration in the air. After the output voltage of the oxygen sensor 6 is amplified by the amplifier circuit 7, it is converted into a digital value by the A / D converter circuit 8 and output to the CPU 5. The amplification circuit 7 and the A / D conversion circuit 8 are driven by measurement signals output from the CPU 5 at one-minute intervals.

【0011】CPU5は、回路全体を制御する中央処理
部であり、酸素センサ6で検出された酸素濃度データ等
をRAM9に格納すると共に、表示駆動回路10を駆動
させて時刻及び日付データ等を表示部11に表示させ
る。
The CPU 5 is a central processing unit for controlling the entire circuit. The CPU 5 stores the oxygen concentration data and the like detected by the oxygen sensor 6 in the RAM 9 and drives the display drive circuit 10 to display the time and date data. It is displayed on the unit 11.

【0012】表示部11は、液晶表示器などからなり、
上部に酸素濃度レベルを示す10個の酸素濃度表示体1
1aが設けられており、この酸素濃度表示体11aは測
定酸素濃度が基準値より1%低くなる毎に順次点灯する
ようになっている。表示部11中央及び下部には、日付
を表示する日付表示部11bと時刻を表示する時刻表示
部11cとが設けられている。
The display unit 11 comprises a liquid crystal display or the like,
10 oxygen concentration indicators 1 indicating the oxygen concentration level at the top
1a is provided, and the oxygen concentration indicator 11a is sequentially turned on every time the measured oxygen concentration becomes lower than the reference value by 1%. At the center and lower part of the display unit 11, a date display unit 11b for displaying a date and a time display unit 11c for displaying time are provided.

【0013】図2は、RAM9のレジスタの構成を示す
図であり、RAM9には酸素センサ6で検出される酸素
濃度データを記憶する測定酸素濃度記憶部Xと、一定期
間毎(例えば、1週間毎)に測定される複数の酸素濃度
データの中の最大値を基準酸素濃度データとして記憶す
る基準酸素濃度記憶部Yと、測定酸素濃度が基準値から
何%低いかを示すレベルデータを記憶するレベル記憶部
Zと、測定酸素濃度と基準酸素濃度との差データを記憶
する差記憶部Vと、前回補正時の基準値の修正量を記憶
する修正量記憶部Wとが設けられている。
FIG. 2 is a diagram showing a configuration of a register of the RAM 9. The RAM 9 stores a measured oxygen concentration storage unit X for storing oxygen concentration data detected by the oxygen sensor 6, and a fixed period (for example, one week). A) a reference oxygen concentration storage unit Y for storing the maximum value of the plurality of oxygen concentration data measured in each case) as reference oxygen concentration data, and level data indicating what percentage of the measured oxygen concentration is lower than the reference value. A level storage unit Z, a difference storage unit V for storing difference data between the measured oxygen concentration and the reference oxygen concentration, and a correction amount storage unit W for storing a correction amount of the reference value at the time of the previous correction are provided.

【0014】次に、本発明の第1実施例の動作を図3及
び図4のフローチャートを参照して説明する。図3は、
酸素濃度の測定処理及びキー処理のフローチャートであ
る。先ず、図3のS1で分キャリーが発生したか否かを
判別する。分キャリーが発生していれば、1分毎の酸素
濃度の測定タイミングであるので、次のステップS2で
増幅回路7及びA/D変換回路8を駆動させ酸素濃度を
測定し、測定データを測定酸素濃度記憶部Xに格納す
る。さらに、ステップS3でそのときの酸素濃度レベル
を算出する。
Next, the operation of the first embodiment of the present invention will be described with reference to the flowcharts of FIGS. FIG.
It is a flowchart of an oxygen concentration measurement process and a key process. First, it is determined whether or not minute carry has occurred in S1 of FIG. If the minute carry has occurred, it is the timing for measuring the oxygen concentration every minute, so in the next step S2, the amplifier circuit 7 and the A / D conversion circuit 8 are driven to measure the oxygen concentration, and the measurement data is measured. It is stored in the oxygen concentration storage unit X. Further, in step S3, the oxygen concentration level at that time is calculated.

【0015】上記ステップS1の判別で分キャリーが発
生していなければ、ステップS14に進みキー入力が行
われた否かを判別する。キー入力が行われているときに
は、ステップS15のキー処理を実行する。
If it is determined in step S1 that no carry has occurred, the flow advances to step S14 to determine whether a key input has been performed. When the key input is being performed, the key processing of step S15 is executed.

【0016】図4は、ステップS3の酸素濃度レベル算
出処理のより詳細なフローチャートである。以下の説明
では、X、Yは、測定酸素濃度記憶部、基準酸素濃度記
憶部又はそれら記憶部に記憶されている測定酸素濃度デ
ータ、基準酸素濃度データを指すものとする。
FIG. 4 is a more detailed flowchart of the oxygen concentration level calculation processing in step S3. In the following description, X and Y indicate the measured oxygen concentration storage unit, the reference oxygen concentration storage unit, or the measured oxygen concentration data and the reference oxygen concentration data stored in these storage units.

【0017】図4のステップS21で測定酸素濃度Xが
基準酸素濃度Yより小さいか否かを判別する。測定酸素
濃度Xが基準酸素濃度Yより小さくない場合(ステップ
S21の判別がNO)には、ステップS22に進みレベ
ル記憶部Zに「0」を設定する。この状態は、測定した
酸素濃度Xが基準酸素濃度Yと等しいか、大きい場合で
あり、表示部11の10個の酸素濃度レベル表示体11
aが全て消灯して酸素濃度が正常であることが明示され
る。
In step S21 of FIG. 4, it is determined whether or not the measured oxygen concentration X is smaller than the reference oxygen concentration Y. If the measured oxygen concentration X is not smaller than the reference oxygen concentration Y (NO in step S21), the process proceeds to step S22, and “0” is set in the level storage unit Z. This state is a case where the measured oxygen concentration X is equal to or larger than the reference oxygen concentration Y, and the ten oxygen concentration level indicators 11
All lights are turned off to clearly indicate that the oxygen concentration is normal.

【0018】ステップS21の判別がYESのときは、
ステップS23に進み測定酸素濃度Xが、Y>X≧Y・
99/100の範囲にあるか否かを判別する。測定定酸素濃度
Xが上記の範囲にあるときは、ステップS24に進みレ
ベル記憶部Zに「1」を設定する。この状態は、今回測
定した酸素濃度が基準酸素濃度より最大で1%低い場合
であり、表示部11の酸素濃度表示体11aが1個点灯
して、酸素濃度が1%低いことが明示される。
If the determination in step S21 is YES,
Proceeding to step S23, if the measured oxygen concentration X is Y> X ≧ Y.
It is determined whether it is in the range of 99/100. When the measured constant oxygen concentration X is in the above range, the process proceeds to step S24, and “1” is set in the level storage unit Z. This state is a case where the oxygen concentration measured this time is at most 1% lower than the reference oxygen concentration, and one oxygen concentration indicator 11a of the display unit 11 lights up to clearly indicate that the oxygen concentration is 1% lower. .

【0019】ステップS23の判別がNOであれば、ス
テップS25に進み測定酸素濃度Xが、Y・99/100>X
≧Y・98/100の範囲にあるか否かを判別する。測定酸素
濃度が上記の範囲にあるときには、ステップS26でレ
ベル記憶部Zに「2」を設定する。この状態は、今回測
定した酸素濃度Xが基準酸素濃度Yより1%〜2%低い
場合であり、表示部11の酸素濃度表示体11aが2個
点灯して、酸素濃度が2%低いことが明示される。
If the determination in step S23 is NO, the process proceeds to step S25, where the measured oxygen concentration X is determined as follows: Y · 99/100> X
It is determined whether it is in the range of ≧ Y · 98/100. When the measured oxygen concentration is within the above range, "2" is set in the level storage unit Z in step S26. This state is a case where the oxygen concentration X measured this time is 1% to 2% lower than the reference oxygen concentration Y, and two oxygen concentration indicators 11a of the display unit 11 are turned on, and the oxygen concentration is 2% lower. Specified.

【0020】ステップS25の判別がNOであれば、以
下、同様に測定酸素濃度Xが基準酸素濃度Yより2%〜
3%低い範囲、3%〜4%低い範囲、・・・にあるかを
順に判別し、それぞれの判別結果に基づいてレベル記憶
部Zに対応する数値を設定する。そして、ステップS2
7で、測定酸素濃度Xが、Y・92/100>X≧Y・91/100
の範囲にあるか否かを判別し、その範囲にあるときには
ステップS28でレベル記憶部Zに「9」を設定する。
この状態は、今回測定した酸素濃度Xが基準酸素濃度Y
より8%から9%低い場合であり、表示部11の酸素濃
度表示体11aが9個点灯して、酸素濃度が9%低いこ
とが明示される。
If the determination in step S25 is NO, similarly, the measured oxygen concentration X is 2% -more than the reference oxygen concentration Y.
.. Are determined in order of 3% lower range, 3% to 4% lower range,..., And a numerical value corresponding to the level storage unit Z is set based on each determination result. Then, step S2
At 7, the measured oxygen concentration X is Y · 92/100> X ≧ Y · 91/100
It is determined whether or not it is within the range. If it is within that range, “9” is set in the level storage unit Z in step S28.
In this state, the oxygen concentration X measured this time is equal to the reference oxygen concentration Y
This is the case where the oxygen concentration is lower by 8% to 9%, and nine pieces of the oxygen concentration indicators 11a of the display unit 11 are turned on to clearly indicate that the oxygen concentration is 9% lower.

【0021】このときステップS27の判別がNOであ
れば、ステップS29でレベル記憶部Zに「10」を設
定する。この状態は、今回測定した酸素濃度Xが基準酸
素濃度Yより9%以上低い場合であり、表示部11の1
0個の酸素濃度表示体が全て点灯して、酸素濃度が9%
以上低いことが明示される。
At this time, if the determination in step S27 is NO, "10" is set in the level storage section Z in step S29. This state is when the oxygen concentration X measured this time is lower than the reference oxygen concentration Y by 9% or more.
All 0 oxygen concentration indicators light up and the oxygen concentration is 9%
It is clearly stated that it is lower.

【0022】これらの処理により、測定した酸素濃度X
に応じて表示部11の酸素濃度表示体11aが点灯又は
消灯するので、現在の酸素濃度が基準酸素濃度Yに対し
て何%低いかを報知することができる。
By these treatments, the measured oxygen concentration X
Accordingly, the oxygen concentration indicator 11a of the display unit 11 is turned on or off according to the condition (1), so that it is possible to report what percentage of the current oxygen concentration is lower than the reference oxygen concentration Y.

【0023】酸素濃度レベル算出処理が終了したなら、
図3のステップS4で週キャリーが発生したか否かを判
別する。週キャリーが発生した場合には、ステップS5
で今回測定した酸素濃度を測定酸素濃度記憶部Xに格納
する。
When the oxygen concentration level calculation processing is completed,
In step S4 in FIG. 3, it is determined whether a weekly carry has occurred. If a weekly carry occurs, step S5
Then, the oxygen concentration measured this time is stored in the measured oxygen concentration storage unit X.

【0024】さらに、ステップS6で測定酸素濃度Xと
基準酸素濃度Yとの差データを求めその差データを差記
憶部Vに格納する。そして、次のステップS7で上記の
差データが前回補正時の修正量に所定の誤差量αを加算
した値より大きいか否かを判別する。
Further, in step S6, difference data between the measured oxygen concentration X and the reference oxygen concentration Y is obtained, and the difference data is stored in the difference storage unit V. Then, in the next step S7, it is determined whether or not the difference data is larger than a value obtained by adding a predetermined error amount α to the correction amount at the time of the previous correction.

【0025】差データが前回の修正量にαを加算した値
と等しいか、又は小さいときには(ステップS7の判別
がNO)、ステップS8で今回の測定値を基準値として
基準酸素濃度記憶部Yに格納する。さらに、ステップS
9で今回の差データを修正量記憶部Wに格納する。その
後、ステップS10の表示処理でそのときの酸素濃度に
応じて表示部11の酸素濃度表示体を点灯又は消灯させ
る。
If the difference data is equal to or smaller than the value obtained by adding α to the previous correction amount (NO in step S7), the current measured value is set as a reference value in the reference oxygen concentration storage unit Y in step S8. Store. Further, step S
In step 9, the difference data of this time is stored in the correction amount storage unit W. Thereafter, in the display process of step S10, the oxygen concentration indicator of the display unit 11 is turned on or off according to the oxygen concentration at that time.

【0026】ステップS7の判別で差データが前回修正
量に誤差量αを加算した値より大きい場合には、ステッ
プS11で基準値記憶部Yに記憶されている基準酸素濃
度から前回の修正量を減算した値を、新たな基準酸素濃
度として基準酸素濃度記憶部Yに格納する。その後、ス
テップS10の表示処理でそのときの酸素濃度に応じて
表示部11の酸素濃度表示体11aを点灯又は消灯させ
る。
If it is determined in step S7 that the difference data is larger than the value obtained by adding the error amount α to the previous correction amount, then in step S11 the previous correction amount is calculated from the reference oxygen concentration stored in the reference value storage unit Y. The subtracted value is stored in the reference oxygen concentration storage unit Y as a new reference oxygen concentration. Thereafter, in the display processing of step S10, the oxygen concentration indicator 11a of the display unit 11 is turned on or off according to the oxygen concentration at that time.

【0027】これらの処理により、例えば1週間毎の基
準酸素濃度の補正時にストーブなどがつけられていて低
い酸素濃度データが取り込まれたとしても、その場合に
は、基準値と測定値との差データが所定量(前回修正量
+α)より大きくなるので、前回補正時の基準値から前
回の修正量を減算した値が基準値として設定される。従
って、低い酸素濃度が基準値として設定されることがな
く、センサの経時変化を正しく補正することができる。
With these processes, even if a stove or the like is attached and low oxygen concentration data is taken in at the time of correction of the reference oxygen concentration every week, for example, the difference between the reference value and the measured value is obtained. Since the data becomes larger than the predetermined amount (previous correction amount + α), a value obtained by subtracting the previous correction amount from the reference value at the previous correction is set as the reference value. Therefore, a low oxygen concentration is not set as a reference value, and a temporal change of the sensor can be correctly corrected.

【0028】次に、本発明の第2実施例を図5のフロー
チャートを参照して説明する。この実施例は、1週間毎
の基準値の補正時に差データが前回修正量に誤差量αを
加算した値より大きい場合には、別の測定タイミング
(例えば、12時のキャリー信号が発生するとき)にそ
のときの測定酸素濃度と基準値との差データが、「前回
修正量+α」より大きいか否かを判別して、基準値の補
正を行うようにしたものである。
Next, a second embodiment of the present invention will be described with reference to the flowchart of FIG. In this embodiment, when the difference data is larger than the value obtained by adding the error amount α to the previous correction amount when correcting the reference value every week, another measurement timing (for example, when a carry signal occurs at 12:00) In (2), it is determined whether or not the difference data between the measured oxygen concentration and the reference value at that time is larger than “previous correction amount + α”, and the reference value is corrected.

【0029】先ず、図5のステップS31で分キャリー
が発生したか否かを判別する。分キャリーが発生した場
合には、ステップS32で酸素センサ6の出力電圧を増
幅、A/D変換してディジタルの酸素濃度データを求め
る。さらに、ステップS33で前述した酸素濃度レベル
算出処理を実行し酸素濃度に応じた酸素濃度レベルデー
タを求める。
First, it is determined in step S31 in FIG. 5 whether minute carry has occurred. If minute carry has occurred, the output voltage of the oxygen sensor 6 is amplified and A / D converted in step S32 to obtain digital oxygen concentration data. Further, in step S33, the above-described oxygen concentration level calculation processing is executed to obtain oxygen concentration level data corresponding to the oxygen concentration.

【0030】次にステップS34でフラグFAが「0」
か、「1」か、「2」かを判別する。フラグFAは、基
準値の補正時の差データと前回修正量+αとの大小関係
の判別結果に基づいて所定の数値がセットされるフラグ
であり、週毎の補正時に差データが前回修正量+αより
大きいときには「1」が、12時の時キャリー発生時の
補正でも差データが前回修正量+αより大きいときに
「2」が、差データが修正量+αと等しいか、又は小さ
く基準値の補正が行われたとき「0」がセットされる。
Next, in step S34, the flag FA is set to "0".
, “1” or “2”. The flag FA is a flag in which a predetermined numerical value is set based on the determination result of the magnitude relationship between the difference data at the time of correction of the reference value and the previous correction amount + α. When the difference data is larger than the previous correction amount + α, the difference data is “1” when the difference data is larger than the correction amount + α at 12:00, and when the difference data is equal to or smaller than the correction amount + α, the reference value is corrected. Is performed, "0" is set.

【0031】ステップS34の判別でフラグFAが
「0」のときには、ステップS35に進み週キャリが発
生したか否かを判別する。週キャリが発生した場合に
は、次のステップS36で、測定した酸素濃度を測定酸
素濃度記憶部Xに格納する。さらに、ステップS37で
測定酸素濃度Xと基準酸素濃度Yとの差データを算出
し、その差データを差記憶部Vに格納する。
When the flag FA is "0" in the determination in step S34, the flow advances to step S35 to determine whether or not a weekly carry has occurred. If a week carry occurs, the measured oxygen concentration is stored in the measured oxygen concentration storage unit X in the next step S36. Further, in step S37, difference data between the measured oxygen concentration X and the reference oxygen concentration Y is calculated, and the difference data is stored in the difference storage unit V.

【0032】次にステップS38で測定酸素濃度Xと基
準酸素濃度Yとの差データが、前回の修正量に誤差量α
を加算した値より大きいか否かを判別する。差データが
前回修正量+αより大きくなければ、今回測定された酸
素濃度が正常な値と判断して、ステップS39に進み今
回の測定値を基準酸素濃度として基準酸素濃度記憶部Y
に設定する。さらに、ステップS40で今回の差データ
を修正量記憶部Wに格納する。その後、ステップS50
の表示処理を実行する。この表示処理では、酸素濃度レ
ベルに応じて表示部11の酸素濃度表示体11aを点灯
又は消灯させてそのときの酸素濃度を表示する。
Next, in step S38, the difference data between the measured oxygen concentration X and the reference oxygen concentration Y is calculated by adding the error amount α to the previous correction amount.
It is determined whether the value is larger than the value obtained by adding. If the difference data is not larger than the previous correction amount + α, it is determined that the oxygen concentration measured this time is a normal value, and the process proceeds to step S39, where the current measurement value is set as the reference oxygen concentration and the reference oxygen concentration storage unit Y
Set to. Further, the current difference data is stored in the correction amount storage unit W in step S40. Then, step S50
Is executed. In this display process, the oxygen concentration indicator 11a of the display unit 11 is turned on or off according to the oxygen concentration level, and the oxygen concentration at that time is displayed.

【0033】ステップS38の判別で差データが前回修
正量+αより大きいときには、ステップS41でフラグ
FAに「1」を設定する。ステップS34のフラグFA
の判別でFA=1のときには、ステップS42に進み1
2時の時キャリー信号が発生したか否かを判別する。1
2時の時キャリー信号が発生した場合には、ステップS
43でそのときの酸素濃度を測定し、測定値を酸素濃度
記憶部Xに格納する。そして、ステップS44で今回の
測定値Xと基準値記憶部Yに記憶されている基準値との
差データを求める。
If it is determined in step S38 that the difference data is larger than the previous correction amount + α, the flag FA is set to "1" in step S41. Flag FA in step S34
When FA = 1 in the determination of, the process proceeds to step S42 and 1
At 2 o'clock, it is determined whether or not a carry signal has occurred. 1
If a carry signal occurs at 2 o'clock, step S
At 43, the oxygen concentration at that time is measured, and the measured value is stored in the oxygen concentration storage unit X. Then, in step S44, difference data between the current measured value X and the reference value stored in the reference value storage unit Y is obtained.

【0034】ステップS45で上記差データが前回修正
量+αと等しいか、又は小さいかを判別する。差データ
が前回修正量+αと等しいか、又は小さい場合には、今
回測定した酸素濃度が正常な値であると判断して、ステ
ップS46で今回の測定値を基準酸素濃度として基準酸
素濃度記憶部Yに設定する。さらに、ステップS47で
今回の差データを修正量記憶部Wに格納する。これによ
り、基準酸素濃度の補正が終了したのでステップS48
でフラグFAに「0」を設定する。
In step S45, it is determined whether the difference data is equal to or smaller than the previous correction amount + α. If the difference data is equal to or smaller than the previous correction amount + α, it is determined that the oxygen concentration measured this time is a normal value, and the current measurement value is set as the reference oxygen concentration in step S46. Set to Y. Further, the current difference data is stored in the correction amount storage unit W in step S47. As a result, the correction of the reference oxygen concentration has been completed, and therefore, Step S48 is performed.
To set the flag FA to "0".

【0035】また、ステップS45の判別で差データが
前回修正量+αより大きいときには、酸素濃度を2回測
定して2回とも正常な値でなかった場合であり、この場
合にはステップS49に進みフラグFAに「2」を設定
する。
If the difference data is larger than the previously corrected amount + α in the determination in step S45, it means that the oxygen concentration has been measured twice and the values have not been both normal values. In this case, the process proceeds to step S49. "2" is set to the flag FA.

【0036】その後、ステップS50の表示処理を実行
し、そのときの酸素濃度レベルに応じて表示部11の酸
素濃度表示体11aを点灯又は消灯させ、測定酸素濃度
が基準値の100 〜90%の範囲に入っているか、あるいは
それ以下を表示する。
Thereafter, the display process of step S50 is executed, and the oxygen concentration indicator 11a of the display unit 11 is turned on or off according to the oxygen concentration level at that time, and the measured oxygen concentration is 100 to 90% of the reference value. Shows whether it is in range or less.

【0037】次のステップS51では、フラグFAが
「2」か否かを判別する。FA=2であれば、読み込ん
だ酸素濃度の測定値が2回とも異常に低い値であった場
合であり、この場合にはステップS52の異常処理を実
行しセンサの異常を表示により知らせる。
In the next step S51, it is determined whether or not the flag FA is "2". If FA = 2, it means that the read measured value of the oxygen concentration is an abnormally low value both times, and in this case, the abnormality processing of step S52 is executed to notify the abnormality of the sensor by display.

【0038】これらの処理により、例えば週毎の基準値
の補正時に測定された酸素濃度がたまたま低く、差デー
タが前回修正量+αより大きい場合には、一定時間経過
して12時の時キャリー信号が発生するとき再度基準値
の補正が行われるので、通常より低い酸素濃度が基準値
として設定されるの防止できる。
According to these processes, for example, when the oxygen concentration measured at the time of correction of the reference value every week happens to be low and the difference data is larger than the previously corrected amount + α, the carry signal at 12:00 after a predetermined time has passed. Is corrected, the reference value is corrected again, so that a lower than normal oxygen concentration can be prevented from being set as the reference value.

【0039】以上のように上記実施例では、基準酸素濃
度の補正を行う場合に、今回の酸素濃度の測定値と基準
酸素濃度との差データを求め、差データが所定の修正量
(例えば、前回修正量+α)以下であれば、正常な酸素
濃度データが得られたものと判断して、そのときの測定
値を基準酸素濃度データとして設定し、差データが所定
の修正量を超えていれば、基準値から前回の修正量を引
いた値を基準値として設定し、あるいは別の測定タイミ
ングに再度基準値の補正を行うようにしている。
As described above, in the above embodiment, when correcting the reference oxygen concentration, the difference data between the current measured value of the oxygen concentration and the reference oxygen concentration is obtained, and the difference data is determined by a predetermined correction amount (for example, If it is equal to or less than the previous correction amount + α), it is determined that normal oxygen concentration data has been obtained, the measured value at that time is set as reference oxygen concentration data, and if the difference data exceeds the predetermined correction amount. For example, a value obtained by subtracting the previous correction amount from the reference value is set as the reference value, or the reference value is corrected again at another measurement timing.

【0040】従って、基準値の補正時にたまたま低い酸
素濃度が測定されても、その低い酸素濃度が基準値とし
て設定されることがなくなるので、酸素濃度が危険なレ
ベルとなっても異常が報知されないという状態をなくす
ことができる。
Therefore, even if a low oxygen concentration happens to be measured when the reference value is corrected, the low oxygen concentration is not set as the reference value, so that no abnormality is reported even if the oxygen concentration becomes a dangerous level. Can be eliminated.

【0041】なお、本発明の酸素濃度検知装置は、酸素
濃度を測定する専用の装置であってもよいし、電子時計
以外の他の電子機器に組み込んでも良い。
The oxygen concentration detecting device of the present invention may be a dedicated device for measuring the oxygen concentration, or may be incorporated in electronic equipment other than the electronic timepiece.

【0042】[0042]

【発明の効果】本発明では、基準値を補正する場合に、
測定値と基準酸素濃度との差データを求め、その差デー
タが所定量以下であれば、そのときの測定値を基準酸素
濃度として設定し、差データが所定量を超えるときに
は、例えば基準値から前回の修正量を減算した値を基準
値として設定するようにしている。従って、基準値の補
正時に、仮に通常の状態より低い酸素濃度が測定された
ときにも、その低い値が基準値として設定されるのを防
止できる。
According to the present invention, when the reference value is corrected,
Obtain difference data between the measured value and the reference oxygen concentration, if the difference data is equal to or less than a predetermined amount, set the measurement value at that time as the reference oxygen concentration, and when the difference data exceeds the predetermined amount, for example, from the reference value A value obtained by subtracting the previous correction amount is set as a reference value. Therefore, even when an oxygen concentration lower than a normal state is measured during the correction of the reference value, it is possible to prevent the low value from being set as the reference value.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例の酸素濃度検知装置の回路構成図であ
る。
FIG. 1 is a circuit configuration diagram of an oxygen concentration detection device according to an embodiment.

【図2】RAMの構成図である。FIG. 2 is a configuration diagram of a RAM.

【図3】第1実施例の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the operation of the first embodiment.

【図4】酸素濃度レベル算出処理のフローチャートであ
る。
FIG. 4 is a flowchart of an oxygen concentration level calculation process.

【図5】第2実施例の動作を示すフローチャートであ
る。
FIG. 5 is a flowchart showing the operation of the second embodiment.

【符号の説明】[Explanation of symbols]

5 CPU 6 酸素センサ 11 表示部 5 CPU 6 Oxygen sensor 11 Display

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01N 27/26 371 G01N 27/26 381 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G01N 27/26 371 G01N 27/26 381

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】酸素センサと、 この酸素センサの出力から酸素濃度データを得る酸素濃
度算出手段と、 基準酸素濃度データを記憶する基準酸素濃度記憶手段
と、 基準酸素濃度の補正が行われたときの基準酸素濃度デー
タの修正量を記憶する修正量記憶手段と、 所定期間毎に、前記測定酸素濃度データと前記基準酸素
濃度データとの差データを求め、その差データが所定量
を超えているか否かを判別する判別手段と、 この判別手段で差データが所定量以下であると判別され
た場合には、そのときの測定酸素濃度データを基準酸素
濃度データとして前記基準酸素濃度記憶手段に記憶させ
ると共に、その差データを前記修正量記憶手段に記憶さ
せ、前記判別手段で差データが所定量を超えていると判
別された場合には、前記基準酸素濃度記憶手段に記憶さ
れている基準酸素濃度データを前記修正量記憶手段に記
憶されている前回補正時の修正量に基づいて補正し、そ
の補正した値を基準酸素濃度データとして前記基準酸素
濃度記憶手段に記憶させる基準値設定手段と、 前記測定酸素濃度データと前記基準酸素濃度データとか
ら酸素濃度の異常を検出し報知する報知手段とを備える
ことを特徴とする酸素濃度検知装置。
1. An oxygen sensor, oxygen concentration calculating means for obtaining oxygen concentration data from the output of the oxygen sensor, reference oxygen concentration storage means for storing reference oxygen concentration data, and when the reference oxygen concentration is corrected. Correction amount storage means for storing the correction amount of the reference oxygen concentration data, and for each predetermined period, obtains difference data between the measured oxygen concentration data and the reference oxygen concentration data, and determines whether the difference data exceeds a predetermined amount. Determining means for determining whether or not the difference data is equal to or less than a predetermined amount; and storing the measured oxygen concentration data at that time as reference oxygen concentration data in the reference oxygen concentration storage means. And storing the difference data in the correction amount storage means. If the determination means determines that the difference data exceeds a predetermined amount, the reference oxygen concentration storage means The stored reference oxygen concentration data is corrected based on the correction amount at the time of the previous correction stored in the correction amount storage means, and the corrected value is stored in the reference oxygen concentration storage means as reference oxygen concentration data. An oxygen concentration detection device comprising: a reference value setting unit; and a notification unit that detects and reports an abnormality in oxygen concentration from the measured oxygen concentration data and the reference oxygen concentration data.
【請求項2】酸素センサと、 この酸素センサの出力から酸素濃度データを得る酸素濃
度算出手段と、 基準酸素濃度データを記憶する基準酸素濃度記憶手段
と、 基準酸素濃度の補正が行われたときの基準酸素濃度デー
タの修正量を記憶する修正量記憶手段と、 前記測定酸素濃度データと前記基準酸素濃度データとの
差データが所定量を超えているか否かを判別する判別手
段と、 所定期間毎に前記判別手段を動作させ、差データが前記
所定量以下であると判別された場合に、そのときの測定
酸素濃度データを基準酸素濃度データとして前記基準酸
素濃度記憶手段に記憶させると共に、その差データを前
記修正量記憶手段に記憶させる第1の基準値設定手段
と、 前記第1の基準値設定手段が前記判別手段を動作させ差
データが前記所定量を超えていると判別された場合に、
前記所定期間より短い時間経過後前記判別手段を動作さ
せ、差データが前記所定量以下であると判別されたな
ら、そのときの測定酸素濃度データを基準酸素濃度デー
タとして前記基準酸素濃度記憶手段に記憶させる第2の
基準値設定手段と、 前記測定酸素濃度データと前記基準酸素濃度データとか
ら酸素濃度の異常を検出し報知する報知手段とを備える
ことを特徴とする酸素濃度検知装置。
2. An oxygen sensor, oxygen concentration calculating means for obtaining oxygen concentration data from the output of the oxygen sensor, reference oxygen concentration storage means for storing reference oxygen concentration data, and when the reference oxygen concentration is corrected. Correction amount storage means for storing the correction amount of the reference oxygen concentration data, determination means for determining whether the difference data between the measured oxygen concentration data and the reference oxygen concentration data exceeds a predetermined amount, and a predetermined period. Operating the discriminating means for each time, when it is determined that the difference data is equal to or less than the predetermined amount, storing the measured oxygen concentration data at that time as the reference oxygen concentration data in the reference oxygen concentration storage means, First reference value setting means for storing difference data in the correction amount storage means, and the first reference value setting means operates the discriminating means so that the difference data exceeds the predetermined amount. If it is determined that there,
The determination means is operated after a lapse of time shorter than the predetermined period, and if it is determined that the difference data is equal to or less than the predetermined amount, the measured oxygen concentration data at that time is used as the reference oxygen concentration data in the reference oxygen concentration storage means. An oxygen concentration detection device comprising: a second reference value setting unit to be stored; and a notifying unit that detects and notifies an abnormality in the oxygen concentration from the measured oxygen concentration data and the reference oxygen concentration data.
JP3220776A 1991-08-31 1991-08-31 Oxygen concentration detector Expired - Fee Related JP3062615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3220776A JP3062615B2 (en) 1991-08-31 1991-08-31 Oxygen concentration detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3220776A JP3062615B2 (en) 1991-08-31 1991-08-31 Oxygen concentration detector

Publications (2)

Publication Number Publication Date
JPH0560717A JPH0560717A (en) 1993-03-12
JP3062615B2 true JP3062615B2 (en) 2000-07-12

Family

ID=16756390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3220776A Expired - Fee Related JP3062615B2 (en) 1991-08-31 1991-08-31 Oxygen concentration detector

Country Status (1)

Country Link
JP (1) JP3062615B2 (en)

Also Published As

Publication number Publication date
JPH0560717A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
EP0021568B1 (en) Electronic weighing apparatus
JP2001185233A (en) Detection circuit for battery voltage, battery pack and detection method of battery voltage
JP3062614B2 (en) Oxygen concentration detector
JP3062615B2 (en) Oxygen concentration detector
JP3127410B2 (en) Oxygen concentration detector
JPH06214039A (en) Radiation measuring device
US6528738B2 (en) Electronic balance/scale
JP3013753B2 (en) Weighing terminal and meter reading system
JP3175290B2 (en) Oxygen concentration detector
JP3134387B2 (en) Oxygen concentration detector
JP2001317991A (en) Electronic balance/weighing machine
JPH05281183A (en) Oxygen concentration detection device
JP2001056380A (en) Radiation monitor for measurement of counting rate
JPS62203090A (en) Electronic time-piece with depth-of-water meter
JPH0447223A (en) Integrated type flowmeter
JPH05281184A (en) Oxygen concentration detection device
JP2764731B2 (en) Control device
JPH07244189A (en) Correction method for reactivity measurement value with reactivity meter
JP2932873B2 (en) Battery deterioration indicator
JP3339774B2 (en) Encoder control device
JP3357764B2 (en) Water meter
JPH0576568B2 (en)
JPS63191032A (en) Electronic balance
JPS6271889A (en) Electronic timepiece with bathometer
JPH1026668A (en) Calibration device and neutron-flux measuring apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000321

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees