JPS62231301A - Temperature input correcting device - Google Patents

Temperature input correcting device

Info

Publication number
JPS62231301A
JPS62231301A JP7346586A JP7346586A JPS62231301A JP S62231301 A JPS62231301 A JP S62231301A JP 7346586 A JP7346586 A JP 7346586A JP 7346586 A JP7346586 A JP 7346586A JP S62231301 A JPS62231301 A JP S62231301A
Authority
JP
Japan
Prior art keywords
temperature
data
broken line
new
temperature range
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
JP7346586A
Other languages
Japanese (ja)
Inventor
Yasushi Baba
馬場 泰
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7346586A priority Critical patent/JPS62231301A/en
Publication of JPS62231301A publication Critical patent/JPS62231301A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)
  • Control Of Temperature (AREA)

Abstract

PURPOSE:To widely execute a temperature input correction without increasing a memory capacity by calculating temperature-output voltage coordinates based on the rate occupied by the upper and lower values of a new temperature scope. CONSTITUTION:When the upper and lower values TRH and TRL of a new applicable temperature scope are set through a keyboard, these data are stored into a RAM 4. A CDV 1 selects broken line data which come to be the reference from a ROM 3 based on the temperature scope. When the broken line data are coincident with the broken line used earlier, the data are used as they are, and at the time of dissidence, for the storing data of the RAM 4, the refer ence broken line data of the ROM 3 and X coordinate data, the calculation of coordinates Xi by a formula I is executed based on an Xi, applicable tempera ture scopes TNH and TNL, a broken line converting program, etc. Coordinates Yi are also calculated, temperature -output voltage coordinates corresponding to the set limit value are determined, and without increasing the memory capac ity of the ROM, a wide temperature input correction can be executed.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は温度入力補正装置に関するもので、特にデジタ
ル方式のプロセス制御装置に使用されるものである。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a temperature input correction device, and is particularly used in a digital process control device.

(従来の技術) プロセス制御等に用いられる制御装置には温度により制
御を行なうものが多い。この場合人ノコされる湿度信号
は一般に測温抵抗体あるいは熱雷対等の温度センサによ
り発生ずる。
(Prior Art) Many control devices used for process control etc. perform control based on temperature. In this case, the detected humidity signal is generally generated by a temperature sensor such as a resistance thermometer or a thermocouple.

しかしながら、これらの温度センサにおいては温度と出
力信号との関係は必ずしも直線関係になく、温度入力補
正装置によりセン4ノ信号を補正し−2= た上で制御装置に入力する必要がある。
However, in these temperature sensors, the relationship between temperature and output signal is not necessarily linear, and it is necessary to correct the sensor signal using a temperature input correction device before inputting it to the control device.

温度と出力信号との関係はJIS等により既知の規格表
となっているため、n次多項式あるいは折線により近似
され、特に折線が多用される。
Since the relationship between the temperature and the output signal is a known standard table such as JIS, it is approximated by an n-th degree polynomial or a broken line, and the broken line is particularly often used.

このような折線は使用する温度範囲に応じて切換えられ
、適用温度範囲を分割して折線の座標を決定していく。
Such a broken line is switched depending on the temperature range to be used, and the coordinates of the broken line are determined by dividing the applicable temperature range.

したがって、温度範囲が異なると折線を変えるために適
用温度範囲と規格表から計算をやり直すことになる。
Therefore, if the temperature range is different, calculations will have to be redone based on the applicable temperature range and specification table in order to change the broken line.

