JPH11118748A - Moisture detector - Google Patents

Moisture detector

Info

Publication number
JPH11118748A
JPH11118748A JP29495797A JP29495797A JPH11118748A JP H11118748 A JPH11118748 A JP H11118748A JP 29495797 A JP29495797 A JP 29495797A JP 29495797 A JP29495797 A JP 29495797A JP H11118748 A JPH11118748 A JP H11118748A
Authority
JP
Japan
Prior art keywords
value
humidity
analog
output
digital
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
JP29495797A
Other languages
Japanese (ja)
Inventor
Junichi Akiyama
純一 秋山
Hideaki Yagi
秀明 八木
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.)
Niterra Co Ltd
Original Assignee
NGK Spark Plug Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NGK Spark Plug Co Ltd filed Critical NGK Spark Plug Co Ltd
Priority to JP29495797A priority Critical patent/JPH11118748A/en
Publication of JPH11118748A publication Critical patent/JPH11118748A/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

PROBLEM TO BE SOLVED: To provide a moisture detector that is simple in configuration and at the same time can be adjusted easily. SOLUTION: Analog-vaue moisture output from a moisture sensor is converted into a digital value (S13), the moisture output is corrected based on a correction value being set to a potentiometer (S18), and a data table is searched and a moisture value is searched (S20). Then, the searched value is converted into a PWM signal (S22) and then is converted into an analog voltage value by a moisture output smoothing circuit. In this manner, since a moisture sensor value that changes logarithmically is processed digitally, an adjustment for coping with logarithmic characteristics is not required. Also, since the data table is used, it is not necessary to perform a complex arithmetic processing.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、湿度センサによ
り測定された湿度値をリニアなアナログ値として出力す
る湿度検出装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a humidity detecting device for outputting a humidity value measured by a humidity sensor as a linear analog value.

【0002】[0002]

【従来の技術】湿度センサとして、多孔質中に水分を吸
脱着する際の電圧又は電流値により空気中の湿度を検出
する固定電解質センサが用いられている。かかる湿度セ
ンサにおいては、湿度に対して抵抗値が対数的に変化し
ている。この湿度対抵抗値の関係を図5に示す。図中で
は、湿度センサ1と、湿度センサ2との測定値を示して
いる。このように、多孔質セラミック又は高分子材料の
センサでは、出力が対数的に変化すると共に、単体毎に
特性が異なるという特徴を有している。
2. Description of the Related Art As a humidity sensor, a fixed electrolyte sensor for detecting humidity in the air based on a voltage or a current value at the time of absorbing and desorbing moisture in a porous material is used. In such a humidity sensor, the resistance value changes logarithmically with respect to humidity. FIG. 5 shows the relationship between the humidity and the resistance value. In the figure, measured values of the humidity sensor 1 and the humidity sensor 2 are shown. As described above, the sensor made of a porous ceramic or a polymer material has a feature that the output changes logarithmically and the characteristics are different for each unit.

【0003】このため、従来技術の湿度に応じたアナロ
グ値、例えば、湿度に応じて電圧値をリニアに変化させ
て出力する湿度検出装置では、ディスクリートなアナロ
グ回路で湿度に応じた電圧値を生成していた。即ち、図
5に示す対数曲線を折れ線近似、または、対数アンプを
利用することで、リニアな電圧値を出力していた。
For this reason, in a conventional humidity detecting device which outputs an analog value corresponding to humidity, for example, a voltage value which is linearly changed according to humidity, a voltage value corresponding to humidity is generated by a discrete analog circuit. Was. That is, a linear voltage value is output by approximating the logarithmic curve shown in FIG. 5 with a broken line or using a logarithmic amplifier.

【0004】[0004]

【発明が解決しようとする課題】ここで、上記多孔質セ
ラミック又は高分子材料の湿度センサは、経年により特
性が劣化する。即ち、多孔質中に水分を吸脱着するた
め、該多孔質中に埃が溜まり、抵抗値が変化して正確に
測定できなくなる。このため、定期的(例えば1年)に
湿度センサを交換することが必要となるが、上述したア
ナログ値への変換を行う湿度検出装置側もセンサ毎に単
体調整がなされているため、湿度センサと共に交換して
いる。
Here, the characteristics of the above-described humidity sensor made of porous ceramics or polymer materials deteriorate over time. That is, since moisture is absorbed and desorbed in the porous material, dust accumulates in the porous material, and the resistance value changes, making it impossible to measure accurately. For this reason, it is necessary to periodically replace the humidity sensor (for example, one year). However, since the humidity detection device that performs the conversion to the analog value is individually adjusted for each sensor, the humidity sensor is changed. Has been replaced with

