JPH08145930A - Odor monitor - Google Patents

Odor monitor

Info

Publication number
JPH08145930A
JPH08145930A JP28826994A JP28826994A JPH08145930A JP H08145930 A JPH08145930 A JP H08145930A JP 28826994 A JP28826994 A JP 28826994A JP 28826994 A JP28826994 A JP 28826994A JP H08145930 A JPH08145930 A JP H08145930A
Authority
JP
Japan
Prior art keywords
odor
value
odor sensor
voltage
resistance value
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.)
Pending
Application number
JP28826994A
Other languages
Japanese (ja)
Inventor
Hiroshi Ueno
浩志 上野
Yoshiaki Okayama
義昭 岡山
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.)
Nohmi Bosai Ltd
Original Assignee
Nohmi Bosai 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 Nohmi Bosai Ltd filed Critical Nohmi Bosai Ltd
Priority to JP28826994A priority Critical patent/JPH08145930A/en
Publication of JPH08145930A publication Critical patent/JPH08145930A/en
Pending 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

PURPOSE: To automatically correct the loss of voltage and secure the operation of an always stable sensor by detecting the line length of an elongated cord and correcting a voltage lowering part on the basis of the line length. CONSTITUTION: A fixed resistor 24 for measuring a voltage lowering part on the basis of the line length of an elongated cord EC is provided in the inside of an odor sensor 2 as a line length detection part. A resistance value of the resistor 24 is set at the same value as a composite value of a resistance value Rd of the cord EC and a resistance value of the line LN. And a voltage value for generating at both ends of the resistor 24 is taken in MPU 4, the resistance value Rd of the cord EC is calculated, correction voltage Vd on the basis of the line length of the cord EC is computed in the following: Vd=(Rd/Rh).Vh (Rh, Vh indicate the resistance value and applied voltage of a heater 2b ). The correction voltage Vd is considered, supply voltage for the heater 2b is determined and the output of a variable voltage regulator 13 is regulated. A voltage loss part due to the cord EC is thereby corrected, constant voltage can be supplied to the heater 2b , and stable operation of the sensor 2 is secured.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、環境中の雰囲気(ニ
オイ)を検出して表示するニオイモニタに関し、特にセ
ンサ部と信号処理部および表示部等を含むモニタ本体と
を一体構造または延長コードを介して分離可能な構造の
いずれの形態も取り得るポータブル型のニオイモニタに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an odor monitor for detecting and displaying an atmosphere (odor) in an environment, and more particularly to a structure in which a sensor unit and a monitor main body including a signal processing unit, a display unit, etc. are integrated or have an extension cord. The present invention relates to a portable odor monitor that can take any form of a structure that can be separated via a monitor.

【0002】[0002]

【従来の技術】従来、ニオイを検出するセンサ部と、こ
のセンサ部からの信号を処理する信号処理部やその結果
等を表示する表示部を含むモニタ本体とを延長コードを
介して分離可能な構造のニオイモニタが提案されてい
る。このようなニオイモニタでは、一般に使用されてい
るニオイセンサの素子を加熱するヒータに、延長コード
を介して定電圧回路から一定の電圧を供給するようにし
ている。
2. Description of the Related Art Conventionally, a sensor section for detecting odor and a monitor main body including a signal processing section for processing a signal from the sensor section and a display section for displaying a result thereof and the like can be separated via an extension cord. Structural odor monitors have been proposed. In such an odor monitor, a constant voltage is supplied from a constant voltage circuit via an extension cord to a heater that heats an element of a commonly used odor sensor.

【0003】[0003]

【発明が解決しようとする課題】ところが、このような
従来のニオイモニタの場合には、延長コードを構成する
リード線の抵抗成分等による電圧降下が生じ、この電圧
降下は線路長が長くなるほど大きくなるので、安定した
ヒータ電圧を供給できず、安定した動作が得られず、信
頼性が低下するという問題点があった。
However, in the case of such a conventional odor monitor, a voltage drop occurs due to the resistance component of the lead wire forming the extension cord, and this voltage drop becomes larger as the line length becomes longer. Therefore, there is a problem that a stable heater voltage cannot be supplied, a stable operation cannot be obtained, and reliability is lowered.

【0004】この発明はこのような問題点を解決するた
めになされたもので、使用される延長コードによる電圧
損失分を自動的に補正して、常に一定のヒータ電圧を供
給して安定した動作が確保できる信頼性の高いニオイモ
ニタを得ることを目的とする。
The present invention has been made in order to solve such a problem, and automatically corrects the voltage loss due to the extension cord used and always supplies a constant heater voltage for stable operation. The purpose is to obtain a highly reliable odor monitor that can secure.

【0005】[0005]

【課題を解決するための手段】この発明に係るニオイモ
ニタは、環境中の雰囲気を検出するニオイセンサと、こ
のニオイセンサと分離され、少なくとも該ニオイセンサ
の検出出力を処理する信号処理部およびニオイセンサに
電圧を供給する電源手段を含むモニタ本体と、ニオイセ
ンサとモニタ本体を電気的に接続する延長コードと、こ
の延長コードの線路長を検出する検出手段と、延長コー
ドの線路長に基づく電圧降下分を補正する補正手段とを
備えたものである。
The odor monitor according to the present invention includes a odor sensor for detecting an atmosphere in the environment, a signal processing section which is separated from the odor sensor, and which processes at least the detection output of the odor sensor. A monitor body including a power supply means for supplying a voltage to the sensor, an extension cord electrically connecting the odor sensor and the monitor body, a detection means for detecting the line length of the extension cord, and a voltage based on the line length of the extension cord. And a correction means for correcting the amount of fall.

【0006】また、検出手段としてニオイセンサの内に
少なくとも延長コードの抵抗値に相当する抵抗値を有す
る固定抵抗器を設け、補正手段は該固定抵抗器における
電圧降下分に基づいてニオイセンサに供給される電圧を
調整するものである。
Further, as the detecting means, a fixed resistor having a resistance value corresponding to at least the resistance value of the extension cord is provided in the odor sensor, and the correcting means supplies the odor sensor based on the voltage drop in the fixed resistor. The voltage is adjusted.

【0007】また、検出手段は、ニオイセンサとモニタ
本体の装着時、長さの異なる複数種類の延長コードの線
路長に対応して予め設定されているニオイセンサのプラ
グの形状に基づいて対応する延長コードを識別し、補正
手段は、この識別結果に基づいてニオイセンサに供給さ
れる電圧を調整するものである。
Further, the detecting means, when the odor sensor and the monitor main body are attached, corresponds to the shape of the plug of the odor sensor which is preset corresponding to the line lengths of a plurality of types of extension cords having different lengths. The extension code is identified, and the correction means adjusts the voltage supplied to the odor sensor based on the identification result.

【0008】また、検出手段は、ニオイセンサとモニタ
本体の装着時、ニオイセンサのプラグの複数の特定のピ
ンのいずれが、このピンに対向して設けられたスイッチ
群と対接するか否かによって対応する延長コードを識別
するものである。
Further, the detecting means determines whether or not any of a plurality of specific pins of the odor sensor plug comes into contact with a switch group provided facing the pin when the odor sensor and the monitor main body are attached. It identifies the corresponding extension code.

【0009】また、検出手段は、ニオイセンサとモニタ
本体の装着時、ニオイセンサのプラグの特定のピンが、
このピンに対向して設けられた可変抵抗器の摺動端子を
移動させたときの抵抗値に基づいて対応する延長コード
を識別するものである。
Further, the detecting means is such that when the odor sensor and the monitor main body are mounted, a specific pin of the odor sensor plug is
The corresponding extension cord is identified based on the resistance value when the sliding terminal of the variable resistor provided facing this pin is moved.

【0010】[0010]

【作用】この発明においては、延長コードの線路長を検
出し、その線路長に基づく電圧降下分を補正する。これ
により、ニオイセンサとモニタ本体との間を接続する延
長コードによる電圧損失分が自動的に補正され、常に安
定した動作を確保できる。
According to the present invention, the line length of the extension cord is detected, and the voltage drop amount based on the line length is corrected. As a result, the voltage loss due to the extension cord that connects the odor sensor and the monitor body is automatically corrected, and stable operation can always be ensured.

【0011】また、検出手段としてニオイセンサの内に
少なくとも延長コードの抵抗値に相当する固定抵抗器を
設け、この固定抵抗器における電圧降下分に基づいてニ
オイセンサに供給される電圧を調整する。これにより、
実質的にニオイセンサ内に延長コードの抵抗値に等価な
固定抵抗器を設けるだけで当該延長コードを識別でき、
ニオイセンサとモニタ本体との間を接続する延長コード
による電圧損失分が自動的に補正され、常に安定した動
作を確保できる。
Further, as the detecting means, a fixed resistor corresponding to at least the resistance value of the extension cord is provided in the odor sensor, and the voltage supplied to the odor sensor is adjusted based on the voltage drop in the fixed resistor. This allows
The extension cord can be identified simply by providing a fixed resistor equivalent to the resistance value of the extension cord in the odor sensor.
The voltage loss due to the extension cord that connects the odor sensor and the monitor body is automatically corrected, ensuring stable operation at all times.

【0012】また、長さの異なる複数種類の延長コード
の線路長に対応して予め設定されているニオイセンサの
プラグの形状に基づいて対応する延長コードを識別し、
この識別結果に基づいてニオイセンサに供給される電圧
を調整する。これにより、プラグの形状を確認するだけ
で容易に当該延長コードを識別でき、ニオイセンサとモ
ニタ本体との間を接続する延長コードによる電圧損失分
が自動的に補正され、常に安定した動作を確保できる。
Further, the corresponding extension cord is identified based on the shape of the plug of the odor sensor which is preset corresponding to the line lengths of a plurality of types of extension cords having different lengths,
The voltage supplied to the odor sensor is adjusted based on the identification result. As a result, the extension cord can be easily identified simply by checking the shape of the plug, and the voltage loss due to the extension cord that connects the odor sensor and the monitor body is automatically corrected, ensuring stable operation at all times. it can.

【0013】また、ニオイセンサのプラグの複数の特定
のピンのいずれが、このピンに対向して設けられたスイ
ッチ群と対接するか否かによって対応する延長コードを
識別する。これにより、プラグの複数の特定ピンの有無
を確認するだけで容易に当該延長コードを識別でき、ニ
オイセンサとモニタ本体との間を接続する延長コードに
よる電圧損失分が自動的に補正され、常に安定した動作
を確保できる。
Further, the corresponding extension cord is identified by whether or not any of a plurality of specific pins of the odor sensor plug is in contact with a switch group provided facing the pin. This allows the extension cord to be easily identified simply by checking the presence or absence of multiple specific pins on the plug, and the voltage loss due to the extension cord connecting the odor sensor and the monitor body is automatically corrected and always Stable operation can be secured.

【0014】また、ニオイセンサのプラグの特定のピン
が、このピンに対向して設けられた可変抵抗器の摺動端
子を移動させたときの抵抗値に基づいて対応する延長コ
ードを識別する。これにより、プラグの特定のピンの長
さを変えるだけで容易に当該延長コードを識別でき、ニ
オイセンサとモニタ本体との間を接続する延長コードに
よる電圧損失分が自動的に補正され、常に安定した動作
を確保できる。
Further, a specific pin of the plug of the odor sensor identifies the corresponding extension cord based on the resistance value when the sliding terminal of the variable resistor provided facing this pin is moved. This makes it easy to identify the extension cord by simply changing the length of a specific pin on the plug, and the voltage loss due to the extension cord that connects the odor sensor and the monitor body is automatically corrected and always stable. It is possible to secure the operation that was performed.

【0015】[0015]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例を示す構成図である。
図において、1はポータブル型のニオイモニタ、2は環
境中の雰囲気例えば還元性の雰囲気(ガス)や酸化性の
雰囲気(ガス)を検出する例えばSnO2半導体薄膜から
なるニオイセンサである。このニオイセンサ2は、還元
性の雰囲気に対して抵抗値が変化し、酸化性の雰囲気に
対して還元性の雰囲気と反対方向に抵抗値が変化し、例
えばTMA,ニコチン等の悪臭やリボグルコサン等の焦
げニオイ、すなわち、還元性のガス等に高感度で抵抗値
は減少し、一方、オゾン,NO2等の酸化性のガス等に
対しても高感度で例えば0.03ppm程度を検出し、その抵
抗値は増加する。また、ニオイセンサ2は、その出力を
基準化して基準となるガス等を決めて較正し、例えば、
ニコチン10ppm中でのニオイセンサ2の出力を+1.0
V、オゾン1ppm中でのニオイセンサ2の出力を−1.0V
とされている。3はニオイセンサ2に接続されたセンサ
インターフェース、4はこのセンサインターフェース3
を介してニオイセンサ2の検出出力が供給され、後述の
種々の演算処理を行う補正手段としてのマイクロプロセ
ッサユニット(以下、MPUという)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.
In the figure, 1 is a portable odor monitor, and 2 is an odor sensor made of, for example, a SnO 2 semiconductor thin film for detecting an atmosphere in the environment, for example, a reducing atmosphere (gas) or an oxidizing atmosphere (gas). The odor sensor 2 has a resistance value that changes in a reducing atmosphere and a resistance value that changes in the opposite direction to the reducing atmosphere with respect to an oxidizing atmosphere. For example, odors such as TMA and nicotine, riboglucosan, and the like. Burnt odor, that is, the resistance value is reduced with high sensitivity to reducing gas and the like, while on the other hand, about 0.03 ppm is also detected with high sensitivity to oxidizing gas such as ozone and NO 2. The resistance value increases. Further, the odor sensor 2 standardizes the output, determines a reference gas or the like, and calibrates it.
Output of odor sensor 2 in nicotine 10ppm +1.0
Output of odor sensor 2 in V and ozone 1ppm is -1.0V
It has been. 3 is a sensor interface connected to the odor sensor 2, 4 is this sensor interface 3
It is a microprocessor unit (hereinafter, referred to as MPU) as a correction unit that is supplied with the detection output of the odor sensor 2 via the.

【0016】MPU4は、演算処理を行う演算部41
と、センサインターフェース3を介してニオイセンサ2
から供給されてくる検出出力をA/D変換するA/D変
換部42と、演算部41に接続され、後述の図3〜図5
に示すようなフローチャートのプログラム等が予め格納
されているROM43と、演算部41に接続されたタイ
マ44と、演算部41と相互接続され、演算処理の際に
使用されるRAM45とを有する。
The MPU 4 has an arithmetic unit 41 for performing arithmetic processing.
And the odor sensor 2 via the sensor interface 3.
3 to 5 which will be described later and are connected to an A / D converter 42 for A / D converting the detection output supplied from
It has a ROM 43 in which the programs of the flowchart shown in FIG. 1 are stored in advance, a timer 44 connected to the arithmetic unit 41, and a RAM 45 interconnected with the arithmetic unit 41 and used in the arithmetic processing.

【0017】このRAM45は、例えば、図2に示すよ
うに、作業領域45aと、表示や警報等の内容を格納す
る表示領域45bと、キー操作等によりニオイモニタの
設定状態についての内容を格納する設定領域45cと、
ニオイ指数の換算に使用される固定データ等を格納する
データ領域45dとを有する。一例として、表示領域4
5bには、後述されるニオイ指数N,環境中の補正抵抗
値Znc,ピークホールド下限値PHNL,ピークホール
ド上限値PHNH,STANDBY等のモニタへの使用状態の表
示,バーグラフ内容,ブザーON/OFF/断続の制御,エラ
ー内容およびAB CAL等のニオイ指数の算出方式の表示等
が格納され、また、設定領域45cには、アブソリュー
ト切り替え機能のOFF/ON状態,オートキャリブレーショ
ン設定機能の0N/0FF状態,ピークホールド値表示機能の
0FF/ON状態およびレンジ切替機能のOFF/ON状態等各種の
設定状態が格納され、さらに、データ領域45dには、
後述のEEPROM7と同様のデータが記憶されてい
る。
The RAM 45 stores, for example, as shown in FIG. 2, a work area 45a, a display area 45b for storing contents such as displays and alarms, and contents regarding the setting state of the odor monitor by key operation or the like. A setting area 45c,
And a data area 45d for storing fixed data and the like used for conversion of the odor index. As an example, the display area 4
Reference numeral 5b denotes an odor index N which will be described later, a correction resistance value Z nc in the environment, a peak hold lower limit value PHN L , a peak hold upper limit value PHN H , a use state display on a monitor, a bar graph content, and a buzzer. ON / OFF / intermittent control, error content, display of odor index calculation method such as AB CAL, etc. are stored. Also, setting area 45c stores OFF / ON status of absolute switching function, auto calibration setting function. 0N / 0FF status, peak hold value display function
Various setting states such as 0FF / ON state and OFF / ON state of range switching function are stored, and further, in the data area 45d,
The same data as that of the EEPROM 7 described later is stored.

【0018】また、MPU4は、後述の電圧調整器の状
態を監視するための情報をA/D変換して演算部41へ
供給するA/D変換部46と、演算部41からの出力を
D/A変換して外部に出力するD/A変換部47と、外
部の機器例えばパソコン(図示せず)へ演算部41から
のデータを直列−並列変換して送出したり、逆に、パソ
コンからのデータを並列−直列変換して演算部41へ入
力する、いわゆる汎用非同期式レシーバトランスミッタ
(UART:universal asynchronous receiver/trans
mitter)である直列−並列および並列−直列変換部48
とをさらに有する。
Further, the MPU 4 A / D-converts the information for monitoring the state of the voltage regulator, which will be described later, and supplies it to the arithmetic unit 41, and the output from the arithmetic unit 41 is D A / A conversion unit 47 for A / A conversion and output to the outside, and data from the arithmetic unit 41 after serial-parallel conversion to an external device, such as a personal computer (not shown), and vice versa. Data is converted into parallel-serial data and input to the arithmetic unit 41, which is a so-called general-purpose asynchronous receiver / transducer (UART: universal asynchronous receiver / trans).
mitter) serial-parallel and parallel-serial converter 48
And further.

