JPS63132113A - Transducer - Google Patents

Transducer

Info

Publication number
JPS63132113A
JPS63132113A JP61279315A JP27931586A JPS63132113A JP S63132113 A JPS63132113 A JP S63132113A JP 61279315 A JP61279315 A JP 61279315A JP 27931586 A JP27931586 A JP 27931586A JP S63132113 A JPS63132113 A JP S63132113A
Authority
JP
Japan
Prior art keywords
value
point
lower limit
output
relay
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
JP61279315A
Other languages
Japanese (ja)
Inventor
Takeshi Yamada
武 山田
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP61279315A priority Critical patent/JPS63132113A/en
Publication of JPS63132113A publication Critical patent/JPS63132113A/en
Pending legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

PURPOSE:To equalize the mean value of a controlled variable to a set value by setting an upper- and a lower-limit on point and an upper- and a lower-limit off point above and below the upper- and lower-limit values and hysteresis value of an input signal, and turning on and off relays for upper- and lower-limit value output by the digitized input signal. CONSTITUTION:The input signal is supplied to a microcomputer 5 through an A/D converter 4 from a sensor input circuit 3. The upper- and lower-limit values and hysteresis of the input signal are inputted with push-button switches PB1-PB5, and a setting means 5S sets the upper-limit value on point HON and upper-limit off point HOFF, and lower-limit value OFF point LOFF and lower- limit value ON point LON above and below the upper- and lower-limit values. Those are stored in a storage means 5R. A comparing means 5C excites the relay XH for upper-limit value output and relay XL for lower-limit value output when the current value increases above the point HON and deceases below the point LON, and turns off the relays XH and XL when the value decreases below the point HOFF and increases above the point LOFF, thereby equalizing the mean value of the controlled variable to the set value.

Description

【発明の詳細な説明】 〔発明の分野〕 本発明は電流、電圧、温度、圧力等の物理量を所定範囲
の直線化された出力に変換するトランスデユーサに関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to transducers for converting physical quantities such as current, voltage, temperature, pressure, etc. into linearized outputs over a predetermined range.

〔従来技術とその問題点〕[Prior art and its problems]

(従来技術) 従来のトランスデユーサ、温度トランスデユーサは熱電
対等の温度センサからの電圧を所定範囲の直流電圧に変
換し、電圧トランスデユーサは例えば計器用変圧器(P
T)より得られる電圧を所定範囲の直流電圧に変換して
いる。このような従来の種々のトランスデユーサは、入
力された物理量に対応した所定範囲の直流電圧に変換す
るという機能のみを有している。そして入力値の表示と
その入力値の下限値や上限値を設定し、それらの範囲を
越えた場合に出力を得るためにはメータリレーを用いる
必要がある。
(Prior art) Conventional transducers and temperature transducers convert voltage from a temperature sensor such as a thermocouple into a DC voltage within a predetermined range, and voltage transducers are, for example, voltage transformers (P
The voltage obtained from T) is converted into a DC voltage within a predetermined range. Such various conventional transducers have only the function of converting an input physical quantity into a DC voltage within a predetermined range corresponding to the input physical quantity. Then, it is necessary to use a meter relay to display the input value, set the lower limit value and upper limit value of the input value, and obtain an output when the input value exceeds the range.

(発明が解決しようとする問題点) しかるにトランスデユーサとメータリレーは独立した機
器であって、別々に配線する必要があるため配線が複雑
となり、設置スペースが大きくなるいう問題点があった
。又トランスデユーサの出力電圧とメータリレーが動作
する上下限値とは必ずしも一致しないため、使い難いと
いう問題点もあった。
(Problems to be Solved by the Invention) However, since the transducer and the meter relay are independent devices and must be wired separately, there is a problem in that the wiring becomes complicated and the installation space becomes large. Another problem is that the output voltage of the transducer and the upper and lower limits at which the meter relay operates do not necessarily match, making it difficult to use.

又従来のメータリレーの有接点リレー出力を用いて制御
対象の制御操作を行う場合、例えば加熱炉の温度制御を
下限値用リレーの出力によってオンオフ制御する場合に
は、設定値近傍に達するとメータリレーのリレーがオン
オフを繰り返すこととなる。従って有接点リレーの寿命
が短くなり、リレーから連続してノイズが発生すること
があるという問題点もあった。
In addition, when controlling a controlled object using the contact relay output of a conventional meter relay, for example, when controlling the temperature of a heating furnace on and off using the output of a lower limit relay, the meter The relay will turn on and off repeatedly. Therefore, there are problems in that the life of the contact relay is shortened and noise may be continuously generated from the relay.

そこでこのような問題を解決するためにメータリレーの
リレー出力にヒステリシスを設けることが考えられる。
Therefore, in order to solve this problem, it may be possible to provide hysteresis to the relay output of the meter relay.

しかしヒステリシスを設けた場合には設定値と制御温度
が相違するという欠点がある。
However, when hysteresis is provided, there is a drawback that the set value and the control temperature are different.

〔技術的課題〕[Technical issues]

本発明はこのような従来のトランスデユーサの問題点に
鑑みてなされたものであって、入力信号を所定範囲の直
流電圧に変換するトランスデユーサに入力値の所定範囲
の設定機能及びその範囲を越えたときに出力を得るメー
タリレーの機能を付加し一体化すると共に、リレー出力
の闇値を上下限値の設定値より夫々上下に設定すること
によってリレー出力を用いて制御対象を制御する場合に
は制御量が設定値に等しくなるようにすることを技術的
課題とする。
The present invention has been made in view of the problems of conventional transducers, and provides a function for setting a predetermined range of input values in a transducer that converts an input signal into a DC voltage within a predetermined range, and a function for setting a predetermined range of input values and the range thereof. In addition to adding and integrating the function of a meter relay that obtains an output when the limit value is exceeded, the relay output is used to control the controlled object by setting the dark value of the relay output above and below the set values of the upper and lower limits, respectively. In some cases, the technical challenge is to make the controlled amount equal to the set value.