このためには規格表のデータあるいは適用温度範囲ごと
の折線データを制御装置内の記憶装置に内蔵しておぎ、
必要に応じて取り出して使用することが行なわれる。な
お、このようなデータは温度そのものの値ではなく、温
度範囲の下限値TNL、例えば20℃を0%、上限値下
N t(、例えば80℃を100%としたときに温度範
囲O%に対応する出力電圧の下限値VNL、例えば1V
を0%、温度範囲100%に対応する出力電圧の上限値
VNH,例えば5Vを100%とする無次元のパーセン
トデータを用いるのが制御装置の数値処理上通常となっ
ている。
For this purpose, the data from the specification table or the broken line data for each applicable temperature range is stored in the storage device of the control device.
It can be taken out and used as needed. Note that such data is not the value of the temperature itself, but the lower limit of the temperature range TNL, for example, 0% at 20°C, and the lower upper limit Nt (for example, when 80°C is 100%, the temperature range is O%). Lower limit value VNL of the corresponding output voltage, e.g. 1V
For numerical processing of the control device, it is common practice to use dimensionless percentage data in which the upper limit value VNH of the output voltage corresponding to a temperature range of 100%, for example, 5V, is 100%.

しかしながら、規格表のデータあるいは折線データを保
持づるためには大n号のメ七り容徂を必要とし、サベて
を内蔵するのは困難である。
However, in order to hold standard table data or broken line data, it is necessary to have a large capacity, and it is difficult to have a built-in storage capacity.

(発明が解決しようとする問題点) このように従来の温度入力補正装置にあっては温度補正
のためのデータを十分に保持できないため補正範囲や補
正のできる温度セン1すの種類が限られるという問題が
ある。
(Problems to be Solved by the Invention) As described above, the conventional temperature input correction device cannot hold sufficient data for temperature correction, so the correction range and the types of temperature sensors that can be corrected are limited. There is a problem.

本発明はこのような問題を解決するためなされたもので
、実際に制御装置が使用づ−る温度範囲とセンサの適用
温度範囲が異なる場合にも補正データを作成できる温度
入力補正装置を提供することを目的とする。
The present invention has been made to solve such problems, and provides a temperature input correction device that can create correction data even when the temperature range actually used by the control device and the applicable temperature range of the sensor are different. The purpose is to

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段) 本発明にかかる温度入力補正装置は、当初の適用温度範
囲に対する新たな適用温度範囲の上限値および下限値が
占める割合を求め、これを用いて当初の温度範囲中の温
度−出力電圧関係を表わす座標データ(xi、yi)を
新たな温度範囲における座標データ(Xi、Yi)を演
算するようにしたものである。
(Means for Solving the Problems) The temperature input correction device according to the present invention calculates the ratio of the upper and lower limits of the new applicable temperature range to the original applicable temperature range, and uses this to The coordinate data (xi, yi) representing the temperature-output voltage relationship within the range is used to calculate coordinate data (Xi, Yi) in a new temperature range.

(作 用) 第2図および第4図を参照して本発明における温度入力
補正の原理を説明する。
(Function) The principle of temperature input correction in the present invention will be explained with reference to FIGS. 2 and 4.

通常の補正曲線は第4図に示されるようにある温度範囲
の下限値TNLを0%、上限値T N Hを100%と
してX軸にとり、これらに対する出力電圧値VNLおよ
びVNHに対しそれぞれ0%、100%を当てはめて折
れ線データを形成している。ここでTNL、TNHは℃
、下、°に等であり、VNL、VNHは、V、rr+V
等の工業単位(EU)と称されるものとなっているが、
前述したように内部処理上は%データが使用される。
As shown in Figure 4, a normal correction curve is plotted on the X-axis with the lower limit value TNL of a certain temperature range set at 0% and the upper limit value TNH set at 100%, and the output voltage values VNL and VNH for these are set at 0%, respectively. , 100% are applied to form the polygonal line data. Here, TNL and TNH are °C
, below, °, etc., and VNL, VNH are V, rr+V
It is called an industrial unit (EU) such as
As mentioned above, % data is used for internal processing.