【0005】ここで、アナログ回路は2種類の調整が必
要でありセッティングに時間がかかっている。2種類と
は、湿度センサの出力偏差に対する特性調整と、湿度検
出装置側でのアナログ回路を用いて湿度センサの対数的
な特性変化(対数曲線)を折れ線近似するための調整で
ある。即ち、図5中に示すようにセンサ1、センサ2の
特性曲線の傾き(対数曲線)はほぼ近似しているが、上
下方向には偏位している。このため、まず、該湿度セン
サに共通している対数曲線に適合させた折れ線近似を実
現するため、ディスクリートな部品で構成された湿度検
出装置内の数個の可変抵抗の調整を行う。更に、個々の
湿度センサ特性に合わせての調整、即ち、図5中に示す
センサ1、センサ2の上下方向の出力特性に適合するよ
うに調整を行う必要がある。
Here, the analog circuit requires two kinds of adjustments, and it takes a long time to set. The two types are a characteristic adjustment for the output deviation of the humidity sensor and an adjustment for approximating the logarithmic characteristic change (logarithmic curve) of the humidity sensor by a polygonal line using an analog circuit on the humidity detection device side. That is, as shown in FIG. 5, the slopes (logarithmic curves) of the characteristic curves of the sensors 1 and 2 are almost similar, but are displaced in the vertical direction. For this reason, first, in order to realize a polygonal line approximation adapted to a logarithmic curve common to the humidity sensor, adjustment of several variable resistances in a humidity detection device composed of discrete components is performed. Further, it is necessary to perform adjustment in accordance with the characteristics of the individual humidity sensors, that is, adjustment so as to conform to the vertical output characteristics of the sensors 1 and 2 shown in FIG.

【0006】このため、本発明者は、湿度センサからの
出力値を一旦デジタル値へ変換し、上記折れ線近似に相
当する演算を行った後に、アナログ値へ変換して出力す
ることで、少なくもと湿度検出装置側での折れ線近似を
実現するための特性調整をなくすことを案出した。
Therefore, the inventor of the present invention converts at least the output value from the humidity sensor into a digital value, performs an operation corresponding to the above-described polygonal line approximation, converts the output value into an analog value, and outputs the converted value. In addition, it was devised that the characteristic adjustment for realizing the polygonal line approximation on the humidity detection device side was eliminated.

【0007】しかしながら、このデジタル的に処理する
場合には、折れ線近似に相当する演算を実現するため
に、16ビット程度の比較的高次のマイクロコンピュー
タが必要となり、コストの上昇が避けられないことが予
想される。即ち、湿度センサと共に定期交換を行ってい
る湿度検出装置に、高価なマイクロコンピュータを用い
ることが求められる。
However, in the case of digital processing, a relatively high-order microcomputer of about 16 bits is required in order to realize an operation equivalent to the broken line approximation, and an increase in cost is inevitable. Is expected. That is, it is required to use an expensive microcomputer for a humidity detecting device that is periodically replaced with a humidity sensor.

【0008】本発明は、上述した課題を解決するために
なされたものであり、その目的とするところは、構成が
簡易であると共に調整が容易な湿度検出装置を提供する
ことにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a humidity detecting device having a simple configuration and easy adjustment.

【0009】[0009]

【課題を解決するための手段】本発明は、上記目的を達
成するため請求項1の湿度検出装置では、湿度センサか
らのアナログ値の湿度出力をデジタル値に変換するアナ
ログ/デジタル変換手段と、温度センサの特性で湿度セ
ンサの温度依存性を補正するための補正値を設定する補
正値設定手段と、デジタル値に変換された湿度出力に対
応するデータ値を保持するデータテーブルと、前記補正
値設定手段に設定された補正値に基づき、前記デジタル
−アナログ変換手段にてデジタル値に変換された湿度出
力を補正し、前記データテーブルを検索して湿度値を検
索する検索手段と、前記検索手段にて検索された値をア
ナログ値に変換するデジタル/アナログ変換手段と、か
ら成ることを技術的特徴とする。
According to the present invention, in order to achieve the above object, in a humidity detecting apparatus according to the first aspect, analog / digital converting means for converting an analog humidity output from a humidity sensor into a digital value, Correction value setting means for setting a correction value for correcting the temperature dependency of the humidity sensor with the characteristics of the temperature sensor, a data table holding a data value corresponding to the humidity output converted into a digital value, and the correction value Search means for correcting the humidity output converted to a digital value by the digital-analog conversion means based on the correction value set in the setting means, searching the data table for the humidity value, and the search means And a digital / analog converting means for converting the value retrieved by the above into an analog value.

