JP2005038075A - Current signal converter - Google Patents

Current signal converter Download PDF

Info

Publication number
JP2005038075A
JP2005038075A JP2003198245A JP2003198245A JP2005038075A JP 2005038075 A JP2005038075 A JP 2005038075A JP 2003198245 A JP2003198245 A JP 2003198245A JP 2003198245 A JP2003198245 A JP 2003198245A JP 2005038075 A JP2005038075 A JP 2005038075A
Authority
JP
Japan
Prior art keywords
sensor
current
output
converter
changeover switch
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
JP2003198245A
Other languages
Japanese (ja)
Inventor
Hirokazu Matsuno
博和 松野
Morihiko Sakata
盛彦 坂田
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.)
Saginomiya Seisakusho Inc
Original Assignee
Saginomiya Seisakusho Inc
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 Saginomiya Seisakusho Inc filed Critical Saginomiya Seisakusho Inc
Priority to JP2003198245A priority Critical patent/JP2005038075A/en
Publication of JP2005038075A publication Critical patent/JP2005038075A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To facilitate wiring between a sensor and a current signal converter. <P>SOLUTION: A control part 21 connects switches 14, 19 to an "a" side to supply an output from a sensor 11 to a second current input circuit 3 and determines whether the current within a range of 4-20 mA is output or not from the sensor 11 by an output from an A/D converter 20. If the current is within the range, the control part 21 determines that it is not necessary for the sensor 11 to be supplied power. If the current is lower than a prescribed range, the control part 21 connects the switches 14, 19 to a "b" side to supply an output from a power source 23 to the sensor 11 and supplies the output from the sensor 11 to a first current input circuit 2. As a result, if the output from the converter 20 is within the range of 4-20 mA, the control part 21 determines that it is necessary for the sensor 11 to be supplied the power, and if the output from the converter 20 is not within the range, the control part 21 determines that the sensor 11 in not connected. The control part 21 stores the decision result into a storage part 22 and controls changeover switches 14, 19 in response to the stored contents when the power is supplied. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、センサからのアナログ電流信号をインターフェースする電流信号変換器に関する。
【0002】
【従来の技術】
DDC(Direct Digital Control)やシーケンサ等においては、流量計などのセンサからのアナログ信号が取り込まれる。例えば、特許文献1には、入力されるアナログ信号が電圧入力であるか電流入力であるかを判別し、電圧入力回路又は電流入力回路に切替えて入力することにより、センサなどの外部機器から電圧入力と電流入力のいずれが入力されても正しい回路接続が可能なプログラマブルコントローラのアナログモジュールが提案されている。
【0003】
【特許文献1】特開2002−333906号公報
【0004】
【発明が解決しようとする課題】
センサには、電源を内蔵したもの、外部から電源の供給を受けるものなどがあるが、近年、センサの小型化に伴い、センサ部に電源を持たず、センサに外部から電源を供給する形態のセンサが、特に電流信号を出力するタイプのセンサに多くみられるようになっている。
図3の(a)は、電源を持たないセンサの接続を示す図であり、31は電源を持たないセンサ、32はセンサ31の外部電源となる直流電源、33は該センサからの出力電流が入力される電流信号変換器である。
この図に示すように、センサ31の2つの端子間に、センサ31用の外部電源32と電流信号変換器33に含まれている電流を電圧に変換するための負荷抵抗Rとが直列に接続されている。これにより、センサからの電流信号出力線とセンサへ電源を供給する電源供給線とが共用され、2本の線ですむようになっている(2線式)。なお、外部からの電源供給線を別個に有するものは3線式又は4線式とよばれている。
【0005】
図3の(b)は、上述した2線式のセンサと電源を内蔵しているセンサを含む複数のセンサを電流信号変換器に接続する場合の配線例を示す図である。
この図において、41と42は前述した2線式のセンサ、43は電源を内蔵し外部から電源を供給する必要のないセンサ、44は前記センサ41及び42の外部電源、45は中継端子、46は3つのセンサ(41,42,43)からの電流信号が入力されるように3つのポート(センサからの信号を入力するための2個の端子)を有する電流信号変換器(シーケンサ等の制御装置を含む)である。
この図に示すように、電源を持たないセンサ41及び42については、センサ用の外部電源44と中継端子45を別途用意し、図示するように、外部電源44と中継端子45と電流信号変換器46の間で複雑な配線作業を必要とするため、配線作業と配線チェックに多大な工数を要し、さらに、電源内蔵のセンサ41,42と電源を持たないセンサ43では配線方法が異なるため誤配線を起こしやすいという問題があった。
【0006】
そこで本発明は、センサと電流信号変換器との間の配線処理が簡単となり、誤配線も少なくし、配線チェックも容易とすることができる電流信号変換器を提供することを目的としている。
【0007】
【課題を解決するための手段】
上記目的を達成するために、本発明の電流信号変換器は、センサから出力されるアナログ電流が入力される電流信号変換器であって、センサに接続される2個の端子と、センサ用電源と、単一の入力端子を有し、該入力端子と接地との間に接続された抵抗器を有する第1の電流入力回路と、2個の入力端子を有し、該入力端子間に接続された抵抗器を有する第2の電流入力回路と、アナログデジタル変換器と、第1の状態では、前記センサに接続される2個の端子を前記第2の電流入力回路の前記2個の入力端子に接続し、第2の状態では、前記センサに接続される2個の端子のうちの一方を前記センサ用電源に接続し、他方を前記第1の電流入力回路の入力端子に接続する第1の切替スイッチと、第1の状態では、前記第2の電流入力回路の出力を前記アナログデジタル変換器の入力に接続し、第2の状態では、前記第2の電流入力回路の出力を前記アナログデジタル変換器の入力に接続する第2の切替スイッチと、前記アナログデジタル変換器の出力に基づいて前記第1の切替スイッチ及び前記第2の切替スイッチを切り替え制御する制御部とを有するものである。
また、前記制御部は、前記第1の切替スイッチ及び前記第2の切替スイッチの状態を切替えたときの前記アナログデジタル変換器の出力に基づいて、接続されているセンサが電源の供給を必要とするものであるか否かを判定する機能と、該判定結果を記憶する機能を有するものであり、電源投入時に、該記憶されている判定結果に応じて、前記第1の切替スイッチ及び前記第2の切替スイッチの状態を設定するようになされているものである。
さらに、複数のセンサを接続することができるように、前記センサに接続される2個の端子からなるポートを複数備えているものである。
【0008】
【発明の実施の形態】
図1は、本発明の電流信号変換器の一実施の形態の構成を示すブロック図である。
この図において、1は本発明の電流信号変換器、11はセンサである。
センサ11はセンサの計測範囲において現在の計測値に合った電流出力をする。ここで、温度、湿度、圧力等のセンサでは、センサ側の電流出力は他の制御機器とのインターフェースが容易に行えるように4〜20mA電流信号が採用されており、本実施の形態におけるセンサ11の電流出力も4〜20mAのアナログ信号を想定する。
電流信号変換器1において、12a及び12bはセンサ接続部(端子、又はコネクタ)であり、センサ11の+端子はセンサ接続部12aに、センサ11の−端子はセンサ接続部12bに接続される。
14は前記センサ接続部12a及び12bが接続される回路を切替える第1の切替スイッチであり、前記センサ接続部12aに固定接点が接続された上側スイッチ14Uと前記センサ接続部12bに固定接点が接続された下側スイッチ14Lの2個の連動する切替スイッチを有している。
【0009】
また、2は第1の電流入力回路であり、図示するように、差動増幅器17とその非反転入力と接地との間に接続された抵抗器15とにより構成されている。そして、前記上側スイッチ14Uのa接点と前記下側スイッチ14Lのb接点は、第1の電流入力回路2の入力、すなわち、前記差動増幅器17の非反転入力に接続されている。
さらに、3は第2の電流入力回路であり、図示するように、差動増幅器18とその非反転入力と反転入力との間に接続された抵抗器16から構成されている。そして、前記上側スイッチ14Uのa接点と前記下側スイッチ14Lのb接点がこの第2の電流入力回路3の一方の入力端子(前記差動増幅器18の非反転入力)に接続され、前記下側スイッチ14Lのb接点が第2の電流入力回路3の他方の入力端子(前記差動増幅器18の反転入力)に接続されている。
19は第2の切替スイッチであり、図示するように、前記第1の電流入力回路2の出力(前記差動増幅器17の出力)に接続されたb接点と、前記第2の電流入力回路3の出力(前記差動増幅器18の出力)に接続されたa接点とを有し、アナログデジタル変換器(A/D変換器)20の入力に前記第1の電流入力回路2と前記第2の電流入力回路3の出力を選択して供給するものである。
【0010】
21は制御部であり、前記第1の切替スイッチ14と前記第2の切替スイッチ19の切替を制御するものである。また、22は、前記制御部21に設けられ、接続されているセンサが電源を供給する必要があるものであるか否かの判定結果を記憶する記憶部である。なお、この記憶部22は、電流信号変換器1の電源を切断したときであっても、その記憶情報が失われることのない不揮発性の記憶手段とされている。
さらに、23は前記センサ11の外部電源となる直流電源回路であり、その+出力は、前記第1の切替スイッチ14の上側スイッチ14Uのb接点に接続されている。
【0011】
このように構成された本発明の電流信号変換器1における前記制御部21の動作について図2のフローチャートを参照して説明する。
電源が投入されると、まず、前記記憶部22に前記センサ接続部12a,12bからなるポートに接続されているセンサ11に関する情報が記憶されているか否かを判定する(S1)。
その結果、記憶部22に情報が記憶されていないときは、ステップS2に進み、前記第1の切替スイッチ14及び前記第2の切替スイッチ19をa側に設定する。これにより、センサ11の出力が前記第2の電流入力回路3の抵抗器16の両端に接続され、センサ11の出力信号は第2の電流入力回路と閉回路を構成することとなる。このとき、抵抗器16の両端に現れる電圧は差動増幅器18で増幅され、前記第2の切替スイッチ19を通って、A/D変換器20に入力される。このA/D変換器20の出力は、前記制御部21で読み取られる。
【0012】
次に、ステップS3に進み、前記A/D変換器20の出力が所定の範囲内の値、すなわち、センサ11から出力される4〜20mAの範囲の電流に対応する値であるか否かが判定される。
所定の範囲内の値であるときは、センサ11は電源内蔵のセンサであると判断することができ、前記切替スイッチ14及び19をそのままの状態に保持して通常動作を行うとともに、前記記憶部22にセンサ11は電源内蔵のセンサであることを示す情報を記憶する(ステップS4)。
【0013】
一方、A/D変換器20の出力が所定の値(センサの4〜20mAに対応する値)よりも低い値であるときは、センサ11が電源を備えていないセンサであると判断されるため、前記第1及び第2の切替スイッチ14,19をb側に接続する(ステップS5)。
これにより、前記センサ用電源23の+端子、第1の切替スイッチの上側スイッチ14Uのb接点、センサ接続部12a、センサ11の+、センサ11の−、センサ接続部12b、下側スイッチ14Lのb接点、第1の電流入力回路2の抵抗器15、接地、センサ用電源23の−端子へと接続される閉回路が構成される。これにより、電源23からセンサ11に電源が供給されることとなり、電源が供給されたセンサ11から、センサ11の計測範囲に合った直流電流(4〜20mA)が出力され、前記抵抗器15の両端に発生する電圧が差動増幅器17で増幅されて、前記第2の切替スイッチ19のb接点を介してA/D変換器20に入力される。
【0014】
前記制御部21は、このA/D変換器20の出力を読み取り、その値が、前記所定範囲内の値(センサ11の4〜20mAに対応する値)であるか否かを判定する(ステップS6)。
その結果、所定範囲内の値であるときには、センサ11は内部電源を備えていないセンサであったと判定することができ、前記切替スイッチ14及び19の状態をそのまま保持して通常動作を行うとともに、前記記憶部22にセンサ11は内部電源を備えていないものであることを示す情報を記憶する(ステップS7)。
一方、A/D変換器20の出力が前記所定の範囲内の値となっていないときは、センサ11が接続されていないと判断し、前記記憶部22にセンサ未接続であることを示す情報を記憶する。
【0015】
さて、前記電源投入時に実行される前記ステップS1において、記憶部22にセンサの状態が記憶されている場合には、ステップS9に進み、その記憶内容にしたがって前記切替スイッチ14及び19の状態を制御する。まず、記憶内容がセンサ11が未接続であるときは、前記ステップS2に進み、記憶情報がない場合と同様に、切替スイッチ14,19を切替えて、センサ11が内部電源を備えているか、外部電源を必要とするかを判断し、その結果を記憶部22に記憶する処理を行う。
また、記憶部22にセンサ11が電源を供給する必要がないものであることを示す情報が記憶されているときは、前記切替スイッチ14及び19をa側に接続し、センサ11からの出力信号を前記第2の電流入力回路3を用いて処理する(ステップS10)。
一方、記憶部22にセンサ11が電源を供給することが必要なものであることを示す情報が記憶されているときは、前記切替スイッチ14及び19をb側に接続し、前記センサ用電源23の出力をセンサ11に供給し、第1の電流入力回路2を用いてセンサ11からの信号を処理する(ステップS11)。
このように、記憶部22にセンサの状態(センサが内部電源を備えているものであるか、内部電源を備えていないものであるか、あるいは、センサがポートに接続されていないか)が記憶されているために、電源投入時に切替スイッチの状態を適切な状態に設定することができる。
【0016】
なお、前記記憶部22の記憶がセンサ11の未接続を記憶している場合のセンサ11が内部電源を備えているか、外部電源を必要とするかの判断処理については、上述した電流信号変換器1の電源が投入される場合のほかに、スイッチ等によることで実施してもよいし、前記電流信号変換器1が通信機能を備えていればネットワーク上の例えば操作部を備えた装置からの通信コマンドで処理させるようにしてもよい。
また、センサ11の接続状態の記憶情報は電流信号変換器1の表示部に表示するようにしてもよいし、電流信号変換器1が通信機能を備えていればネットワークを通して参照できるようにしてもよい。
【0017】
なお、図1の電流信号変換器1にはセンサ11が1点の接続形態を示したが、例えば、A/D変換器が8チャンネル備えたものであれば、8点のセンサが接続できるものであってもよい。すなわち、前記センサ接続部12a,12bからなるポート、前記第1の切替スイッチ14、前記第1の電流入力回路2及び前記第2の電流入力回路3を接続されるセンサに応じて複数個設け、複数個のセンサを処理することができるようにすることができる。
また、上記においてはセンサからの出力信号が4〜20mA電流信号であるものとして説明したが、他の電流値のものであっても同様に適用することができる。
また、前記切替スイッチ14及び19はアナログスイッチを用いてもよい。
【0018】
【発明の効果】
本発明の電流信号変換器によれば、外部電源を必要とするセンサも必要としないセンサもセンサの電流信号出力端子と電流信号変換器の入力端子を1対1に接続するだけでよいため、従来のように外部電源とセンサと電流信号変換器の3ケ所に及ぶ複雑な配線作業が不要となり、配線の間違いが少なく、配線チェックも容易となり、センサと電流信号変換器の配線接続の作業性が良くなるという効果がある。
また、外部電源や中継端子等を必要としないため、これらセンサ、電流信号変換器を組み込む装置をコンパクトに、かつ安価にすることができる。
さらに、電流信号変換器に複数のセンサを接続するポートが設けられている場合には、ポイント当たりの単価を安価にし、ポイント当たりの変換器の容積をコンパクトにすることができる。
【図面の簡単な説明】
【図1】本発明の電流信号変換器の一実施の形態の構成を示すブロック図である。
【図2】本発明の電流信号変換器における制御部の動作を示すフローチャートである。
【図3】電源を備えないセンサを電流信号変換器に接続する従来例を示す図である。
【符号の説明】
1:電流信号変換器、2:第1の電流入力回路、3:第2の電流入力回路、11:センサ、12a,12b:センサ接続部、14:第1の切替スイッチ(14U:上側スイッチ、14L:下側スイッチ)、15,16:抵抗器、17,18:差動増幅器、19:第2の切替スイッチ、20:A/D変換器、21:制御部、22:記憶部、23:センサ用電源
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a current signal converter for interfacing an analog current signal from a sensor.
[0002]
[Prior art]
In a DDC (Direct Digital Control), a sequencer, or the like, an analog signal from a sensor such as a flow meter is captured. For example, in Patent Document 1, it is determined whether an input analog signal is a voltage input or a current input, and a voltage is input from an external device such as a sensor by switching to a voltage input circuit or a current input circuit and inputting the signal. There has been proposed an analog module of a programmable controller that can be connected to a correct circuit regardless of whether an input or a current input is input.
[0003]
[Patent Document 1] Japanese Patent Application Laid-Open No. 2002-333906
[Problems to be solved by the invention]
There are sensors that have a built-in power supply and those that receive power supply from the outside.In recent years, with the downsizing of the sensor, the sensor unit does not have a power supply and the sensor is supplied with power from the outside. Sensors are often found particularly in sensors that output current signals.
FIG. 3A is a diagram showing the connection of a sensor without a power source, 31 is a sensor without a power source, 32 is a DC power source serving as an external power source for the sensor 31, and 33 is an output current from the sensor. It is an input current signal converter.
As shown in this figure, between the two terminals of the sensor 31, an external power source 32 for the sensor 31 and a load resistor R for converting the current contained in the current signal converter 33 into a voltage are connected in series. Has been. As a result, the current signal output line from the sensor and the power supply line for supplying power to the sensor are shared, and only two lines are required (two-wire type). In addition, what has the power supply line from the outside separately is called the 3-wire type or the 4-wire type.
[0005]
FIG. 3B is a diagram illustrating an example of wiring in the case where a plurality of sensors including the above-described two-wire sensor and a sensor incorporating a power source are connected to the current signal converter.
In this figure, 41 and 42 are the above-described two-wire sensors, 43 is a built-in power source and does not need to supply power from the outside, 44 is an external power source for the sensors 41 and 42, 45 is a relay terminal, 46 Is a current signal converter (control of a sequencer or the like) having three ports (two terminals for inputting signals from the sensors) so that current signals from the three sensors (41, 42, 43) are inputted. Device).
As shown in this figure, for the sensors 41 and 42 that do not have a power source, an external power source 44 and a relay terminal 45 for the sensor are separately prepared, and as shown in the figure, the external power source 44, the relay terminal 45, and the current signal converter. Since a complicated wiring work is required between 46, a great amount of man-hours are required for the wiring work and the wiring check. Furthermore, the sensors 41 and 42 with a built-in power supply and the sensor 43 without a power supply have different wiring methods. There was a problem that wiring was likely to occur.
[0006]
Accordingly, an object of the present invention is to provide a current signal converter that can simplify wiring processing between a sensor and a current signal converter, reduce erroneous wiring, and facilitate wiring check.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a current signal converter of the present invention is a current signal converter to which an analog current output from a sensor is input, and includes two terminals connected to the sensor, and a sensor power supply. A first current input circuit having a single input terminal and having a resistor connected between the input terminal and ground, and having two input terminals connected between the input terminals A second current input circuit having a connected resistor, an analog-to-digital converter, and in the first state, two terminals connected to the sensor are connected to the two inputs of the second current input circuit. In the second state, one of the two terminals connected to the sensor is connected to the sensor power supply, and the other is connected to the input terminal of the first current input circuit. 1 changeover switch, and in the first state, the second current input circuit A second changeover switch for connecting an output to an input of the analog-to-digital converter and, in a second state, connecting an output of the second current input circuit to an input of the analog-to-digital converter; and the analog-to-digital conversion And a controller that controls the first changeover switch and the second changeover switch based on the output of the device.
Further, the control unit requires that the connected sensor needs to be supplied with power based on the output of the analog-digital converter when the states of the first changeover switch and the second changeover switch are changed. And a function for storing the determination result. When the power is turned on, the first changeover switch and the first switch are selected according to the stored determination result. The state of the changeover switch 2 is set.
Further, a plurality of ports made up of two terminals connected to the sensor are provided so that a plurality of sensors can be connected.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing a configuration of an embodiment of a current signal converter of the present invention.
In this figure, 1 is a current signal converter of the present invention, and 11 is a sensor.
The sensor 11 outputs a current that matches the current measurement value in the measurement range of the sensor. Here, in sensors such as temperature, humidity, pressure, etc., the current output on the sensor side employs a 4 to 20 mA current signal so that it can easily interface with other control devices, and the sensor 11 in the present embodiment. The current output is assumed to be an analog signal of 4 to 20 mA.
In the current signal converter 1, 12a and 12b are sensor connection parts (terminals or connectors), the + terminal of the sensor 11 is connected to the sensor connection part 12a, and the-terminal of the sensor 11 is connected to the sensor connection part 12b.
Reference numeral 14 denotes a first changeover switch for switching a circuit to which the sensor connecting portions 12a and 12b are connected. The upper contact 14U having a fixed contact connected to the sensor connecting portion 12a and the fixed contact connected to the sensor connecting portion 12b. There are two interlocking changeover switches of the lower switch 14L.
[0009]
Reference numeral 2 denotes a first current input circuit, which is composed of a differential amplifier 17 and a resistor 15 connected between its non-inverting input and ground as shown in the figure. The a contact of the upper switch 14U and the b contact of the lower switch 14L are connected to the input of the first current input circuit 2, that is, the non-inverting input of the differential amplifier 17.
Further, reference numeral 3 denotes a second current input circuit, which comprises a differential amplifier 18 and a resistor 16 connected between its non-inverting input and its inverting input as shown in the figure. The a contact of the upper switch 14U and the b contact of the lower switch 14L are connected to one input terminal of the second current input circuit 3 (the non-inverting input of the differential amplifier 18), and the lower switch The contact b of the switch 14L is connected to the other input terminal of the second current input circuit 3 (the inverting input of the differential amplifier 18).
Reference numeral 19 denotes a second changeover switch. As shown in the figure, a b-contact connected to the output of the first current input circuit 2 (the output of the differential amplifier 17), and the second current input circuit 3 A contact connected to the output of the differential amplifier 18 (the output of the differential amplifier 18), and the first current input circuit 2 and the second current input to the input of the analog-digital converter (A / D converter) 20 The output of the current input circuit 3 is selected and supplied.
[0010]
A control unit 21 controls switching between the first changeover switch 14 and the second changeover switch 19. Reference numeral 22 denotes a storage unit that is provided in the control unit 21 and stores a determination result as to whether or not a connected sensor needs to supply power. The storage unit 22 is a non-volatile storage unit that does not lose the stored information even when the power of the current signal converter 1 is turned off.
Further, reference numeral 23 denotes a DC power supply circuit serving as an external power supply for the sensor 11, and its + output is connected to the b contact of the upper switch 14U of the first changeover switch 14.
[0011]
The operation of the control unit 21 in the current signal converter 1 of the present invention configured as described above will be described with reference to the flowchart of FIG.
When the power is turned on, first, it is determined whether or not information related to the sensor 11 connected to the port including the sensor connection units 12a and 12b is stored in the storage unit 22 (S1).
As a result, when information is not stored in the storage unit 22, the process proceeds to step S2, and the first changeover switch 14 and the second changeover switch 19 are set to the a side. As a result, the output of the sensor 11 is connected to both ends of the resistor 16 of the second current input circuit 3, and the output signal of the sensor 11 forms a closed circuit with the second current input circuit. At this time, the voltage appearing at both ends of the resistor 16 is amplified by the differential amplifier 18 and input to the A / D converter 20 through the second changeover switch 19. The output of the A / D converter 20 is read by the control unit 21.
[0012]
Next, proceeding to step S3, whether or not the output of the A / D converter 20 is a value within a predetermined range, that is, a value corresponding to a current in the range of 4 to 20 mA output from the sensor 11. Determined.
When the value is within a predetermined range, it can be determined that the sensor 11 is a sensor with a built-in power supply, and the changeover switches 14 and 19 are kept in the same state to perform normal operation, and the storage unit The information which shows that the sensor 11 is a sensor with a built-in power supply is memorize | stored in 22 (step S4).
[0013]
On the other hand, when the output of the A / D converter 20 is lower than a predetermined value (a value corresponding to 4 to 20 mA of the sensor), it is determined that the sensor 11 is a sensor having no power source. The first and second changeover switches 14 and 19 are connected to the b side (step S5).
Accordingly, the positive terminal of the sensor power supply 23, the b contact of the upper switch 14U of the first changeover switch, the sensor connection part 12a, the sensor 11 +, the sensor 11-, the sensor connection part 12b, and the lower switch 14L A closed circuit connected to the b contact, the resistor 15 of the first current input circuit 2, the ground, and the negative terminal of the sensor power supply 23 is configured. As a result, power is supplied from the power source 23 to the sensor 11, and a direct current (4 to 20 mA) that matches the measurement range of the sensor 11 is output from the sensor 11 to which the power is supplied. The voltage generated at both ends is amplified by the differential amplifier 17 and input to the A / D converter 20 through the b contact of the second changeover switch 19.
[0014]
The control unit 21 reads the output of the A / D converter 20 and determines whether or not the value is a value within the predetermined range (a value corresponding to 4 to 20 mA of the sensor 11) (step). S6).
As a result, when the value is within a predetermined range, it can be determined that the sensor 11 is a sensor that does not include an internal power source, and the normal operation is performed while maintaining the state of the changeover switches 14 and 19 as they are. Information indicating that the sensor 11 is not provided with an internal power supply is stored in the storage unit 22 (step S7).
On the other hand, when the output of the A / D converter 20 is not a value within the predetermined range, it is determined that the sensor 11 is not connected, and information indicating that the sensor is not connected to the storage unit 22. Remember.
[0015]
In step S1 executed when the power is turned on, if the sensor state is stored in the storage unit 22, the process proceeds to step S9, and the states of the changeover switches 14 and 19 are controlled according to the stored contents. To do. First, when the sensor 11 is not connected to the stored content, the process proceeds to step S2, and as in the case where there is no stored information, the changeover switches 14 and 19 are switched so that the sensor 11 has an internal power It is determined whether a power source is required, and processing for storing the result in the storage unit 22 is performed.
Further, when information indicating that the sensor 11 does not need to supply power is stored in the storage unit 22, the changeover switches 14 and 19 are connected to the a side, and an output signal from the sensor 11 is stored. Is processed using the second current input circuit 3 (step S10).
On the other hand, when information indicating that the sensor 11 needs to supply power is stored in the storage unit 22, the selector switches 14 and 19 are connected to the b side, and the sensor power source 23 is connected. Is output to the sensor 11, and the signal from the sensor 11 is processed using the first current input circuit 2 (step S11).
Thus, the state of the sensor (whether the sensor is provided with an internal power supply, is not provided with an internal power supply, or is not connected to the port) is stored in the storage unit 22. Therefore, the state of the changeover switch can be set to an appropriate state when the power is turned on.
[0016]
Note that the current signal converter described above is used to determine whether the sensor 11 has an internal power supply or an external power supply when the storage unit 22 stores that the sensor 11 is not connected. In addition to the case where the power of 1 is turned on, it may be implemented by a switch or the like, or if the current signal converter 1 has a communication function, for example, from a device having an operation unit on the network. You may make it process with a communication command.
Further, the storage information of the connection state of the sensor 11 may be displayed on the display unit of the current signal converter 1, or if the current signal converter 1 has a communication function, it can be referred to through a network. Good.
[0017]
In addition, although the sensor 11 showed the connection form of 1 point in the current signal converter 1 of FIG. 1, if the A / D converter has 8 channels, for example, an 8 point sensor can be connected. It may be. That is, a plurality of ports including the sensor connecting portions 12a and 12b, the first changeover switch 14, the first current input circuit 2 and the second current input circuit 3 are provided according to the sensor to be connected, A plurality of sensors can be processed.
In the above description, the output signal from the sensor has been described as being a 4 to 20 mA current signal. However, the present invention can also be applied to other current values.
The changeover switches 14 and 19 may be analog switches.
[0018]
【The invention's effect】
According to the current signal converter of the present invention, a sensor that does not require an external power supply and a sensor that does not need to have only one-to-one connection between the current signal output terminal of the sensor and the input terminal of the current signal converter. There is no need for the complicated wiring work of the external power supply, sensor, and current signal converter as in the past, there are few mistakes in wiring, wiring check is easy, and workability of wiring connection between sensor and current signal converter is easy. Has the effect of improving.
In addition, since an external power source and a relay terminal are not required, a device incorporating these sensors and current signal converters can be made compact and inexpensive.
Furthermore, when a port for connecting a plurality of sensors to the current signal converter is provided, the unit price per point can be reduced, and the volume of the converter per point can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of a current signal converter of the present invention.
FIG. 2 is a flowchart showing an operation of a control unit in the current signal converter of the present invention.
FIG. 3 is a diagram showing a conventional example in which a sensor without a power source is connected to a current signal converter.
[Explanation of symbols]
1: current signal converter, 2: first current input circuit, 3: second current input circuit, 11: sensor, 12a, 12b: sensor connection unit, 14: first changeover switch (14U: upper switch, 14L: lower switch), 15, 16: resistor, 17, 18: differential amplifier, 19: second changeover switch, 20: A / D converter, 21: control unit, 22: storage unit, 23: Sensor power supply