【0019】5は演算部41に接続された液晶表示装置
(以下、LCDという)駆動器、6はこのLCD駆動器
5により駆動されて各種の情報の表示を行うLCDであ
る。7は演算部41と相互接続されたEEPROMであ
って、このEEPROM7には、例えばニオイ指数の計
算に必要な固定データとしてニオイセンサ2の飽和抵抗
値Zm,ニオイの全くない状態であるいわゆる清浄空気
中(標準状態)のニオイセンサ2の抵抗値Zns0,基準
ニオイ中のニオイセンサ2の抵抗値Zns,負荷抵抗値R
および測定電源電圧V等が格納され、また、それ以外の
数値データとして例えばアラームレベル値ARM等が格
納されている。
Reference numeral 5 denotes a liquid crystal display (hereinafter referred to as LCD) driver connected to the arithmetic unit 41, and 6 denotes an LCD driven by the LCD driver 5 to display various information. Reference numeral 7 denotes an EEPROM interconnected with the arithmetic unit 41. The EEPROM 7 has, for example, the saturation resistance value Z m of the odor sensor 2 as fixed data necessary for calculating the odor index, a so-called clean state in which there is no odor. resistance Z ns 0 odor sensor 2 in air (STP), the resistance value Z ns odor sensor 2 in the reference odor, the load resistance R
Further, the measured power supply voltage V and the like are stored, and as other numerical data, for example, an alarm level value ARM and the like are stored.

【0020】8は演算部41に接続された複数の各機能
に対応したキーを有する操作部であって、この操作部8
には、少なくとも例えば電源のON/OFFを行うON/OFFキ
ー,オートキャリブレーション設定機能のON/OFFを行う
AUTO CALキー,ピークホールド値表示機能のON/OFFを行
うP/V HOLDキー,データ設定機能で、データ選択(値が
大きくなるようにローテーション)を行う△キー,デー
タ設定機能で、データ選択(値が小さくなるようにロー
テーション)を行う▽キー,データ設定機能のON/OFFを
行うALARM SETキー,アブソリュート切り替え機能のON/
OFFを行うAB CALキーおよびレンジ切り替え機能のON/OF
Fを行うRANGEキー等が設けられている。なお、AUTO CAL
キーは、データ設定機能中はP/V HOLDキーとの併用によ
り固定データの入力機能を起動するようになされてい
る。
Reference numeral 8 denotes an operation unit having keys corresponding to a plurality of functions connected to the calculation unit 41.
For at least ON / OFF key to turn on / off the power, and to turn on / off the auto calibration setting function.
AUTO CAL key, ON / OFF of peak hold value display function P / V HOLD key, data setting function, data selection (rotation so that the value increases) △ key, data setting function, data selection ( Rotate so that the value becomes smaller) ▽ key, ON / OFF of data setting function, ALARM SET key, ON / OFF of absolute switching function
AB CAL key for OFF and ON / OF for range switching function
The RANGE key etc. which perform F are provided. In addition, AUTO CAL
The key activates the fixed data input function in combination with the P / V HOLD key during the data setting function.

【0021】9は演算部41に接続され、ニオイ指数が
所定値を越えた場合や電源電圧が所定値を下回った場合
等に警報を発するブザー、10はD/A変換部47に接
続され、ニオイ指数に関する情報を外部に出力する出力
バッフア、11は電源回路、12は電源回路11に接続
され、内部の各回路やニオイセンサ2の素子2a(図1
3,図15および図17参照)に安定化された電源電圧
を供給する電圧調整器であって、この電圧調整器12と
しては、例えば定電圧回路が用いられる。13は電源回
路11に接続され、ニオイセンサ2のヒータ2b(図1
3,図15および図17参照)に安定化された電圧を供
給する電源手段としての可変型電圧調整器である。な
お、この可変型電圧調整器13は後述されるように、単
独で、あるいは、MPU4と共に、補正手段としても機
能する。
Reference numeral 9 is connected to the arithmetic unit 41, and a buzzer for issuing an alarm when the odor index exceeds a predetermined value or the power supply voltage falls below a predetermined value, and 10 is connected to the D / A conversion unit 47. An output buffer for outputting information about the odor index to the outside, 11 is a power supply circuit, 12 is connected to the power supply circuit 11, and each internal circuit and the element 2a of the odor sensor 2 (see FIG. 1).
3, FIG. 15 and FIG. 17), which is a voltage regulator that supplies a stabilized power supply voltage. As the voltage regulator 12, for example, a constant voltage circuit is used. Reference numeral 13 is connected to the power supply circuit 11 and is connected to the heater 2b (see FIG.
3, FIG. 15 and FIG. 17) is a variable voltage regulator as a power supply means for supplying a stabilized voltage. As will be described later, the variable voltage regulator 13 also functions as a correction unit alone or together with the MPU 4.

【0022】14は直列−並列および並列−直列変換器
48に接続された出力端子であって、この出力端子14
には例えば図示せずもRS232Cレベル変換器を介し
てパソコン(図示せず)が接続される。15,16は共
に出力バッフア10に接続された出力端子であって、出
力端子15,16にはそれぞれ+側(還元性の雰囲気)
と−側(酸化性の雰囲気)のニオイ指数が例えば0〜5
Vの間の電圧により出力される。このときのニオイ指数
は1つであるので、いずれかの電圧により出力されるこ
とになる。17はセンサインターフェース3の出力側に
接続された出力端子であって、この出力端子17にはセ
ンサインターフェース3を介してニオイセンサ2から直
接生のデータが供給される。なお、これらの出力端子1
5〜17には例えば図示せずもデータロガーやレコーダ
等が接続されるようになされている。18は電源回路1
1がACアダプタとして作動するとき外部の商用電源
(図示せず)に接続される電源端子である。そして、出
力端子15,16は、清浄空気中のニオイ指数を基準と
して、出力端子15は還元性の雰囲気を例えば0〜5V
で、また、出力端子16は酸化性の雰囲気を例えば0〜
5Vで出力するものであって、それぞれニオイ指数の絶
対値を電圧出力するようになされている。従って、出力
端子15の出力中は出力端子16が0V、出力端子16
が出力中は出力端子15が0Vとなる。20は延長コー
ドEC(図13,図15および図17参照)の線路長を
検出するための検出手段としての線路長検出部である。
この延長コードECの線路長の検出に基づいて、後述さ
れるように、延長コードECによる電圧損失分の補正が
なされる。
Reference numeral 14 denotes an output terminal connected to the series-parallel and parallel-series converter 48.
For example, a personal computer (not shown) is connected via an RS232C level converter (not shown). Reference numerals 15 and 16 are output terminals connected to the output buffer 10. The output terminals 15 and 16 are respectively on the + side (reducing atmosphere).
And the odor index on the − side (oxidizing atmosphere) is, for example, 0 to 5
It is output by a voltage between V. At this time, since the odor index is one, it is output by any voltage. Reference numeral 17 is an output terminal connected to the output side of the sensor interface 3, and raw data is directly supplied to the output terminal 17 from the odor sensor 2 via the sensor interface 3. These output terminals 1
A data logger, a recorder and the like (not shown) are connected to 5 to 17, for example. 18 is a power supply circuit 1
1 is a power supply terminal connected to an external commercial power supply (not shown) when operating as an AC adapter. The output terminals 15 and 16 have a reducing atmosphere of, for example, 0 to 5 V based on the odor index in the clean air.
In addition, the output terminal 16 has an oxidizing atmosphere of, for example, 0 to
The voltage is output at 5 V, and the absolute value of the odor index is output as a voltage. Therefore, while the output terminal 15 is outputting, the output terminal 16 is 0 V, the output terminal 16
Is output, the output terminal 15 becomes 0V. Reference numeral 20 denotes a line length detecting unit as a detecting means for detecting the line length of the extension cord EC (see FIGS. 13, 15 and 17).
Based on the detection of the line length of the extension cord EC, the voltage loss is corrected by the extension cord EC as described later.

【0023】次に、動作について説明する。まず、全体
の動作を図3を参照して概略的に説明する。なお、以下
の説明で判定動作は演算部41で全て制御される。電源
投入時、まずステップS1において、後述されるように
EEPROM7からデータを読み出してRAM45に格
納する等の初期設定を行う。次いで、ステップS2にお
いて、ウォームアップとして、ニオイセンサ2が安定す
るまで所定時間例えば3分間待機する。この3分間の待
機中にも操作部8のキー操作によるRAM45に対する
データ設定が可能である。すなわち、この3分間のスタ
ンバイ(STANDBY)モードで、ステップS3において、
設定入力が有るか否かを判定し、無ければステップS2
に戻って3分間待機し、有ればステップS4において、
後述されるようなRAM45に対する設定処理を行う。
このスタンバイモード中、LCD6には表示画面の所定
領域例えば上部左側の領域に、「STANDBY」なる文字が
表示される。
Next, the operation will be described. First, the overall operation will be schematically described with reference to FIG. In the following description, the determination operation is entirely controlled by the calculation unit 41. When the power is turned on, first, in step S1, initial settings such as reading data from the EEPROM 7 and storing it in the RAM 45 are performed as will be described later. Next, in step S2, as warm-up, a predetermined time, for example, 3 minutes, stands by until the odor sensor 2 stabilizes. Data can be set in the RAM 45 by operating the keys of the operation unit 8 even during the standby for 3 minutes. That is, in this 3-minute standby (STANDBY) mode, in step S3,
It is determined whether or not there is a setting input, and if not, step S2
And wait for 3 minutes, if any, in step S4,
A setting process for the RAM 45, which will be described later, is performed.
During this standby mode, the characters "STANDBY" are displayed on the LCD 6 in a predetermined area of the display screen, for example, in the upper left area.

【0024】一方、ステップS2で3分間経過するとレ
ディ(READY)モードに入り、ニオイの測定に入る。す
なわち、まずステップS5において、後述されるように
RAM45よりピークホールド値表示機能、キャブレー
ション設定機能、アブソリュート切り替え機能等のオン
オフの設定状態に関するデータを読み込む。そして、ス
テップS6において、A/D変換部42およびセンサイ
ンターフェース3を介してニオイセンサ2の出力を読み
込んでサンプリングし、必要な固定データをEEPRO
M7より読み出して、後述されるように、ステップS7
において、ニオイ指数を算出する。なお、このレディモ
ード中、LCD6には表示画面の所定領域例えば同じく
上部左側の領域に、「READY」なる文字が表示されると
共に、表示画面の所定領域例えば中央部に表示されるニ
オイ指数に関するバーグラフ表示やディジタル表示は0
とされる。
On the other hand, when 3 minutes have passed in step S2, the ready (READY) mode is entered and the odor measurement is started. That is, first, in step S5, data relating to ON / OFF setting states such as a peak hold value display function, a calibration setting function, and an absolute switching function is read from the RAM 45 as described later. Then, in step S6, the output of the odor sensor 2 is read and sampled through the A / D converter 42 and the sensor interface 3, and necessary fixed data is EEPRO.
It is read from M7 and, as will be described later, step S7.
In, the odor index is calculated. During the ready mode, the LCD 6 displays a character "READY" in a predetermined area of the display screen, for example, in the upper left area, and a bar related to the odor index displayed in the predetermined area of the display screen, for example, the central portion. 0 for graph display and digital display
It is said.

【0025】このニオイ指数は基準となるニオイの強度
における基準抵抗を用いて、検知対象の状態例えばニオ
イ圧によって変化する抵抗を基準化するもので、EEP
ROM7に格納されている上述の固定データとニオイセ
ンサ2で検出された出力値(測定電圧)を用いて次のよ
うにして算出される。まず、基準抵抗rrefは固定デー
タを用い、次式によって算出される。
This odor index uses the reference resistance at the intensity of the reference odor to standardize the resistance that changes depending on the state of the object to be detected, for example, the odor pressure.
It is calculated as follows using the above-mentioned fixed data stored in the ROM 7 and the output value (measurement voltage) detected by the odor sensor 2. First, the reference resistance r ref is calculated by the following equation using fixed data.

【0026】 rref=(Zns−Zm)(Zns0−Zm)/(Zns0−Zns) (1)R ref = (Z ns −Z m ) (Z ns 0 −Z m ) / (Z ns 0 −Z ns ) (1)

【0027】そして、ニオイセンサ2で検出された測定
電圧Eを次式によって抵抗値に換算し、これを測定抵抗
値Znとする。
Then, the measured voltage E detected by the odor sensor 2 is converted into a resistance value by the following equation, and this is set as a measured resistance value Z n .

【0028】 Zn=R(VーE)/E (2)Z n = R (V−E) / E (2)

【0029】そして、この測定抵抗値Znを次式によっ
てニオイ指数Nに換算する。
Then, the measured resistance value Z n is converted into the odor index N by the following equation.

【0030】 N=rref/rn=rref(Z0−Zn)/(Zn−Zm)(Z0−Zm) (3)[0030] N = r ref / r n = r ref (Z0-Z n) / (Z n -Z m) (Z0-Z m) (3)

【0031】なお、上記(3)において、rnはニオイ
圧によって変化する抵抗、Z0はニオイセンサ2の初期
抵抗値で、このZ0としては、後述されるように、ニオ
イの全くない状態としての清浄空気中の抵抗値を基準と
してニオイ指数を算出する場合には清浄空気中の抵抗値
ns0が用いられ、測定環境の雰囲気の抵抗値を基準と
してニオイ指数を算出する場合には、環境中の補正抵抗
値Zncが用いられる。
[0031] In the above (3), r n is the resistance that varies with odor pressure, Z0 is the initial resistance of the odor sensor 2, as the Z0, as will be described later, as a state no smell When calculating the odor index based on the resistance value in the clean air, the resistance value Z ns 0 in the clean air is used. When calculating the odor index based on the resistance value in the atmosphere of the measurement environment, The medium correction resistance value Z nc is used.

【0032】このようにして、ニオイ指数の算出が終了
すると、ステップS8において、算出されたニオイ指数
を判別して必要な表示や警報、外部への出力等を行う。
そして、タイマ44に設定された値に従って待ち時間を
経て、上述の動作を繰り返す。つまり、ステップS9に
おいて、再度設定入力が有るか否かを判定し、有れば、
ステップS10において、上述のステップS4と同様の
設定処理を行い、ステップS9に戻って上述と同様の動
作を繰り返し、無ければステップS11において、サン
プリング動作に入るべきか否かを判別し、入るべきでな
ければ、ステップS9に戻って待機し、入る必要が有れ
ば、ステップS5に戻って上述の動作を繰り返す。この
サンプリング動作は、例えば1秒間に1回行われる。こ
れで、全体の動作が完了する。このように、本実施例
は、環境中のニオイ強度をニオイ指数として、上述のよ
うな式を用いて算出しているが、一般的な素子の初期抵
抗からの抵抗変化に基づくニオイ強度を算出する方式を
用いるようにしてもよい。
When the calculation of the odor index is completed in this way, in step S8 the calculated odor index is discriminated to perform necessary display, warning, output to the outside and the like.
Then, the above operation is repeated after a waiting time according to the value set in the timer 44. That is, in step S9, it is determined again whether or not there is a setting input.
In step S10, the same setting process as in step S4 described above is performed, and the process returns to step S9 to repeat the same operation as described above. If not, the process returns to step S9 to stand by, and if it is necessary to enter, the process returns to step S5 to repeat the above operation. This sampling operation is performed once per second, for example. This completes the entire operation. As described above, in the present embodiment, the odor intensity in the environment is calculated as the odor index by using the above formula, but the odor intensity based on the resistance change from the initial resistance of a general element is calculated. You may make it use the method of doing.

【0033】次に、図3の各ステップ(ルーチン)を詳
細に説明する。まず、図4を参照して、ステップS1の
「初期設定」の動作について説明する。電源投入後、ス
テップS21において、MPU4の動作に必要な各部の
確認を行った後、ステップS22において、EEPRO
M7からこれに予め設定されているデータを読み込む。
そして、ステップS23において、正常にデータが読み
出されたか否かを判別し、正常にデータが読み出せれ
ば、ステップS24において、それらのデータをRAM
45のデータ領域45dに書き込み、以後、動作中は、
データをRAM45から読み出すことになる。このステ
ップS23でのデータの判別は、データの数値が所定範
囲にあるか否かを調べており、その数値が所定範囲外で
あれば、誤ったデータと判別する。
Next, each step (routine) of FIG. 3 will be described in detail. First, with reference to FIG. 4, the operation of the “initial setting” in step S1 will be described. After turning on the power, in step S21, after confirming each part necessary for the operation of the MPU 4, in step S22, EEPRO
The preset data is read from M7.
Then, in step S23, it is determined whether or not the data is normally read out, and if the data is normally read out, in step S24, those data are stored in the RAM.
45 in the data area 45d, and thereafter during operation,
The data will be read from the RAM 45. In the determination of the data in step S23, it is checked whether the numerical value of the data is within the predetermined range. If the numerical value is outside the predetermined range, it is determined that the data is incorrect.