【0010】また、請求項2では、請求項1において、
前記アナログ/デジタル変換手段、データテーブル、検
索手段が、4ビットのマイクロコンピュータから構成さ
れていることを技術的特徴とする。
According to a second aspect, in the first aspect,
A technical feature is that the analog / digital conversion means, the data table, and the search means are constituted by a 4-bit microcomputer.

【0011】更に、請求項3では、請求項1又は2にお
いて、前記検索手段が、前記データテーブルを検索した
湿度値をPWM信号として出力し、前記デジタル/アナ
ログ変換手段が、該PWM信号を平滑化してアナログの
湿度値を生成することを技術的特徴とする。
Further, according to claim 3, in claim 1 or 2, the search means outputs a humidity value obtained by searching the data table as a PWM signal, and the digital / analog conversion means smoothes the PWM signal. And generating an analog humidity value.

【0012】請求項1の発明では、アナログ/デジタル
変換手段が、湿度センサからのアナログ値の湿度出力を
デジタル値に変換し、検索手段が、補正値設定手段に設
定された補正値に基づきデジタル−アナログ変換手段に
てデジタル値に変換された湿度出力を補正し、データテ
ーブルを検索して湿度値を検索する。そして、デジタル
/アナログ変換手段が、検索手段にて検索された値をア
ナログ値に変換する。このように、請求項1では、対数
的に変化する湿度センサ値をデジタル的に処理するた
め、対数特性に対応させるための調整が不要である。ま
た、データテーブルを用いるため、複雑な演算処理を行
う必要がない。このため、湿度センサ値出力を簡易な構
成で実現できる。また、補正値設定手段に温度センサの
特性を補正するための補正値を設定してあるため、個々
の湿度センサの特性に合わせて適切な値を出力すること
ができる。
According to the first aspect of the present invention, the analog / digital conversion means converts an analog humidity output from the humidity sensor into a digital value, and the search means performs digital conversion based on the correction value set in the correction value setting means. -Correct the humidity output converted into a digital value by the analog conversion means, and search the data table to search for the humidity value. Then, the digital / analog conversion means converts the value searched by the search means into an analog value. As described above, in the first aspect, since the humidity sensor value that changes logarithmically is digitally processed, there is no need to make an adjustment to correspond to the logarithmic characteristic. Further, since a data table is used, there is no need to perform complicated arithmetic processing. Therefore, the output of the humidity sensor value can be realized with a simple configuration. Further, since the correction value for correcting the characteristics of the temperature sensor is set in the correction value setting means, an appropriate value can be output in accordance with the characteristics of each humidity sensor.

【0013】請求項2では、アナログ/デジタル変換手
段、データテーブル、検索手段が、対数的に変化する湿
度センサの出力値を処理する際に、データテーブルを用
いるため、これらを低次のビット数(4ビット)のマイ
クロコンピュータで構成できる。
According to the second aspect, the analog / digital conversion means, the data table, and the search means use the data table when processing the output value of the logarithmically changing humidity sensor. (4-bit) microcomputer.

【0014】請求項3では、検索手段が、データテーブ
ルを検索した湿度値をPWM信号として出力する。そし
て、デジタル/アナログ変換手段が、該PWM信号を平
滑化してアナログの湿度値を生成するため、デジタル値
からアナログ値への変換が容易である。
According to a third aspect of the present invention, the search means outputs the humidity value obtained by searching the data table as a PWM signal. Then, since the digital / analog conversion means generates the analog humidity value by smoothing the PWM signal, the conversion from the digital value to the analog value is easy.

【0015】[0015]