〔発明の構成と効果〕[Structure and effects of the invention]

(問題点を解決するための手段) 本発明は入力信号をそれに対応したレベルの信号に変換
するトランスデユーサであって、第1図及び第5図に示
すように、アナログ入力信号をデジタル信号に変換する
A/D変換器と、入力信号の上限値と下限値及びそのヒ
ステリシスを入力する入力手段と、現在値及び上下限値
設定手段により設定される上下限値とヒステリシス値と
を記憶する記憶手段と、記憶手段に保持されている上限
値の上下にヒステリシスの幅を持って夫々上限値オン点
、上限値オフ点を設定し、下限値の上下にヒステリシス
の幅を持って夫々下限値オフ点1下限値オン点を設定す
る設定手段と、記憶手段に保持されている上下限値の夫
々上下に設定されたオン点及びオフ点とA/D変換器よ
りA/D変換された入力信号とを比較する比較手段と、
上下限値に夫々対応した上下限値用出力リレーを有し、
比較手段の比較により現在値が上限値オン点を越えて上
昇し及び下限値オン点を越えて下降したときに該上下限
値用出力リレーを夫々付勢すると共に、上限値オフ点を
越えて下降したとき及び下限値オフ点を越えて上昇した
ときに該上下限値用出力リレーを夫々消勢する出力手段
と、A/D変換器によりA/D変換された人力信号をそ
のレベルに比例した信号に変換するD/A変換器と、を
具備することを特徴とするものである。
(Means for Solving the Problems) The present invention is a transducer that converts an input signal into a signal with a level corresponding to the input signal, and as shown in FIGS. 1 and 5, converts an analog input signal into a digital signal. an A/D converter for converting the input signal into an input signal, an input means for inputting the upper and lower limits of the input signal and their hysteresis, and storing the current value and the upper and lower limit values and hysteresis values set by the upper and lower limit value setting means. A storage means sets an upper limit on point and an upper limit off point with a hysteresis width above and below the upper limit value held in the storage means, and sets a lower limit value with a hysteresis width above and below the lower limit value. Off point 1 lower limit setting means for setting the on point, on points and off points set above and below the upper and lower limit values held in the storage means, respectively, and input A/D converted by the A/D converter. a comparison means for comparing the signal;
It has output relays for upper and lower limit values that correspond to upper and lower limit values, respectively.
When the current value rises beyond the upper limit ON point and falls beyond the lower limit ON point as a result of comparison by the comparison means, the output relays for the upper and lower limit values are energized, and the current value exceeds the upper limit OFF point. Output means for deenergizing the output relays for the upper and lower limit values when the lower limit value falls or rises beyond the lower limit off point, respectively, and a human input signal converted from A/D by the A/D converter in proportion to the level thereof. The device is characterized in that it includes a D/A converter that converts the signal into a digital signal.

(作用) このような特徴を有する本発明によれば、あらかじめ設
定された上下限値とヒステリシス値とを記憶手段に記憶
させておき、入力信号が設定手段により設定された上下
限値とヒステリシス値の上下に夫々上下限値オン点と上
下限値オフ点を設定している。そして入力信号が上限値
オン点を越えて上昇し、又は下限値オン点を越えて下降
した場合には夫々の出力用リレーを付勢している。又入
力信号のA/D変換値を再びD/A変換し所定のレベル
に変換して外部に出力するようにしている。
(Operation) According to the present invention having such features, the upper and lower limit values and the hysteresis value set in advance are stored in the storage means, and the input signal is stored in the upper and lower limit values and the hysteresis value set by the setting means. Upper and lower limit ON points and upper and lower limit OFF points are set above and below, respectively. When the input signal rises beyond the upper limit ON point or falls beyond the lower limit ON point, the respective output relays are energized. Further, the A/D converted value of the input signal is again D/A converted to a predetermined level and outputted to the outside.

そして上下限値から上下に設定された上限値オフ点を越
えて下降し、又は下限値オフ点を越えて上昇した場合に
は、夫々のリレーを消勢するようにしている。
When the value falls beyond the upper limit off point set above or below the upper limit value or rises beyond the lower limit off point, the respective relays are deenergized.

(発明の効果) そのため本発明によれば、入力信号に対応した所定範囲
の直線化出力を得ることができ、入力信号が上下限値を
越えれば出力を得るメータリレーの機能を有するトラン
スデユーサとすることができる。又従来のトランスデユ
ーサとメータリレーを用いた場合に比べて入力部分の配
線が少なくなり、構成を簡易化することができる。更に
制御対象からのセンサ出力に基づいてトランスデユーサ
のリレー出力によって制御対象に操作を加える場合には
、制御量が設定値に近づくとリレーが付勢。
(Effects of the Invention) Therefore, according to the present invention, a transducer can obtain a linearized output in a predetermined range corresponding to an input signal, and has a meter relay function that provides an output when the input signal exceeds the upper and lower limits. It can be done. Furthermore, compared to the case where a conventional transducer and meter relay are used, the number of wiring in the input section is reduced, and the configuration can be simplified. Furthermore, when operating the controlled object using the relay output of a transducer based on the sensor output from the controlled object, the relay is activated when the controlled amount approaches the set value.