Claims (3)

センサから出力されるアナログ電流が入力される電流信号変換器であって、
センサに接続される2個の端子と、
センサ用電源と、
単一の入力端子を有し、該入力端子と接地との間に接続された抵抗器を有する第1の電流入力回路と、
2個の入力端子を有し、該入力端子間に接続された抵抗器を有する第2の電流入力回路と、
アナログデジタル変換器と、
第1の状態では、前記センサに接続される2個の端子を前記第2の電流入力回路の前記2個の入力端子に接続し、第2の状態では、前記センサに接続される2個の端子のうちの一方を前記センサ用電源に接続し、他方を前記第1の電流入力回路の入力端子に接続する第1の切替スイッチと、
第1の状態では、前記第2の電流入力回路の出力を前記アナログデジタル変換器の入力に接続し、第2の状態では、前記第2の電流入力回路の出力を前記アナログデジタル変換器の入力に接続する第2の切替スイッチと、
前記アナログデジタル変換器の出力に基づいて前記第1の切替スイッチ及び前記第2の切替スイッチを切り替え制御する制御部とを有することを特徴とする電流信号変換器。
A current signal converter to which an analog current output from a sensor is input,
Two terminals connected to the sensor;
A power supply for the sensor;
A first current input circuit having a single input terminal and having a resistor connected between the input terminal and ground;
A second current input circuit having two input terminals and having a resistor connected between the input terminals;
An analog-to-digital converter,
In the first state, two terminals connected to the sensor are connected to the two input terminals of the second current input circuit. In the second state, two terminals connected to the sensor are connected. A first changeover switch that connects one of the terminals to the sensor power supply and the other to the input terminal of the first current input circuit;
In the first state, the output of the second current input circuit is connected to the input of the analog-digital converter, and in the second state, the output of the second current input circuit is input to the analog-digital converter. A second changeover switch connected to
A current signal converter comprising: a control unit that switches and controls the first changeover switch and the second changeover switch based on an output of the analog-digital converter.
前記制御部は、前記第1の切替スイッチ及び前記第2の切替スイッチの状態を切替えたときの前記アナログデジタル変換器の出力に基づいて、接続されているセンサが電源の供給を必要とするものであるか否かを判定する機能と、該判定結果を記憶する機能を有するものであり、
電源投入時に、該記憶されている判定結果に応じて、前記第1の切替スイッチ及び前記第2の切替スイッチの状態を設定するようになされていることを特徴とする請求項1記載の電流信号変換器。
The controller is configured such that the connected sensor requires power supply based on the output of the analog-digital converter when the state of the first changeover switch and the second changeover switch is changed. Having a function of determining whether or not and a function of storing the determination result,
2. The current signal according to claim 1, wherein when the power is turned on, the states of the first changeover switch and the second changeover switch are set according to the stored determination result. converter.
複数のセンサを接続することができるように、前記センサに接続される2個の端子からなるポートを複数備えていることを特徴とする請求項1又は2に記載の電流信号変換器。3. The current signal converter according to claim 1, comprising a plurality of ports including two terminals connected to the sensors so that a plurality of sensors can be connected. 4.
JP2003198245A 2003-07-17 2003-07-17 Current signal converter Pending JP2005038075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003198245A JP2005038075A (en) 2003-07-17 2003-07-17 Current signal converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003198245A JP2005038075A (en) 2003-07-17 2003-07-17 Current signal converter