【発明の実施の形態】以下、本発明の湿度検出装置の実
施形態について図を参照して説明する。図1は本発明の
一実施態様に係る温湿度検出装置10の構成を示してい
る。該温湿度検出装置10は、安定化ジルコニア板等の
多孔質セラミック又は高分子材料からなる湿度センサ1
2と、該湿度センサ12の特性を補正するためのポテン
ションメータ14と、白金測温体等からなる温度センサ
16と、該温度センサ16の特性を補正するためのポテ
ンションメータ18と、4ビットの演算処理を行い得る
と共に10ビットでのA−D変換を行い得る1個のマイ
クロコンピュータ20と、該マイクロコンピュータ20
からのPWM湿度信号を平滑化して湿度値として0〜1
0Vのアナログ電圧値を出力する湿度出力平滑回路30
と、該マイクロコンピュータ20からのPWM温度信号
を平滑化して温度値として0〜10Vのアナログ電圧値
を出力する温度出力平滑回路32と、電力を供給するた
めの電源回路34とから成る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a humidity detecting device according to the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of a temperature and humidity detecting device 10 according to one embodiment of the present invention. The temperature and humidity detecting device 10 includes a humidity sensor 1 made of a porous ceramic or a polymer material such as a stabilized zirconia plate.
2, a potentiometer 14 for correcting the characteristics of the humidity sensor 12, a temperature sensor 16 composed of a platinum temperature sensor, a potentiometer 18 for correcting the characteristics of the temperature sensor 16, One microcomputer 20 capable of performing bit arithmetic processing and performing 10-bit A / D conversion;
From the PWM humidity signal from 0 to 1 as a humidity value
Humidity output smoothing circuit 30 that outputs an analog voltage value of 0 V
A temperature output smoothing circuit 32 for smoothing the PWM temperature signal from the microcomputer 20 to output an analog voltage value of 0 to 10 V as a temperature value, and a power supply circuit 34 for supplying power.

【0016】マイクロコンピュータ20は、上記湿度セ
ンサ12、湿度センサ補正用ポテンションメータ14、
温度センサ16と、該温度センサ補正用ポテンションメ
ータ18の出力値をアナログ−デジタル変換するA/D
変換部22と、該A/D変換部22で変換されたデジタ
ル値に相当する湿度値を保持している湿度データテーブ
ル24と、変換されたデジタル値に相当する温度値を保
持している温度データテーブル26と、湿度値に相当す
るPWM信号を生成する湿度PWM制御部26と、温度
値に相当するPWM信号を生成する温度PWM制御部2
9とを備えている。
The microcomputer 20 includes the humidity sensor 12, the potentiometer 14 for correcting the humidity sensor,
A / D for analog-to-digital conversion of the output value of the temperature sensor 16 and the temperature sensor correction potentiometer 18
A conversion unit 22, a humidity data table 24 holding humidity values corresponding to the digital values converted by the A / D conversion unit 22, and a temperature holding temperature values corresponding to the converted digital values A data table 26, a humidity PWM control unit 26 for generating a PWM signal corresponding to a humidity value, and a temperature PWM control unit 2 for generating a PWM signal corresponding to a temperature value
9 is provided.

【0017】なお、この温湿度検出装置10は、工場か
ら出荷される際に、湿度センサ及び温度センサに合わせ
てそれぞれポテンションメータ14、18の値が調整さ
れている。この調整は、所定湿度及び温度の調整室中に
実際に湿度センサ12及び温度センサ16を配置し、正
しい出力値が得られるようにポテンションメータ14、
18の図示しない調整ネジを設定することにより行う。
When the temperature and humidity detector 10 is shipped from a factory, the values of the potentiometers 14 and 18 are adjusted in accordance with the humidity sensor and the temperature sensor, respectively. This adjustment is performed by actually arranging the humidity sensor 12 and the temperature sensor 16 in a predetermined humidity and temperature adjustment room, and setting the potentiometer 14 and the potentiometer 14 so that a correct output value is obtained.
The adjustment is performed by setting an adjustment screw 18 not shown.

【0018】ここで、該マイクロコンピュータ20によ
る処理について図2のフローチャートを参照して説明す
る。なお、この説明においては、湿度を求める際の処理
を説明するが、温度を求めるときにも同様に処理を行
う。
Here, the processing by the microcomputer 20 will be described with reference to the flowchart of FIG. Note that, in this description, the processing for calculating the humidity will be described, but the processing is similarly performed when calculating the temperature.