このような状況において新たな適用温度範囲TRL−T
RHを使用する場合、元の適用湿度範囲TNL〜TNH
で得られていた温度−出力の関係を示す座標(xi、y
Nから新たな適用温度範囲における座標(Xi、Yi)
を知ることが本発明の主目的となる。
In this situation, the new applicable temperature range TRL-T
When using RH, the original applicable humidity range TNL to TNH
The coordinates (xi, y
Coordinates (Xi, Yi) in the new applicable temperature range from N
The main purpose of the present invention is to know.

まず座標間の関係は次のようである 同様に ここで、PLNは折線近似演算、P L N −1は逆
折線近似演算をそれぞれ表わす。
First, the relationship between coordinates is as follows.Similarly, PLN represents a polygonal line approximation calculation, and PLN-1 represents a reverse polygonal line approximation calculation.

次に、第2図に示すように、温度範囲TNL〜TNHの
中に新たな温度範囲TRL−TRHを考える。これらに
対応して元の出力電圧範囲VNL〜VNHの中に新たな
出力電圧範囲VNL〜V N Hが設けられることにな
る。この新たな温度範囲および出力電圧範囲の下限を0
%、上限を100%として元の範囲におりる座標(Xl
Next, as shown in FIG. 2, a new temperature range TRL-TRH is considered within the temperature range TNL-TNH. Corresponding to these, a new output voltage range VNL to VNH is provided within the original output voltage range VNL to VNH. Set the lower limit of this new temperature range and output voltage range to 0.
%, the coordinates that fall within the original range with the upper limit as 100% (Xl
.

yi)から新たな範囲にお(プる座標(Xi、yi)を
求めるものとする。
yi) to a new range (Xi, yi).

第2図によればTRL、TR+−1のもとの温度範囲に
おける位置T RL ’ 、 T RI−1’ を%値
で表わすと すなわち、口温度範囲における新濁度範囲の割合を求め
ればよい。
According to Fig. 2, the positions TRL' and TRI-1' in the original temperature range of TRL and TR+-1 can be expressed as percentage values, that is, the proportion of the new turbidity range in the mouth temperature range can be calculated. .

したがってxiの新温度範囲における座標値は・・・・
・・・・・(4) 同様にして新湿度範囲における出力電圧の割合であるか
ら、新たな座標値Yiは ・・・・・・・・・(6) となる。
Therefore, the coordinate values of xi in the new temperature range are...
(4) Similarly, the new coordinate value Yi is the ratio of the output voltage in the new humidity range, so the new coordinate value Yi is (6).

ここで折線近似演算を活用すると(1)式におけるx 
i =PLN” (V i ) ヲ用イ、一/− またyi=PLN (x 1)f7)II係ヲ用イテし
たがって温度範囲のみが既知である場合には(4)式と
(8)式、新温度範囲におりる上限値および下限値での
出力電圧が既知のときは(7)式と(6)式を用いるこ
とにより温度入力補正が可能となる。
Here, if we use the polygonal line approximation calculation, x in equation (1)
i = PLN'' (V i ) ヲ用i、1/− Also, yi=PLN (x 1) f7) II 、イイ Therefore, when only the temperature range is known, equations (4) and (8) When the output voltages at the upper and lower limits within the new temperature range are known, temperature input correction is possible by using equations (7) and (6).

なお、温度と電圧の%値の変化は近似的に傾ぎ1の直線
になるため、 であり、これを用いると(7)式と(6)式は・・・(
10) したがって温度範囲のみの入力で電圧一温度変換が可能
となる。
In addition, since the change in the percentage value of temperature and voltage is approximately a straight line with a slope of 1, using this, equations (7) and (6) become... (
10) Therefore, voltage-to-temperature conversion is possible by inputting only the temperature range.

(実施例) 以下図面を参照して本発明にかかる温度入力補正装置の
一実施例を説明する。
(Embodiment) An embodiment of the temperature input correction device according to the present invention will be described below with reference to the drawings.

第1図は本発明の温度入力補正装置を示すブロック構成
図であって、デジタル方式の制御装置の一部として構成
されたものを示している。
FIG. 1 is a block diagram showing a temperature input correction device according to the present invention, which is constructed as a part of a digital control device.

同図によれば全体を制御するcpuiには温度センサか
ら得られたアナログ信号をデジタル信号に変換するA[
)変換器2、制御プログラム、折線変換プログラム、基
準折線データ等を格納したROM3、演算途中のデータ
あるいは補正の対象となる湿度範囲等を格納するR A
 M 4 、演算により得られた補正値データを外部機
器に対して出力するだめの出力インタフェース5を備え
ている。
According to the figure, the CPU that controls the entire system includes the A [
) Converter 2, ROM 3 that stores the control program, line conversion program, reference line data, etc., R A that stores data in the middle of calculation or humidity range to be corrected, etc.
M 4 is provided with an output interface 5 for outputting correction value data obtained by calculation to an external device.

次にこのような構成の温度入力補正装置の動作を第3図
のフローチャートを参照して説明で”る。
Next, the operation of the temperature input correction device having such a configuration will be explained with reference to the flowchart shown in FIG.

まず、新たな適用温度範囲の上限値TRHおよび下限値
TRLをキーボード(図示せず)等から入力すると(ス
テップ11)、そのデータはRA M 4内に格納され
る(ステップ12)。
First, when a new upper limit value TRH and lower limit value TRL of the applicable temperature range are input from a keyboard (not shown) or the like (step 11), the data are stored in the RAM 4 (step 12).

CPU1はこの温度範囲データをもとにROM3から基
準となる折線データを選択づる(ステップ13)。この
とき得られた折線データが前に使用された折線と一致す
る揚台(ステップ14)には前の基準折線をそのまま使
用Jる(ステップ15)得られた折線が前の折線と一致
しないときは先にRAM4内に格納された新温度範囲デ
ータを読み出しくステップ16)、例えば(4)式と(
8)式を用いて新たな座標(Xi、Yi)を演算する(
ステップ17)。
Based on this temperature range data, the CPU 1 selects reference line data from the ROM 3 (step 13). The previous reference fold line is used as is for the lift platform whose fold line data obtained at this time matches the previously used fold line (step 14). (Step 15) When the obtained fold line does not match the previous fold line First, read the new temperature range data stored in RAM 4 (Step 16), for example, use equation (4) and (
8) Calculate new coordinates (Xi, Yi) using the formula (
Step 17).