消勢を所定周期毎に繰り返すため、短期間のうちにリレ
ーが断続することがなくなる。従ってリレーから生じる
ノイズを減少させることができ、又リレーの寿命を伸ば
すこともできる。更に上下限値用出力リレーを用いて制
御対象を制御する場合には、オン点とオフ点とが夫々設
定値の上下に設けられるため、ヒステリシスの値にかか
わらず制御量の平均値をほぼ設定値と一致させることが
できる。
Since the deenergization is repeated at predetermined intervals, the relay does not become disconnected in a short period of time. Therefore, the noise generated from the relay can be reduced, and the life of the relay can also be extended. Furthermore, when controlling a controlled object using output relays for upper and lower limit values, the on point and off point are provided above and below the set value, respectively, so the average value of the controlled variable is approximately set regardless of the hysteresis value. Can be matched with a value.

〔実施例の説明〕[Explanation of Examples]

(実施例の構成) 第1図は本発明によるトランスデユーサの一実施例の電
気的構成を示すブロック図であり、第2図はその正面の
パネル面を示す図である。本実施例は熱電対等の温度セ
ンサの所定範囲の温度を例えばO〜5■の直流出力に変
換するトランスデユーサとする。これらの図において、
トランスデユーサ1の入力端子2a、2b間にセンサ入
力回路3が接続される。センサ入力回路3は温度センサ
からの出力を所定レベルに増幅し、その出力をA/D変
換器4に与えるものである。A/D変換器4は所定のタ
イミングで与えられたアナログ信号をデジタル信号に変
換してその出力をマイクロコンピュータ5に与える。マ
イクロコンピュータ5は内部にマイクロプロセッサと入
出力インターフェイス、及び制御プログラムや図示する
レジスタ群を含む記憶手段5Rを有する制御素子である
(Configuration of Embodiment) FIG. 1 is a block diagram showing the electrical configuration of an embodiment of a transducer according to the present invention, and FIG. 2 is a diagram showing the front panel surface thereof. This embodiment uses a transducer that converts the temperature of a temperature sensor such as a thermocouple in a predetermined range into a DC output of, for example, 0 to 5 cm. In these figures,
A sensor input circuit 3 is connected between input terminals 2a and 2b of the transducer 1. The sensor input circuit 3 amplifies the output from the temperature sensor to a predetermined level and provides the output to the A/D converter 4. The A/D converter 4 converts the analog signal applied at a predetermined timing into a digital signal and provides the output to the microcomputer 5. The microcomputer 5 is a control element having therein a microprocessor, an input/output interface, and a storage means 5R containing a control program and a group of registers shown.

マイクロコンピュータ5内の記憶手段5Rには表示状態
を示すPVフラグ、Hフラグ、Lフラグとヒステリシス
の設定時に立てられるHYSフラグ。
The storage means 5R in the microcomputer 5 contains a PV flag, an H flag, an L flag indicating the display state, and a HYS flag set when hysteresis is set.

及び現在値が上限値及び下限値を越えてリレーが駆動さ
れるときに立てられるX Hフラグ、XLフラグのフラ
グレジスタが設けられ、更に現在値を記憶するpv値レ
ジスタ、上限設定値を記憶するH設定値レジスタ、下限
設定値を記憶するし設定値レジスタとヒステリシス幅を
記憶するHYSレジスタ、及び上限値の上下に夫々設け
られる上限値オン点(以下Honレベルという)、上限
値オフ点(以下Hoff レベルという)、下限値の上
下に夫々設けられる下限値オフ点(以下Loffレベル
という)、下限値オン点(以下Lonレベルという)を
記憶する領域が夫々設けられている。マイクロコンピュ
ータ5には又セットモード及びランモードを切換えるス
ライドスイッチSLI、表示器の各桁の表示を順次切換
える数値設定用の押しボタンスイッチPBI〜PB4.
表示内容を切換える押しボタンスイッチPB5が接続さ
れている。PB1〜PB5は入力信号の上下限値及びヒ
ステリシスを入力する入力手段を構成している。又マ・
イクロコンピュータ5には機種選択スイッチ6の出力が
与えられている。機種選択スイッチ6はこのトランスデ
ユーサを所定の入出力仕様に設定するためのデータを与
えるものであって、入出力仕様に対応したセンサ入力回
路3を用いる必要がある。
There are also flag registers for the XH flag and XL flag, which are set when the relay is driven when the current value exceeds the upper and lower limits, and further includes a pv value register that stores the current value, and a pv value register that stores the upper limit set value. The H setting value register, which stores the lower limit setting value, the HYS register which stores the setting value register and the hysteresis width, and the upper limit on point (hereinafter referred to as Hon level) and upper limit value off point (hereinafter referred to as Hon level) provided above and below the upper limit value, respectively. Hoff level), a lower limit off point (hereinafter referred to as Loff level), and a lower limit on point (hereinafter referred to as Lon level) provided above and below the lower limit value, respectively. The microcomputer 5 also includes a slide switch SLI for switching between set mode and run mode, and push button switches PBI to PB4 for setting numerical values to sequentially switch the display of each digit on the display.
A push-button switch PB5 for switching display contents is connected. PB1 to PB5 constitute input means for inputting upper and lower limit values and hysteresis of the input signal. Matama・
The microcomputer 5 is provided with an output from a model selection switch 6. The model selection switch 6 provides data for setting this transducer to a predetermined input/output specification, and it is necessary to use the sensor input circuit 3 corresponding to the input/output specification.