【0034】一方、ステップS23で正常にデータが読
み出されない場合、ステップS25に進む。この正常に
データが読み出されない場合として、例えば、元々EE
PROM7に間違って異常なデータを格納されていた
り、または、データの読み込みの際に異常が起きて、デ
ータを読み取れない場合等がある。あるいはまた、EE
PROM7からのデータの読み出しの際に、データがそ
もそもEEPROM7に設定されていない場合もある。
特に、製造直後の立ち上げ時には、当然データは設定さ
れていない。このような場合には、ステップS23で正
常なデータが読み出せないので、ステップS25におい
て、LCD駆動器5によりLCD6を駆動して、これに
エラーを表示させる。これらのデータの確認は、例えば
読み出す対象のデータの合計値をEEPROM7に格納
しておき、読み出したデータの合計値とEEPROM7
内の合計値とを比較することにより、データの異常を判
別してもよい。
On the other hand, if the data is not normally read in step S23, the process proceeds to step S25. As a case where the data is not normally read out, for example, originally EE
There is a case where abnormal data is erroneously stored in the PROM 7 or an error occurs when reading the data and the data cannot be read. Alternatively, EE
When reading data from the PROM 7, the data may not be set in the EEPROM 7 in the first place.
In particular, at the time of startup immediately after manufacturing, of course, no data is set. In such a case, since normal data cannot be read in step S23, the LCD driver 5 drives the LCD 6 to display an error in step S25. To confirm these data, for example, the total value of the data to be read is stored in the EEPROM 7, and the total value of the read data and the EEPROM 7 are stored.
Abnormality of data may be determined by comparing with the total value in the above.

【0035】そして、ステップS26において、ROM
43よりいわゆるデフォルトデータを読み出し、この読
み出したデフォルトデータを、ステップS27におい
て、EEPROM7に格納し、ステップS28におい
て、RAM45に格納し、以後、ニオイモニタの動作と
して、このデフォルトデータを用いた動作を行う。な
お、このデフォルトデータの読み出しは、図4のフロー
チャートでは、一括して読み出すようになされている
が、個々のデータ毎に設定の有無を確認して、無いもの
についてのみデフォルトデータを読み出すようにしても
よい。また、このデフォルトデータとしては、EEPR
OM7に格納されているデータに相当するものが、デフ
ォルトデータとして予め、ROM43に格納されている
ものである。このデフォルトデータは、また、ソフトウ
ェア的に生成するようにしてもよい。
Then, in step S26, the ROM
So-called default data is read from 43, the read default data is stored in the EEPROM 7 in step S27, and stored in the RAM 45 in step S28. Thereafter, an operation using this default data is performed as an operation of the odor monitor. . Note that the default data is read all at once in the flowchart of FIG. 4, but the presence or absence of the setting is checked for each individual data, and the default data is read only for those that do not exist. Good. In addition, as this default data, EEPR
Data corresponding to the data stored in the OM 7 is stored in the ROM 43 in advance as default data. This default data may also be generated by software.

【0036】電源オン時の処理としてこのような初期設
定の動作を行うことにより、次のような利点がある。す
なわち、EEPROM7に間違って異常なデータを格納
させたりした場合、このようなデータでセンサ特性を較
正したり、表示されるニオイ指数を計算で正しい値にす
るところで異常な値となり、ニオイモニタの信頼性が損
なわれ、また、EEPROM7よりデータを読み込み時
に異常が起きて正常なデータを入手できない場合にも同
様にニオイモニタが機能しなくなるが、このような場合
に、上述のごとくニオイモニタの代表的な特性データを
予めROM43に設定しておき、異常時にこれらのデー
タをデフォルトデータとして用いて処理を行うことによ
り、ニオイモニタを正常に作動させることができ、装置
の信頼性を向上できる。
By performing such an initial setting operation as the processing when the power is turned on, there are the following advantages. That is, when abnormal data is stored in the EEPROM 7 by mistake, the sensor characteristics are calibrated with such data, or an abnormal value is obtained when the displayed odor index is set to a correct value by calculation. When the data is read from the EEPROM 7 and an error occurs when the data is read from the EEPROM 7, the odor monitor does not function in the same manner. In such a case, however, the typical odor monitor is as described above. By setting various characteristic data in the ROM 43 in advance and using these data as default data when an abnormality occurs, the odor monitor can be operated normally and the reliability of the device can be improved.

【0037】また、EEPROM7に上述の特性データ
が設定されていない場合にも、ある程度信頼性のあるR
OM43からのデータによりニオイ指数を表示すること
が可能となる。そして、このような、デフォルトデータ
をROM43から読み出してEEPROM7やRAM4
5にも格納しておくことにより、次のサイクルでは、R
OM43からこのデフォルトデータを読み出す手順を省
略することができる。
Further, even if the above-mentioned characteristic data is not set in the EEPROM 7, the R with a certain degree of reliability is obtained.
The odor index can be displayed by the data from the OM43. Then, such default data is read from the ROM 43 to read the EEPROM 7 and the RAM 4
By also storing it in 5, in the next cycle, R
The procedure of reading this default data from the OM 43 can be omitted.

【0038】次に、図5〜図7を参照して、ステップS
4(S10)の「設定処理」の動作について説明する。
まず、オールキャリブレーション設定機能につい説明す
る。このオールキャリブレーション設定機能は、ニオイ
指数の初期抵抗値Z0を補正する機能である。ステップ
S31において、操作部8のオートキャリブレーション
設定機能のON/OFFを行うAUTO CALキーが押圧されたか否
かを判定し、押圧されていれば、ステップS32におい
て、RAM45の設定領域45cを参照してオートキャ
リブレーション設定機能がON状態かOFF状態かを判
定し、OFF状態であれば、ステップS33において、
RAM45の設定領域45cにONを設定する。
Next, referring to FIGS. 5 to 7, step S
The operation of the "setting process" of 4 (S10) will be described.
First, the all calibration setting function will be described. This all-calibration setting function is a function of correcting the initial resistance value Z0 of the odor index. In step S31, it is determined whether or not the AUTO CAL key for turning ON / OFF the auto-calibration setting function of the operation unit 8 is pressed, and if it is pressed, the setting area 45c of the RAM 45 is referred to in step S32. The automatic calibration setting function is in the ON state or the OFF state, and if it is in the OFF state, in step S33,
ON is set in the setting area 45c of the RAM 45.

【0039】そして、ステップS34において、測定抵
抗値Znの値を補正し,環境中の補正抵抗値Zncとして
RAM45の表示領域45bに設定し、ステップS35
において、タイマ44の時間tを0に設定する。この補
正を所定時間例えば30分毎に行う。また、ステップS
32でRAM45の設定領域45cを参照してオートキ
ャリブレーション設定機能がON状態であれば、ステッ
プS36において、RAM45の設定領域45cにOF
Fを設定し、測定抵抗値Znの補正は行わない。このと
きの現在の状態は、LCD6の表示画面の所定領域例え
ば最上部右上に表示され、ON状態は「AUTO CAL」、O
FF状態は「AUTO OFF」と表示される。
Then, in step S34, the value of the measured resistance value Z n is corrected and set as the corrected resistance value Z nc in the environment in the display area 45b of the RAM 45, and then in step S35.
In, the time t of the timer 44 is set to 0. This correction is performed every predetermined time, for example, every 30 minutes. Step S
If the auto-calibration setting function is in the ON state by referring to the setting area 45c of the RAM 45 in 32, the OF is set in the setting area 45c of the RAM 45 in step S36.
F is set and the measured resistance value Z n is not corrected. The current state at this time is displayed in a predetermined area of the display screen of the LCD 6, for example, in the upper right of the uppermost portion, and the ON state is "AUTO CAL", O.
The FF status is displayed as "AUTO OFF".

【0040】一方、ステップS31でAUTO CALキーが押
圧されてなければ、ステップS37において、操作部8
のアブソリュート切り替え機能のON/OFFを行うAB CALキ
ーが押圧されたか否かを判定し、押圧されていれば、ス
テップS38において、RAM45の設定領域45cを
参照してアブソリュート切り替え機能がON状態かOF
F状態かを判定し、OFF状態であれば、ステップS3
9において、RAM45の設定領域45cにONを設定
し、ON状態であれば、ステップS40において、RA
M45の設定領域45cにOFFを設定する。
On the other hand, if the AUTO CAL key is not pressed in step S31, the operation unit 8 is operated in step S37.
It is determined whether or not the AB CAL key for turning ON / OFF the absolute switching function of is pressed. If it is pressed, in step S38, the absolute switching function is turned ON by referring to the setting area 45c of the RAM 45.
It is determined whether it is the F state, and if it is the OFF state, step S3.
9, the setting area 45c of the RAM 45 is set to ON, and if it is in the ON state, RA is set in step S40.
OFF is set in the setting area 45c of M45.

【0041】このアブソリュート切り替え機能は、後述
されるように、初期抵抗値Z0をZn s0としてニオイ指数
を計算し、LCD6の表示画面のバーグラフの表示範囲
とピークホールドの表示形式を切り替える機能で、起動
時はOFF状態とされる。そして、上述のごとくこのア
ブソリュート切り替え機能がOFF状態からON状態と
された場合は、オートキャリブレーション設定機能状態
を保存し、アブソリュート切り替え機能をOFF状態と
する。
As will be described later, the absolute switching function calculates the odor index with the initial resistance value Z 0 as Z n s 0 and switches the display range of the bar graph on the display screen of the LCD 6 and the peak hold display format. Then, it is turned off at startup. When the absolute switching function is changed from the OFF state to the ON state as described above, the auto-calibration setting function state is saved and the absolute switching function is set to the OFF state.

【0042】そして、アブソリュート切り替え機能がO
N状態からOFF状態とされた場合は、オートキャリブ
レーション設定機能状態を保存しておいた状態に戻すよ
うになされている。つまり、オートキャリブレーション
設定機能は、アブソリュート切り替え機能とリンクして
おり、アブソリュート切り替え機能をON状態とした場
合には、オートキャリブレーション設定機能より優先さ
れる。従って、この設定処理のルーチンにおいて、何ら
かの入力動作がある場合に、この設定処理動作に入り、
その入力がAB CALキーの押圧であれば、アブソリュート
切り替え機能のON/OFF状態を切り替えるが、それ以外の
入力があれば、その他の設定処理を行う。ここでは、一
例として、オートキャリブレーション設定機能の設定処
理を行う場合を示している。
Then, the absolute switching function is turned on.
When the N state is turned off, the auto calibration setting function state is returned to the saved state. That is, the auto-calibration setting function is linked to the absolute switching function, and has priority over the auto-calibration setting function when the absolute switching function is turned on. Therefore, in the setting processing routine, if there is any input operation, the setting processing operation is started.
If the input is the pressing of the AB CAL key, the ON / OFF state of the absolute switching function is switched, but if there is another input, other setting processing is performed. Here, as an example, the case where the setting process of the automatic calibration setting function is performed is shown.

【0043】一方、ステップS37でAB CALキーが押圧
されてなければ、その他の設定処理に入る。ここでは、
例えば、ニオイ指数の上下限値を表示する機能であるピ
ークホールド値表示機能に入る場合について説明する。
ステップS41において、操作部8のピークホールド値
表示機能のON/OFFを行うP/V HOLDキーが押圧されたか否
かを判定し、押圧されていれば、ステップS42におい
て、RAM45の設定領域45cを参照してピークホー
ル値表示機能がON状態かOFF状態かを判定し、OF
F状態であれば、ステップS43において、RAM45
の設定領域45cにONを設定する。
On the other hand, if the AB CAL key is not pressed in step S37, other setting processing is started. here,
For example, a case of entering a peak hold value display function that is a function of displaying the upper and lower limit values of the odor index will be described.
In step S41, it is determined whether or not the P / V HOLD key for turning ON / OFF the peak hold value display function of the operation unit 8 has been pressed. If so, in step S42, the setting area 45c of the RAM 45 is set. Refer to it to determine whether the peak hall value display function is ON or OFF,
If it is in the F state, in step S43 the RAM 45
ON is set in the setting area 45c of.

【0044】そして、ステップS44において、現在検
出しているニオイ指数Nをピークホールド上限値PHN
HとしてRAM45の表示領域45bに格納し、ステッ
プS45において、同じく現在検出しているニオイ指数
Nをピークホールド下限値PHNLとしてRAM45の
表示領域45bに格納する。また、ステップS42でR
AM45の設定領域45cを参照してピークホールド値
表示機能がON状態であれば、ステップS46におい
て、RAM45の設定領域45cにOFFを設定する。
Then, in step S44, the currently detected odor index N is set to the peak hold upper limit value PHN.
It is stored in the display area 45b of the RAM 45 as H , and in step S45, the currently detected odor index N is stored in the display area 45b of the RAM 45 as the peak hold lower limit value PHN L. Also, in step S42, R
If the peak hold value display function is ON with reference to the setting area 45c of the AM 45, OFF is set in the setting area 45c of the RAM 45 in step S46.

【0045】このピークホールド値は、後述されるよう
に、OFF状態からON状態に変化した次の回に取得し
たニオイ指数を初期値とし、以後OFF状態になるまで
の間、ニオイ指数の計算が行われる毎に比較更新され
る。なお、このピークホールド値表示機能は、起動時は
OFF状態とされる。また、このピークホールド値の表
示は、ピークホールド値表示機能がON状態なら、LC
D6の表示画面の所定領域例えば下部に表示され、OF
F状態なら何も表示されない。その際に、ピークホール
ド値が負の場合は数値の前に−の符号が付けられ、正の
場合は何も付けずに表示される。
As will be described later, this peak hold value has an odor index obtained at the next time when it changes from the OFF state to the ON state as an initial value, and the odor index is calculated until the OFF state thereafter. It is compared and updated each time it is performed. The peak hold value display function is turned off at startup. If the peak hold value display function is ON, the peak hold value is
It is displayed in a predetermined area of the D6 display screen, for example, in the lower part.
Nothing is displayed in the F state. At that time, when the peak hold value is negative, a minus sign is added before the numerical value, and when the peak hold value is positive, nothing is displayed.

【0046】一方、ステップS41でP/V HOLDキーが押
圧されてなければ、その他の設定処理例えばレンジ切り
替え機能に入る。このレンジ切り替え機能は、LCD6
の表示画面に表示されるバーグラフのフルスケール値を
切り替える機能である。ステップS47において、操作
部8のレンジ切り替え機能のON/OFFを行うRANGEキーが
押圧されたか否かを判定し、押圧されていれば、ステッ
プS48において、RAM45の設定領域45cを参照
してレンジ切り替え機能がON状態かOFF状態かを判
定し、ON状態であれば、ステップS49において、R
AM45の設定領域45cにOFFを設定し、OFF状
態であれば、ステップS50において、RAM45の設
定領域45cにONを設定する。その際に、レンジ切り
替え機能がON状態ならば、LCD6の表示画面におけ
るバーグラフのスケール値は例えば0〜0.6を表示し、O
FF状態ならば、0〜3を表示するようになされている。
そして、このレンジ切り替え機能は、起動時はON状態
とされる。
On the other hand, if the P / V HOLD key is not pressed in step S41, another setting process, for example, the range switching function is started. This range switching function is available on the LCD 6
This is a function to switch the full-scale value of the bar graph displayed on the display screen of. In step S47, it is determined whether or not the RANGE key for turning ON / OFF the range switching function of the operation unit 8 has been pressed. If so, in step S48, the range switching is performed by referring to the setting area 45c of the RAM 45. It is determined whether the function is in the ON state or the OFF state.
OFF is set in the setting area 45c of the AM 45, and if it is in the OFF state, ON is set in the setting area 45c of the RAM 45 in step S50. At that time, if the range switching function is in the ON state, the scale value of the bar graph on the display screen of the LCD 6 displays, for example, 0 to 0.6, and O
In the FF state, 0 to 3 are displayed.
Then, this range switching function is turned on at startup.

【0047】ステップS47において、RANGEキーが押
圧されてなければ、データセット機能に入る。このデー
タセット機能はニオイモニタに必要な各種のデータの設
定を行う機能である。このデータセット機能には、アラ
ーム設定モードと固定データ設定モードの2種類あり、
アラーム設定モードでは、アラームレベル警報機能のア
ラームレベル値を設定し、固定データ設定モードでは、
ニオイ指数の計算で使用する固定データの設定を行う。
If the RANGE key is not pressed in step S47, the data set function is entered. This data set function is a function for setting various data necessary for the odor monitor. This data set function has two types: alarm setting mode and fixed data setting mode.
In the alarm setting mode, set the alarm level value of the alarm level alarm function, and in the fixed data setting mode,
Set the fixed data used in the calculation of odor index.

【0048】まず、アラームレベル警報機能のアラーム
レベル値を変更設定する場合を図6を参照して説明す
る。ステップS51において、操作部8のデータ設定機
能のON/OFFを行うALARM SETキーが押圧されたか否かを
判定し、押圧されていれば、ステップS52において、
EEPROM7に格納されている固定データの内のアラ
ームレベル値ARMをLCD6の表示画面の所定領域例
えば下部にアラームレベル値の入力を示す「ARM」と
現在値がディジタル表示される。また、現在の入力位置
を示す入力カーソル(_)が、ディジタル表示されてい
る現在値の整数部最上位を指すようになされている。
First, the case of changing and setting the alarm level value of the alarm level warning function will be described with reference to FIG. In step S51, it is determined whether or not the ALARM SET key for turning ON / OFF the data setting function of the operation unit 8 is pressed, and if it is pressed, in step S52,
The alarm level value ARM of the fixed data stored in the EEPROM 7 is digitally displayed as "ARM" indicating the input of the alarm level value in a predetermined area, for example, the lower part of the display screen of the LCD 6. Further, the input cursor (_) indicating the current input position is designed to point to the uppermost digit of the integer part of the digitally displayed current value.