ずなわち、CPU 1はROM3からもとの基準折線デ
ータ、2個以上の座標点と適用温度範囲、それに折線変
換プログラムを読み出して先にめLみ出しである新温度
範囲データから例えば前述したく10)式および(11
)式を用いて新しい折線座標点のデータを作り出す。
That is, the CPU 1 reads out the original standard polygonal line data, two or more coordinate points, the applicable temperature range, and the polygonal line conversion program from the ROM 3, and uses the new temperature range data that is previously extracted as described above, for example. Taku10) and (11)
) to create data for a new polyline coordinate point.

このようにして演算された温度データは出力インタフェ
ース5より出力され、この値にもとづいて制御が行なわ
れることとなる。
The temperature data calculated in this way is outputted from the output interface 5, and control is performed based on this value.

以上の実施例では折線近似として直線近似が使用されて
いるがこれに限るものではなく2次、3次等の多項式近
似を用いるしのでもJ:い。
In the above embodiments, linear approximation is used as the broken line approximation, but the approximation is not limited to this, and polynomial approximations such as quadratic and cubic can also be used.

また、実施例では補間例を示しているが補外演棹も可能
である。
Further, although an example of interpolation is shown in the embodiment, extrapolation is also possible.

〔発明の効果〕  。〔Effect of the invention〕 .

以上のように、本発明によれば折線近似演算を行なう際
に適用温度範囲に対する新たな温度範囲の上限値および
下限値の占める割合をもとに新たな温度範囲における温
度−出力電圧座標を求めるようにしているので、多数の
データや折線データを内蔵する必要がなく、メモリ容重
の制約を受けることのない温度入力補正装置を提供でき
る。
As described above, according to the present invention, when performing a polygonal line approximation calculation, the temperature-output voltage coordinate in a new temperature range is determined based on the ratio of the upper limit value and lower limit value of the new temperature range to the applicable temperature range. Therefore, it is possible to provide a temperature input correction device that does not need to contain a large amount of data or line data, and is not limited by memory capacity.

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

第1図は本発明の温度入力補正装置の構成を示すブロッ
ク図、第2図は補正の原理を示すグラフ、第3図は本発
明の装置の動作を示すフローヂャ−1・、第4図は折線
データを示すグラフである。 1・・・CPU、2・・・A/D変換器、3・・・RO
M。 4・・・RAM、5・・・出力インタフェース。
FIG. 1 is a block diagram showing the configuration of the temperature input correction device of the present invention, FIG. 2 is a graph showing the principle of correction, FIG. 3 is a flowchart showing the operation of the device of the present invention, and FIG. It is a graph showing broken line data. 1...CPU, 2...A/D converter, 3...RO
M. 4...RAM, 5...Output interface.

Claims (1)