【0019】マイクロコンピュータ20は、湿度を求め
るために、湿度センサ12からの出力(アナログの電圧
値又は電流値)を得る(S12)。その値をA/D変換
部22にた8〜10ビットのデジタル値に変換する(S
13)。次に、ポテンションメータ14に設定されてい
る調整値(アナログ値)を読み出す(S14)。その
後、当該値をA/D変換部22にて8〜10ビットのデ
ジタル値に変換する(S16)。その後、該湿度センサ
12の出力値にポテンションメータ14の設定値を加算
することで、該湿度センサ12の出力値を補正する(S
18)。例えば、デジタル値に変換された湿度センサ出
力値が150であり、ポテンションメータ14の設定値
が10であれば、湿度センサの出力値を160に補正す
る(図3参照)。
The microcomputer 20 obtains an output (analog voltage value or current value) from the humidity sensor 12 to obtain the humidity (S12). The value is converted to a digital value of 8 to 10 bits by the A / D converter 22 (S
13). Next, an adjustment value (analog value) set in the potentiometer 14 is read (S14). Thereafter, the A / D converter 22 converts the value into a digital value of 8 to 10 bits (S16). Thereafter, the output value of the humidity sensor 12 is corrected by adding the set value of the potentiometer 14 to the output value of the humidity sensor 12 (S
18). For example, if the humidity sensor output value converted to a digital value is 150 and the setting value of the potentiometer 14 is 10, the output value of the humidity sensor is corrected to 160 (see FIG. 3).

【0020】引き続き、マイクロコンピュータ20は、
湿度データテーブル24を参照して補正された湿度セン
サの出力値(メモリアドレス)に相当するデータ値を検
索する(S20)。この湿度データテーブル24の構成
を図3に示す。図中に示すように、データテーブルは、
湿度センサの出力値(メモリアドレス)に相当するデー
タ値をテーブル形式で保持しており、例えば、出力値
(メモリアドレス)160に対しては、湿度60. 3%
に相当する603のデータ値が読み出されることとな
る。
Subsequently, the microcomputer 20
The data value corresponding to the corrected output value (memory address) of the humidity sensor is searched with reference to the humidity data table 24 (S20). The configuration of the humidity data table 24 is shown in FIG. As shown in the figure, the data table is
The data value corresponding to the output value (memory address) of the humidity sensor is held in a table format. For example, for the output value (memory address) 160, the humidity is 60.3%.
Will be read out.

【0021】マイクロコンピュータ20は、湿度PWM
制御部26にて、該データ値(湿度60. 3%に相当す
る603)に対応するPWM信号を生成する(S2
2)。このPWM信号について図4(A)を参照して説
明する。PWM信号(出力パルス)は、一定の周期T毎
に出力されているが、湿度値に応じてパルス幅tが調整
される。以上記述した処理によりマイクロコンピュータ
20は、湿度センサ12の出力値を補正したデジタル値
(PWM信号)を出力する。
The microcomputer 20 has a humidity PWM
The control unit 26 generates a PWM signal corresponding to the data value (603 corresponding to 60.3% humidity) (S2).
2). This PWM signal will be described with reference to FIG. The PWM signal (output pulse) is output at regular intervals T, but the pulse width t is adjusted according to the humidity value. The microcomputer 20 outputs a digital value (PWM signal) obtained by correcting the output value of the humidity sensor 12 by the processing described above.

【0022】該マイクロコンピュータ20側から出力さ
れたPWM信号は、湿度出力平滑化回路30にて図4
(B)に示すように平滑化される。即ち、湿度出力平滑
化回路30には、PWM信号の幅に応じた該0Vから1
0Vまでの湿度電圧値を出力する。ここでは、上記湿度
60. 3%に相当する電圧値が出力されることとなる。
The PWM signal output from the microcomputer 20 is supplied to a humidity output smoothing circuit 30 as shown in FIG.
It is smoothed as shown in FIG. In other words, the humidity output smoothing circuit 30 supplies the voltage from 0 V to 1 according to the width of the PWM signal.
It outputs humidity voltage values up to 0V. Here, a voltage value corresponding to the above-mentioned humidity of 60.3% is output.

【0023】このようにして、温湿度検出装置10から
湿度値に相当する電圧値、及び、同様にして温度値が図
示しない空調装置等に出力され、室温等の調整を行う。
In this manner, the voltage value corresponding to the humidity value and the temperature value in the same manner are output from the temperature / humidity detecting device 10 to an air conditioner or the like (not shown) to adjust the room temperature and the like.

【0024】なお、この実施態様では、マイクロコンピ
ュータ20からのデジタル出力としてPWM信号を送出
するため、コンデンサ等を用いる簡易な構成の湿度出力
平滑回路30にてアナログ値への変換を実現できる。
In this embodiment, since a PWM signal is transmitted as a digital output from the microcomputer 20, conversion into an analog value can be realized by the humidity output smoothing circuit 30 having a simple configuration using a capacitor or the like.