【0049】そして、ステップS53において、操作部
8のAUTO CALキーとP/V HOLDキーの両方が押圧されてい
るか否かを判別し、押圧されてなければ、ステップS5
4に進む。すなわち、ここでは、単純にALARM SETキー
の押圧直後はアラームレベル値の変更のみを可能にして
いる。そして、表示されるアラームレベル値ARMの数
値を変更について、LCD6に表示された数値の内、ま
ず最大桁部分にカーソル(_)が表示され、数値変更
は、そのカーソルの位置の数字のみ変更できる。この数
値の変更には、操作部8のデータ選択を行う△キーおよ
び▽キーを使用する。
Then, in step S53, it is determined whether or not both the AUTO CAL key and the P / V HOLD key of the operation unit 8 are pressed. If they are not pressed, step S5
Go to 4. That is, here, the alarm level value can only be changed immediately after the ALARM SET key is pressed. When changing the displayed value of the alarm level value ARM, the cursor (_) is first displayed in the maximum digit portion of the numerical values displayed on the LCD 6, and the numerical value can be changed only at the position of the cursor. . To change this numerical value, the △ key and ▽ key for selecting the data of the operation unit 8 are used.

【0050】すなわち、ステップS54において、P/V
HOLDキーが押圧されてなければ、ステップS55におけ
る△キーの押圧により、ステップS55でLCD6に表
示されているアラームレベル値の表示数を1だけインク
リメントし、同様に、ステップS57における▽キーの
押圧により、ステップS58でLCD6に表示されてい
るアラームレベル値の表示数を1だけデクリメントす
る。この結果、カーソルのある桁の数字が0〜9の間で
スクロールし、その桁部分のみの変更が可能になる。
That is, in step S54, P / V
If the HOLD key is not pressed, by pressing the △ key in step S55, the number of alarm level values displayed on the LCD 6 is incremented by 1 in step S55, and similarly, by pressing the ▽ key in step S57. , In step S58, the display number of the alarm level value displayed on the LCD 6 is decremented by 1. As a result, the number of the digit at the cursor is scrolled between 0 and 9, and only that digit can be changed.

【0051】そして、数値の桁の移動には、P/V HOLDキ
ーを使用する。従って、各桁の数字を変更する場合は、
最大桁の数字を上述のごとく△キー,▽キーを使用して
変更した後、P/V HOLDキーの押圧によりカーソルが一桁
移動する。すなわち、ステップS54において、P/V HO
LDキーを押圧し、ステップS59において、最終桁でな
いことが確認されると、ステップS60において、入力
桁の移動を行う。そして、同様にして、次の桁の数値の
変更する。
The P / V HOLD key is used to move the digit of the numerical value. Therefore, when changing the number of each digit,
After changing the maximum digit using the △ and ▽ keys as described above, press the P / V HOLD key to move the cursor one digit. That is, in step S54, P / V HO
When the LD key is pressed and it is confirmed in step S59 that it is not the last digit, the input digit is moved in step S60. Then, similarly, the numerical value of the next digit is changed.

【0052】これを繰り返して、最終桁まで変更してP/
V HOLDキーを押圧した場合、当然カーソルは最大桁に戻
るが、そのときに、つまり、ステップS59で最終桁で
あることが確認されると、ステップS61において、変
更されたデータであるアラームレベル値ARMをEEP
ROM7の所定領域に格納(書き込み)する。なお、こ
のデータのEEPROM7への格納は、同時にRAM4
5のデータ領域45dにも行うが、RAM45への格納
は、設定処理全体の終了時であってもよい。そして、ス
テップS62におけるALARM SETキーの押圧によって、
設定処理ルーチンを終了するが、この操作は、処理状態
に拘わらず、データの書き込みも行われない。また、ス
テップS51において、ALARM SETキーが押圧されなけ
れば、ステップS63において、その他の設定処理を行
う。
Repeat this to change to the last digit and change to P /
When the V HOLD key is pressed, the cursor naturally returns to the maximum digit, but at that time, that is, when it is confirmed that it is the last digit in step S59, in step S61, the alarm level value which is the changed data. EEP to ARM
It is stored (written) in a predetermined area of the ROM 7. Note that this data is stored in the EEPROM 7 at the same time as the RAM 4
The data area 45d is stored in the RAM 45, but may be stored in the RAM 45 at the end of the entire setting process. Then, by pressing the ALARM SET key in step S62,
Although the setting processing routine is ended, no data is written in this operation regardless of the processing state. If the ALARM SET key is not pressed in step S51, other setting processing is performed in step S63.

【0053】そして、EEPROM7内の固定データを
変更する場合には、ALARM SETキーの押圧後、アラーム
レベル値ARMの数値を表示している状態において、AU
TO CALキーを押圧しながら、P/V HOLDキーの押圧を行う
と、全ての固定データの表示変更が可能となる。次に、
この固定データを変更設定する場合を図7を参照して説
明する。ステップS53(図6)で操作部8のAUTO CAL
キーとP/V HOLDキーの両方が押圧されていることが確認
されると、ステップS64において、EEPROM7に
格納されている固定データの内最初の固定データを読み
出し、LCD6に表示する。
When changing the fixed data in the EEPROM 7, after pressing the ALARM SET key, AU is displayed while the numerical value of the alarm level value ARM is displayed.
If you press the P / V HOLD key while pressing the TO CAL key, you can change the display of all fixed data. next,
A case of changing and setting the fixed data will be described with reference to FIG. In step S53 (FIG. 6), the AUTO CAL of the operation unit 8
When it is confirmed that both the key and the P / V HOLD key are pressed, the first fixed data among the fixed data stored in the EEPROM 7 is read out and displayed on the LCD 6 in step S64.

【0054】EEPROM7に格納されている固定デー
タは、上述のごとく、飽和抵抗値Zm,乾燥空気中(標
準状態)の抵抗値Zns0,基準ニオイ中の抵抗値Zns
負荷抵抗値Rおよび測定電源電圧V等であり、また、そ
れ以外の数値データとしてアラームレベル値ARM等も
格納されている。そして、最初は、例えば飽和抵抗値Z
mが表示され、以下、乾燥空気中(標準状態)の抵抗値
ns0,基準ニオイ中の抵抗値Zns,負荷抵抗値Rおよ
び測定電源電圧Vの順に表示される。その場合、一例と
して例えば飽和抵抗値Zmは次のように表示される。m □□□□□ 0 1 2 3 そのときに、カーソルは、表示中の初めの文字である
「Z」の位置に表示され、P/V HOLDキーの押圧を行う
と、カーソルは、その1文字づつずれていく。そして、
数字の部分が来ると、上述のアラームレベル値の変更の
場合と同様に△キーおよび▽キーによって0〜9の間で
スクロールし、その桁部分の変更が可能になっている。
[0054] fixed data stored in EEPROM7 is, as described above, the saturation resistance Z m, the resistance value Z ns 0 of dry air (STP), the resistance value Z ns in the reference odor,
The load resistance value R, the measured power supply voltage V, and the like, and the alarm level value ARM and the like are also stored as other numerical data. At first, for example, the saturation resistance value Z
m is displayed, below, the resistance value Z ns 0 of dry air (STP), the resistance value Z ns in the reference odor, are displayed in order of the load resistance R and the measurement power supply voltage V. In that case, for example, the saturation resistance value Z m is displayed as follows. Z m □□□□□ 0 1 2 3 At that time, the cursor is displayed at the position of "Z" which is the first character in the display, and when the P / V HOLD key is pressed, the cursor changes to that position. It shifts by one character. And
When the numeral portion comes, as in the case of changing the alarm level value described above, the Δ key and the ∇ key are used to scroll between 0 and 9, and the digit portion can be changed.

【0055】すなわち、ステップS65において、P/V
HOLDキーが押圧されてなければ、ステップS66におけ
る△キーの押圧の確認後、ステップS67において、桁
内容が文字か数字かを判別し、数字であれば、ステップ
S68でLCD6に表示されている例えば飽和抵抗値Z
mの表示数を1だけインクリメントし、文字であれば、
ステップS69において、EEPROM7に格納されて
いる前の固定データを読み出し、LCD6に表示する。
同様に、ステップS70における▽キーの押圧の確認
後、ステップS71において、桁内容が文字か数字かを
判別し、数字であれば、ステップS72でLCD6に表
示されている飽和抵抗値Zmの表示数を1だけデクリメ
ントし、文字であれば、ステップS73において、EE
PROM7に格納されている次の固定データを読み出
し、LCD6に表示する。この結果、カーソルのある桁
の数字が0〜9の間でスクロールし、その桁部分のみの
変更が可能になる。
That is, in step S65, P / V
If the HOLD key has not been pressed, after confirming the pressing of the Δ key in step S66, it is determined in step S67 whether the digit content is a character or a numeric value. If the digit content is a numeric value, it is displayed on the LCD 6 in step S68, for example. Saturation resistance value Z
Increment the display number of m by 1, and if it is a character,
In step S69, the previous fixed data stored in the EEPROM 7 is read out and displayed on the LCD 6.
Similarly, after confirming the depression of the ▽ key in step S70, it is determined in step S71 whether the digit content is a character or a number. If the digit content is a number, the saturation resistance value Z m displayed on the LCD 6 is displayed in step S72. Decrement the number by 1, and if it is a character, in step S73, EE
The next fixed data stored in the PROM 7 is read out and displayed on the LCD 6. As a result, the number of the digit at the cursor is scrolled between 0 and 9, and only that digit can be changed.

【0056】そして、数値の桁の移動には、この場合も
P/V HOLDキーを使用する。従って、各桁の数字を変更す
る場合は、最大桁の数字を上述のごとく△キー,▽キー
を使用して変更した後、P/V HOLDキーの押圧によりカー
ソルが一桁移動する。すなわち、ステップS65におい
て、P/V HOLDキーを押圧し、ステップS74において、
最終桁でないことが確認されると、ステップS75にお
いて、入力桁の移動を行う。そして、同様にして、次の
桁の数値の変更する。
In this case as well, in order to move the digit of the numerical value,
Use the P / V HOLD key. Therefore, when changing the numeral of each digit, after changing the numeral of the maximum digit by using the △ and ▽ keys as described above, the cursor is moved by one digit by pressing the P / V HOLD key. That is, in step S65, press the P / V HOLD key, and in step S74,
If it is confirmed that it is not the last digit, the input digit is moved in step S75. Then, similarly, the numerical value of the next digit is changed.

【0057】これを繰り返して、最終桁まで変更してP/
V HOLDキーを押圧した場合、当然カーソルは最大桁に戻
るが、そのときに、つまり、ステップS74で最終桁で
あることが確認されると、ステップS76において、変
更されたデータである飽和抵抗値ZmをEEPROM7
の所定領域に格納(書き込み)する。なお、この場合
も、データのEEPROMへの格納は、同時にRAM4
5のデータ領域45dにも行っている。そして、ステッ
プS77におけるALARM SETキーの押圧によって、設定
処理ルーチンを終了するが、この操作は、処理状態に拘
わらず、データの書き込みも行われない。
Repeat this to change the last digit to P /
When the V HOLD key is pressed, the cursor naturally returns to the maximum digit, but at that time, that is, when it is confirmed that it is the last digit in step S74, in step S76, the saturated resistance value that is the changed data Z m to EEPROM 7
Is stored (written) in a predetermined area. In this case also, the data is stored in the EEPROM at the same time as the RAM4.
5 data area 45d. Then, by pressing the ALARM SET key in step S77, the setting processing routine is ended, but this operation does not write data regardless of the processing state.

【0058】なお、個々での△キーおよび▽キーの機能
として、上述の表示状態において、両方のキーを操作す
ると、表示内容の変更が行われる。すなわち、上述のよ
うに、表示内容の文字部分において▽キーを押圧する
と、表示している内容が飽和抵抗値Zmから次の乾燥空
気中(標準状態)の抵抗値Zns0に変わる。そして、上
述と同様にP/V HOLDキー、△キーおよび▽キーによって
数値を変更し、その数値をEEPROM7に格納させる
ことができる。
As a function of each of the Δ key and the ▽ key, the display contents are changed by operating both keys in the above-mentioned display state. That is, as described above, when the ∇ key is pressed in the character portion of the display content, the displayed content changes from the saturation resistance value Z m to the next resistance value Z ns 0 in dry air (standard state). Then, similarly to the above, the numerical value can be changed by the P / V HOLD key, the Δ key and the ▽ key, and the numerical value can be stored in the EEPROM 7.

【0059】このようなデータ設定機能を有することに
より、次のような利点がある。すなわち、現在EEPR
OM7に格納されているデータの表示が可能であると共
に、上下キーすなわち△キーおよび▽キーと、桁送りキ
ーすなわちP/V HOLDキーによるEEPROM7に格納さ
れているデータの数値の更新が可能であり、さらに、文
字部分で上下キーを操作することにより表示するデータ
をスクロールすることも可能であるので、現場で装置を
正常に作動させることができる。
By having such a data setting function, there are the following advantages. That is, the current EEPR
The data stored in the OM7 can be displayed, and the numerical values of the data stored in the EEPROM7 can be updated by the up / down key, that is, the △ and ▽ keys, and the shift key, that is, the P / V HOLD key. Further, since it is possible to scroll the data to be displayed by operating the up and down keys in the character portion, the device can be normally operated in the field.

【0060】つまり、実質的に、データ付きのニオイセ
ンサがあれば、そのデータをこのニオイモニタに直接入
力することができ、しかも現在入力しているニオイセン
サのデータを読み出せることができる。従って、従来の
ごとく、ニオイセンサの交換をするのに、一々工場等に
持ち帰って較正する必要がなくなり、あるいは、ニオイ
センサを回路的に較正するために、抵抗等を回路基板に
ニオイセンサと同時に取り付けて行う必要がなくなり、
較正等に関する作業が簡便で、効率よくモニタを行うこ
とができる。
That is, substantially, if there is an odor sensor with data, the data can be directly input to this odor monitor, and the data of the odor sensor currently input can be read. Therefore, it is no longer necessary to bring it back to the factory or the like to calibrate it in order to replace the odor sensor as in the conventional method, or to calibrate the odor sensor in a circuit manner, a resistor, etc., on the circuit board at the same time as the odor sensor. You don't have to install it,
Work related to calibration and the like is simple and efficient monitoring is possible.

【0061】次に、図8を参照して、ステップS5の
「データ読み込み」の動作について説明する。全体のフ
ローにおいて、ニオイセンサ2の出力のサンプリングの
前に、ニオイモニタの設定状態としてのニオイ指数を算
出する設定に付いて、このデータ読み込みのルーチンで
RAM45から判別して設定を行う。すなわち、ニオイ
センサ2の出力をサンプリングしてニオイ指数を算出す
る前に、上記(3)式で使用される初期抵抗値Z0の値
に乾燥空気中の抵抗値Zns0を使用するのか、環境中の
補正抵抗値Zncを使用するのかを判別する。
Next, referring to FIG. 8, the operation of "data reading" in step S5 will be described. In the entire flow, before the sampling of the output of the odor sensor 2, the setting for calculating the odor index as the setting state of the odor monitor is discriminated from the RAM 45 in this data reading routine and set. That is, before sampling the output of the odor sensor 2 to calculate the odor index, whether the resistance value Z ns 0 in the dry air is used as the initial resistance value Z 0 used in the equation (3), It is determined whether to use the corrected resistance value Z nc .

【0062】そこで、まず、ステップS81において、
RAM45の設定領域45cを参照する。そして、ステ
ップS82において、操作部8のアブソリュート切り替
え機能のON/OFFを行うAB CALキーが押圧されたか否かを
判定し、押圧されていれば、ステップS83において、
RAM45のデータ領域45dに格納されている初期抵
抗値Z0に清浄空気中の抵抗値Zns0を設定する。この清
浄空気中の抵抗値Zns0を用いる場合は、その数値は、
ニオイの全くない状態としての乾燥空気中の抵抗値を基
準として、ニオイ指数が算出されることになる。従っ
て、測定環境の雰囲気が酸化性か還元性かを判別する場
合や、測定環境の絶対的なニオイ指数を求める場合に有
効である。
Therefore, first, in step S81,
The setting area 45c of the RAM 45 is referred to. Then, in step S82, it is determined whether or not the AB CAL key for turning ON / OFF the absolute switching function of the operation unit 8 is pressed, and if it is pressed, in step S83,
The resistance value Z ns 0 in the clean air is set to the initial resistance value Z 0 stored in the data area 45d of the RAM 45. When using the resistance value Z ns 0 in this clean air, the value is
The odor index will be calculated based on the resistance value in dry air in a state where there is no odor. Therefore, it is effective in discriminating whether the atmosphere of the measurement environment is oxidizing or reducing, and in obtaining the absolute odor index of the measurement environment.

【0063】一方、ステップS82において、操作部8
のアブソリュート切り替え機能のON/OFFを行うAB CALキ
ーが押圧されてなければ、ステップS84において、R
AM45の表示領域45bに格納されている初期抵抗値
Z0に環境中の補正抵抗値Zn cを設定する。この環境中
の補正抵抗値の抵抗値Zncを用いる場合は、その数値
は、測定環境の雰囲気の抵抗値を基準として、ニオイ指
数が算出されることになる。この環境中の補正抵抗値Z
ncは、オートキャリブレーション設定機能によって雰囲
気による抵抗値が設定され、オートキャリブレーション
設定機能をON状態に設定することにより、所定期間、
例えば30分毎に更新される。
On the other hand, in step S82, the operation unit 8
If the AB CAL key for turning ON / OFF the absolute switching function of is not pressed, R is selected in step S84.
The corrected resistance value Z n c in the environment is set to the initial resistance value Z 0 stored in the display area 45b of the AM 45. When the resistance value Z nc of the corrected resistance value in this environment is used, the odor index is calculated with reference to the resistance value of the atmosphere of the measurement environment. Corrected resistance value Z in this environment
For nc , the resistance value due to the atmosphere is set by the auto calibration setting function, and by setting the auto calibration setting function to the ON state,
For example, it is updated every 30 minutes.