【特許請求の範囲】 1、所定範囲の温度と温度センサによる出力電圧との関
係を表わす1または複数の関数を記憶する記憶装置と、
前記関数を演算して補正温度を得る演算装置を備えた温
度入力補正装置において、前記所定温度範囲(TNL〜
TNH)とは異なる新たな温度範囲(TRL〜TRH)
の値を記憶する記憶部を前記記憶装置中に備えると共に
、前記演算装置は前記新たな温度範囲の上限値TRHお
よび下限値TRLが前記所定範囲に占める割合を演算す
ると共に、これを用いて前記所定温度範囲における温度
−出力電圧関係を表わす座標データ(xi、yi)に対
して、新たな温度範囲における温度座標Xiおよび出力
電圧座標Yiを求めるようにしてなる温度入力補正装置
。 2、関数が一次関数である特許請求の範囲第1項記載の
温度入力補正装置。 3、各座標データがパーセントデータで与えられる特許
請求の範囲第1項記載の温度入力補正装置。
[Scope of Claims] 1. A storage device that stores one or more functions representing a relationship between a temperature in a predetermined range and an output voltage from a temperature sensor;
In the temperature input correction device including an arithmetic device that calculates the function to obtain a corrected temperature, the predetermined temperature range (TNL to
New temperature range (TRL to TRH) different from TNH)
The storage device includes a storage unit that stores the values of A temperature input correction device that calculates a temperature coordinate Xi and an output voltage coordinate Yi in a new temperature range from coordinate data (xi, yi) representing a temperature-output voltage relationship in a predetermined temperature range. 2. The temperature input correction device according to claim 1, wherein the function is a linear function. 3. The temperature input correction device according to claim 1, wherein each coordinate data is given as percentage data.
JP7346586A 1986-03-31 1986-03-31 Temperature input correcting device Pending JPS62231301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7346586A JPS62231301A (en) 1986-03-31 1986-03-31 Temperature input correcting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7346586A JPS62231301A (en) 1986-03-31 1986-03-31 Temperature input correcting device

Publications (1)

Publication Number Publication Date
JPS62231301A true JPS62231301A (en) 1987-10-09

Family

ID=13519038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7346586A Pending JPS62231301A (en) 1986-03-31 1986-03-31 Temperature input correcting device

Country Status (1)

Country Link
JP (1) JPS62231301A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01319286A (en) * 1988-06-17 1989-12-25 Matsushita Electric Ind Co Ltd Temperature control device
CN108572087A (en) * 2017-03-08 2018-09-25 研祥智能科技股份有限公司 The parameter test method and its system of temperature test chamber

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533295A (en) * 1978-08-30 1980-03-08 Omron Tateisi Electronics Co Temperature controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533295A (en) * 1978-08-30 1980-03-08 Omron Tateisi Electronics Co Temperature controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01319286A (en) * 1988-06-17 1989-12-25 Matsushita Electric Ind Co Ltd Temperature control device
CN108572087A (en) * 2017-03-08 2018-09-25 研祥智能科技股份有限公司 The parameter test method and its system of temperature test chamber

Similar Documents

Publication Publication Date Title
JPS62231301A (en) Temperature input correcting device
JPH0664678B2 (en) Analog input device
JP6865911B1 (en) Analog-to-digital converter and analog-to-digital converter control program
JPS6091460A (en) Address controller of memory
JPH0435007B2 (en)
JP2539147B2 (en) Principal stress indicator
JPS6059474A (en) Picture converter
US6868430B2 (en) Arithmetic unit for correcting detection output in which corrected operation output is sensitive to mechanical factors
JPH08101077A (en) Sensor utilizing auxiliary resistor as memory element for characteristic value or correction value
JP2623392B2 (en) Sensing device and output correction method thereof
JP3598521B2 (en) Data table processing device
JPH0261518A (en) Analogue/digital conversion system
JPH0210258A (en) Humidity measuring apparatus
JPS60146143A (en) Hygrometer
JPS61296248A (en) Method for correcting temperature characteristics of humidity sensor
JPS5833530Y2 (en) Measured value correction method
JPS58115597A (en) Measuring apparatus
JPS62271103A (en) Controller
JPH0385063A (en) Color arithmetic circuit
JPH01171076A (en) Device for calculating average value
JPS62274419A (en) Analog input device
JPS60195597A (en) Voice signal processing system
JP2004109092A (en) Offset voltage correcting device and its method
JPS60100214A (en) Checking device of program controller
JPS61290822A (en) Linearising system for temperature sensor