【0025】上述した従来技術のように湿度検出装置に
てアナログ的に湿度信号を処理するためには、湿度セン
サの対数的な出力特性をリニアな特性に変換すため折れ
線近似を行う必要がある。しかし、該湿度センサの特性
に合わせて折れ線近似を行うためには、複雑な調整が必
要となった。これに対して本実施態様では、デジタル的
に処理を行うため、湿度センサの対数特性に対応させる
ための調整を必要としない。更に、アナログ的な回路を
ディスクリートな構成部品にて実現する際に回路構成が
複雑で製造コストが高かったのに対して、本実施態様で
は、ワンチップの4ビットマイクロコンピュータ20
と、簡易な構成の湿度出力平滑回路30、温度出力平滑
回路29とで構成できるため、温湿度検出装置10が廉
価且つ小型に製造できる利点がある。
In order to process a humidity signal in an analog manner by a humidity detector as in the above-described prior art, it is necessary to perform a polygonal line approximation to convert the logarithmic output characteristic of the humidity sensor into a linear characteristic. . However, complicated adjustment was required to perform a polygonal line approximation in accordance with the characteristics of the humidity sensor. On the other hand, in the present embodiment, since the processing is performed digitally, there is no need to make an adjustment to correspond to the logarithmic characteristic of the humidity sensor. Furthermore, when an analog circuit is realized by discrete components, the circuit configuration is complicated and the manufacturing cost is high. On the other hand, in this embodiment, the one-chip 4-bit microcomputer 20
And the simple configuration of the humidity output smoothing circuit 30 and the temperature output smoothing circuit 29, there is an advantage that the temperature and humidity detecting device 10 can be manufactured inexpensively and small.

【0026】また更に、湿度センサの対数特性に対応す
るためのデジタル処理として、上記アナログ処理と同様
に演算により折れ線近似を実現した際には、上述したよ
うな単体調整は不要であるものの非常に複雑な演算を行
わなければならず、高性能(高次)なマイクロコンピュ
ータが必要となる。これに対して、本実施態様では、デ
ータテーブルを検索することによりにより折れ線近似の
演算と同様な精度を達成し得るため、廉価(低次)なマ
イクロコンピュータにて実現できる。
Further, when digital line approximation is realized by calculation as in the above-described analog processing as digital processing for coping with the logarithmic characteristic of the humidity sensor, the above-described unit adjustment is unnecessary, but very simple. Complicated calculations must be performed, and a high-performance (high-order) microcomputer is required. On the other hand, in the present embodiment, by searching the data table, it is possible to achieve the same accuracy as that of the approximation of the polygonal line approximation.

【0027】なお、上述した実施態様では、湿度及び温
度を測定する温湿度検出装置10を例に挙げて説明した
が、本発明は湿度のみを測定する湿度検出装置にも適用
し得ることは言うまでもない。また、上記実施態様で
は、マイクロコンピュータ20からPWM信号を出力
し、マイクロコンピュータ20の外部に設けらた湿度出
力平滑回路にてアナログ値に変換したが、マイクロコン
ピュータ内にD/A変換器を備えることも可能である。
In the above-described embodiment, the temperature and humidity detecting device 10 for measuring humidity and temperature has been described as an example. However, it is needless to say that the present invention can be applied to a humidity detecting device for measuring only humidity. No. In the above embodiment, the PWM signal is output from the microcomputer 20 and converted into an analog value by the humidity output smoothing circuit provided outside the microcomputer 20, but the microcomputer is provided with a D / A converter. It is also possible.

【0028】また、上記実施態様においては、湿度セン
サのアナログの出力値をデジタル値へ変換すると共に、
ポテンションメータ14の値をデジタル値へ変換して、
該湿度センサの出力値を補正、即ち、補正をデジタル的
に行った。この代わりに、湿度センサのアナログ出力値
をポテンションメータ14のアナログの値で補正、即
ち、補正をアナログ的に行うことも可能である。更に、
上記実施態様では、温湿度検出装置10のアナログ出力
として、湿度値に対応した電圧値を出力したが、この代
わりに電流値を出力することもできる。
In the above embodiment, the analog output value of the humidity sensor is converted into a digital value,
Convert the value of potentiometer 14 to digital value,
The output value of the humidity sensor was corrected, that is, the correction was performed digitally. Instead, the analog output value of the humidity sensor can be corrected by the analog value of the potentiometer 14, that is, the correction can be performed in an analog manner. Furthermore,
In the above-described embodiment, the voltage value corresponding to the humidity value is output as the analog output of the temperature / humidity detecting device 10, but a current value may be output instead.