【0064】なお、このデータ読み込みルーチンにおい
て、オートキャリブレーション設定機能のON,OFF
状態が参照されないのは、アブソリュート切り替え機能
がオートキャリブレーション設定機能より優先されるた
めであって、オートキャリブレーション設定機能につい
ては、後述の判定処理のルーチンで環境中の補正抵抗値
ncを更新されれば足りるものである。
In this data reading routine, the auto calibration setting function is turned on and off.
The state is not referenced because the absolute switching function has priority over the auto-calibration setting function. For the auto-calibration setting function, the correction resistance value Z nc in the environment is updated in the routine of the determination process described later. It is enough if done.

【0065】このようなアブソリュート切り替え機能を
有することにより、次のような利点がある。すなわち、
計測対象以外の環境ガスも含めた環境変化を捕えること
ができ、清浄空気中(標準状態)の雰囲気内におけるニ
オイセンサの出力を基準値として、それ以外の全ての環
境ガスによる影響を計測できる。また、ニオイセンサで
使用されているセンサ素子は、一般的にニオイ等の還元
性雰囲気では+出力、酸化性雰囲気内では−出力となる
が、ここでは、単一のニオイモニタで清浄空気を基準と
して±表示を行うことができ、環境雰囲気の絶対状況を
表示可能となり、安価で、汎用性のあるニオイモニタが
得られる。
By having such an absolute switching function, there are the following advantages. That is,
It is possible to capture environmental changes including environmental gases other than those to be measured, and the influence of all other environmental gases can be measured using the output of the odor sensor in the atmosphere of clean air (standard state) as a reference value. In addition, the sensor element used in the odor sensor generally produces + output in a reducing atmosphere such as odor and − output in an oxidizing atmosphere, but here, a single odor monitor is used as a reference for clean air. Can be displayed, and the absolute status of the environmental atmosphere can be displayed, and an inexpensive and versatile odor monitor can be obtained.

【0066】次に、図9を参照して、ステップS7の
「ニオイ指数換算」の動作について説明する。このニオ
イ指数の換算は、上記(1)〜(3)式を使用する。上
記(1)は、固定データによる算出値になるので、上記
初期設定のルーチンにおいて算出され、RAM45のデ
ータ領域45dの所定の位置に格納されている。そこ
で、ステップS91において、上記(2)式に従って、
ニオイセンサ2の出力として取り込んだ電圧Eを測定抵
抗値Znに変換する。そして、ステップS92におい
て、上記(3)式に従って、測定抵抗値Znをニオイ指
数Nに換算する。なお、上述のデータ読み込みルーチン
において、(3)式の初期抵抗値Z0に使う数値を清浄
空気中の抵抗値Zns0を使用するのか、環境中の補正抵
抗値Zncを使用するのかの判別しているが、その数値設
定をステップS7のニオイ指数換算時に行ってもよい。
Next, with reference to FIG. 9, the operation of the "smell index conversion" in step S7 will be described. The conversion of this odor index uses the above equations (1) to (3). Since (1) above is a calculated value based on fixed data, it is calculated in the initialization routine and stored in a predetermined position in the data area 45d of the RAM 45. Therefore, in step S91, according to the above equation (2),
The voltage E taken as the output of the odor sensor 2 is converted into the measured resistance value Z n . Then, in step S92, the measured resistance value Z n is converted into the odor index N according to the above equation (3). In the above data reading routine, it is determined whether the numerical value used for the initial resistance value Z0 of the equation (3) is the resistance value Z ns 0 in clean air or the correction resistance value Z nc in the environment is used. However, the numerical value setting may be performed during the odor index conversion in step S7.

【0067】次に、図10を参照して、ステップS8の
「判別処理」の動作について説明する。この判別処理の
ルーチンは、ニオイセンサ2の出力をサンプリングして
ニオイ指数を算出する処理を完了したときに、そのニオ
イ指数を用いた処理を行い、表示、警報、出力等を行う
部分である。まず、ステップS101おいて、ステップ
S7で算出されたニオイ指数Nの数値をRAM45の表
示領域45bに格納し、ステップS102において、ニ
オイ指数Nの数値に関するバー内容を同じくRAM45
の表示領域45bに格納し、ステップS103におい
て、RAM45の設定領域45cを参照する。そして、
ステップS104において、操作部8のピークホールド
値表示機能のON/OFFを行うP/V HOLDキーが押圧されたか
否かを判定し、押圧されていれば、ステップS105に
おいて、RAM45の表示領域45bに格納されている
ピークホールド値PHN(ピークホールド下限値PHN
L,ピークホールド上限値PHNH)を読み出す。
Next, referring to FIG. 10, the operation of the "discrimination process" in step S8 will be described. The routine of this determination processing is a portion that, when the processing of sampling the output of the odor sensor 2 to calculate the odor index is completed, performs the processing using the odor index and performs display, warning, output, and the like. First, in step S101, the numerical value of the odor index N calculated in step S7 is stored in the display area 45b of the RAM 45, and in step S102, the bar content related to the numerical value of the odor index N is also stored in the RAM 45.
In the display area 45b of the RAM 45, and the setting area 45c of the RAM 45 is referred to in step S103. And
In step S104, it is determined whether or not the P / V HOLD key for turning ON / OFF the peak hold value display function of the operation unit 8 is pressed. If the P / V HOLD key is pressed, the display area 45b of the RAM 45 is displayed in step S105. Stored peak hold value PHN (peak hold lower limit value PHN
L , peak hold upper limit value PHN H ) are read.

【0068】そして、ステップS106において、ニオ
イ指数Nとピークホールド上限値PHNHを比較し、ニ
オイ指数Nがピークホールド上限値PHNHを下回ると
きには、さらに、ステップS107において、ニオイ指
数Nとピークホールド下限値PHNHを比較し、ニオイ
指数Nがピークホールド下限値PHNLを上回るときに
は、つまり、ニオイ指数Nがピークホールド上限値PH
Hとピークホールド下限値PHNLの範囲内にあるとき
は、何も更新することなく、そのときのピークホールド
値PHNをRAM45の表示領域45bに格納する。
[0068] Then, at step S106, it compares the odor index N peak hold upper limit PHN H, when the odor index N is lower than the peak-hold upper limit PHN H further in step S107, odor index N peak hold lower-limit The value PHN H is compared, and when the odor index N exceeds the peak hold lower limit value PHN L , that is, the odor index N is the peak hold upper limit value PH.
When it is within the range between N H and the peak hold lower limit value PHN L , the peak hold value PHN at that time is stored in the display area 45 b of the RAM 45 without updating anything.

【0069】一方、ステップS106でニオイ指数Nが
ピークホールド上限値PHNHを上回るときには、ま
た、ステップS107でニオイ指数Nがピークホールド
下限値PHNLを下回るときには、つまり、ニオイ指数
Nがピークホールド上限値PHNHとピークホールド下
限値PHNLの範囲外にあるときは、それぞれ、ステッ
プS109およびS110において、ピークホールド値
を更新し、その更新されたピークホールド値PHNをR
AM45の表示領域45bに格納する。
On the other hand, when the odor index N exceeds the peak hold upper limit value PHN H in step S106, and when the odor index N falls below the peak hold lower limit value PHN L in step S107, that is, the odor index N reaches the peak hold upper limit. If the value PHN H is out of the range of the peak hold lower limit value PHN L , the peak hold value is updated in steps S109 and S110, and the updated peak hold value PHN is set to R.
It is stored in the display area 45b of the AM 45.

【0070】このピークホールド上限値PHNH,ピー
クホールド下限値PHNLでは、ニオイ指数Nがプラス
方向のみでなく、マイナス方向についても検出されるの
で、このピークホールド値PHNとしては、マイナスの
数値も比較して保持されることになる。従って、環境中
の還元性の雰囲気のみならず、酸化性の雰囲気までもそ
の最大値を保持することができる。そして、設定状態に
応じてその他の処理を行った後、RAM45の表示領域
45bの内容に従って、LCD6による表示や、ブザー
9による警報等を行う。
With the peak hold upper limit value PHN H and the peak hold lower limit value PHN L , the odor index N is detected not only in the plus direction but also in the minus direction. It will be held in comparison. Therefore, the maximum value can be maintained not only in the reducing atmosphere in the environment but also in the oxidizing atmosphere. Then, after performing other processing according to the set state, the display by the LCD 6 and the alarm by the buzzer 9 are performed according to the contents of the display area 45b of the RAM 45.

【0071】ここで、その他の処理としては、例えばス
テップS111において、アラーム処理としてアラーム
レベル警報機能を行う。これは、ニオイ指数Nが設定さ
れているアラームレベルを越えた場合、ブザー9により
警報を発報する機能である。この際に、発報時は、ブザ
ー9が連続的に鳴動する。ニオイ指数Nがアラームレベ
ル以下に復旧したら、ブザー9の鳴動を停止する。ま
た、発報中に特定のキー例えば▽キーを押圧することに
より、ブザー9の鳴動を停止し、以後ニオイ指数Nがア
ラームレベルを越えている状態が継続中ならブザー9の
鳴動を行わない。また、一旦ニオイ指数Nがアラームレ
ベル以下に復旧後、再びニオイ指数Nがアラームレベル
を越えた場合、ブザー9を鳴動する。
Here, as another process, for example, in step S111, an alarm level warning function is performed as an alarm process. This is a function of issuing an alarm by the buzzer 9 when the odor index N exceeds the set alarm level. At this time, when the alarm is issued, the buzzer 9 continuously sounds. When the odor index N is restored below the alarm level, the buzzer 9 stops ringing. In addition, by pressing a specific key, for example, the ∇ key during the alarm, the buzzer 9 stops ringing, and if the state where the odor index N exceeds the alarm level continues thereafter, the buzzer 9 does not ring. Further, after the odor index N once recovers below the alarm level, if the odor index N exceeds the alarm level again, the buzzer 9 sounds.

【0072】また、ステップS112において、データ
ロギングが可能であるか否かを判別し、つまり、出力端
子14に接続されている直列ー並列および並列ー直列変
換器48に外部の例えばパソコンよりデータロギングの
要求を表すフラグが伝送されて来ているか否かを判別
し、データロギングの要求があれば、ステップS113
において、データロギング処理、つまり、データロギン
グの機能を実行する。このデータロギング機能は、デー
タのロギングに必要な各種設定を行う機能であるが、こ
の各種設定としては、例えば、パソコン側にロギングす
るファイル名を設定するデータファイル名設定、ニオイ
モニタにデータの要求を行う周期を設定するサンプリン
グ周期設定、このサンプリング周期設定で設定された周
期毎に、ニオイモニタにデータの要求を行うRS232
C入力、あるいは、このRS232C入力によって入力
されたニオイ指数を、所定の形式例えばCV形式でファ
イル書き込みを行うデータファイル等がある。
In step S112, it is determined whether or not data logging is possible, that is, data logging from an external personal computer, for example, to the series-parallel and parallel-serial converter 48 connected to the output terminal 14. It is determined whether or not the flag indicating the request of (1) is transmitted, and if there is a request for data logging, step S113.
In, data logging processing, that is, the function of data logging is executed. This data logging function is a function to perform various settings necessary for data logging. Examples of these various settings include data file name setting to set the file name to be logged on the personal computer side and data request to the odor monitor. Sampling cycle setting for setting the cycle for performing the RS232 requesting data to the odor monitor for each cycle set by the sampling cycle setting
There is a data file or the like for writing the C input or the odor index input by the RS232C input in a file in a predetermined format, for example, the CV format.

【0073】また、ステップS114において、バッテ
リチェック処理、つまり、バッテリ警報機能を実行す
る。このバッテリ警報機能は、A/D変換器46を介し
て電源回路11の出力、例えばバッテリ電圧を監視し、
その値が規定値を下回った場合は警報を発報する機能で
ある。この機能は、スタンバイモード,レディモードの
いずれでも機能するようになされている。発報時は、L
CD6の表示画面の所定領域、例えば左上に「LAW BA
T.」の表示を行い、ブザー9を断続的に鳴動させる。A
Cアダプタによってバッテリ電圧が規定値に復旧した
ら、LCD6の表示画面上の「LAW BAT.」の表示を消去
し、ブザー9の鳴動を停止する。また、発報中に特定の
キー例えば▽キーを押圧することにより、ブザー9の鳴
動を停止し、以後バッテリ電圧が規定値より低下してい
る状態が継続中ならブザー9の鳴動を行わない。また、
一旦バッテリ電圧が規定値に復旧後、再びバッテリ電圧
が低下状態となった場合、ブザー9を鳴動する。さら
に、ステップS130において、後述されるように、ニ
オイセンサ2の素子の経時変化による劣化の検出(移動
平均劣化検出)を行う。
In step S114, the battery check process, that is, the battery alarm function is executed. This battery alarm function monitors the output of the power supply circuit 11, for example, the battery voltage via the A / D converter 46,
It is a function to issue an alarm when the value falls below the specified value. This function is designed to work in both the standby mode and the ready mode. At the time of notification, L
In the predetermined area of the CD6 display screen, for example in the upper left corner, "LAW BA
"T." is displayed, and the buzzer 9 sounds intermittently. A
When the battery voltage is restored to the specified value by the C adapter, the display of "LAW BAT." On the display screen of the LCD 6 is erased and the buzzer 9 stops ringing. Further, by pressing a specific key, for example, the ∇ key during the alarm, the ringing of the buzzer 9 is stopped, and the ringing of the buzzer 9 is not performed if the state where the battery voltage is lower than the specified value continues after that. Also,
After the battery voltage is once restored to the specified value, when the battery voltage is lowered again, the buzzer 9 sounds. Further, in step S130, deterioration of the elements of the odor sensor 2 due to aging (moving average deterioration detection) is detected as described later.

【0074】次に、ステップS115において、RAM
45の設定領域45cを参照してオートキャリブレーシ
ョン設定機能がON状態かOFF状態かを判定し、ON
状態であれば、ステップS116において、オートキャ
リブレーションに関連する係数tを1だけインクリメン
トする。この係数tは、そのフロー上の位置からニオイ
指数Nを算出毎に1インクリメントされ、基本的には1
秒毎の算出になるので、1秒置きにアップされることに
なる。そして、ステップS117において、係数tと所
定数Tを比較する。この所定数Tは、例えば30分を計
測するための数値であり、係数tが1秒毎であるので、
T=1800としておけば30分を計測することにな
る。従って、ステップS117で係数tが所定数Tと等
しくない場合、つまり、30分経過していない場合は、
ステップS118において、RAM45の表示領域45
bの内容、つまり、30分前に測定した抵抗値ZnをL
CD6に表示する。
Next, in step S115, the RAM
It is determined whether the auto-calibration setting function is ON or OFF by referring to the setting area 45c
If it is in the state, the coefficient t related to the automatic calibration is incremented by 1 in step S116. This coefficient t is incremented by 1 each time the odor index N is calculated from the position on the flow, and is basically 1
Since it is calculated every second, it will be updated every other second. Then, in step S117, the coefficient t is compared with the predetermined number T. The predetermined number T is a numerical value for measuring, for example, 30 minutes, and since the coefficient t is every 1 second,
If T = 1800, 30 minutes will be measured. Therefore, when the coefficient t is not equal to the predetermined number T in step S117, that is, when 30 minutes have not elapsed,
In step S118, the display area 45 of the RAM 45
The content of b, that is, the resistance value Z n measured 30 minutes before is L
Display on CD6.

【0075】そして、ステップS117で係数tが所定
数Tと等しくなった場合、つまり、30分になった場合
は、ステップS119において、ニオイ指数Nが所定値
例えば0.3を越えたか否かを判別し、ニオイ指数Nが0.3
を越える場合は、ステップS121において、係数tを
0にして、ステップS118に進んで、上述と同様の動
作を行う。つまり、ニオイを検出している場合には、抵
抗値Znの更新を行わなわず、30分前に測定した抵抗
値ZnをLCD6に表示する。
When the coefficient t becomes equal to the predetermined number T in step S117, that is, when it reaches 30 minutes, it is determined in step S119 whether or not the odor index N exceeds a predetermined value, for example, 0.3. , The odor index N is 0.3
If it exceeds, the coefficient t is set to 0 in step S121, the process proceeds to step S118, and the same operation as described above is performed. That is, when the odor is detected, the resistance value Z n is not updated and the resistance value Z n measured 30 minutes before is displayed on the LCD 6.

【0076】一方、ステップS119において、ニオイ
指数Nが所定値例えば0.3を越えない場合、つまり、ニ
オイを検出していない場合は、ステップS120におい
て、そのときの測定した抵抗値Znを環境中の補正抵抗
値ZncとしてRAM45の表示領域45bに格納する。
そして、ステップS121において、係数tを0にし、
ステップS118に進んで、RAM45の表示領域45
bの内容、つまり、いま、格納した抵抗値ZnをLCD
6に表示する。なお、ステップS115でRAM45の
設定領域45cを参照してオートキャリブレーション設
定機能がOFF状態であれば、即座にステップS118
に進んで、RAM45の表示領域45bの内容をLCD
6に表示する。
On the other hand, in step S119, if the odor index N does not exceed a predetermined value, for example, 0.3, that is, if odor is not detected, in step S120, the measured resistance value Z n at that time is measured in the environment. The corrected resistance value Z nc is stored in the display area 45b of the RAM 45.
Then, in step S121, the coefficient t is set to 0,
In step S118, the display area 45 of the RAM 45 is displayed.
The content of b, that is, the stored resistance value Z n is displayed on the LCD.
Display in 6. If the auto-calibration setting function is OFF in step S115 with reference to the setting area 45c of the RAM 45, immediately step S118 is performed.
Proceed to, and display the contents of the display area 45b of the RAM 45 on the LCD.
Display in 6.