マイクロコンピュータ5は外部から与えられるこれらの
入力に基づいて現在値を所定時間毎に表示器7及びラン
チ回路8に与える。ラッチ回路8はマイクロコンピュー
タ5の出力を所定時間保持するものであり、その出力を
D/A変換器9に与える。D/A変換器9はデジタル信
号をその信号に対応した出力、例えばO〜5■の直流出
力に変換して出力端子10a、10bより外部に与える
ものである。マイクロコンピュータ5は設定された上限
値、下限値の上下に設定されるHonレベル。
The microcomputer 5 provides the current value to the display 7 and the launch circuit 8 at predetermined time intervals based on these externally applied inputs. The latch circuit 8 holds the output of the microcomputer 5 for a predetermined period of time, and supplies the output to the D/A converter 9. The D/A converter 9 converts the digital signal into an output corresponding to the signal, for example, a DC output of 0 to 5 cm, and supplies the converted signal to the outside through output terminals 10a and 10b. The microcomputer 5 has a Hon level set above and below the set upper limit and lower limit.

HoffレベルとLoffレベル、Lonを設定する設
定手段53.及びこれらのレベルとA/D変換値とを比
較する比較手段5Cを構成しており、これらの上下限値
を越えた場合には出力バッファ11に出力が与えられる
。出力バッファ11はこれらの入力に対応して上限値出
力用のリレーXH又は下限値出力用のリレーXLを駆動
するものである。
Setting means 53 for setting Hoff level, Loff level, and Lon. Comparing means 5C is configured to compare these levels with the A/D conversion value, and when these upper and lower limits are exceeded, an output is given to the output buffer 11. The output buffer 11 drives a relay XH for outputting an upper limit value or a relay XL for outputting a lower limit value in response to these inputs.

リレーXH及びリレーXLは夫々端子12a、12b及
び13a、13b間に常開接点が接続されており、これ
らの端子より外部に出力を与える。
Relays XH and XL have normally open contacts connected between terminals 12a, 12b and 13a, 13b, respectively, and output from these terminals to the outside.

出力バッファ11とリレーXH,XLは現在値の入力が
上下限値を越えるときに出力を出す出力手段を構成して
いる。更にリレーXH,XLの駆動時には出力バッファ
11より夫々パネル上部の発光ダイオード(以下LED
という)14.15が夫々駆動される。又マイクロコン
ピュータ5より表示器7の現在の出力を示すpv表示用
LED 16、  H表示用LED17.L表示用LE
D18が接続されている。−万端子19a、19bより
商用交流電源が電源部20に与えられて各部に直流電源
を供給している。
The output buffer 11 and relays XH and XL constitute an output means that outputs an output when the input current value exceeds the upper and lower limits. Furthermore, when relays XH and XL are driven, the output buffer 11 outputs light emitting diodes (hereinafter referred to as LEDs) at the top of each panel.
14 and 15 are respectively driven. Further, a PV display LED 16, an H display LED 17, which indicates the current output of the display 7 from the microcomputer 5. LE for L display
D18 is connected. - Commercial AC power is applied to the power supply section 20 from terminals 19a and 19b, supplying DC power to each section.

(トランスデユーサの使用例) 次に第3図は本実施例によるトランスデユーサを温度セ
ンサとして用いた一例を示すブロック図である。本図に
おいて制御対象21を例えば加熱炉とすると、制御対象
21には熱電対等の温度センサ22が取付けられており
、その出力が本実施例によるトランスデユーサ1に与え
られる。そしてこのトランスデユーサ1のリレー出力、
例えば下限値出力用のリレーXLの出力が出力部23に
与えられる。出力部23は例えば制御対象21を加熱す
るヒータを構成しており、リレーXLの接点出力によっ
て制御対象21をオンオフ制御するものである。
(Example of Use of Transducer) Next, FIG. 3 is a block diagram showing an example of using the transducer according to this embodiment as a temperature sensor. In this figure, if the controlled object 21 is, for example, a heating furnace, a temperature sensor 22 such as a thermocouple is attached to the controlled object 21, and its output is given to the transducer 1 according to this embodiment. And the relay output of this transducer 1,
For example, the output of a relay XL for outputting a lower limit value is given to the output section 23. The output unit 23 constitutes, for example, a heater that heats the controlled object 21, and controls the controlled object 21 to be turned on and off by the contact output of the relay XL.

(上下限値設定動作) 次にフローチャートを参照しつつ本実施例のトランスデ
ユーサの動作について説明する。第4図はこのトランス
デユーサよりリレー出力を与える上限値、下限値及びヒ
ステリシスを設定する際の動作を示すフローチャートで
あり、第5図は動作モードでのフローチャートである。
(Upper/Lower Limit Value Setting Operation) Next, the operation of the transducer of this embodiment will be described with reference to a flowchart. FIG. 4 is a flowchart showing the operation when setting the upper limit value, lower limit value and hysteresis for providing a relay output from this transducer, and FIG. 5 is a flowchart in the operation mode.

動作を開始するとまず第4図のステップ31においてセ
ットモードかどうかがチェックされる。スイッチSLI
がセットモードに設定されていれば、ステップ32に進
んで押しボタンスイッチPB5が押されているかどうか
をチェックする。この押しボタンスイッチが押されれば
フラグレジスタのPVフラグ、Hフラグ、Lフラグ及び
HYSフラグを順次セットするように更新しくステップ
33)、ステップ34゜35、36に進んでHフラグ、
Lフラグ又はHYSフラグが立てられているかどうかを
チェックする。
When the operation starts, first, in step 31 of FIG. 4, it is checked whether or not the set mode is set. Switch SLI
If it is set to the set mode, the process advances to step 32 and it is checked whether the push button switch PB5 is pressed. When this push button switch is pressed, the flag register is updated so that the PV flag, H flag, L flag, and HYS flag are set in sequence. Steps 33), 34, 35, and 36 proceed to the H flag,
Check whether the L flag or HYS flag is set.

