JP2000193532A - A/d converting circuit - Google Patents

A/d converting circuit

Info

Publication number
JP2000193532A
JP2000193532A JP10369228A JP36922898A JP2000193532A JP 2000193532 A JP2000193532 A JP 2000193532A JP 10369228 A JP10369228 A JP 10369228A JP 36922898 A JP36922898 A JP 36922898A JP 2000193532 A JP2000193532 A JP 2000193532A
Authority
JP
Japan
Prior art keywords
converter
ram
constant
output
temperature
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
JP10369228A
Other languages
Japanese (ja)
Inventor
Seiji Saito
誠司 斉藤
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.)
Hitachi Appliances Inc
Original Assignee
Hitachi Home Tech 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 Hitachi Home Tech Ltd filed Critical Hitachi Home Tech Ltd
Priority to JP10369228A priority Critical patent/JP2000193532A/en
Publication of JP2000193532A publication Critical patent/JP2000193532A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Measuring Temperature Or Quantity Of Heat (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain effects equivalent to those in a case that a constant is changed without changing a constant by performing conversion through the use of computations of a computing means to compute the output of an A/D converter and a constant of a storage means to store constants necessary for computations. SOLUTION: A temperature detecting element 102 is formed of an NTC thermistor serially connected to a resistor 103, and connected between the positive and negative electrodes of a D.C. power source 101. The voltage, a signal S110, of the node between the temperature detecting element 102 and the resistor 103 is changed by temperature, the signal 110 is inputted to the A/D converter 104, and the result of A/D conversion is outputted. A computing means 105 performs predetermined computations with the output of the A/D converter 104 as input and outputs its result. The computations of the computing means 105 are performed with data hold in RAM 106 as a constant, and the output computed by the computing means 105 and the RAM 106 is held in RAM 107. The program of program RAM 108 is constituted so that the data held in the RAM 107 may be used as data on which programs operate.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は温度検出に必要なA
/D変換回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention
/ D conversion circuit.

【0002】[0002]

【従来の技術】従来のA/D変換回路は、NTCサーミ
スタと抵抗の分圧電圧をA/Dコンバータに入力し、こ
のA/DコンバータによりA/D変換し、使用してい
た。
2. Description of the Related Art In a conventional A / D converter circuit, an NTC thermistor and a divided voltage of a resistor are input to an A / D converter, A / D converted by the A / D converter, and used.

【0003】[0003]

【発明が解決しようとする課題】温度検出はその検出精
度が重要であり、出来上がりによっては検出温度を変更
せざるを得ない状況が多々発生するものである。従って
そういう場合は検出温度をずらすためサーミスタに直列
に接続している抵抗の定数を変更していた。
However, the accuracy of temperature detection is important, and there are many situations in which the detected temperature must be changed depending on the result of the temperature detection. Therefore, in such a case, the constant of the resistor connected in series with the thermistor was changed to shift the detection temperature.

【0004】本発明は、その定数の変更をしないで定数
を変更したのと同じ効果を得る回路を提供することを目
的とするものである。
It is an object of the present invention to provide a circuit which has the same effect as changing a constant without changing the constant.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明はA/DコンバータによるA/D変換結果
を一定のアルゴリズムで変換するものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention converts an A / D conversion result by an A / D converter by a certain algorithm.

【0006】[0006]

【発明の実施の形態】本発明は、前記手段を実施するた
めに具体的には、直流安定化電源とA/Dコンバータを
有し、温度検出素子と抵抗を直列に接続して直流電源の
プラスとマイナス間に接続するとともに、温度検出素子
と抵抗の間の分圧の電圧をA/Dコンバータに入力し、
A/D変換することにより、前記温度検出素子が検出し
ている温度をA/Dコンバータの出力により認識するA
/D変換回路において、A/Dコンバータの出力を演算
する演算手段を有し、かつ演算に必要な定数を記憶する
記憶手段を有し、さらにA/Dコンバータの出力を演算
手段による演算と記憶手段の定数を用いて行い、検出温
度を抵抗を変えることなく変更するものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention specifically has a DC stabilized power supply and an A / D converter for implementing the above-mentioned means, and connects a temperature detecting element and a resistor in series to form a DC power supply. Connect between positive and negative, and input the divided voltage between the temperature detecting element and the resistor to the A / D converter,
By performing A / D conversion, the temperature detected by the temperature detecting element is recognized based on the output of the A / D converter.
The A / D conversion circuit has an operation means for operating the output of the A / D converter, and a storage means for storing a constant required for the operation. This is performed by using the constant of the means, and the detected temperature is changed without changing the resistance.

【0007】[0007]

【実施例】以下、図面に従って本発明の一実施例を詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0008】図1において、感温素子102はNTCサ
ーミスタにより構成し、抵抗103と直列に接続して直
流電源101の正負極間に接続する。
In FIG. 1, a temperature sensing element 102 is constituted by an NTC thermistor, connected in series with a resistor 103 and connected between the positive and negative electrodes of a DC power supply 101.

【0009】感温素子102と抵抗103の接続点の電
圧、信号S110は温度によって変化するものであり、
A/Dコンバータ104には前記信号S110を入力
し、A/D変換した結果を出力するものである。また、
演算手段105はA/Dコンバータ104の出力を入力
として所定の演算を施して出力する。
The voltage at the connection point between the temperature sensing element 102 and the resistor 103 and the signal S110 change with temperature.
The signal S110 is input to the A / D converter 104, and the result of the A / D conversion is output. Also,
The calculation means 105 performs a predetermined calculation with the output of the A / D converter 104 as an input and outputs the result.

【0010】さらに演算手段105の演算はRAM1
06に保持されているデータを定数として演算するよう
構成するもので、演算手段105とRAM106によ
って演算された結果は演算手段105の出力となるもの
である。この出力はRAM107に出力され、RAM
107に保持する構成とする。
The operation of the operation means 105 is performed by the RAM 1
In this configuration, the data held in 06 is calculated as a constant, and the result calculated by the calculating means 105 and the RAM 106 is output from the calculating means 105. This output is output to the RAM 107,
107.

【0011】また、プログラムROM108は任意のプ
ログラムが書き込まれており、プログラムが動作するた
めのデータとしてRAM107に保持されているデー
タを使用するようプログラムを構成している。
Further, an arbitrary program is written in the program ROM 108, and the program is configured to use data held in the RAM 107 as data for operating the program.

【0012】本実施例では、A/Dコンバータ104、
RAM106、RAM107、演算手段105、プ
ログラムROM108はワンチップマイコン109に内
蔵されている構成とするものである。
In this embodiment, the A / D converter 104,
The RAM 106, the RAM 107, the arithmetic means 105, and the program ROM 108 are configured to be built in the one-chip microcomputer 109.

【0013】次に、図2に基づきプログラムROM10
8がRAM107のデータを使用する場合について一
例を説明する。
Next, referring to FIG.
An example in which the data 8 uses the data in the RAM 107 will be described.

【0014】プログラムROM108はRAM107
に保持しているデータと比較するための基準データAを
持っている。
A program ROM 108 is a RAM 107
Has reference data A to be compared with the data held in.

【0015】プログラムがスタートするとまずRAM
107のデータと基準データAを比較する。比較してR
AM107のデータが大きい場合は処理Aを行い、小
さい場合は処理Bを行う。
When the program starts, first the RAM
The data 107 and the reference data A are compared. R in comparison
If the data of AM 107 is large, process A is performed, and if it is small, process B is performed.

【0016】図3は図1の感温素子102のサーミスタ
の温度の変化によって抵抗が変化することによるA/D
コンバータ104の出力の変化を抵抗103が10kΩ
と11kΩの場合について示したものである。
FIG. 3 shows the A / D due to a change in resistance due to a change in the temperature of the thermistor of the temperature sensing element 102 in FIG.
The output of the converter 104 is changed by the resistor 103 at 10 kΩ.
And 11 kΩ.

【0017】本実施例の構成の場合は温度が上がるとそ
れにつれてA/Dコンバータ104の出力も上がってい
く。また感温素子102に直列に接続する抵抗103を
変化させるとデータはシフトするものである。
In the case of the configuration of this embodiment, the output of the A / D converter 104 increases as the temperature rises. When the resistance 103 connected in series to the temperature sensing element 102 is changed, data shifts.

【0018】ここで 任意の温度の感温素子102の抵抗をRs 抵抗103の定数をR1、R2 R1のときのRsとR1の組合わせの場合のA/Dコン
バータ104の出力をDT1 R2のときのRsとR2の組合わせの場合のA/Dコン
バータ104の出力をDT2 とすると R1/(Rs+R1)=DT1・・・・・・・・・・・・・・・・・(1) R2/(Rs+R2)=DT2・・・・・・・・・・・・・・・・・(2) となる。
Here, the resistance of the temperature-sensitive element 102 at an arbitrary temperature is Rs, the constant of the resistor 103 is R1, and the output of the A / D converter 104 is DT1 R2 when the combination of Rs and R1 is R1 and R2 is R1. Assuming that the output of the A / D converter 104 in the case of the combination of Rs and R2 is DT2, R1 / (Rs + R1) = DT1 (1) R2 / (Rs + R2) = DT2 (2)

【0019】(1)(2)式よりDT2をDT1とR1、R
2の式に置き換えると R2・DT1/(R1−DT1・R1+R2・DT1)=DT2・・(3) R1とR2はともに定数なのでR2=a・R1(aは定
数)とすると、(3)式は a・DT1/(1−(1−a)・R1)=DT2・・・・・・・・・・(4) となる。
According to the equations (1) and (2), DT2 is replaced by DT1 and R1, R
R2 · DT1 / (R1−DT1 · R1 + R2 · DT1) = DT2 · (3) Since R1 and R2 are both constants, if R2 = a · R1 (a is a constant), the equation (3) is obtained. Is a · DT1 / (1− (1−a) · R1) = DT2 (4)

【0020】従って、任意の定数の抵抗103を用いた
任意の温度のときのA/Dコンバータ104の出力に対
して(4)式の演算を施すことにより抵抗103をa倍し
たときのA/Dコンバータの出力に変換できるものであ
る。
Therefore, the output of the A / D converter 104 at an arbitrary temperature using the resistor 103 having an arbitrary constant is subjected to the operation of the equation (4) to obtain the A / A when the resistor 103 is multiplied by a. It can be converted to the output of a D converter.

【0021】プログラムROM108の動作フローチャ
ートの比較用の基準データAはROMに持つものであ
り、書き換えは出来ない。
The reference data A for comparison in the operation flowchart of the program ROM 108 is stored in the ROM and cannot be rewritten.

【0022】また、処理Aと処理Bの分岐点の温度を変
更しなければいけない場合は、通常抵抗103の定数を
変更する。
When it is necessary to change the temperature at the branch point between the processing A and the processing B, the constant of the resistor 103 is usually changed.

【0023】しかし、定数を変更しなくとも本実施例の
構成により演算手段105を(4)式を実行するよう構成
しR1とaの定数はRAM106に記憶し、演算手段
105はRAM106のaとR1の定数を用いて(4)
式を実行するよう構成する。従って、抵抗103の定数
を変更しなくともデータ書き換えのみで同じ効果が得ら
れるものである。
However, the arithmetic means 105 is configured to execute the equation (4) according to the configuration of the present embodiment without changing the constants, and the constants of R1 and a are stored in the RAM 106. Using the constant of R1 (4)
Configure to execute the expression. Therefore, the same effect can be obtained only by rewriting data without changing the constant of the resistor 103.

【0024】[0024]

【発明の効果】本発明は、上記構成としたことにより、
温度検出部分の構造の出来上がりに左右されない温度検
出回路を構成することが出来るものである。
According to the present invention, with the above-described structure,
It is possible to configure a temperature detection circuit that is not affected by the completion of the structure of the temperature detection portion.

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

【図1】 本発明の一実施例のA/D変換回路のブロッ
ク図である。
FIG. 1 is a block diagram of an A / D conversion circuit according to one embodiment of the present invention.

【図2】 同プログラムROMの動作例を示すフローチ
ャートである。
FIG. 2 is a flowchart showing an operation example of the program ROM.

【図3】 同サーミスタ出力の温度による変化と抵抗に
よる変化を示す図である。
FIG. 3 is a diagram showing a change in the thermistor output with temperature and a change with resistance.

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

102:感温素子(NTCサーミスタ)、103:抵抗、
104:A/Dコンバータ、105:演算手段、10
6:RAM、107:RAM、108:プログラム
ROM、109:ワンチップマイコン
102: temperature sensing element (NTC thermistor), 103: resistance,
104: A / D converter, 105: arithmetic means, 10
6: RAM, 107: RAM, 108: program ROM, 109: one-chip microcomputer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 直流安定化電源とA/Dコンバータを有
し、温度検出素子と抵抗を直列に接続して直流電源のプ
ラスとマイナス間に接続するとともに、温度検出素子と
抵抗の間の分圧の電圧をA/Dコンバータに入力し、A
/D変換することにより、前記温度検出素子が検出して
いる温度をA/Dコンバータの出力により認識するA/
D変換回路において、前記A/Dコンバータの出力を演
算する演算手段を有し、かつ演算に必要な定数を記憶す
る記憶手段を有し、さらにA/Dコンバータの出力を演
算手段による演算と記憶手段の定数を用いて行うことに
より変換することを特徴とするA/D変換回路。
A DC stabilized power supply and an A / D converter are provided. A temperature detecting element and a resistor are connected in series to be connected between plus and minus of the DC power supply. Input voltage to the A / D converter.
A / D conversion allows the A / D converter to recognize the temperature detected by the temperature detection element based on the output of the A / D converter.
The D conversion circuit has an operation means for operating the output of the A / D converter, and a storage means for storing a constant required for the operation. An A / D conversion circuit characterized in that conversion is performed by using constants of means.
JP10369228A 1998-12-25 1998-12-25 A/d converting circuit Pending JP2000193532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10369228A JP2000193532A (en) 1998-12-25 1998-12-25 A/d converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10369228A JP2000193532A (en) 1998-12-25 1998-12-25 A/d converting circuit

Publications (1)

Publication Number Publication Date
JP2000193532A true JP2000193532A (en) 2000-07-14

Family

ID=18493902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10369228A Pending JP2000193532A (en) 1998-12-25 1998-12-25 A/d converting circuit

Country Status (1)

Country Link
JP (1) JP2000193532A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1413862A1 (en) * 2002-10-23 2004-04-28 Honeywell B.V. Arrangement and method for measuring a variable, such as a temperature
DE10359463A1 (en) * 2003-12-17 2005-07-28 Schweiger, Hans-Georg, Dr.rer.nat. Dipl.-Chem. Fast precision thermometer with one or more channels comprises one or more calibrated thermistors in a potentiometer circuit, whose output is digitized and subjected to processing using a Steinhart-Hart equation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1413862A1 (en) * 2002-10-23 2004-04-28 Honeywell B.V. Arrangement and method for measuring a variable, such as a temperature
DE10359463A1 (en) * 2003-12-17 2005-07-28 Schweiger, Hans-Georg, Dr.rer.nat. Dipl.-Chem. Fast precision thermometer with one or more channels comprises one or more calibrated thermistors in a potentiometer circuit, whose output is digitized and subjected to processing using a Steinhart-Hart equation

Similar Documents

Publication Publication Date Title
US7573275B2 (en) Temperature sensor control apparatus
JPS5877630A (en) Temperature measuring device
JP2000193532A (en) A/d converting circuit
US10320039B2 (en) Semiconductor device, battery monitoring system, and method of monitoring battery
JP2005274372A (en) Temperature detector
JP3966186B2 (en) Electric quantity detection sensor
JP2990569B2 (en) Differential heat detector
JPS6197543A (en) Compensation circuit for semiconductor pressure sensor
JP2018105888A (en) Semiconductor device and battery monitoring system
JPH03203395A (en) Device for detecting service life of cooling fan for power supply
JPH10339673A (en) Pressure sensor
JPH01200499A (en) Signal conditioner
JP4641173B2 (en) A / D converter, battery pack, electronic device and voltage measuring method
KR102478196B1 (en) An interface circuit for an electrochemical sensor
JP3291221B2 (en) Voltage detection circuit
JP2005151304A (en) Analog/digital converter and microcomputer with the same packaged therein
KR920006894Y1 (en) Alarm system remand of battery
JPH09264768A (en) Sensor module
JP2004150836A (en) Correction method and correction circuit for cold junction compensation in thermocouple input of programmable controller
JPH10111183A (en) Differential temperature measuring apparatus
JPH076886U (en) Differential heat sensor
JPS61294321A (en) Temperature detecting circuit
JPH0346331Y2 (en)
JPH0627011A (en) Measuring apparatus for humidity or specific gravity and temperature of liquid
JPH0399280A (en) Resistance meter with temperature correction function