Publications (1)

Publication Number Publication Date
JP2005038075A true JP2005038075A (en) 2005-02-10

Family

ID=34208078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003198245A Pending JP2005038075A (en) 2003-07-17 2003-07-17 Current signal converter

Country Status (1)

Country Link
JP (1) JP2005038075A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026639A (en) * 2008-07-16 2010-02-04 Denso Wave Inc Security control device and sensor decision method for security control device
JP2010060351A (en) * 2008-09-02 2010-03-18 Yokogawa Electric Corp Signal input circuit
JP2014142740A (en) * 2013-01-23 2014-08-07 Koyo Electronics Ind Co Ltd Signal input device
JP2016025596A (en) * 2014-07-23 2016-02-08 アズビル株式会社 Universal input module

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026639A (en) * 2008-07-16 2010-02-04 Denso Wave Inc Security control device and sensor decision method for security control device
JP2010060351A (en) * 2008-09-02 2010-03-18 Yokogawa Electric Corp Signal input circuit
JP2014142740A (en) * 2013-01-23 2014-08-07 Koyo Electronics Ind Co Ltd Signal input device
JP2016025596A (en) * 2014-07-23 2016-02-08 アズビル株式会社 Universal input module

Similar Documents

Publication Publication Date Title
JP2002024979A (en) Multifunctional absolute converter
JP2007333574A (en) Sensing device
JP4350458B2 (en) Signal input device
JP2005038075A (en) Current signal converter
CN109709373B (en) Signal self-adaptive acquisition circuit and acquisition method
KR100798280B1 (en) Temperature multi loop controller and control method thereof
JP4223697B2 (en) Programmable controller analog module
JP2008014648A (en) Measuring instrument
JP2017198564A (en) Connection terminal for physical quantity detection sensors and physical quantity measurement device
JP4357755B2 (en) Signal input circuit
JPS5931050Y2 (en) variable resistance device
JPH04294501A (en) Potentiometer
JPH0330959Y2 (en)
JP4380906B2 (en) Power supply voltage / current setting display device
JPH05127983A (en) Semiconductor integrated circuit
JP4902476B2 (en) Analog signal input device
KR100374862B1 (en) Circuit for controlling failure of MICOM
JPH1151778A (en) Analog input circuit
JPH10198883A (en) Connector for sensor
JPH0631826Y2 (en) 2-wire signal transmitter
JP3099689B2 (en) Fieldbus interface circuit
JP2852829B2 (en) Process control equipment
JPH0739123U (en) AD converter
JP4048404B2 (en) Level modulator
JPH10111183A (en) Differential temperature measuring apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090127

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090602