Hフラグがセットされていればステップ34よりステッ
プ37に進んでLED18をオフ、LED17をオンと
しパネル面にrHJを表示して上限値設定ルーチン38
に入る。このルーチン38では数値設定用の押しボタン
スイッチPBI〜PB4により表示器7の各桁の数値を
夫々設定し、上限値をH設定値レジスタにストアする。
If the H flag is set, the process advances from step 34 to step 37, where the LED 18 is turned off, the LED 17 is turned on, rHJ is displayed on the panel surface, and the upper limit value setting routine 38 is performed.
to go into. In this routine 38, numerical values for each digit of the display 7 are set using push button switches PBI to PB4 for numerical value setting, and the upper limit value is stored in the H set value register.

この設定が終了するとステップ31に戻ってセットモー
ドかどうかを判断して同様の処理を繰り返す。ステップ
33においてフラグレジスタの更新によりLフラグが立
てられた場合には、ステップ35からステップ39に進
んでLED17をオフ、LED18をオンとしてパネル
面にrLJを表示する。そして下限値設定ルーチン40
に進んでルーチン38と同様に押しボタンスイッチPB
I〜PB4により表示器7の各桁の数値を夫々設定し、
下限値をメモリ内のし設定値レジスタにストアする。そ
してステップ31に戻って同様の処理を繰り返す。ステ
ップ33においてフラグレジスタの更新によりHYSフ
ラグが立てられていれば、ステップ36からステップ4
1に進んで2つのLED17.18をオンとする。そし
てルーチン42に進んで上下限値と同様に押しボタンス
イッチPBI〜PB4により表示器7の各桁の数値を夫
々設定してヒステリシスの値をヒステリシス用のHYS
レジスタにストアして設定処理を終了する。
When this setting is completed, the process returns to step 31, and it is determined whether or not the set mode is set, and the same process is repeated. When the L flag is set by updating the flag register in step 33, the process proceeds from step 35 to step 39, where the LED 17 is turned off and the LED 18 is turned on to display rLJ on the panel surface. And lower limit value setting routine 40
Proceed to step 38 and press the push button switch PB.
Set the numerical value of each digit of the display 7 using I to PB4,
Store the lower limit value in the set value register in memory. Then, the process returns to step 31 and the same process is repeated. If the HYS flag is set by updating the flag register in step 33, step 36 to step 4
Proceed to step 1 and turn on the two LEDs 17 and 18. Then, proceed to routine 42, and similarly to the upper and lower limit values, set the numerical values of each digit of the display 7 using the push button switches PBI to PB4, and set the hysteresis value to the HYS for hysteresis.
Store it in the register and end the setting process.

(ランモードでの動作) 上限値及び下限値の設定が終了すれば切換スイッチSL
1をランモードにセットする。トランスデューサのマイ
クロコンピュータ5はステップ31及びステップ50に
おいてセットモード、ランモードかどうかをチェックし
ており、ランモードでなければステップ31に進み、ラ
ンモードであればステップ51に進んで以後の押しボタ
ンスイッチPB1〜PB4の入力を無効とする。そして
ステップ52において機種選択スイッチ6のデータを読
取りそれに対応させて入出力の仕様を決定する。例えば
本実施例のトランスデユーサかに型熱電対(TC)を温
度センサとし、0〜400℃の温度を0〜5vの直流電
圧に変換するトランスデユーサであるとすると、ステッ
プ53.54より夫々の仕様となるように設定する。そ
して入力端子2a、2bより与えられた入力電圧をセン
サ入力回路3によって増幅する。その増幅出力はA/D
変換器4に加えられているので、マイクロコンピュータ
5より所定周期毎にサンプリングパルスをA/D変換器
4に与え、デジタル値に変換されたデータを取り込んで
メモリ内のPv値レジスタに書込む(ステップ55)。
(Operation in run mode) After setting the upper limit value and lower limit value, press the selector switch SL.
1 to run mode. The microcomputer 5 of the transducer checks whether it is set mode or run mode in step 31 and step 50. If it is not run mode, it proceeds to step 31, and if it is run mode, it proceeds to step 51 and presses the next push button switch. The inputs of PB1 to PB4 are invalidated. Then, in step 52, the data of the model selection switch 6 is read and the input/output specifications are determined in accordance with the data. For example, if the transducer of this embodiment uses a crab-shaped thermocouple (TC) as a temperature sensor and is a transducer that converts a temperature of 0 to 400 degrees Celsius into a DC voltage of 0 to 5 V, then step 53.54 Set to meet each specification. The sensor input circuit 3 amplifies the input voltage applied from the input terminals 2a and 2b. Its amplified output is A/D
Since it is added to the converter 4, the microcomputer 5 gives a sampling pulse to the A/D converter 4 at predetermined intervals, takes in the data converted to a digital value, and writes it into the Pv value register in the memory ( Step 55).