【0077】このオートキャリブレーション設定機能に
おいて、従来のガスセンサ等では、抵抗値Znの変化方
向が低下側に固定されているので、基準値の補正の場
合、最初の基準値から低下側に限られていたが、本実施
例では、酸化性と還元性の両方の雰囲気を測定するよう
にしているので、当初の基準値およびその変化方向に拘
わらず、基準値の補正を行うことになる。このオートキ
ャリブレーション設定機能では、基準値を所定期間の区
切り時点の値で補正するようにしているが、例えば30
分毎であれば、30分のデータを代表する値、例えば平
均値や中央値、或は、その中の最低値等を用いてもよ
く、さらには、その更新する値についての加工値、代表
値のプラスアルファや8割の値を使用してもよい。
In this auto-calibration setting function, in the conventional gas sensor or the like, the changing direction of the resistance value Z n is fixed to the lower side, so that the correction of the reference value is limited to the lower side from the first reference value. However, in the present embodiment, since both the oxidizing and reducing atmospheres are measured, the reference value is corrected regardless of the initial reference value and its changing direction. In this auto-calibration setting function, the reference value is corrected with the value at the break point of the predetermined period.
If it is every minute, a value representative of 30-minute data, for example, an average value, a median value, or the lowest value thereof may be used, and further, a processed value or a representative value for the updated value may be used. You may use the plus alpha of a value or the value of 80%.

【0078】このようなピークホールド値表示機能を有
することにより、次のような利点がある。すなわち、ピ
ークホールド値の表示を、正の最大値,最小値だけでな
く、負の最大値,最小値も表示でき、特に、負側に変化
するような、例えば酸化性の雰囲気が存在するような環
境においても、そのピークホールド値を容易にかつ正確
に表示できる。
By having such a peak hold value display function, there are the following advantages. That is, the peak hold value can be displayed not only for the positive maximum value and the minimum value but also for the negative maximum value and the minimum value, and in particular, there may be an oxidizing atmosphere that changes to the negative side. The peak hold value can be easily and accurately displayed even under various environments.

【0079】また、オートキャリブレーション設定機能
を有することにより、次のような利点がある。すなわ
ち、自動的にニオイ指数の補正が可能となり、従来のご
とく、ニオイセンサを補正するのにボリュームでゼロ点
調整をしたり、クリーンエアーと標準ガスを試験箱中に
入れて構成する等の必要性がなくなり、簡便で効率よく
かつ迅速に補正を行うことができ、装置を常に正常に作
動させることができる。
Further, by having the automatic calibration setting function, there are the following advantages. In other words, it becomes possible to automatically correct the odor index, and it is necessary to adjust the zero point with the volume to correct the odor sensor as in the past, or to configure clean air and standard gas in the test box. Therefore, correction can be performed easily, efficiently, and quickly, and the device can always be normally operated.

【0080】図11および図12は、環境中の補正抵抗
値Zncを更新するそれぞれ他の実施例を示すフローチャ
ートで、図11は所定期間の平均値を取る場合、図12
は最近値を取る場合である。まず、図11では、ステッ
プS115において、RAM45の設定領域45cを参
照してオートキャリブレーション設定機能がON状態か
OFF状態かを判定し、ON状態であれば、ステップS
116において、オートキャリブレーションに関連する
係数tを1だけインクリメントする。そして、ステップ
S122において、ニオイ指数Nの算出毎に測定抵抗値
nの合計値ΣZnを求めてRAM45の作業領域45a
に格納する。次いで、ステップS117において、係数
tと所定数Tを比較し、係数tが所定数Tと等しくない
場合、つまり、30分経過していない場合は、ステップ
S118において、RAM45の表示領域45bの内
容、つまり、30分前に測定した抵抗値ZnをLCD6
に表示する。
11 and 12 are flowcharts showing other embodiments for updating the correction resistance value Z nc in the environment. FIG. 11 shows the case where the average value of a predetermined period is taken.
Is the case of taking the most recent value. First, in FIG. 11, in step S115, it is determined whether the auto-calibration setting function is in the ON state or the OFF state by referring to the setting area 45c of the RAM 45.
At 116, the coefficient t associated with autocalibration is incremented by one. Then, in step S122, the total value ΣZ n of the measured resistance values Z n is calculated every time the odor index N is calculated, and the work area 45a of the RAM 45 is calculated.
To be stored. Next, in step S117, the coefficient t is compared with the predetermined number T, and when the coefficient t is not equal to the predetermined number T, that is, when 30 minutes have not elapsed, in step S118, the contents of the display area 45b of the RAM 45, That is, the resistance value Z n measured 30 minutes before is displayed on the LCD 6
To be displayed.

【0081】一方、ステップS117で係数tが所定数
Tと等しくなった場合、つまり、30分になった場合
は、ステップS119において、ニオイ指数Nが所定値
例えば0.3を越えたか否かを判別し、ニオイ指数Nが0.3
を越える場合は、ステップS121において、係数tを
0にして、ステップS118に進んで、上述と同様の動
作を行う。つまり、ニオイを検出している場合には、抵
抗値Znの更新を行わなわず、30分前に測定した抵抗
値ZnをLCD6に表示する。
On the other hand, when the coefficient t becomes equal to the predetermined number T in step S117, that is, when it reaches 30 minutes, it is determined in step S119 whether or not the odor index N exceeds a predetermined value, for example, 0.3. , The odor index N is 0.3
If it exceeds, the coefficient t is set to 0 in step S121, the process proceeds to step S118, and the same operation as described above is performed. That is, when the odor is detected, the resistance value Z n is not updated and the resistance value Z n measured 30 minutes before is displayed on the LCD 6.

【0082】また、ステップS119において、ニオイ
指数Nが所定値例えば0.3を越えない場合、つまり、ニ
オイを検出していない場合は、ステップS123におい
て、更新するタイミングのときに、測定抵抗値Znの平
均値ΣZn/tを算出し、その値を環境中の補正抵抗値
ncと置き換え、その値をRAM45の表示領域45b
に格納する。なお、平均値を出す場合、各測定抵抗値Z
nをRAM45の作業領域45aに格納して更新時に合
計して個数で割り、平均値を算出してもよいが、そのた
めには、RAM45の容量が必要になるので、合計値の
みを格納するとその容量が簡素化される。
If the odor index N does not exceed a predetermined value, for example, 0.3 in step S119, that is, if no odor is detected, the measured resistance value Z n of the measured resistance value Z n is updated in step S123. The average value ΣZ n / t is calculated, the value is replaced with the correction resistance value Z nc in the environment, and the value is displayed in the display area 45b of the RAM 45.
To be stored. When calculating the average value, the measured resistance value Z
The n may be stored in the work area 45a of the RAM 45 and summed at the time of update and divided by the number to calculate the average value. However, since the capacity of the RAM 45 is required for that purpose, storing only the total value causes Capacity is simplified.

【0083】そして、ステップS123の処理が終了す
ると、ステップS121において、係数tを0にし、ス
テップS118に進んで、RAM45の表示領域45b
の内容、つまり、いま、格納した抵抗値ZnをLCD6
に表示する。なお、ステップS115でRAM45の設
定領域45cを参照してオートキャリブレーション設定
機能がOFF状態であれば、即座にステップS118に
進んで、RAM45の表示領域45bの内容をLCD6
に表示する。
When the process of step S123 is completed, the coefficient t is set to 0 in step S121, the process proceeds to step S118, and the display area 45b of the RAM 45 is displayed.
, The stored resistance value Z n is stored in the LCD 6
To be displayed. If the auto-calibration setting function is in the OFF state by referring to the setting area 45c of the RAM 45 in step S115, the process immediately proceeds to step S118 and the contents of the display area 45b of the RAM 45 is displayed on the LCD 6.
To be displayed.

【0084】次に、図12では、ステップS115にお
いて、RAM45の設定領域45cを参照してオートキ
ャリブレーション設定機能がON状態かOFF状態かを
判定し、ON状態であれば、ステップS116におい
て、オートキャリブレーションに関連する係数tを1だ
けインクリメントする。そして、ステップS124にお
いて、ニオイ指数Nの算出毎に測定抵抗値Znと環境中
の補正抵抗値Zncとの差分値ΔZ(絶対値)を算出し、
ステップS125において、この差分値ΔZと所定値Δ
Pとを比較する。この所定値ΔZPは元の測定抵抗値Z
nに一番近い値Znpから環境中の補正抵抗値Zncを差し
引いた値である。
Next, in FIG. 12, in step S115, it is determined whether the auto-calibration setting function is in the ON state or the OFF state by referring to the setting area 45c of the RAM 45. If it is in the ON state, the automatic calibration setting function is executed in step S116. Increment the coefficient t associated with the calibration by one. Then, in step S124, the difference value ΔZ (absolute value) between the measured resistance value Z n and the corrected resistance value Z nc in the environment is calculated each time the odor index N is calculated,
In step S125, the difference value ΔZ and the predetermined value Δ
Compare with Z P. This predetermined value ΔZ P is the original measured resistance value Z
It is a value obtained by subtracting the correction resistance value Z nc in the environment from the value Z np closest to n .

【0085】ステップS125でΔZがΔZPを上回る
場合には、そのままステップS117へ進み、下回る場
合には、ステップS126において、ZnをZnpとし
て、また、ΔZをΔZPとしてRAM45の表示領域に
格納した後ステップS117へ進む。そして、ステップ
S117において、係数tと所定数Tを比較し、係数t
が所定数Tと等しくない場合、つまり、30分経過して
いない場合は、ステップS118において、RAM45
の表示領域45bの内容、つまり、30分前に測定した
抵抗値Znp等をLCD6に表示する。
If ΔZ exceeds ΔZ P in step S125, the process proceeds to step S117 as it is, and if ΔZ exceeds ΔZ P , in step S126 Z n is set as Z np and ΔZ is set as ΔZ P in the display area of the RAM 45. After storing, the process proceeds to step S117. Then, in step S117, the coefficient t is compared with the predetermined number T, and the coefficient t
Is not equal to the predetermined number T, that is, when 30 minutes have not elapsed, the RAM 45 is determined in step S118.
The content of the display area 45b, that is, the resistance value Z np measured 30 minutes before is displayed on the LCD 6.

【0086】一方、ステップS117で係数tが所定数
Tと等しくなった場合、つまり、30分になった場合
は、ステップS119において、ニオイ指数Nが所定値
例えば0.3を越えたか否かを判別し、ニオイ指数Nが0.3
を越える場合は、ステップS121において、係数tを
0にして、ステップS118に進んで、上述と同様の動
作を行う。つまり、ニオイを検出している場合には、抵
抗値Znの更新を行わなわず、30分前に測定した抵抗
値Znp等をLCD6に表示する。
On the other hand, when the coefficient t becomes equal to the predetermined number T in step S117, that is, when it reaches 30 minutes, it is determined in step S119 whether the odor index N exceeds a predetermined value, for example, 0.3. , The odor index N is 0.3
If it exceeds, the coefficient t is set to 0 in step S121, the process proceeds to step S118, and the same operation as described above is performed. That is, when the odor is detected, the resistance value Z n is not updated and the resistance value Z np measured 30 minutes before is displayed on the LCD 6.

【0087】また、ステップS119において、ニオイ
指数Nが所定値例えば0.3を越えない場合、つまり、ニ
オイを検出していない場合は、ステップS127におい
て、更新するタイミングのときに、ZnpをZncと置き換
え、また、ΔZPを計算上最も大きな値(最大値)例え
ば9.9に置き換え、その値をRAM45の表示領域45
bに格納する。なお、この場合も平均値を取る場合と同
様、各測定抵抗値ZnをRAM45の作業領域45aに
格納して更新時に各値を比較して最近値を求めてもよい
が、そのためには、RAM45の容量が必要になるの
で、検出毎に差分値を比較して最も近い値のみを格納す
るとその容量が簡素化される。
In step S119, if the odor index N does not exceed a predetermined value, for example, 0.3, that is, if odor is not detected, in step S127, Z np is set to Z nc at the update timing. In addition, ΔZ P is replaced with the largest value (maximum value) in calculation, for example, 9.9, and that value is displayed in the display area 45 of the RAM 45.
Store in b. In this case as well, as in the case of taking the average value, each measured resistance value Z n may be stored in the work area 45a of the RAM 45 and the respective values may be compared at the time of updating to obtain the latest value. Since the capacity of the RAM 45 is required, the capacity is simplified by comparing the difference values for each detection and storing only the closest value.

【0088】そして、ステップS127の処理が終了す
ると、ステップS121において、係数tを0にし、ス
テップS118に進んで、RAM45の表示領域45b
の内容、つまり、いま、格納した抵抗値Znc等をLCD
6に表示する。なお、ステップS115でRAM45の
設定領域45cを参照してオートキャリブレーション設
定機能がOFF状態であれば、即座にステップS118
に進んで、RAM45の表示領域45bの内容をLCD
6に表示する。なお、上記実施例では、ニオイモニタと
してポータブル型の場合に付いて説明したが、これに限
定されることなく、例えばこのニオイモニタを建物の各
部屋に設けて、図3と同様の動作を行ってニオイ指数を
個別に算出し、各部屋のニオイ指数を個別に収集し、図
3の判別処理(ステップS8)の動作を行う受信部を有
するシステムとする据え置き型の場合にも同様に適用で
き、同様の効果を奏する。
When the process of step S127 is completed, the coefficient t is set to 0 in step S121, the process proceeds to step S118, and the display area 45b of the RAM 45 is displayed.
, The stored resistance value Z nc, etc. on the LCD
Display in 6. If the auto-calibration setting function is OFF in step S115 with reference to the setting area 45c of the RAM 45, immediately step S118 is performed.
Proceed to, and display the contents of the display area 45b of the RAM 45 on the LCD.
Display in 6. In the above embodiment, the case where the odor monitor is a portable type has been described. However, the odor monitor is not limited to this, and the odor monitor is provided in each room of the building to perform the same operation as in FIG. The odor index is calculated individually, the odor index of each room is individually collected, and the system can be similarly applied to the case of a stationary type having a receiving unit that performs the operation of the discrimination process (step S8) of FIG. , Produces the same effect.

【0089】次に、図13〜図18を参照して延長コー
ドによる電圧損失分の補正の方法を説明する。まず、図
13および図14を参照して延長コードの線路長に基づ
く電圧降下を測定し、延長コードによる電圧損失分の補
正する場合について説明する。図13は、ニオイを検出
するセンサ部としてのニオイセンサ2と、このセンサ部
からの信号を処理する信号処理部としてのMPU4やそ
の結果等を表示する表示部としてのLCD6等を含むモ
ニタ本体とを延長コードを介して分離可能な構造とした
一例を示す構成図である。
Next, a method of correcting the voltage loss by the extension cord will be described with reference to FIGS. First, the case where the voltage drop based on the line length of the extension cord is measured and the voltage loss due to the extension cord is corrected will be described with reference to FIGS. 13 and 14. FIG. 13 is a monitor main body including an odor sensor 2 as a sensor unit for detecting odor, an MPU 4 as a signal processing unit for processing a signal from the sensor unit, an LCD 6 as a display unit for displaying the result, and the like. It is a block diagram which shows an example which has a structure which can be separated via an extension cord.

【0090】図において、MBはモニタ本体であって、
このモニタ本体MBは図1に示されている構成要素の内
ニオイセンサ2以外のその他の構成要素を全て含むが、
ここでは、説明の都合上、MPU4、電源回路11、電
圧調整器12および可変型電圧調整器13のみを示して
いる。また、ECは延長コードであって、この延長コー
ドECは素子2aとこの素子2aを加熱するヒータ2b
とからなるニオイセンサ2と、モニタ本体MBとの間を
電気的に接続する。21はモニタ本体MB側に設けられ
たソケットである。このソケット21にニオイセンサ2
からの延長コードECおよび後述の線路LNの一端が接
続されたプラグ(図示せず)が差し込まれるようになさ
れている。ヒータ2bの温度は、供給される電流量に比
例して変化する。定電圧供給による延長コードECで電
圧降下は、供給される電流量を低下させ、温度の低下を
招く。
In the figure, MB is the monitor body,
This monitor main body MB includes all of the components other than the odor sensor 2 among the components shown in FIG.
Here, for convenience of explanation, only the MPU 4, the power supply circuit 11, the voltage regulator 12, and the variable voltage regulator 13 are shown. Further, EC is an extension cord, and this extension cord EC is an element 2a and a heater 2b for heating the element 2a.
The odor sensor 2 composed of and is electrically connected to the monitor body MB. Reference numeral 21 is a socket provided on the monitor body MB side. The odor sensor 2 is placed in this socket 21.
A plug (not shown), to which the extension cord EC from and the one end of a line LN described later are connected, is inserted. The temperature of the heater 2b changes in proportion to the amount of current supplied. The voltage drop in the extension cord EC due to the constant voltage supply lowers the amount of current supplied, resulting in a drop in temperature.