【0029】また更に、この実施態様では、湿度センサ
として多孔質セラミック又は高分子材料のものを例示し
たが、本発明の構成は、多孔質セラミック又は高分子材
料以外でも出力特性がリニアには変化しない種々のセン
サを用いる際に適用できる。
Further, in this embodiment, a porous ceramic or polymer material is exemplified as the humidity sensor. However, according to the structure of the present invention, the output characteristic changes linearly even with a material other than the porous ceramic or polymer material. It can be applied when using various sensors that do not.

【0030】[0030]

【発明の効果】以上のように、請求項1の発明では、対
数的に変化する湿度センサ値をデジタル的に処理するた
め、対数特性に対応させるための調整が不要である。ま
た、データテーブルを用いるため、複雑な演算処理を行
う必要がない。このため、湿度センサ値の出力を簡易な
構成で実現できる。また、温度センサの特性を補正する
ための補正値を予め設定してあるため、個々の湿度セン
サの特性に合わせて適切な値を出力することができる。
As described above, according to the first aspect of the present invention, since the humidity sensor value that changes logarithmically is digitally processed, there is no need to make adjustments to correspond to the logarithmic characteristic. Further, since a data table is used, there is no need to perform complicated arithmetic processing. Therefore, the output of the humidity sensor value can be realized with a simple configuration. Further, since a correction value for correcting the characteristics of the temperature sensor is set in advance, it is possible to output an appropriate value according to the characteristics of each humidity sensor.

【0031】請求項2では、対数的に変化する湿度セン
サの出力値を処理する際に、データテーブルを用いるの
で、これらを低次のビット数(4ビット)のマイクロコ
ンピュータで構成できるため、湿度検出装置を小型且つ
廉価に構成することが可能となる。
According to the second aspect of the present invention, when processing the output value of the humidity sensor which changes logarithmically, a data table is used. Therefore, these can be constituted by a microcomputer having a low-order bit number (4 bits). The detection device can be configured to be small and inexpensive.

【0032】請求項3では、PWM信号を平滑化してア
ナログの湿度値を生成するため、デジタル値からアナロ
グ値への変換が容易である。
According to the third aspect, since the PWM signal is smoothed to generate an analog humidity value, conversion from a digital value to an analog value is easy.

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

【図1】本発明の一実施態様に係る温湿度検出装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a temperature and humidity detecting device according to an embodiment of the present invention.

【図2】マイクロコンピュータによる処理を示すフロー
チャートである。
FIG. 2 is a flowchart showing processing by a microcomputer.

【図3】湿度データテーブルの構成を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a configuration of a humidity data table.

【図4】図4(A)は湿度PWM制御部からのPWM信
号を示す波形図であり、図4(B)は図4(A)に示す
PWM信号が平滑化された状態を示す波形図である。
4 (A) is a waveform diagram showing a PWM signal from a humidity PWM control unit, and FIG. 4 (B) is a waveform diagram showing a state where the PWM signal shown in FIG. 4 (A) is smoothed; It is.

【図5】湿度センサの特性を示すグラフである。FIG. 5 is a graph showing characteristics of a humidity sensor.

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