そしてステップ56に進んでHフラグがセットされてい
るかどうかをチェックし、このフラグがセットされてい
れば既に記憶されているH設定値レジスタに保持されて
いる上限値を表示器7に表示すると共に、LED16.
18をオフとしLED17を点灯してH設定値を表示す
る(ステップ57 、58)。又ステップ59において
Lフラグがセットされている場合には、同様にしてメモ
リ内のし設定値レジスタに保持されている下限値を表示
器7に表示しくステップ60)、ステップ61に進んで
LED16.17をオフとしLED18を点灯してL設
定値を表示する。更にステップ56.59においてHフ
ラグ、Lフラグが立てられていない場合には、ステップ
62に進んでステップ55によって取り込まれたPV値
レしスタ内の現在値を表示器7に表示すると共に、ラッ
チ回路8に与えて一時保持させる。次いでステップ63
においてLED17.18をオフとじLED16を点灯
して現在値を表示し、D/A変換器9より入力電圧に対
応した0〜5■までの直流電圧を出力端子10a。
Then, the process proceeds to step 56, where it is checked whether the H flag is set, and if this flag is set, the upper limit value held in the already stored H setting value register is displayed on the display 7. , LED16.
18 is turned off and the LED 17 is turned on to display the H setting value (steps 57 and 58). If the L flag is set in step 59, the lower limit value held in the set value register in the memory is similarly displayed on the display 7 (step 60), and the process proceeds to step 61, where the LED 16. 17 is turned off and the LED 18 is turned on to display the L setting value. Furthermore, if the H flag and L flag are not set in steps 56 and 59, the process advances to step 62, where the current value in the PV value register taken in in step 55 is displayed on the display 7, and the latch is It is applied to the circuit 8 and temporarily held. Then step 63
At this point, the LEDs 17 and 18 are turned off and the LED 16 is turned on to display the current value, and the D/A converter 9 outputs a DC voltage from 0 to 5 cm corresponding to the input voltage to the terminal 10a.

10bより外部に出力する(ステップ64)。10b to the outside (step 64).

そしてステップ65に進んで上限値と下限値のオンレベ
ル及びオフレベルを夫々設定する。H設定値のオン点で
あるHonレベルはH設定値よりヒステリシスのA高い
値(H設定値子%HYS)、H設定値のオフ点であるH
off レベルはH設定値よりヒステリシスのA低い値
(H設定値−’A HY S )とする(ステップ65
)、又り設定値のオン点LonレベルはL設定値よりヒ
ステリシスの%低い値(L設定値−%HYS)とし、L
設定値のオフ点Loff レベルはLl定値よりヒステ
リシスのA高い値(L設定値+!/5HYS)に夫々設
定する(ステップ66)、この処理を終えた後ステップ
67に進んでPv値レしスタ内の現在値がHonレベル
以上であるかどうかをチェックする。現在値がHonレ
ベル以上であればステップ68に進んでXHフラグ及び
LED14をオフとし、出力バッファ11を介してXH
リレーを付勢する。現在値がHonレベル未満であれば
ステップ69に進んでPv値がHoffレベル未満かど
うかをチェックする。この値より小さければステップ7
0に進んでXHフラグ及びLED14をオフとすると共
に、出力バッファ11を介してXHリレーを消勢する。
Then, the process proceeds to step 65, where the upper limit value and lower limit value are set as on level and off level, respectively. The Hon level, which is the ON point of the H setting value, is a higher value of hysteresis than the H setting value (H setting value %HYS), and the H level is the OFF point of the H setting value.
The off level is set to a value A lower in hysteresis than the H setting value (H setting value - 'A HY S ) (step 65
), and the on-point Lon level of the set value is a value that is hysteresis % lower than the L set value (L set value - % HYS), and the L
The off point Loff level of the set value is set to a value with hysteresis A higher than the Ll constant value (L set value +!/5HYS) (step 66). After completing this process, proceed to step 67 to register the Pv value register. Check whether the current value in is equal to or higher than the Hon level. If the current value is higher than the Hon level, the process advances to step 68, turns off the XH flag and LED 14, and outputs the XH via the output buffer 11.
energize the relay. If the current value is less than the Hon level, the process advances to step 69 to check whether the Pv value is less than the Hoff level. If smaller than this value, step 7
0, the XH flag and LED 14 are turned off, and the XH relay is deenergized via the output buffer 11.

ステップ69.70の処理を終えた後又は現在値がH設
定値近傍のヒステリシス内にある場合には、ステップ7
1に進んでPV値レしスタ内の現在値がLonレベル以
下であるかどうかをチェックする。Lonレベル以下で
あればXLフラグとLED 15をオンとし出力バッフ
ァ11を介してXLリレーを付勢する(ステップ72)
。Lonレベルを越えている場合にはステップ73に進
んでLoff レベルより低い値となっているかどうか
をチェックする。Loff レベルを越えていればステ
ップ74に進んでXLフラグ及びLED15をオフとし
出力バッファ11を介してXLリレーを消勢する。ステ
ップ72.74の処理を終えた後又は現在値がL設定値
近傍のヒステリシスの範囲内にある場合には、ステップ
75に進んで押しボタンスイッチPB5が押下されたか
どうかをチェックする。押下されなければそのままステ
ップ50に戻って同様の処理を繰り返し、押しボタンス
イッチPB5が押下されればフラグレジスタ内のP■フ
ラグ、Hフラグ及びLフラグを順次セットするように更
新してくステップ76)ステップ50に戻る。
After completing the processing of steps 69 and 70, or if the current value is within the hysteresis near the H setting value, step 7
1 and checks whether the current value in the PV value register is below the Lon level. If it is below the Lon level, the XL flag and LED 15 are turned on and the XL relay is energized via the output buffer 11 (step 72).
. If the value exceeds the Lon level, the process proceeds to step 73 to check whether the value is lower than the Loff level. If it exceeds the Loff level, the process proceeds to step 74, where the XL flag and LED 15 are turned off, and the XL relay is deenergized via the output buffer 11. After completing the processing in steps 72 and 74, or if the current value is within the hysteresis range near the L setting value, the process proceeds to step 75 to check whether the pushbutton switch PB5 has been pressed. If the push button switch PB5 is not pressed, the process returns to step 50 and the same process is repeated, and if the push button switch PB5 is pressed, the P■ flag, H flag, and L flag in the flag register are updated so as to be set in sequence (step 76). Return to step 50.