【0091】可変型電圧調整器13は、ここでは、一例
としてMPU4からの信号により制御可能な定電圧回路
が用いられる。電圧調整器12は分圧抵抗器22および
延長コードECを介してニオイセンサ2の素子2aの一
端に接続されると共に、分圧抵抗器22を介してA/D
変換部42の入力端に接続され、素子2aの他端は延長
コードECを介して接地される。可変型電圧調整器13
は延長コードECを介してニオイセンサ2のヒータ2b
の一端に接続されると共に保護抵抗器23を介してA/
D変換部46の入力端に接続され、ヒータ2bの他端は
延長コードECを介して接地される。
As the variable voltage regulator 13, a constant voltage circuit controllable by a signal from the MPU 4 is used here as an example. The voltage regulator 12 is connected to one end of the element 2a of the odor sensor 2 via the voltage dividing resistor 22 and the extension cord EC, and is also connected to the A / D via the voltage dividing resistor 22.
It is connected to the input end of the conversion unit 42, and the other end of the element 2a is grounded via the extension cord EC. Variable voltage regulator 13
Is the heater 2b of the odor sensor 2 via the extension cord EC.
Is connected to one end of the
It is connected to the input end of the D conversion unit 46, and the other end of the heater 2b is grounded via the extension cord EC.

【0092】また、ニオイセンサ2の内部に延長コード
ECの線路長に基づく電圧降下分を測定するための固定
抵抗器24が設けられ、その一端が線路LNの一方を介
してMPU4内に設けられたA/D変換部46Aの入力
端に接続されると共に、分圧抵抗器25を介して可変型
電圧調整器13に接続される。また、固定抵抗器24の
他端は線路LNの他方を介して接地される。この固定抵
抗器24の値としては、延長ケーブルECの抵抗値と線
路LNの抵抗値の合成値に相当する値が用いられる。
Further, a fixed resistor 24 for measuring a voltage drop amount based on the line length of the extension cord EC is provided inside the odor sensor 2, and one end thereof is provided in the MPU 4 via one of the lines LN. In addition to being connected to the input terminal of the A / D converter 46A, it is also connected to the variable voltage regulator 13 via the voltage dividing resistor 25. The other end of the fixed resistor 24 is grounded via the other of the line LN. As the value of the fixed resistor 24, a value corresponding to a combined value of the resistance value of the extension cable EC and the resistance value of the line LN is used.

【0093】図14は固定抵抗器24をニオイセンサ2
内に設けた状態を示すもので、図において、ニオイセン
サ2のプラグ2cは、例えばピンP1〜P7の複数のピ
ンを有し、一例としてピンP1〜P3の内のいずれかの
2者間に素子2aが接続され、ピンP5およびP6間に
ヒータ2bが接続される。そこで、残りのピンP4およ
びP7間に固定抵抗器24を接続する。なお、この方法
では、線路長検出部としてMPU4が該当する。
In FIG. 14, the fixed resistor 24 is connected to the odor sensor 2.
In the figure, the plug 2c of the odor sensor 2 has, for example, a plurality of pins P1 to P7, and as an example, between any two of the pins P1 to P3. The element 2a is connected, and the heater 2b is connected between the pins P5 and P6. Therefore, the fixed resistor 24 is connected between the remaining pins P4 and P7. In this method, the MPU 4 corresponds to the line length detection unit.

【0094】かかる構成において、モニタ本体MB側で
抵抗分割した電圧値すなわち固定抵抗器24の両端に発
生する電圧の値をA/D変換器46AでA/D変換して
MPU4に取り込む。MPU4では、各抵抗値および供
給電圧が分かっているので、延長コードECの抵抗値を
算出することができる。この算出された抵抗値を加味し
て供給電圧を算出する。すなわち、いま、ヒータ2bの
抵抗値をRh(Ω)、ヒータ2bに印加される電圧の値
をVh(V)、延長ケーブルECの抵抗値をRd(Ω)
とすると、補正電圧Vd(V)は次式によって算出する
ことができる。
In such a configuration, the voltage value resistance-divided on the monitor body MB side, that is, the value of the voltage generated across the fixed resistor 24 is A / D converted by the A / D converter 46A and taken into the MPU 4. Since the resistance value and the supply voltage are known in the MPU 4, the resistance value of the extension cord EC can be calculated. The supply voltage is calculated in consideration of the calculated resistance value. That is, now, the resistance value of the heater 2b is Rh (Ω), the value of the voltage applied to the heater 2b is Vh (V), and the resistance value of the extension cable EC is Rd (Ω).
Then, the correction voltage Vd (V) can be calculated by the following equation.

【0095】 Vd=(Rd/Rh)・Vh (4)Vd = (Rd / Rh) · Vh (4)

【0096】この補正電圧Vdを加味してMPU4は、
供給電圧を決定し、可変型電圧調整器13からの供給電
圧をポート制御により調整する。これにより、延長コー
ドECによる電圧損失分が補正され、常に一定の電圧を
ニオイセンサ2のヒータ2bに供給することができる。
なお、このニオイセンサ2内に設けられた固定抵抗器2
4への電源供給は、常時必要としないので、可変型電圧
調整器13の調整後には、図示せずも電源の供給を停止
するスイッチ手段を設けることが好ましい。また、ヒー
タ2bへの電源の供給と固定抵抗器24への電源の供給
とを切り換える構成としてもよい。
Considering this correction voltage Vd, the MPU 4
The supply voltage is determined and the supply voltage from the variable voltage regulator 13 is adjusted by port control. As a result, the voltage loss due to the extension cord EC is corrected, and a constant voltage can always be supplied to the heater 2b of the odor sensor 2.
The fixed resistor 2 provided in the odor sensor 2
Since the power supply to 4 is not always required, it is preferable to provide a switch means (not shown) for stopping the power supply after the adjustment of the variable voltage regulator 13. Further, the power supply to the heater 2b and the power supply to the fixed resistor 24 may be switched.

【0097】また、この方法では、MPU4のソフトウ
ェア上で供給電圧を算出する必要があるが、これはニオ
イモニタの立ち上げ時に行えば十分であるので、初期設
定のルーチンの最後に直接の供給電圧および抵抗分割し
た延長ケーブルの抵抗値を認識するための分割電圧をA
/D変換して取り込む。そして、供給電圧を算出して、
供給電圧の設定出力を行うようにする。この操作を常時
行うとすると、ウォームアップ後の通常ルーチンにこの
設定動作を入れればよい。
Further, in this method, it is necessary to calculate the supply voltage on the software of the MPU 4, but this is sufficient when the odor monitor is started up. Therefore, the supply voltage can be directly supplied at the end of the initialization routine. And the division voltage for recognizing the resistance value of the resistance-divided extension cable is A
/ D conversion and import. Then, calculate the supply voltage,
Make the setting output of the supply voltage. If this operation is always performed, this setting operation may be included in the normal routine after warm-up.

【0098】次に、図15および図16を参照してプラ
グの形状例えば複数の特定のピンの有無に応じて延長コ
ードにる電圧損失分の補正する場合について説明する。
なお、図15において、図13と対応する部分には同一
符号を付し、その詳細説明は省略する。この方法では、
延長コードECの長さに対応するようにプラグの各ピン
の長短を設定して置き、ニオイセンサ2をモニタ本体M
B側に装着したときに、各ピンに対応するスイッチを操
作するように配置し、そのスイッチ群による線路長検出
部により可変型電圧調整器の供給電圧が設定されるよう
にする。
Next, with reference to FIG. 15 and FIG. 16, description will be made on the case of correcting the voltage loss in the extension cord depending on the shape of the plug, for example, the presence or absence of a plurality of specific pins.
Note that, in FIG. 15, parts corresponding to those in FIG. 13 are denoted by the same reference numerals, and detailed description thereof will be omitted. in this way,
Set the length of each pin of the plug so as to correspond to the length of the extension cord EC, and place the odor sensor 2 on the monitor body M.
When the switch is attached to the B side, the switches corresponding to the pins are arranged so as to be operated, and the line length detection unit by the switch group sets the supply voltage of the variable voltage regulator.

【0099】図15において、モニタ本体MB内の可変
型電圧調整器13に対してスイッチ群を用いた線路長検
出部20が設けられ、その出力に基づいて可変型電圧調
整器13を制御する。従って、この場合、MPU4によ
る可変型電圧調整器13の制御は不要であり、また、固
定抵抗器24も不要である。図16は線路長検出部20
としてのスイッチ群の一例と、このスイッチ群に対応す
るプラグのピンとの相対関係を示すものある。同図にお
いて、26は複数個例えば2つの押し釦スイッチからな
るスイッチ群であって、各押し釦スイッチのオンオフボ
タンがニオイセンサ2のプラグ2cの各ピンが挿入され
るモニタ本体MB側のソケット21の穴に対応するよう
になされている。そして、延長コードECの長さは、予
め複数用意されていて、その延長コードECの長さに対
応してプラグ2cの各ピンの長短が、例えば図16の
(a)〜(d)に示すように決められている。
In FIG. 15, a line length detector 20 using a switch group is provided for the variable voltage regulator 13 in the monitor body MB, and the variable voltage regulator 13 is controlled based on the output thereof. Therefore, in this case, the control of the variable voltage regulator 13 by the MPU 4 is unnecessary, and the fixed resistor 24 is also unnecessary. FIG. 16 shows the line length detection unit 20.
Shows the relative relationship between an example of the switch group and the pin of the plug corresponding to this switch group. In the figure, reference numeral 26 is a switch group including a plurality of, for example, two push button switches. The on / off button of each push button switch is a socket 21 on the monitor main body MB side into which each pin of the plug 2c of the odor sensor 2 is inserted. It is designed to correspond to the hole. A plurality of lengths of the extension cord EC are prepared in advance, and the length of each pin of the plug 2c corresponding to the length of the extension cord EC is shown in, for example, (a) to (d) of FIG. Is decided.

【0100】すなわち、図16の(a)はピンP7とピ
ンP4が共に長くて実質的に両方のピンが存在する場
合、図16の(b)はピンP7が長くピンP4が短くて
実質的に図面上左側のピンP7のみが存在する場合、図
16の(c)はピンP7が短くピンP4が長くて実質的
に図面上右側のピンP4のみが存在する場合、図16の
(d)はピンP7とピンP4が共に短くて実質的に両方
のピンが存在しない場合を表しており、これらの各場合
に対応して長さの異なる複数種類の延長コードECが存
在することになる。なお、図16の(b)〜(d)で
は、ソケット21、スイッチ群26の記載を省略してい
る。また、図示せずも、延長コードECのソケット21
側のプラグのピンもニオイセンサ2のプラグ2cのピン
と同じ形状をなしており、ここでは、便宜上プラグ2c
がソケット21に差し込まれる場合について説明する。
That is, in FIG. 16A, when the pins P7 and P4 are both long and substantially both pins exist, in FIG. 16B, the pin P7 is long and the pin P4 is short, and substantially. 16C shows the case where only the pin P7 on the left side of the drawing exists, FIG. 16C shows that when the pin P7 is short and the pin P4 is long and substantially only the pin P4 on the right side of the drawing exists. Shows the case where both the pin P7 and the pin P4 are short and both pins are substantially absent, and a plurality of types of extension cords EC having different lengths are present corresponding to each of these cases. 16B to 16D, the socket 21 and the switch group 26 are omitted. Further, although not shown, the socket 21 of the extension cord EC
The pin of the plug on the side also has the same shape as the pin of the plug 2c of the odor sensor 2, and here, for convenience, the plug 2c is used.
The case where is inserted into the socket 21 will be described.

【0101】かかる構成において、ニオイセンサ2がモ
ニタ本体MBに装着されると、図16の(a)の場合
は、ピンP7とP4によりスイッチ群26の各押し釦ス
イッチが共にオンし、図16の(b)の場合は、ピンP
7に対応する押し釦スイッチのみがオンし、図16の
(c)の場合は、ピンP4に対応する押し釦スイッチの
みがオンし、図16の(d)の場合は、ピンP7とP4
に対応する各押し釦スイッチが共にオフする。この各押
し釦の状態は、異なる複数種類の延長コードに対応する
ように設定されているので、この状態に応じて可変型電
圧調整器13では、ニオイセンサ2のヒータ2bに供給
される電圧を設定する。これにより、延長コードECに
よる電圧損失分が補正され、常に一定の電圧をニオイセ
ンサ2のヒータ2bに供給することができる。
In this structure, when the odor sensor 2 is mounted on the monitor main body MB, in the case of FIG. 16A, the push button switches of the switch group 26 are both turned on by the pins P7 and P4. In case of (b), pin P
7 only turns on, in the case of FIG. 16 (c), only the push button switch corresponding to pin P4 turns on, and in the case of FIG. 16 (d), pins P7 and P4.
Both push button switches corresponding to are turned off. Since the state of each push button is set so as to correspond to a plurality of different types of extension cords, the voltage supplied to the heater 2b of the odor sensor 2 is set in the variable voltage regulator 13 according to this state. Set. As a result, the voltage loss due to the extension cord EC is corrected, and a constant voltage can always be supplied to the heater 2b of the odor sensor 2.

【0102】なお、スイッチ群26の各押し釦の状態を
予めMPU4のメモリに記憶して置き、ニオイセンサ2
のプラグ2cがモニタ本体MB側のソケット21に挿入
された時点でこれを把握し、MPU4によって可変型電
圧調整器13を制御するようにしてもよい。また、ここ
では、ニオイセンサ2のプラグ2cのピン2本を用いて
プラグの形状を識別し、この識別結果に基づいて延長コ
ードの線路長を検出する場合について説明したが、これ
に限定されることなく、例えばプラグ2cの複数のピン
の全てを用いてもよく、或は、プラグとは別に設けたモ
ールドによるピンを用いてもよい。
The state of each push button of the switch group 26 is stored in the memory of the MPU 4 in advance, and the odor sensor 2
The plug 2c may be grasped when it is inserted into the socket 21 on the monitor body MB side, and the MPU 4 may control the variable voltage regulator 13. Further, here, the case where the shape of the plug is identified by using the two pins of the plug 2c of the odor sensor 2 and the line length of the extension cord is detected based on the identification result has been described, but the present invention is not limited to this. Alternatively, for example, all of the plurality of pins of the plug 2c may be used, or mold pins provided separately from the plug may be used.

【0103】次に、図17および図18を参照してプラ
グの形状例えば特定のピンの長さに基づいて延長コード
にる電圧損失分の補正する場合について説明する。な
お、図17において、図15と対応する部分には同一符
号を付し、その詳細説明は省略する。この方法では、延
長コードECの長さに対応するようにプラグの特定のピ
ンの長さを設定して置き、ニオイセンサ2をモニタ本体
MB側に装着したときに、その特定のピンにより線路長
検出部20としての可変抵抗器を操作するように配置
し、その可変抵抗器による線路長検出部により可変型電
圧調整器の供給電圧が設定されるようにする。
Next, referring to FIGS. 17 and 18, a case will be described in which the voltage loss of the extension cord is corrected based on the shape of the plug, for example, the length of a specific pin. In FIG. 17, parts corresponding to those in FIG. 15 are designated by the same reference numerals, and detailed description thereof will be omitted. In this method, the length of a specific pin of the plug is set so as to correspond to the length of the extension cord EC, and when the odor sensor 2 is mounted on the monitor body MB side, the line length is set by the specific pin. The variable resistor as the detection unit 20 is arranged so as to be operated, and the line length detection unit by the variable resistor sets the supply voltage of the variable voltage regulator.

【0104】図17において、モニタ本体MB内の可変
型電圧調整器13に対して可変抵抗器27を用いた線路
長検出部20が設けられ、その出力に基づいて可変型電
圧調整器13を制御する。この場合の可変型電圧調整器
13も図15のものと同様の機能を有するものである。
図18は線路長検出部20としての可変抵抗器27と、
これに対応するプラグのピンとの相対関係を示すもので
ある。同図において、ニオイセンサ2のプラグ2cの特
定のピン例えばピンP4は、長さの異なる複数種類の延
長コードECの特定のものに対応してその長さを調整さ
れている。そして、このプラグ2cの各ピンが挿入され
るソケット21の各穴のうち、特定のピンP4が挿入さ
れる穴の下方に可変抵抗器27の摺動端子が来るように
可変抵抗器27がモニタ本体MB側に位置決めされてい
る。そして、この可変抵抗器27の摺動端子は、図示し
ないばねなどの弾性体によって常時上方に付勢されてい
る。なお、この場合も、図示せずも、延長コードECの
ソケット21側のプラグのピンもニオイセンサ2のプラ
グ2cのピンと同じ形状をなしており、ここでは、便宜
上プラグ2cがソケット21に差し込まれる場合につい
て説明する。
In FIG. 17, a line length detector 20 using a variable resistor 27 is provided for the variable voltage regulator 13 in the monitor body MB, and the variable voltage regulator 13 is controlled based on the output thereof. To do. The variable voltage regulator 13 in this case also has the same function as that of FIG.
FIG. 18 shows a variable resistor 27 as the line length detection unit 20,
This shows the relative relationship with the corresponding pins of the plug. In the figure, the specific pin of the plug 2c of the odor sensor 2, for example, the pin P4, has its length adjusted corresponding to the specific one of the plurality of types of extension cords EC having different lengths. Then, of the holes of the socket 21 into which the pins of the plug 2c are inserted, the variable resistor 27 is monitored so that the sliding terminals of the variable resistor 27 are below the holes into which the specific pin P4 is inserted. It is positioned on the body MB side. The sliding terminal of the variable resistor 27 is constantly urged upward by an elastic body such as a spring (not shown). In this case as well, although not shown, the pin of the plug of the extension cord EC on the socket 21 side also has the same shape as the pin of the plug 2c of the odor sensor 2, and here the plug 2c is inserted into the socket 21 for convenience. The case will be described.