10 温湿度検出装置(湿度検出装置) 12 湿度センサ 14 ポテンションメータ(湿度)(補正値設定手段) 16 湿度センサ 18 ポテンションメータ(補正値設定手段) 20 マイクロコンピュータ(検索手段) 22 A/D変換部(アナログ/デジタル変換手段) 24 湿度データテーブル(データテーブル) 26 湿度PWM制御部 28 温度データテーブル 29 温度PWM制御部 30 湿度出力平滑回路(デジタル/アナログ変換手
段) 32 温度出力平滑回路(デジタル/アナログ変換手
段) 34 電源回路
Reference Signs List 10 Temperature / humidity detector (humidity detector) 12 Humidity sensor 14 Potentiometer (humidity) (correction value setting means) 16 Humidity sensor 18 Potentiometer (correction value setting means) 20 Microcomputer (search means) 22 A / D Conversion unit (analog / digital conversion unit) 24 Humidity data table (data table) 26 Humidity PWM control unit 28 Temperature data table 29 Temperature PWM control unit 30 Humidity output smoothing circuit (digital / analog conversion unit) 32 Temperature output smoothing circuit (digital / Analog conversion means) 34 Power supply circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 湿度センサからのアナログ値の湿度出力
をデジタル値に変換するアナログ/デジタル変換手段
と、 温度センサの特性を補正するための補正値を設定する補
正値設定手段と、 デジタル値に変換された湿度出力に対応するデータ値を
保持するデータテーブルと、 前記補正値設定手段に設定された補正値に基づき、前記
デジタル−アナログ変換手段にてデジタル値に変換され
た湿度出力を補正し、前記データテーブルを検索して湿
度値を検索する検索手段と、 前記検索手段にて検索された値をアナログ値に変換する
デジタル/アナログ変換手段と、から成ることを特徴と
する湿度検出装置。
An analog-to-digital converter for converting a humidity output of an analog value from a humidity sensor into a digital value; a correction value setting unit for setting a correction value for correcting a characteristic of a temperature sensor; A data table that holds a data value corresponding to the converted humidity output, and based on the correction value set in the correction value setting means, corrects the humidity output converted to a digital value by the digital-analog conversion means. And a digital / analog converting means for converting the value searched by the searching means into an analog value.
【請求項2】 前記アナログ/デジタル変換手段、デー
タテーブル、検索手段が、4ビットのマイクロコンピュ
ータから構成されていることを特徴とする請求項1の湿
度検出装置。
2. The humidity detecting apparatus according to claim 1, wherein said analog / digital conversion means, data table, and retrieval means comprise a 4-bit microcomputer.
【請求項3】 前記検索手段が、前記データテーブルを
検索した湿度値をPWM信号として出力し、 前記デジタル/アナログ変換手段が、該PWM信号を平
滑化してアナログの湿度値を生成することを特徴とする
請求項1又は2に記載の湿度検出装置。
3. The method according to claim 1, wherein the search unit outputs a humidity value obtained by searching the data table as a PWM signal, and the digital / analog conversion unit smoothes the PWM signal to generate an analog humidity value. The humidity detecting device according to claim 1 or 2, wherein:
JP29495797A 1997-10-13 1997-10-13 Moisture detector Pending JPH11118748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29495797A JPH11118748A (en) 1997-10-13 1997-10-13 Moisture detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29495797A JPH11118748A (en) 1997-10-13 1997-10-13 Moisture detector

Publications (1)

Publication Number Publication Date
JPH11118748A true JPH11118748A (en) 1999-04-30

Family

ID=17814490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29495797A Pending JPH11118748A (en) 1997-10-13 1997-10-13 Moisture detector

Country Status (1)

Country Link
JP (1) JPH11118748A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1528808A2 (en) 2003-10-27 2005-05-04 Matsushita Electric Industrial Co., Ltd. Apparatus for receiving a broadcast signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1528808A2 (en) 2003-10-27 2005-05-04 Matsushita Electric Industrial Co., Ltd. Apparatus for receiving a broadcast signal

Similar Documents

Publication Publication Date Title
JPH03205921A (en) Digitizer circuit
US7149609B2 (en) Vehicular electronic control unit
US5724035A (en) Method of correcting signals for encoder and apparatus for same
ES2233521T3 (en) MEASUREMENT CONVERTER FOR POTENTIOMETRIC POSITIONING SENSORS AND PARAMETERIZATION PROCEDURE.
JPH11118748A (en) Moisture detector
JPH066218A (en) A/d converter with temperature compensating function
JPH03179919A (en) Analog/digital converter
JPS6197543A (en) Compensation circuit for semiconductor pressure sensor
JPH11118617A (en) Temperature controller
JPS5931249B2 (en) Analog-digital converter
JPH08181610A (en) High speed high accuracy a/d converter
JPS5913418A (en) Signal processor
JPS63121320A (en) Da converter with error correcting circuit
JP2626100B2 (en) Multi-point measuring device
JPH09264768A (en) Sensor module
JPH02115756A (en) Gas sensor device
JPH0338779B2 (en)
JP3114541B2 (en) Accuracy adjustment method for analog-to-digital conversion circuit
JPH0387641A (en) Signal processing circuit for humidity sensor
JP2005241305A (en) Phase adjustment circuit of watthour meter
JPH1188165A (en) Input device and input method for analog signal and recording medium
JPH08265070A (en) Automatic gain correction device and automatic gain correction method for amplifier
JPH07147518A (en) Linear amplifier
JPS61209331A (en) Input apparatus of temperature measuring resistor
JPS63197205A (en) Input device for temperature sensor

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20041005

Free format text: JAPANESE INTERMEDIATE CODE: A02