従って第3図に示すようにXLリレーの出力に基づいて
制御対象21を加熱するように構成する場合には、制御
量である温度がL設定値の近傍に達したときにはヒステ
リシスを持って第6図(a)。
Therefore, when the controlled object 21 is configured to be heated based on the output of the XL relay as shown in FIG. Figure (a).

(b)に示すように一定の周期でX Lリレーの付勢及
び消勢が繰り返される。従って従来のようにメータリレ
ーのリレー出力によってオンオフ制御する場合に比べて
リレーの動作回数を少なくすることができ、リレーから
生ずるノイズが少なくなり出力リレーの寿命を長寿命化
することができる。又り設定値は第7図(a)、 (b
)に示すようにXLリレーを付勢するレベルではなく、
ヒステリシスの幅を持ってL設定値の上下に設定された
Lonレベル及びLoff レベルに基づいて制御する
中間点基準制御であるため、第6図(a)に示すように
制御対象21の制御量である温度の平均はほとんどL設
定値と同一になるように制御される。それ故ヒステリシ
スの幅にかかわらず設定値とほぼ同一の値で制御対象を
制御することができる。
As shown in (b), the XL relay is repeatedly energized and deenergized at regular intervals. Therefore, compared to the conventional case where on/off control is performed using the relay output of a meter relay, the number of relay operations can be reduced, noise generated from the relay is reduced, and the life of the output relay can be extended. The set values are shown in Figure 7 (a) and (b).
), rather than the level that energizes the XL relay.
Since this is midpoint reference control that is controlled based on the Lon level and Loff level that are set above and below the L setting value with a width of hysteresis, the control amount of the controlled object 21 as shown in FIG. 6(a) The average of a certain temperature is controlled to be almost the same as the L setpoint. Therefore, regardless of the width of the hysteresis, the controlled object can be controlled with a value that is almost the same as the set value.