【0105】かかる構成において、ニオイセンサ2がモ
ニタ本体MBに装着されると、ニオイセンサ2のプラグ
2cがソケット21に差し込まれ、プラグ2cのピンP
4の長さだけ、可変抵抗器26の摺動端子が下方に移動
してその抵抗値が設定される。そして、この可変抵抗器
26は可変型電圧調整器13に電気的に接続されている
ので、可変型電圧調整器13は、このときの可変抵抗器
26の抵抗値に基づいてニオイセンサ2のヒータ2bに
供給される電圧を設定する。これにより、延長コードE
Cによる電圧損失分が補正され、常に一定の電圧をニオ
イセンサ2のヒータ2bに供給することができる。
In such a structure, when the odor sensor 2 is attached to the monitor body MB, the plug 2c of the odor sensor 2 is inserted into the socket 21 and the pin P of the plug 2c is inserted.
By the length of 4, the sliding terminal of the variable resistor 26 moves downward and its resistance value is set. Further, since the variable resistor 26 is electrically connected to the variable voltage regulator 13, the variable voltage regulator 13 uses the resistance value of the variable resistor 26 at this time as a heater for the odor sensor 2. Set the voltage supplied to 2b. This allows extension cord E
The voltage loss due to C is corrected, and a constant voltage can always be supplied to the heater 2b of the odor sensor 2.

【0106】なお、この場合も、予め長さの異なる複数
種類の延長コードを用意し、それぞれの延長コードの長
さに対応した可変抵抗器26の抵抗値をMPU4のメモ
リに記憶して置き、ニオイセンサ2のプラグ2cがモニ
タ本体MB側のソケット21に挿入された時点で可変抵
抗器26の抵抗値をMPU4に取り込み、MPU4によ
って可変型電圧調整器13を制御するようにしてもよ
い。
Also in this case, a plurality of types of extension cords having different lengths are prepared in advance, and the resistance value of the variable resistor 26 corresponding to the length of each extension cord is stored and stored in the memory of the MPU 4. The resistance value of the variable resistor 26 may be taken into the MPU 4 when the plug 2c of the odor sensor 2 is inserted into the socket 21 on the monitor body MB side, and the MPU 4 may control the variable voltage regulator 13.

【0107】このようにして、ニオイセンサを含むセン
サ部とモニタ本体とを延長コードを介して分離可能な構
造とした場合でも、延長コードの線路長に基づく電圧降
下分が自動的に補正されて常に一定のヒータ電圧を確保
でき、安定した動作を確保できる。
In this way, even when the sensor unit including the odor sensor and the monitor body are separable via the extension cord, the voltage drop amount based on the line length of the extension cord is automatically corrected. A constant heater voltage can always be secured, and stable operation can be secured.

【0108】[0108]

【発明の効果】以上のようにこの発明によれば、環境中
の雰囲気を検出するニオイセンサと、このニオイセンサ
と分離され、少なくとも該ニオイセンサの検出出力を処
理する信号処理部およびニオイセンサに電圧を供給する
電源手段を含むモニタ本体と、ニオイセンサとモニタ本
体を電気的に接続する延長コードと、この延長コードの
線路長を検出する検出手段と、延長コードの線路長に基
づく電圧降下分を補正する補正手段とを備えたので、延
長コードによる電圧損失分を自動的に補正して、常に安
定した動作を確保でき、信頼性を向上できるという効果
がある。
As described above, according to the present invention, the odor sensor for detecting the atmosphere in the environment, the signal processor and the odor sensor which are separated from the odor sensor and process the detection output of the odor sensor are provided. A monitor body including a power supply means for supplying a voltage, an extension cord electrically connecting the odor sensor and the monitor body, a detection means for detecting the line length of the extension cord, and a voltage drop amount based on the line length of the extension cord. Since there is provided a correction means for correcting the above, there is an effect that the voltage loss due to the extension cord is automatically corrected, stable operation can always be ensured, and reliability can be improved.

【0109】また、検出手段としてニオイセンサの内に
少なくとも延長コードの抵抗値に相当する固定抵抗器を
設け、補正手段は該固定抵抗器における電圧降下分に基
づいてニオイセンサに供給される電圧を調整するので、
実質的にニオイセンサ内に延長コードの抵抗値に等価な
抵抗値を有する固定抵抗器を設けるだけで当該延長コー
ドを識別でき、延長コードによる電圧損失分を自動的に
補正して、常に安定した動作を確保でき、簡単な構成で
信頼性を向上できるという効果がある。
Further, as the detecting means, a fixed resistor corresponding to at least the resistance value of the extension cord is provided in the odor sensor, and the correcting means determines the voltage supplied to the odor sensor based on the voltage drop in the fixed resistor. I will adjust
The extension cord can be identified by simply installing a fixed resistor that has a resistance value equivalent to the resistance value of the extension cord in the odor sensor, and the voltage loss due to the extension cord is automatically corrected to ensure stable operation. There is an effect that the operation can be secured and the reliability can be improved with a simple configuration.

【0110】また、検出手段は、ニオイセンサとモニタ
本体の装着時、長さの異なる複数種類の延長コードの線
路長に対応して予め設定されているニオイセンサのプラ
グの形状に基づいて対応する延長コードを識別し、補正
手段は、この識別結果に基づいてニオイセンサに供給さ
れる電圧を調整するので、プラグの形状を確認するだけ
で容易にかつ確実に当該延長コードを識別でき、延長コ
ードによる電圧損失分を自動的に補正して、常に安定し
た動作を確保でき、簡単な構成で信頼性を向上できると
いう効果がある。
Further, when the odor sensor and the monitor main body are attached, the detection means corresponds to the shape of the odor sensor plug which is preset corresponding to the line lengths of a plurality of types of extension cords having different lengths. The extension cord is identified, and the correction means adjusts the voltage supplied to the odor sensor based on the identification result, so that the extension cord can be easily and reliably identified only by checking the shape of the plug. There is an effect that the voltage loss due to is automatically corrected, stable operation can always be secured, and the reliability can be improved with a simple configuration.

【0111】また、検出手段は、ニオイセンサとモニタ
本体の装着時、ニオイセンサのプラグの複数の特定のピ
ンのいずれが、このピンに対向して設けられたスイッチ
群と対接するか否かによって対応する延長コードを識別
するので、プラグの複数の特定ピンの有無を確認するだ
けで容易にかつ確実に当該延長コードを識別でき、延長
コードによる電圧損失分を自動的に補正して、常に安定
した動作を確保でき、簡単な構成で信頼性を向上できる
という効果がある。
Further, the detecting means determines, when the odor sensor and the monitor body are attached, whether or not any of a plurality of specific pins of the plug of the odor sensor contacts a switch group provided facing the pin. Since the corresponding extension cord is identified, you can easily and reliably identify the extension cord just by checking the presence or absence of multiple specific pins on the plug, and the voltage loss due to the extension cord is automatically corrected to ensure stable operation. It is possible to secure the above-mentioned operation and improve reliability with a simple configuration.

【0112】また、検出手段は、ニオイセンサとモニタ
本体の装着時、ニオイセンサのプラグの特定のピンが、
このピンに対向して設けられた可変抵抗器の摺動端子を
移動させたときの抵抗値に基づいて対応する延長コード
を識別するので、プラグの特定のピンの長さを変えるだ
けで容易にかつかつ当該延長コードを識別でき、延長コ
ードによる電圧損失分を自動的に補正して、常に安定し
た動作を確保でき、簡単な構成で信頼性を向上できると
いう効果がある。
Further, the detecting means is such that when the odor sensor and the monitor main body are attached, the specific pin of the odor sensor plug is
Since the corresponding extension cord is identified based on the resistance value when the sliding terminal of the variable resistor provided facing this pin is moved, it is easy to change the length of the specific pin of the plug. In addition, the extension cord can be identified, the voltage loss caused by the extension cord can be automatically corrected, and stable operation can always be ensured, and the reliability can be improved with a simple configuration.

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

【図1】この発明に係るニオイモニタの一実施例を示す
構成図である。
FIG. 1 is a configuration diagram showing an embodiment of an odor monitor according to the present invention.

【図2】この発明に係るニオイモニタの一実施例の要部
を示すブロック図である。
FIG. 2 is a block diagram showing a main part of an embodiment of an odor monitor according to the present invention.

【図3】図1の全体の動作の説明に供するためのフロー
チャートである。
FIG. 3 is a flowchart for explaining the overall operation of FIG.

【図4】図3における初期設定の動作の詳細な説明に供
するためのフローチャートである。
FIG. 4 is a flowchart for providing a detailed description of an initial setting operation in FIG.

【図5】図3における設定処理の動作の詳細な説明に供
するためのフローチャートである。
5 is a flowchart for providing a detailed description of an operation of a setting process in FIG.

【図6】図3における設定処理の動作の詳細な説明に供
するためのフローチャートである。
FIG. 6 is a flowchart for providing a detailed description of an operation of a setting process in FIG.

【図7】図3における設定処理の動作の詳細な説明に供
するためのフローチャートである。
7 is a flowchart for providing a detailed description of an operation of a setting process in FIG.

【図8】図3におけるデータ読み込みの動作の詳細な説
明に供するためのフローチャートである。
8 is a flowchart for providing a detailed description of a data reading operation in FIG.

【図9】図3におけるニオイ指数換算の動作の詳細な説
明に供するためのフローチャートである。
9 is a flowchart for providing a detailed description of the operation of odor index conversion in FIG.

【図10】図3における判別処理の動作の詳細な説明に
供するためのフローチャートである。
10 is a flowchart for providing a detailed description of the operation of the determination process in FIG.

【図11】図10におけるオートキャリブレーションの
他の例の動作の詳細な説明に供するためのフローチャー
トである。
11 is a flowchart for providing a detailed description of an operation of another example of the automatic calibration in FIG.

【図12】図10におけるオートキャリブレーションの
さらに他の例の動作の詳細な説明に供するためのフロー
チャートである。
FIG. 12 is a flowchart for providing a detailed description of the operation of still another example of the automatic calibration in FIG.

【図13】分離した構造のニオイセンサとモニタ本体を
接続する延長コードによる電圧損失分を補正する一例を
示す構成図である。
FIG. 13 is a configuration diagram showing an example of correcting a voltage loss component due to an extension cord connecting the odor sensor having a separated structure and a monitor body.

【図14】図13における要部を示す配置図である。FIG. 14 is a layout view showing a main part in FIG.

【図15】分離した構造のニオイセンサとモニタ本体を
接続する延長コードによる電圧損失分を補正する他の例
を示す構成図である。
FIG. 15 is a configuration diagram showing another example of correcting a voltage loss due to an extension cord connecting the odor sensor having a separate structure and a monitor main body.

【図16】図15における要部を示す配置図である。16 is a layout view showing a main part in FIG.

【図17】分離した構造のニオイセンサとモニタ本体を
接続する延長コードによる電圧損失分を補正する他の例
を示す構成図である。
FIG. 17 is a configuration diagram showing another example of correcting a voltage loss component due to an extension cord connecting the odor sensor having a separated structure and a monitor main body.

【図18】図17における要部を示す配置図である。FIG. 18 is a layout view showing a main part in FIG.

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

1 ニオイモニタ 2 ニオイセンサ 2a 素子 2b ヒータ 4 マイクロプロセッサユニット(MPU) 41 演算部 7 EEPROM 11 電源回路 12 電圧調整器 13 可変型電圧調整器 20 線路長検出部 24 固定抵抗器 26 押し釦スイッチ 27 可変抵抗器 MB モニタ本体 EC 延長コード 1 odor monitor 2 odor sensor 2a element 2b heater 4 microprocessor unit (MPU) 41 arithmetic unit 7 EEPROM 11 power supply circuit 12 voltage regulator 13 variable voltage regulator 20 line length detector 24 fixed resistor 26 pushbutton switch 27 variable Resistor MB Monitor body EC extension cord

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 環境中の雰囲気を検出するニオイセンサ
と、 このニオイセンサと分離され、少なくとも該ニオイセン
サの検出出力を処理する信号処理部および該ニオイセン
サに電圧を供給する電源手段を含むモニタ本体と、 上記ニオイセンサと上記モニタ本体を電気的に接続する
延長コードと、 該延長コードの線路長を検出する検出手段と、 上記延長コードの線路長に基づく電圧降下分を補正する
補正手段とを備えたことを特徴とするニオイモニタ。
1. A monitor including an odor sensor for detecting an atmosphere in the environment, a signal processing section which is separated from the odor sensor and which processes a detection output of the odor sensor, and a power supply means for supplying a voltage to the odor sensor. A main body, an extension cord electrically connecting the odor sensor and the monitor main body, detection means for detecting the line length of the extension cord, and correction means for correcting a voltage drop amount based on the line length of the extension cord. An odor monitor characterized by having.
【請求項2】 上記検出手段として上記ニオイセンサの
内に少なくとも上記延長コードの抵抗値に相当する抵抗
値を有する固定抵抗器を設け、上記補正手段は該固定抵
抗器における電圧降下分に基づいて上記ニオイセンサに
供給される電圧を調整する請求項1記載のニオイモニ
タ。
2. A fixed resistor having a resistance value corresponding to at least the resistance value of the extension cord is provided in the odor sensor as the detection means, and the correction means is based on a voltage drop in the fixed resistor. The odor monitor according to claim 1, wherein a voltage supplied to the odor sensor is adjusted.
【請求項3】 上記検出手段は、上記ニオイセンサと上
記モニタ本体の装着時、長さの異なる複数種類の延長コ
ードの線路長に対応して予め設定されているニオイセン
サのプラグの形状に基づいて対応する延長コードを識別
し、補正手段は、該識別結果に基づいて上記ニオイセン
サに供給される電圧を調整する請求項1記載のニオイモ
ニタ。
3. The detecting means is based on the shape of the plug of the odor sensor which is preset in correspondence with the line lengths of a plurality of types of extension cords having different lengths when the odor sensor and the monitor body are mounted. 2. The odor monitor according to claim 1, wherein the corresponding extension code is identified, and the correction means adjusts the voltage supplied to the odor sensor based on the identification result.
【請求項4】 上記検出手段は、上記ニオイセンサと上
記モニタ本体の装着時、上記ニオイセンサのプラグの複
数の特定のピンのいずれが、該ピンに対向して設けられ
たスイッチ群と対接するか否かによって対応する延長コ
ードを識別する請求項3記載のニオイモニタ。
4. The detecting means, when the odor sensor and the monitor main body are mounted, any one of a plurality of specific pins of a plug of the odor sensor contacts a switch group provided facing the pin. 4. The odor monitor according to claim 3, wherein the corresponding extension cord is identified depending on whether or not it is.
【請求項5】 上記検出手段は、上記ニオイセンサと上
記モニタ本体の装着時、上記ニオイセンサのプラグの特
定のピンが、該ピンに対向して設けられた可変抵抗器の
摺動端子を移動させたときの抵抗値に基づいて対応する
延長コードを識別する請求項3記載のニオイモニタ。
5. The detection means, when the odor sensor and the monitor main body are attached, a specific pin of a plug of the odor sensor moves a sliding terminal of a variable resistor provided facing the pin. The odor monitor according to claim 3, wherein the corresponding extension cord is identified based on the resistance value when the extension cord is caused to move.
JP28826994A 1994-11-22 1994-11-22 Odor monitor Pending JPH08145930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28826994A JPH08145930A (en) 1994-11-22 1994-11-22 Odor monitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28826994A JPH08145930A (en) 1994-11-22 1994-11-22 Odor monitor

Publications (1)

Publication Number Publication Date
JPH08145930A true JPH08145930A (en) 1996-06-07

Family

ID=17728001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28826994A Pending JPH08145930A (en) 1994-11-22 1994-11-22 Odor monitor

Country Status (1)

Country Link
JP (1) JPH08145930A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015017865A (en) * 2013-07-10 2015-01-29 理研計器株式会社 Gas detection system
JP2020012770A (en) * 2018-07-19 2020-01-23 東亜ディーケーケー株式会社 Measurement device and body device of measurement device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015017865A (en) * 2013-07-10 2015-01-29 理研計器株式会社 Gas detection system
JP2020012770A (en) * 2018-07-19 2020-01-23 東亜ディーケーケー株式会社 Measurement device and body device of measurement device

Similar Documents

Publication Publication Date Title
US5589045A (en) Data managing method in portable blood sugar value-measuring and portable blood sugar value-measuring apparatus using same
JP3743704B2 (en) Battery pack
US4847783A (en) Gas sensing instrument
JPH06324787A (en) Coordinate detector for touch panel
US4412591A (en) Method and apparatus for selecting operating modes or parameters in an electrical scale
JP3523693B2 (en) Odor monitor
JPH08145930A (en) Odor monitor
JP3340261B2 (en) Fire detector
JP2006275761A (en) Setting technique of sensor module
JPH0378650A (en) Detecting device of humidity
JPH08101151A (en) Odor monitor
JP3563782B2 (en) Odor monitor
JP3362193B2 (en) Measuring equipment
JPH08136487A (en) Odor monitor
JPH08101153A (en) Odor monitor
JPH08136488A (en) Odor monitor
JPH0894565A (en) Odor monitor
JPH08145931A (en) Odor monitor
JPH0894567A (en) Odor monitor
EP0775913A1 (en) Electrochemical gas sensor
JPH0894566A (en) Odor monitor
JPH08101152A (en) Odor monitor
JPH08114564A (en) Odor monitor
JPH08110315A (en) Odor monitor
JPH08101150A (en) Odor monitor