又同様にしてXHリレーの出力に基づいて制御対象を冷
却する場合にも第6図(C1,(d)に示すようにH設
定値を直接闇値レベルとせず、その上下にヒステリシス
の幅を持って設定されたHonレベルとHo f f 
レベルに基づいて制御する中間点基準制御としているた
め、H設定値と同一の値で冷却器が作動する。従って設
定値と制御量の平均値とをほぼ一致させて制御すること
ができる。
Similarly, when cooling the controlled object based on the output of the XH relay, as shown in Figure 6 (C1, (d)), the H setting value is not directly set to the dark value level, but a hysteresis width is set above and below it. Hon level and Ho f f set with
Since the intermediate point reference control is performed based on the level, the cooler operates at the same value as the H setting value. Therefore, it is possible to perform control so that the set value and the average value of the control amount almost match.

尚本実施例は熱電対を温度センサとしたトランスデユー
サとしそのリレー出力に基づいて制御対象を制御するよ
うにしているが、本発明はセンサ入力回路及び動作モー
ドで入力仕様を異ならせることによって異なる入力を受
は付けるトランスデユーサ、例えば交流電圧や電流を検
知するトランスデユーサやポテンショメータの出力を所
定範囲の信号に変換するトランスデユーサに適用するこ
とが可能である。
In this embodiment, a thermocouple is used as a transducer as a temperature sensor, and the controlled object is controlled based on the relay output of the transducer. It is possible to apply the present invention to a transducer that accepts different inputs, such as a transducer that detects alternating voltage or current, or a transducer that converts the output of a potentiometer into a signal within a predetermined range.

尚本実施例は上限値及び下限値に対して同一のヒステリ
シス値を設定するようにしているが、上下限値に夫々異
なるヒステリシス値を設定できるようにしてもよいこと
はいうまでもない。
In this embodiment, the same hysteresis value is set for the upper limit value and the lower limit value, but it goes without saying that different hysteresis values may be set for the upper and lower limit values.

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

第1図は本発明によるトランスデユーサの一実施例を示
すブロック図、第2図はその正面パネル図、第3図は本
実施例を温度調節装置に用いた一例を示すブロック図、
第4図は上下限値を設定するセントモードでの動作を示
すフローチャート、第5図はランモードでの動作を示す
フローチャート、第6図(a)、 (b)は本実施例の
トランスデユーサを加熱系の温度調節装置に用いた場合
のXLリレー出力と設定値及び制御量の関係を示すタイ
ムチャート、第6図(cl、 (dlは本実施例のトラ
ンスデユーサを冷却系の温度調節装置に用いた場合のX
Hリレーの出力と設定値及び制御量の関係を示すタイム
チャート、第7図はXLリレーによるオン点制御の例を
示すタイムチャートである。 1・・・−・・−トランスデユーサ  3−・−・・・
センサ入力回路  4・・−・・・−A/D変換器  
5−・−・・=・マイクロコンピュータ  5C・−・
・−・比較手段  5 R−−−−−−一記憶手段  
5S・・・・−・設定手段  6−・・−機種選択スイ
ッチ  7−・−・・−表示器  8−・−・−ラッチ
回路9−=−・・・D / A変換器  10 a 、
  l Ob−−−−−−出力端子  11・・・・−
・出カバソファ  14〜18−・・・・−発光ダイオ
ード  21・−・−・−制御対象  PB1〜PB5
・−・−・・押しボタンスイッチ(入力手段)XH,X
L・・・−・・リレー 第2図 第3図
FIG. 1 is a block diagram showing an embodiment of a transducer according to the present invention, FIG. 2 is a front panel view thereof, and FIG. 3 is a block diagram showing an example of using this embodiment in a temperature control device.
Fig. 4 is a flowchart showing the operation in cent mode for setting the upper and lower limit values, Fig. 5 is a flowchart showing the operation in run mode, and Figs. 6(a) and (b) are the transducer of this embodiment. Figure 6 (cl, (dl) is a time chart showing the relationship between the XL relay output, set value, and control amount when the transducer of this example is used for temperature adjustment of a cooling system. X when used in equipment
A time chart showing the relationship between the output of the H relay, a set value, and a controlled amount, and FIG. 7 is a time chart showing an example of on-point control by the XL relay. 1...--Transducer 3--...
Sensor input circuit 4...--A/D converter
5-・-・・・Microcomputer 5C・−・
・-Comparison means 5 R----- Storage means
5S...-Setting means 6--Model selection switch 7--Display device 8--Latch circuit 9-=--D/A converter 10a,
l Ob---Output terminal 11...-
・Output sofa 14-18--Light emitting diode 21--Controlled object PB1-PB5
・−・−・・Push button switch (input means) XH,X
L...--Relay Fig. 2 Fig. 3

Claims (1)

【特許請求の範囲】[Claims] (1)入力信号をそれに対応したレベルの信号に変換す
るトランスデューサであって、 アナログ入力信号をデジタル信号に変換するA/D変換
器と、 入力信号の上限値と下限値及びそのヒステリシスを入力
する入力手段と、 現在値及び前記上下限値設定手段により設定される上下
限値とヒステリシス値とを記憶する記憶手段と、 前記記憶手段に保持されている上限値の上下にヒステリ
シスの幅を持って夫々上限値オン点、上限値オフ点を設
定し、下限値の上下にヒステリシスの幅を持って夫々下
限値オフ点、下限値オン点を設定する設定手段と、 前記記憶手段に保持されている上下限値の夫々上下に設
定されたオン点及びオフ点と前記A/D変換器よりA/
D変換された入力信号とを比較する比較手段と、 上下限値に夫々対応した上下限値用出力リレーを有し、
前記比較手段の比較により現在値が上限値オン点を越え
て上昇し及び下限値オン点を越えて下降したときに該上
下限値用出力リレーを夫々付勢すると共に、上限値オフ
点を越えて下降したとき及び下限値オフ点を越えて上昇
したときに該上下限値用出力リレーを夫々消勢する出力
手段と、前記A/D変換器によりA/D変換された入力
信号をそのレベルに比例した信号に変換するD/A変換
器と、を具備することを特徴とするトランスデューサ。
(1) A transducer that converts an input signal into a signal with a corresponding level, which includes an A/D converter that converts an analog input signal into a digital signal, and inputs the upper and lower limit values of the input signal and their hysteresis. input means; storage means for storing the current value, the upper and lower limit values set by the upper and lower limit value setting means, and a hysteresis value; a setting means for setting an upper limit value on point and an upper limit value off point, respectively, and setting a lower limit value off point and a lower limit value on point, respectively, with a hysteresis width above and below the lower limit value; From the on point and off point set above and below the upper and lower limit values, and the A/D converter,
It has a comparison means for comparing the D-converted input signal, and output relays for upper and lower limit values corresponding to the upper and lower limit values, respectively.
When the current value rises beyond the upper limit ON point and falls beyond the lower limit ON point as a result of comparison by the comparison means, the output relays for the upper and lower limit values are energized, and the current value exceeds the upper limit OFF point. an output means for deenergizing the output relays for the upper and lower limit values when the lower limit value falls and rises beyond the lower limit off point; A transducer comprising: a D/A converter that converts into a signal proportional to .
JP61279315A 1986-11-21 1986-11-21 Transducer Pending JPS63132113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61279315A JPS63132113A (en) 1986-11-21 1986-11-21 Transducer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61279315A JPS63132113A (en) 1986-11-21 1986-11-21 Transducer

Publications (1)

Publication Number Publication Date
JPS63132113A true JPS63132113A (en) 1988-06-04

Family

ID=17609455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61279315A Pending JPS63132113A (en) 1986-11-21 1986-11-21 Transducer

Country Status (1)

Country Link
JP (1) JPS63132113A (en)

Similar Documents

Publication Publication Date Title
JPS5878298A (en) Interface unit for state sensor
JPS63132113A (en) Transducer
JPS63124916A (en) Transducer
JPS63124915A (en) Transducer
JPH0528764B2 (en)
CN111474228A (en) High-performance oxygen content transmitter
JPS63124914A (en) Transducer
JPH02219949A (en) Electrical hot water heater
JPS6259810A (en) Transducer
JPS62106316A (en) Transducer
JPH07827Y2 (en) Reheating device
CN215987055U (en) Multi-loop intelligent temperature controller with load power distribution function
JPH0612263B2 (en) Transducer
JPS6271817A (en) Transducer
JPS6271819A (en) Transducer
CN110882488A (en) Far infrared electric heating health care scarf
JPH0523201U (en) Automatic controller of controller
CN211827545U (en) Remote controller and electric sofa
CN218037793U (en) Hot runner temperature control system capable of identifying thermocouple and heater
CN215726112U (en) Temperature and humidity sensor
JP2018206741A (en) Lighting control device, lighting fixture, and illumination system
CN113238596A (en) Control system for intelligently sensing sleep temperature and adjusting sleep temperature
Anjali et al. Digital Circuit for Power Measurement and Maintenance of Induction Heating Appliances using PIC Microcontroller
CN207965692U (en) A kind of temperature control card
JPS5927844Y2 (en) rice cooker display device