JPH07295608A - Input circuit - Google Patents

Input circuit

Info

Publication number
JPH07295608A
JPH07295608A JP10590794A JP10590794A JPH07295608A JP H07295608 A JPH07295608 A JP H07295608A JP 10590794 A JP10590794 A JP 10590794A JP 10590794 A JP10590794 A JP 10590794A JP H07295608 A JPH07295608 A JP H07295608A
Authority
JP
Japan
Prior art keywords
current
input circuit
coupling means
switch
input
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
JP10590794A
Other languages
Japanese (ja)
Inventor
Kengo Ueki
健五 植木
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP10590794A priority Critical patent/JPH07295608A/en
Publication of JPH07295608A publication Critical patent/JPH07295608A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To provide the input circuit which is small in power consumption and generated heat and where a contact switch and a noncontact switch can be connected. CONSTITUTION:A switching transistor(TR) 3, an inductor 4, a current detection resistance 16, and a photocoupler 1 are connected in series between an external power terminal POW and an external input terminal IN, and a flywheel diode 13 is connected between an external common terminal COM and an inductor 14. When the switch TR 3 is ON, a current flows from a power source 21 for input to a detection switch 20 through the switching TR 3, inductor 14, current detection resistance 16, and photocoupler 1 and when OFF, a current flows by the self-induction of the inductor 14 from the external common terminal COM to the detection switch 20 through the flywheel diode 13, inductor 14, current detection resistance 16, and photocoupler 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、外部スイッチの状態を
内部回路に入力する入力回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input circuit for inputting the state of an external switch to an internal circuit.

【0002】[0002]

【従来の技術】被制御機器の動作をシーケンシャルに制
御するためにプログラマブルコントローラが用いられ
る。このプログラマブルコントローラは、被制御機器の
動作状況、入力操作などを示す外部スイッチの状態を内
部回路に入力する入力回路を有している。
2. Description of the Related Art A programmable controller is used to sequentially control the operation of controlled equipment. This programmable controller has an input circuit for inputting to an internal circuit the state of an external switch that indicates the operating status of the controlled device and the input operation.

【0003】図4は従来のプログラマブルコントローラ
の入力回路の一例を示す回路図である。実際のプログラ
マブルコントローラには複数の外部スイッチに対応して
複数の入力回路が設けられているが、図4には1つの入
力回路300のみを示す。
FIG. 4 is a circuit diagram showing an example of an input circuit of a conventional programmable controller. Although an actual programmable controller is provided with a plurality of input circuits corresponding to a plurality of external switches, FIG. 4 shows only one input circuit 300.

【0004】入力回路300において、外部入力端子I
Nと外部共通端子COMとの間に直列抵抗31およびフ
ォトカプラ30の発光素子30aが直列に接続され、フ
ォトカプラ30に並列に並列抵抗32が接続されてい
る。フォトカプラ30の受光素子30bのコレクタは内
部回路の入力読み取り回路へ接続され、かつプルアップ
抵抗33を介して内部電源端子に接続されている。この
入力回路300の外部入力端子INと外部共通端子CO
Mとの間には検出スイッチ34および入力用電源35が
直列に接続されている。
In the input circuit 300, the external input terminal I
A series resistor 31 and a light emitting element 30a of the photocoupler 30 are connected in series between N and the external common terminal COM, and a parallel resistor 32 is connected in parallel to the photocoupler 30. The collector of the light receiving element 30b of the photocoupler 30 is connected to the input reading circuit of the internal circuit and is also connected to the internal power supply terminal via the pull-up resistor 33. The external input terminal IN of the input circuit 300 and the external common terminal CO
A detection switch 34 and an input power source 35 are connected in series with M.

【0005】検出スイッチ34の接点が閉じると、電流
が入力用電源35からフォトダイオード30および並列
抵抗32に分流し、さらに直列抵抗31に流れる。この
場合、フォトカプラ30の発光素子30aに十分な電流
が流れて発光素子30aが発光する。それにより、フォ
トカプラ30の受光素子30bがオンし、プルアップ抵
抗33に電流が流れる。このようにして、検出スイッチ
34と電気的に絶縁された内部回路で入力信号を読み取
ることができる。
When the contact of the detection switch 34 is closed, a current is shunted from the input power source 35 to the photodiode 30 and the parallel resistor 32, and further to the series resistor 31. In this case, a sufficient current flows through the light emitting element 30a of the photocoupler 30 and the light emitting element 30a emits light. As a result, the light receiving element 30b of the photocoupler 30 is turned on, and a current flows through the pull-up resistor 33. In this way, the input signal can be read by the internal circuit electrically insulated from the detection switch 34.

【0006】ここで、直列抵抗31の抵抗値をR1と
し、並列抵抗32の抵抗値をR2とすると、抵抗値R1
および抵抗値R2は次のことを考慮して決定される。
Assuming that the resistance value of the series resistor 31 is R1 and the resistance value of the parallel resistor 32 is R2, the resistance value R1
And the resistance value R2 is determined in consideration of the following.

【0007】まず、入力用電源35の電圧Eは通常24
Vであるが、その電圧には公差範囲がある。この公差範
囲の最大値をEMAX とし、最小値をEMIN とする。次
に、検出スイッチ34としては、リミットスイッチ等の
有接点スイッチ、および高周波近接スイッチ等の無接点
スイッチが用いられる。
First, the voltage E of the input power source 35 is usually 24
V, but the voltage has a tolerance range. The maximum value of this tolerance range is E MAX , and the minimum value is E MIN . Next, as the detection switch 34, a contact switch such as a limit switch and a non-contact switch such as a high frequency proximity switch are used.

【0008】有接点スイッチおよび無接点スイッチの共
通の性質は、オン時に規定された最低電流IND以上の電
流を供給しなければ正常に動作しないことである。検出
スイッチ34に必要な最低電流INDは通常5〜10mA
である。一方、異なった性質としては、有接点スイッチ
ではオフ時漏れ電流IMIN およびオン時残留電圧VMIN
を実質的にゼロとみなすことができるが、無接点スイッ
チ特に二線式近接スイッチではオフ時漏れ電流IMIN
よびオン時残留電圧VMIN を無視することができない。
The common property of the contact switch and the contactless switch is that they do not operate normally unless a current equal to or more than the minimum current I ND specified at the time of turning on is supplied. The minimum current I ND required for the detection switch 34 is usually 5 to 10 mA.
Is. On the other hand, the different properties are that the contact switch has a leakage current I MIN at the off time and a residual voltage V MIN at the on time.
Can be regarded as substantially zero, but in a non-contact switch, especially in a two-wire proximity switch, the off-state leakage current I MIN and the on-state residual voltage V MIN cannot be ignored.

【0009】すなわち、入力用電源35の電圧が最小値
MIN の場合、二線式近接スイッチのオン時に、入力回
路300に印加される電圧がその二線式近接スイッチに
よりオン時残留電圧VMIN だけ減少しても、入力回路3
00がオン状態を正しく検出できる必要がある。そのた
め、入力回路300に十分な電流が流れるように、直列
抵抗31の抵抗値R1はある値以下に制限される。直列
抵抗31の抵抗値R1は、例えば4.3KΩに設定され
る。
That is, when the voltage of the input power source 35 is the minimum value E MIN , the voltage applied to the input circuit 300 when the two-wire proximity switch is turned on is the on-state residual voltage V MIN due to the two-wire proximity switch. Input circuit 3
00 must be able to correctly detect the ON state. Therefore, the resistance value R1 of the series resistor 31 is limited to a certain value or less so that a sufficient current flows through the input circuit 300. The resistance value R1 of the series resistor 31 is set to 4.3 KΩ, for example.

【0010】また、二線式近接スイッチのオフ時には、
オフ時漏れ電流IMIN が流れていても、入力回路300
がオフ状態を検出しなければならない。そのため、並列
抵抗32の電圧降下がフォトカプラ30の発光素子30
aに電流が流れ始める電圧よりも低くなるように、並列
抵抗32の抵抗値R2はある値以下制限される。フォト
カプラ30の発光素子30aに電流が流れ始める電圧は
1V程度であり、並列抵抗32の抵抗値R2は例えば4
30Ωに設定される。
When the two-wire proximity switch is off,
Even if the leakage current I MIN at the time of off is flowing, the input circuit 300
Must detect the off state. Therefore, the voltage drop of the parallel resistor 32 causes the light emitting element 30 of the photocoupler 30.
The resistance value R2 of the parallel resistor 32 is limited to a certain value or less so that it becomes lower than the voltage at which a current starts flowing in a. The voltage at which a current starts to flow in the light emitting element 30a of the photocoupler 30 is about 1 V, and the resistance value R2 of the parallel resistor 32 is, for example, 4V.
It is set to 30Ω.

【0011】上記のように、入力用電源35の電圧Eは
通常24Vであり、検出スイッチ34に必要な最低電流
NDは通常5〜10mAであるので、図4の入力回路3
00の内部で発生する電力損失は約120〜240mW
である。この状態でも検出スイッチ34のオン時にある
程度の熱が発生している。一方、検出スイッチ34とし
て有接点スイッチが用いられ、かつ入力用電源35の電
圧が最大値EMAX の場合に、有接点スイッチがオンして
いると、直列抵抗31および並列抵抗32に最大の電圧
が印加されることになり、上記の状態よりも多くの熱が
発生する。
As described above, the voltage E of the input power source 35 is usually 24 V, and the minimum current I ND required for the detection switch 34 is usually 5 to 10 mA. Therefore, the input circuit 3 of FIG.
The power loss generated inside 00 is about 120 to 240 mW
Is. Even in this state, a certain amount of heat is generated when the detection switch 34 is turned on. On the other hand, when the contact switch is used as the detection switch 34 and the voltage of the input power supply 35 has the maximum value E MAX , the maximum voltage is applied to the series resistor 31 and the parallel resistor 32 when the contact switch is turned on. Will be applied, and more heat will be generated than in the above state.

【0012】通常、プログラマブルコントローラは多数
個の入力回路を持っているので、従来の入力回路では発
熱量が多いにもかかわらず、低コスト化等のために、自
然空冷を採用し、樹脂成形品を用いたケースに収納され
る。そのため、抵抗素子からの発熱を拡散して密度を低
下させることにより温度上昇を許容範囲内に収めるだけ
のケース容量を確保しなければならない。したがって、
装置の小型化の要求が多いにもかかわらず、それには限
界があった。
Since a programmable controller usually has a large number of input circuits, natural air cooling is adopted for cost reduction and the like even though a conventional input circuit generates a large amount of heat, and a resin molded product is used. It is stored in a case using. Therefore, it is necessary to secure the case capacitance enough to keep the temperature rise within the allowable range by diffusing the heat generated from the resistance element and reducing the density. Therefore,
Although there are many demands for miniaturization of the device, it has its limits.

【0013】そこで、入力回路の内部消費電力および発
熱量を抑制するために、次のような種々の技術が提案さ
れている。
Therefore, in order to suppress the internal power consumption and the heat generation amount of the input circuit, the following various techniques have been proposed.

【0014】特開昭59−68007号には、電源と外
部共通端子との間に給電スイッチ回路を設け、この給電
スイッチ回路を一定時間だけ導通させるようにした入力
装置が開示されている。特開昭59−68009号に
は、電源と外部共通端子との間に給電スイッチ回路を設
け、この給電スイッチ回路を一定時間ずつ間欠的に導通
させるようにした入力装置が開示されている。実開昭6
1−159884号には、入力回路に動作を保証する電
圧を常時印加し、スイッチに接触を保証する電圧を断続
的に印加するシーケンサの入力専用電源回路が開示され
ている。
Japanese Unexamined Patent Publication No. 59-68007 discloses an input device in which a power supply switch circuit is provided between a power source and an external common terminal, and the power supply switch circuit is conducted for a fixed time. Japanese Unexamined Patent Publication No. 59-68009 discloses an input device in which a power supply switch circuit is provided between a power supply and an external common terminal, and the power supply switch circuit is intermittently conducted for a fixed time. Actual Kaisho 6
No. 1-159884 discloses an input-only power supply circuit for a sequencer, which constantly applies a voltage that guarantees an operation to an input circuit and intermittently applies a voltage that guarantees a contact to a switch.

【0015】実開昭63−81421号には、入力電流
を高速で断続するように構成された入力回路が開示され
ている。実開昭63−147701号には、スイッチン
グ素子を用いて入力取込みタイミングのみ入力電流を供
給するように構成された入力回路が開示されている。特
開平5−173611号には、直流電源の供給を断続的
に行わせる開閉手段を電源供給路に設けた入力回路が開
示されている。
Japanese Utility Model Laid-Open No. 63-81421 discloses an input circuit configured to interrupt an input current at high speed. Japanese Utility Model Application Laid-Open No. 63-147701 discloses an input circuit configured to supply an input current only at an input fetch timing using a switching element. Japanese Patent Application Laid-Open No. 5-173611 discloses an input circuit in which an opening / closing means for intermittently supplying a DC power supply is provided in a power supply path.

【0016】上記の技術の共通点は、入力回路への電力
供給を断続的にすることにより、入力回路に流れる電流
を定格電流値と0または低い電流値との2段階に切り替
えることである。これにより、入力回路における時間当
たりの平均電力損失および発熱量が低減され、あるい
は、同時にオン状態にしてもよい入力点数が増加する。
The common point of the above techniques is to intermittently supply power to the input circuit to switch the current flowing through the input circuit in two steps, that is, the rated current value and 0 or a low current value. As a result, the average power loss per unit time and the amount of heat generated in the input circuit are reduced, or the number of input points that can be turned on at the same time is increased.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、上記の
従来技術のいずれにおいても、入力回路に接続される検
出スイッチとしては有接点スイッチのみが用いられてお
り、二線式近接スイッチ等の無接点スイッチは考慮され
ていない。
However, in any of the above-mentioned prior arts, only the contact switch is used as the detection switch connected to the input circuit, and the contactless switch such as the two-wire proximity switch is used. Is not considered.

【0018】無接点スイッチは、検出回路等の電子回路
で構成されており、この電子回路には所定の電流および
電圧を供給する必要がある。三線式無接点スイッチは、
電子回路に電力を供給するための専用の電源端子を有し
ており、電子回路は入力回路に接続される入力用電源と
は別の直流電源により動作する。しかし、二線式無接点
スイッチは、電子回路に電源を供給するための専用の電
源端子を有さないので、電子回路は入力回路に接続され
る入力用電源により動作することになる。そのため、上
記の従来技術において検出スイッチとして二線式無接点
スイッチを用いた場合、供給される電流および電圧が断
続的になるので、電子回路に所定の電流および電圧が供
給されなくなって誤動作する可能性がある。
The contactless switch is composed of an electronic circuit such as a detection circuit, and it is necessary to supply a predetermined current and voltage to this electronic circuit. The three-wire type solid state switch is
The electronic circuit has a dedicated power supply terminal for supplying electric power to the electronic circuit, and the electronic circuit is operated by a DC power supply different from the input power supply connected to the input circuit. However, since the two-wire type contactless switch does not have a dedicated power supply terminal for supplying power to the electronic circuit, the electronic circuit is operated by the input power supply connected to the input circuit. Therefore, when the two-wire non-contact switch is used as the detection switch in the above-mentioned conventional technique, the supplied current and voltage are intermittent, and the predetermined current and voltage are not supplied to the electronic circuit, which may cause malfunction. There is a nature.

【0019】また、無接点スイッチにおいては、電源投
入時に電子回路の各部がしばらくの間不安定な状態にあ
る。そのため、この不安定な状態の間には、本来検出状
態でないのに検出出力が導出されることがある。そこ
で、検出状態でないにもかかわらず検出出力が導出され
ることを防止するために、電源投入リセット回路を装備
した無接点スイッチがある。この電源投入リセット回路
を有する無接点スイッチでは、電源投入後の一定時間は
検出不能となる。
Further, in the contactless switch, each part of the electronic circuit is in an unstable state for a while when the power is turned on. Therefore, during this unstable state, a detection output may be derived although it is not originally in the detection state. Therefore, there is a contactless switch equipped with a power-on reset circuit in order to prevent the detection output from being derived even in the non-detection state. A contactless switch having this power-on reset circuit cannot detect for a certain period of time after power-on.

【0020】電源投入リセット回路を有する二線式無接
点スイッチを検出スイッチとして用いた場合、従来技術
のように入力回路への電力供給を断続すると、その断続
ごとに電源投入リセット回路が動作することになる。そ
のため、プログラマブルコントローラが高速に入力状態
を読み取ることができない。
When a two-wire non-contact switch having a power-on reset circuit is used as a detection switch, if the power supply to the input circuit is interrupted as in the prior art, the power-on reset circuit operates at each interruption. become. Therefore, the programmable controller cannot read the input state at high speed.

【0021】したがって、上記の従来技術では、二線式
近接スイッチ等の二線式無接点スイッチの状態を入力す
ることができる実用的なプログラマブルコントローラを
構成することは不可能である。
Therefore, it is impossible to construct a practical programmable controller capable of inputting the state of a two-wire type contactless switch such as a two-wire type proximity switch in the above-mentioned prior art.

【0022】それゆえに、本発明の目的は、消費電力お
よび発熱量が少なく、しかも有接点スイッチおよび無接
点スイッチの状態を入力することができる入力回路を提
供することである。
Therefore, an object of the present invention is to provide an input circuit which consumes less power and generates less heat and which can input the states of a contact switch and a non-contact switch.

【0023】[0023]

【課題を解決するための手段】[Means for Solving the Problems]

(1)第1の発明 第1の発明に係る入力回路は、外部スイッチの状態を結
合手段を介して内部回路に入力する入力回路において、
電源から結合手段を経由して外部スイッチに至る電流経
路にスイッチング手段および誘導素子を介挿するととも
に、結合手段に流れる電流を検出する電流検出手段およ
び電流検出手段により検出された電流に基づいてスイッ
チング手段をオンオフ制御する制御手段を設けたもので
ある。
(1) 1st invention The input circuit which concerns on 1st invention WHEREIN: In the input circuit which inputs the state of an external switch into an internal circuit via a coupling means,
The switching means and the inductive element are inserted in the current path from the power supply to the external switch via the coupling means, and the current detection means for detecting the current flowing through the coupling means and the switching based on the current detected by the current detection means The control means for controlling the on / off of the means is provided.

【0024】(2)第2の発明 第2の発明に係る入力回路は、第1の発明に係る入力回
路の構成において、結合手段が、電流経路に接続される
発光部および内部回路に接続される受光部からなる光結
合手段であり、誘導素子が、インダクタであることを特
徴とする。
(2) Second Invention In the input circuit according to the second invention, in the configuration of the input circuit according to the first invention, the coupling means is connected to the light emitting portion and the internal circuit connected to the current path. And an inductive element is an inductor.

【0025】(3)第3の発明 第3の発明に係る入力回路は、第1の発明に係る入力回
路の構成において、結合手段が、電流経路に接続される
一次巻線および内部回路に接続される二次巻線からなる
誘導結合手段であり、誘導素子が、誘導結合手段の一次
巻線であることを特徴とする。
(3) Third Invention In the input circuit according to the third invention, in the configuration of the input circuit according to the first invention, the coupling means is connected to the primary winding and the internal circuit connected to the current path. And an inductive element is a primary winding of the inductive coupling means.

【0026】(4)第4の発明 第4の発明に係る入力回路は、外部スイッチの状態を内
部回路に入力する入力回路であって、結合手段、スイッ
チング手段、制御手段および電力蓄積手段を備える。
(4) Fourth Invention An input circuit according to a fourth invention is an input circuit for inputting the state of an external switch to an internal circuit, and includes a coupling means, a switching means, a control means and a power storage means. .

【0027】結合手段は、電源から供給される電流に基
づいて外部スイッチの状態を内部回路に伝達する。スイ
ッチング手段は、電源から結合手段を経由して外部スイ
ッチに至る電流経路を接続および遮断する。制御手段
は、結合手段に供給される電流の値が所定の値となるよ
うにスイッチング手段をオンオフ制御する。電力蓄積手
段は、スイッチング手段のオン時に、電源から供給され
る電力を蓄積し、スイッチング手段のオフ時に、蓄積し
た電力により結合手段に電流を供給する。
The coupling means transmits the state of the external switch to the internal circuit based on the current supplied from the power source. The switching means connects and disconnects a current path from the power supply to the external switch via the coupling means. The control means controls ON / OFF of the switching means so that the value of the current supplied to the coupling means becomes a predetermined value. The power storage means stores the power supplied from the power source when the switching means is on, and supplies the current to the coupling means by the stored power when the switching means is off.

【0028】好ましい例として、結合手段は、電流経路
に介挿される発光部および内部回路に接続される受光部
からなる光結合手段であり、電力蓄積手段は、電流経路
に介挿される誘導素子である。別の好ましい例として、
結合手段は、電流経路に介挿される一次巻線および内部
回路に接続される二次巻線からなる誘導結合手段であ
り、電力蓄積手段は、誘導結合手段の一次巻線である。
[0028] As a preferred example, the coupling means is an optical coupling means composed of a light emitting portion inserted in the current path and a light receiving portion connected to the internal circuit, and the power storage means is an inductive element inserted in the current path. is there. As another preferred example,
The coupling means is an inductive coupling means composed of a primary winding inserted in a current path and a secondary winding connected to an internal circuit, and the power storage means is a primary winding of the inductive coupling means.

【0029】(5)第5の発明 第5の発明に係る入力回路は、第4の発明に係る入力回
路の構成において、スイッチング手段のオフ時に、外部
スイッチ、電力蓄積手段および結合手段を含む電流経路
を形成する電流経路形成手段をさらに備えたものであ
る。
(5) Fifth Invention In the input circuit according to the fifth invention, in the configuration of the input circuit according to the fourth invention, when the switching means is off, a current including an external switch, a power storage means and a coupling means is provided. It further comprises a current path forming means for forming a path.

【0030】[0030]

【作用】第1〜第3の発明に係る入力回路においては、
スイッチング手段のオン時には、電源から誘導素子を介
して結合手段に電流が供給され、スイッチング手段のオ
フ時には、誘導素子の自己誘導作用により結合手段に引
続き電流が流される。それにより、結合手段および外部
スイッチにほぼ一定の直流電流が流れる。
In the input circuit according to the first to third inventions,
When the switching means is on, a current is supplied from the power supply to the coupling means via the inductive element, and when the switching means is off, the self-induction action of the inductive element causes current to continue to flow through the coupling means. As a result, a substantially constant DC current flows through the coupling means and the external switch.

【0031】第2の発明に係る入力回路においては、ス
イッチング手段のオン時には、電源からインダクタを介
して光結合手段の発光部に電流が供給され、スイッチン
グ手段のオフ時には、インダクタの自己誘導作用により
光結合手段の発光部に引続き電流が流される。それによ
り、光結合手段の発光部にほぼ一定の直流電流が流れて
発光部が発光し、光結合手段の受光部にもほぼ一定の直
流電流が流れる。
In the input circuit according to the second aspect of the present invention, when the switching means is on, current is supplied from the power supply to the light emitting portion of the optical coupling means through the inductor, and when the switching means is off, the self-induction action of the inductor causes the current to flow. Current is subsequently applied to the light emitting portion of the optical coupling means. As a result, a substantially constant DC current flows through the light emitting portion of the optical coupling means, the light emitting portion emits light, and a substantially constant DC current also flows through the light receiving portion of the optical coupling means.

【0032】第3の発明に係る入力回路においては、ス
イッチング手段のオン時には、電源から誘導結合手段の
一次巻線に電流が供給され、スイッチング手段のオフ時
には、誘導結合手段の一次巻線の自己誘導作用によりそ
の一次巻線に引続き電流が流される。そして、誘導結合
手段の相互誘導作用により二次巻線にも電流が流れる。
In the input circuit according to the third aspect of the invention, when the switching means is on, current is supplied from the power supply to the primary winding of the inductive coupling means, and when the switching means is off, the self-winding of the primary winding of the inductive coupling means. Due to the inductive action, a current continues to flow through the primary winding. A current also flows in the secondary winding due to the mutual induction action of the inductive coupling means.

【0033】第4および第5の発明に係る入力回路にお
いては、外部スイッチのオン状態では、スイッチング手
段がオンし、電源から結合手段に電流が供給される。こ
のとき、電力蓄積手段には、電源からの電力の一部が蓄
積される。結合手段に流れる電流が増加して所定の値に
なると、制御手段によりスイッチング手段がオフにされ
る。それにより、電源から結合手段への電流経路が遮断
されるとともに、電力蓄積手段に蓄積された電力により
結合手段へ電流が供給される。結合手段に供給される電
流が減少して所定の値よりも低下すると、制御手段によ
りスイッチング手段がオンにされる。上記の動作を繰り
返すことにより、結合手段および外部スイッチに直流電
流が供給される。
In the input circuits according to the fourth and fifth aspects of the present invention, the switching means is turned on when the external switch is on, and the current is supplied from the power supply to the coupling means. At this time, a part of the power from the power source is stored in the power storage means. When the current flowing through the coupling means increases to a predetermined value, the switching means is turned off by the control means. As a result, the current path from the power source to the coupling means is cut off, and current is supplied to the coupling means by the electric power stored in the power storage means. When the current supplied to the coupling means decreases and drops below a predetermined value, the control means turns on the switching means. By repeating the above operation, a direct current is supplied to the coupling means and the external switch.

【0034】このように、スイッチング手段のオン時に
は、電源から結合手段に電流が供給されると同時に電力
の一部が電力蓄積手段に蓄積され、スイッチング手段の
オフ時には、電力蓄積手段に蓄積された電力により結合
手段に電流が供給されるので、電源から供給される電力
のほとんどが結合手段に電流を供給するために有効に用
いられ、電力がほとんど熱に変換されない。したがっ
て、入力回路の内部消費電力および発熱量が少なくな
る。しかも、外部スイッチには一定の直流電流が供給さ
れるので、外部スイッチとして、有接点スイッチのみな
らず、無接点スイッチを用いることができる。
As described above, when the switching means is turned on, a current is supplied from the power source to the coupling means, and at the same time, a part of the electric power is stored in the power storage means, and when the switching means is turned off, it is stored in the power storage means. Since the electric current supplies the coupling means with electric power, most of the electric power supplied from the power source is effectively used for supplying the electric current to the coupling means, and almost no electric power is converted into heat. Therefore, the internal power consumption and the heat generation amount of the input circuit are reduced. Moreover, since a constant direct current is supplied to the external switch, not only a contact switch but also a contactless switch can be used as the external switch.

【0035】特に、第5の発明に係る入力回路において
は、スイッチング手段のオフ時に、外部スイッチ、電力
蓄積手段および結合手段を含む電流経路が形成されるの
で、外部スイッチに供給される電流が一定の直流とな
る。
Particularly, in the input circuit according to the fifth aspect of the present invention, when the switching means is off, a current path including the external switch, the power storage means and the coupling means is formed, so that the current supplied to the external switch is constant. It becomes the direct current of.

【0036】[0036]

【実施例】以下、本発明の実施例を図面を参照しながら
詳細に説明する。図1は本発明の一実施例における入力
回路の構成を示す回路図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a circuit diagram showing the configuration of an input circuit according to an embodiment of the present invention.

【0037】図1の入力回路100において、外部入力
端子INとノードN1との間にフォトカプラ1の発光素
子1aが接続され、発光素子1aに並列に並列抵抗2が
接続されている。フォトカプラ1の受光素子1bのコレ
クタは、内部回路の入力読み取り回路に接続され、かつ
プルアップ抵抗19を介して内部電源端子に接続されて
いる。
In the input circuit 100 of FIG. 1, the light emitting element 1a of the photocoupler 1 is connected between the external input terminal IN and the node N1, and the parallel resistor 2 is connected in parallel to the light emitting element 1a. The collector of the light receiving element 1b of the photocoupler 1 is connected to the input reading circuit of the internal circuit and also connected to the internal power supply terminal via the pull-up resistor 19.

【0038】一方、外部電源端子POWとノードN2と
の間にスイッチングトランジスタ3が接続され、スイッ
チングトランジスタ3にはベース・エミッタ抵抗4およ
びベース抵抗5が接続されている。ベース抵抗5はトラ
ンジスタ6を介して外部共通端子COMに接続されてい
る。外部入力端子POWと外部共通端子COMとの間に
は平滑コンデンサ7が接続されている。
On the other hand, a switching transistor 3 is connected between the external power supply terminal POW and the node N2, and a base-emitter resistor 4 and a base resistor 5 are connected to the switching transistor 3. The base resistor 5 is connected to the external common terminal COM via the transistor 6. The smoothing capacitor 7 is connected between the external input terminal POW and the external common terminal COM.

【0039】また、外部電源端子POWとトランジスタ
6のベースとの間に起動用抵抗8が接続され、そのベー
スと外部共通端子COMとの間にトランジスタ9が接続
され、トランジスタ9のベースとトランジスタ6のコレ
クタとの間に帰還抵抗10が接続されている。トランジ
スタ9には、ベース・エミッタ抵抗11およびベース抵
抗12が接続されている。
A starting resistor 8 is connected between the external power supply terminal POW and the base of the transistor 6, a transistor 9 is connected between the base and the external common terminal COM, and the base of the transistor 9 and the transistor 6 are connected. A feedback resistor 10 is connected between the collector and the collector. A base / emitter resistor 11 and a base resistor 12 are connected to the transistor 9.

【0040】ノードN2と外部共通端子COMとの間に
フライホイールダイオード13が接続され、ノードN2
とノードN3との間にインダクタ14が接続され、ノー
ドN3と外部共通端子COMとの間に平滑コンデンサ1
5が接続されている。ノードN3は、電流検出トランジ
スタ17のエミッタに接続され、かつ電流検出抵抗16
を介してノードN1に接続されている。電流検出トラン
ジスタ17のベースはベース抵抗18を介してノードN
1に接続され、コレクタはトランジスタ9のベース抵抗
12に接続されている。
The flywheel diode 13 is connected between the node N2 and the external common terminal COM, and the flywheel diode 13 is connected to the node N2.
Inductor 14 is connected between node N3 and node N3, and smoothing capacitor 1 is connected between node N3 and external common terminal COM.
5 is connected. The node N3 is connected to the emitter of the current detection transistor 17 and also has the current detection resistor 16
Is connected to the node N1 via. The base of the current detection transistor 17 is connected to the node N via the base resistor 18.
1 and the collector is connected to the base resistor 12 of the transistor 9.

【0041】外部入力端子INと外部共通端子COMと
の間に、リミットスイッチ等の有接点スイッチまたは二
線式近接スイッチ等の無接点スイッチからなる検出スイ
ッチ20が接続され、外部電源端子POWと外部共通端
子COMとの間に入力用電源21が接続される。
A detection switch 20 including a contact switch such as a limit switch or a non-contact switch such as a two-wire proximity switch is connected between the external input terminal IN and the external common terminal COM, and is connected to the external power supply terminal POW and the outside. The input power supply 21 is connected to the common terminal COM.

【0042】この実施例においては、フォトカプラ1が
結合手段として働き、電流検出抵抗16および電流検出
トランジスタ18が制御手段として働く。また、インダ
クタ14が電力蓄積手段として働き、フライホイールダ
イオード13が電流経路形成手段として働く。
In this embodiment, the photocoupler 1 functions as a coupling means, and the current detection resistor 16 and the current detection transistor 18 function as a control means. Further, the inductor 14 functions as a power storage means, and the flywheel diode 13 functions as a current path forming means.

【0043】次に、図1の入力回路100の動作を図2
の波形図を参照しながら説明する。図2において、IC
はスイッチングトランジスタ3に流れる電流を表し、I
D はフライホイールダイオード13に流れる電流を表わ
す。VR は電流検出抵抗16の両端の電圧を表わし、V
B はスイッチングトランジスタ3のベース電圧を表わ
し、VN はノードN2の電圧を表わす。IS は検出スイ
ッチ20に流れる電流を表わす。
Next, the operation of the input circuit 100 of FIG. 1 will be described with reference to FIG.
This will be described with reference to the waveform chart of FIG. In FIG. 2, I C
Represents a current flowing through the switching transistor 3, and I
D represents the current flowing through the flywheel diode 13. V R represents the voltage across the current detection resistor 16, V
B represents the base voltage of the switching transistor 3 and V N represents the voltage of the node N2. I S represents the current flowing through the detection switch 20.

【0044】まず、入力用電源21から起動用抵抗8を
介してトランジスタ6のベースに電流が流れる。それに
より、トランジスタ6がオンし、スイッチングトランジ
スタ3もオンする。その結果、スイッチングトランジス
タ3のエミッタからコレクタへ電流IC が流れ、インダ
クタ14を通して平滑コンデンサ15を充電する。それ
により、平滑コンデンサ15の電圧が上昇していく。
First, a current flows from the input power source 21 to the base of the transistor 6 via the starting resistor 8. As a result, the transistor 6 turns on and the switching transistor 3 also turns on. As a result, a current I C flows from the emitter of the switching transistor 3 to the collector of the switching transistor 3 and charges the smoothing capacitor 15 through the inductor 14. As a result, the voltage of the smoothing capacitor 15 increases.

【0045】このとき、検出スイッチ20がオンしてい
ると、スイッチングトランジスタ3に流れる電流IC
インダクタ14、電流検出抵抗16およびフォトカプラ
1の発光素子1aを通って検出スイッチ20に流れる。
電流検出抵抗16の電圧降下によりその両端の電圧VR
が電流検出トランジスタ17のベース・エミッタ間電圧
BE 以上になると、電流検出トランジスタ17のエミ
ッタからコレクタへ電流が流れ、トランジスタ9がオン
する。それにより、トランジスタ6がオフし、スイッチ
ングトランジスタ3もオフする。
At this time, if the detection switch 20 is turned on, the current I C flowing through the switching transistor 3 flows through the inductor 14, the current detection resistor 16 and the light emitting element 1a of the photocoupler 1 into the detection switch 20.
Due to the voltage drop of the current detection resistor 16, the voltage V R across it is
Becomes higher than the base-emitter voltage V BE of the current detection transistor 17, a current flows from the emitter of the current detection transistor 17 to the collector, and the transistor 9 is turned on. As a result, the transistor 6 is turned off and the switching transistor 3 is also turned off.

【0046】スイッチングトランジスタ3がオフして
も、インダクタ14は自己誘導作用によりそれまで流れ
ていた電流を維持しようとする。この場合、ノードN2
の電圧VN が接地電圧よりも低下し、外部共通端子CO
Mからフライホイールダイオード13を通してインダク
タ14に電流ID が減少しながら流れる。この電流ID
は電流検出抵抗16およびフォトカプラ1の発光素子1
aを通して検出スイッチ20に流れる。
Even when the switching transistor 3 is turned off, the inductor 14 tries to maintain the current that has been flowing until then due to the self-induction effect. In this case, the node N2
Voltage V N of the external common terminal CO drops below the ground voltage.
A current I D flows from M through the flywheel diode 13 to the inductor 14 while decreasing. This current I D
Is the current detection resistor 16 and the light emitting element 1 of the photocoupler 1.
It flows to the detection switch 20 through a.

【0047】電流検出スイッチ16に流れる電流が減少
することにより電流検出抵抗16の両端の電圧VR が電
流検出トランジスタ17のベース・エミッタ間電圧VBE
以下になると、電流検出トランジスタ17がオフする。
Since the current flowing through the current detection switch 16 decreases, the voltage V R across the current detection resistor 16 changes to the base-emitter voltage V BE of the current detection transistor 17.
In the following cases, the current detection transistor 17 turns off.

【0048】上記の動作を繰り返すことにより、電流検
出抵抗16の両端にスイッチングトランジスタ17のベ
ース・エミッタ間電圧VBE程度の電圧降下が発生するよ
うに、電流検出抵抗16にほぼ一定の電流が流れる。そ
れにより、検出スイッチ20にもほぼ一定の電流IS
流れる。
By repeating the above operation, a substantially constant current flows through the current detection resistor 16 so that a voltage drop of about the base-emitter voltage V BE of the switching transistor 17 occurs across the current detection resistor 16. . As a result, a substantially constant current I S also flows through the detection switch 20.

【0049】次に、検出スイッチ20がオフのときに
は、検出スイッチ20のオフ時漏れ電流により入力回路
100に小さな値の電流が流れる。それにより、並列抵
抗2にわずかな電圧降下が生ずるが、フォトカプラ1の
発光素子1aの両端の電圧は発光素子1aをオンさせる
だけの電圧に至らない。また、電流検出抵抗16による
電圧降下も小さな値になり、電流検出トランジスタ17
はオフしている。そのため、トランジスタ9もオフし、
トランジスタ6およびスイッチングトランジスタ3はオ
ンしている。したがって、平滑コンデンサ15の電圧は
入力用電源21の電圧にほぼ等しくなっている。
Next, when the detection switch 20 is off, a small current flows through the input circuit 100 due to the leakage current when the detection switch 20 is off. As a result, a slight voltage drop occurs in the parallel resistor 2, but the voltage across the light emitting element 1a of the photocoupler 1 does not reach a voltage enough to turn on the light emitting element 1a. Further, the voltage drop due to the current detection resistor 16 becomes a small value, and the current detection transistor 17
Is off. Therefore, the transistor 9 is also turned off,
The transistor 6 and the switching transistor 3 are on. Therefore, the voltage of the smoothing capacitor 15 is almost equal to the voltage of the input power supply 21.

【0050】次に、図1の入力回路100における内部
電力損失を算出する。ここでは、入力用電源21の電圧
は24Vとする。
Next, the internal power loss in the input circuit 100 of FIG. 1 will be calculated. Here, the voltage of the input power supply 21 is set to 24V.

【0051】検出スイッチ20がオン状態のときの入力
回路100の内部電力損失は、フォトカプラ1の発光素
子1aの順電圧と電流検出トランジスタ17のベース・
エミッタ電圧VBEとの和に検出スイッチ20に流れる電
流IS を乗じた値となる。
The internal power loss of the input circuit 100 when the detection switch 20 is on is due to the forward voltage of the light emitting element 1a of the photocoupler 1 and the base voltage of the current detection transistor 17.
It has a value obtained by multiplying the sum of the emitter voltage V BE and the current I S flowing through the detection switch 20.

【0052】フォトカプラ1の発光素子1aの順電圧は
通常1.1V程度であり、電流検出トランジスタ17の
ベース・エミッタ間電圧VBEは通常0.6V程度である
ので、それらの和は1.7V程度である。また、検出ス
イッチ20に流れる電流ISは通常5〜10mAに設定
される。したがって、図1の入力回路100において発
生する電力損失は、8.5〜17mW程度となる。ただ
し、スイッチングトランジスタ等からなるスイッチング
回路の効率は通常70〜85%であるので、最悪の場
合、電力損失が約1.5倍に増大し、13〜26mW程
度となる。
Since the forward voltage of the light emitting element 1a of the photocoupler 1 is usually about 1.1V and the base-emitter voltage V BE of the current detection transistor 17 is usually about 0.6V, the sum of them is 1. It is about 7V. The current I S flowing through the detection switch 20 is usually set to 5 to 10 mA. Therefore, the power loss generated in the input circuit 100 of FIG. 1 is about 8.5 to 17 mW. However, since the efficiency of a switching circuit including a switching transistor or the like is usually 70 to 85%, in the worst case, the power loss is increased by about 1.5 times to about 13 to 26 mW.

【0053】したがって、この実施例の入力回路100
の内部電力損失は、図4の従来の入力回路300の内部
電力損失120〜240mWと比較して、最悪の場合で
も1/9に低減し、それに伴って発熱量も低減される。
Therefore, the input circuit 100 of this embodiment is
In comparison with the internal power loss of 120 to 240 mW of the conventional input circuit 300 of FIG. 4, the internal power loss of 1 is reduced to 1/9 in the worst case, and the heat generation amount is also reduced accordingly.

【0054】また、検出スイッチ20として二線式近接
スイッチを用いた場合には、オフ時漏れ電流は通常1m
A以下である。並列抵抗2の抵抗値を例えば430Ωと
し、電流検出抵抗16の抵抗値を例えば120Ωとする
と、電力損失は0.55mW以下となる。したがって、
検出スイッチ20がオフしているときには、入力回路1
00の内部電力損失は1mW以下の小さな値となる。
When a two-wire proximity switch is used as the detection switch 20, the off-state leakage current is usually 1 m.
It is A or less. If the resistance value of the parallel resistor 2 is 430Ω and the resistance value of the current detection resistor 16 is 120Ω, the power loss is 0.55 mW or less. Therefore,
When the detection switch 20 is off, the input circuit 1
The internal power loss of 00 is a small value of 1 mW or less.

【0055】上記のように、この実施例の入力回路10
0では、入力用電源21から供給される電力がほとんど
抵抗で消費されないので、図4の従来の入力回路300
と比較して発熱量がかなり少なくなる。そのため、同じ
数の入力回路を設ける場合でも、この実施例の入力回路
100を用いるとケースを小型化することが可能とな
る。また、入力回路100から検出スイッチ20に供給
される電流がほぼ完全な直流になるので、検出スイッチ
20として二線式近接スイッチ等の二線式無接点スイッ
チを接続することができる。
As described above, the input circuit 10 of this embodiment.
At 0, the power supplied from the input power supply 21 is hardly consumed by the resistance, so that the conventional input circuit 300 of FIG.
The calorific value is considerably smaller than that of. Therefore, even if the same number of input circuits are provided, the case can be downsized by using the input circuit 100 of this embodiment. Further, since the current supplied from the input circuit 100 to the detection switch 20 becomes almost complete direct current, a two-wire non-contact switch such as a two-wire proximity switch can be connected as the detection switch 20.

【0056】なお、入力回路100を構成するための素
子の数は図4の入力回路300と比較して増加している
が、フォトカプラ1、インダクタ14および平滑コンデ
ンサ15以外の素子はバイポーラモノリシックIC等の
技術により容易に集積回路化できる。それにより、部品
点数の削減も可能となり、低価格でかつ高信頼性を有す
る入力回路が得られる。
Although the number of elements forming the input circuit 100 is increased as compared with the input circuit 300 of FIG. 4, the elements other than the photocoupler 1, the inductor 14 and the smoothing capacitor 15 are bipolar monolithic ICs. It is possible to easily form an integrated circuit by such a technique. As a result, the number of components can be reduced, and an inexpensive and highly reliable input circuit can be obtained.

【0057】図3は本発明の他の実施例における入力回
路の構成を示す回路図である。図3の入力回路200が
図1の入力回路100と異なるのは次の点である。
FIG. 3 is a circuit diagram showing the structure of an input circuit according to another embodiment of the present invention. The input circuit 200 of FIG. 3 differs from the input circuit 100 of FIG. 1 in the following points.

【0058】結合手段としてフォトカプラ1の代わりに
トランス22が設けられ、電力蓄積手段としてインダク
タ14の代わりにトランス22の一次巻線22aが用い
られる。トランス22の一次巻線22aはノードN2と
ノードN3との間に接続され、トランス22の二次巻線
22bはダイオード23、コンデンサ24および抵抗2
5からなる整流平滑回路26に接続されている。また、
ノードN1は外部入力端子INに直接接続されている。
その他の部分の構成は、図1に示される構成と同様であ
る。
A transformer 22 is provided as the coupling means instead of the photocoupler 1, and a primary winding 22a of the transformer 22 is used as the power storage means instead of the inductor 14. The primary winding 22a of the transformer 22 is connected between the node N2 and the node N3, and the secondary winding 22b of the transformer 22 includes a diode 23, a capacitor 24, and a resistor 2.
5 is connected to the rectifying / smoothing circuit 26. Also,
The node N1 is directly connected to the external input terminal IN.
The configuration of the other parts is similar to that shown in FIG.

【0059】図3の入力回路200においては、スイッ
チングトランジスタ3のオン時には、入力用電源21か
らスイッチングトランジスタ3、トランス22の一次巻
線22aおよび電流検出抵抗16を通して検出スイッチ
20に電流が流れる。スイッチングトランジスタ3のオ
フ時には、トランス22の一次巻線22aの自己誘導作
用により外部共通端子COMからフライホイールダイオ
ード13、トランス22の一次巻線22aおよび電流検
出抵抗16を通して検出スイッチ20に電流が流れる。
In the input circuit 200 of FIG. 3, when the switching transistor 3 is turned on, a current flows from the input power supply 21 to the detection switch 20 through the switching transistor 3, the primary winding 22a of the transformer 22 and the current detection resistor 16. When the switching transistor 3 is off, a current flows from the external common terminal COM to the detection switch 20 through the flywheel diode 13, the primary winding 22a of the transformer 22, and the current detection resistor 16 by the self-induction action of the primary winding 22a of the transformer 22.

【0060】平滑コンデンサ15により電流が平滑化さ
れ、検出スイッチ20にはほぼ一定の直流電流が流れ
る。この場合、トランス22の一次巻線22aの電圧
は、スイッチングトランジスタ3のオンオフにより断続
的な矩形波となるので、トランス22の相互誘導作用に
よりトランス22の二次巻線22bに前記電圧と相似な
電圧が現れ、その電圧は整流平滑回路26により一定の
直流電圧に平滑化される。
The smoothing capacitor 15 smoothes the current, and a substantially constant DC current flows through the detection switch 20. In this case, the voltage of the primary winding 22a of the transformer 22 becomes an intermittent rectangular wave due to the switching transistor 3 being turned on and off, so that the secondary winding 22b of the transformer 22 is similar to the voltage due to the mutual induction action of the transformer 22. A voltage appears, and the voltage is smoothed by the rectifying / smoothing circuit 26 into a constant DC voltage.

【0061】図2の入力回路200においても、図1の
入力回路100と同様に、入力用電源21から供給され
る電力がほとんど抵抗で消費されないので、図4の従来
の入力回路300と比較して発熱量がかなり少なくな
る。また、入力回路100から検出スイッチ20に直流
電流が供給されるので、検出スイッチ20として二線式
近接スイッチ等の二線式無接点スイッチを接続すること
ができる。
In the input circuit 200 of FIG. 2 as well, similar to the input circuit 100 of FIG. 1, the power supplied from the input power supply 21 is hardly consumed by the resistance. Therefore, compared with the conventional input circuit 300 of FIG. The amount of heat generated is considerably reduced. Further, since a DC current is supplied from the input circuit 100 to the detection switch 20, a two-wire non-contact switch such as a two-wire proximity switch can be connected as the detection switch 20.

【0062】なお、本発明はプログラマブルコントロー
ラの入力回路に限らず、外部スイッチの状態を内部回路
に入力するための種々の入力回路に適用することができ
る。特に、本発明は、多点入力端子を有する入力回路に
適用すれば有効である。
The present invention can be applied not only to the input circuit of the programmable controller but also to various input circuits for inputting the state of the external switch to the internal circuit. In particular, the present invention is effective when applied to an input circuit having multiple input terminals.

【0063】[0063]

【発明の効果】第1〜第5の発明によれば、内部電力損
失および発熱量が低減され、しかも外部スイッチにほぼ
一定の直流電流が供給されるので、ケースの小型化が図
られるとともに、外部スイッチとして有接点スイッチお
よび無接点スイッチを用いることが可能となる。
According to the first to fifth aspects of the invention, the internal power loss and the heat generation amount are reduced, and moreover, a substantially constant DC current is supplied to the external switch, so that the case can be downsized and A contact switch and a non-contact switch can be used as the external switch.

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

【図1】本発明の一実施例における入力回路の構成を示
す回路図である。
FIG. 1 is a circuit diagram showing a configuration of an input circuit according to an embodiment of the present invention.

【図2】図1の入力回路の各部の電流および電圧波形図
である。
FIG. 2 is a current and voltage waveform diagram of each part of the input circuit of FIG.

【図3】本発明の他の実施例における入力回路の構成を
示す回路図である。
FIG. 3 is a circuit diagram showing a configuration of an input circuit according to another embodiment of the present invention.

【図4】従来の入力回路の構成を示す回路図である。FIG. 4 is a circuit diagram showing a configuration of a conventional input circuit.

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

1 フォトカプラ 1a 発光素子 1b 受光素子 2 並列抵抗 3 スイッチングトランジスタ 13 フライホイールダイオード 14 インダクタ 16 電流検出抵抗 17 電流検出トランジスタ 20 検出スイッチ 21 入力用電源 22 トランス 22a 一次巻線 22b 二次巻線 100,200 入力回路 IN 外部入力端子 COM 外部共通端子 POW 外部電源端子 なお、各図中同一符号は同一または相当部分を示す。 1 Photocoupler 1a Light emitting element 1b Light receiving element 2 Parallel resistance 3 Switching transistor 13 Flywheel diode 14 Inductor 16 Current detection resistor 17 Current detection transistor 20 Detection switch 21 Input power supply 22 Transformer 22a Primary winding 22b Secondary winding 100, 200 Input circuit IN External input terminal COM External common terminal POW External power supply terminal In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 外部スイッチの状態を結合手段を介して
内部回路に入力する入力回路において、 電源から結合手段を経由して外部スイッチに至る電流経
路にスイッチング手段および誘導素子を介挿するととも
に、前記結合手段に流れる電流を検出する電流検出手段
および前記電流検出手段により検出された電流に基づい
て前記スイッチング手段をオンオフ制御する制御手段を
設けたことを特徴とする入力回路。
1. In an input circuit for inputting the state of an external switch to an internal circuit via a coupling means, a switching means and an inductive element are inserted in a current path from a power source to an external switch via the coupling means, and An input circuit comprising: current detecting means for detecting a current flowing through the coupling means; and control means for controlling ON / OFF of the switching means based on the current detected by the current detecting means.
【請求項2】 前記結合手段は、前記電流経路に接続さ
れる発光部および前記内部回路に接続される受光部から
なる光結合手段であり、前記誘導素子は、インダクタで
あることを特徴とする請求項1記載の入力回路。
2. The coupling means is an optical coupling means including a light emitting portion connected to the current path and a light receiving portion connected to the internal circuit, and the inductive element is an inductor. The input circuit according to claim 1.
【請求項3】 前記結合手段は、前記電流経路に接続さ
れる一次巻線および前記内部回路に接続される二次巻線
からなる誘導結合手段であり、前記誘導素子は、前記誘
導結合手段の前記一次巻線であることを特徴とする請求
項1記載の入力回路。
3. The coupling means is an inductive coupling means composed of a primary winding connected to the current path and a secondary winding connected to the internal circuit, and the inductive element is the inductive coupling means of the inductive coupling means. The input circuit according to claim 1, wherein the input circuit is the primary winding.
【請求項4】 外部スイッチの状態を内部回路に入力す
る入力回路であって、 電源から供給される電流に基づいて前記外部スイッチの
状態を前記内部回路に伝達する結合手段と、 前記電源から前記結合手段を経由して前記外部スイッチ
に至る電流経路を接続および遮断するスイッチング手段
と、 前記結合手段に供給される電流の値が所定の値となるよ
うに前記スイッチング手段をオンオフ制御する制御手段
と、 前記スイッチング手段のオン時に、前記電源から供給さ
れる電力を蓄積し、前記スイッチング手段のオフ時に、
前記蓄積した電力により前記結合手段に電流を供給する
電力蓄積手段とを備えた入力回路。
4. An input circuit for inputting the state of an external switch to an internal circuit, the coupling circuit transmitting the state of the external switch to the internal circuit based on a current supplied from a power source; Switching means for connecting and disconnecting a current path to the external switch via coupling means, and control means for controlling on / off of the switching means so that the value of the current supplied to the coupling means becomes a predetermined value. When the switching means is turned on, the power supplied from the power source is stored, and when the switching means is turned off,
And an electric power storage means for supplying a current to the coupling means by the stored electric power.
【請求項5】 前記スイッチング手段のオフ時に、前記
外部スイッチ、前記電力蓄積手段および前記結合手段を
含む電流経路を形成する電流経路形成手段をさらに備え
た請求項4記載の入力回路。
5. The input circuit according to claim 4, further comprising a current path forming unit that forms a current path including the external switch, the power storage unit and the coupling unit when the switching unit is turned off.
JP10590794A 1994-04-20 1994-04-20 Input circuit Pending JPH07295608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10590794A JPH07295608A (en) 1994-04-20 1994-04-20 Input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10590794A JPH07295608A (en) 1994-04-20 1994-04-20 Input circuit

Publications (1)

Publication Number Publication Date
JPH07295608A true JPH07295608A (en) 1995-11-10

Family

ID=14419948

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10590794A Pending JPH07295608A (en) 1994-04-20 1994-04-20 Input circuit

Country Status (1)

Country Link
JP (1) JPH07295608A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7141814B2 (en) * 2003-11-10 2006-11-28 Smc Kabushiki Kaisha Input circuit
CN109391255A (en) * 2018-12-28 2019-02-26 宁波皓晶电子有限公司 Two line of normal open/normal close integral formula is close to switching circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7141814B2 (en) * 2003-11-10 2006-11-28 Smc Kabushiki Kaisha Input circuit
CN109391255A (en) * 2018-12-28 2019-02-26 宁波皓晶电子有限公司 Two line of normal open/normal close integral formula is close to switching circuit
CN109391255B (en) * 2018-12-28 2024-03-19 宁波皓晶电子有限公司 Normally open normally closed integrated two-wire proximity switch circuit

Similar Documents

Publication Publication Date Title
US10243354B2 (en) Indicator using existing power supply controller terminals
US9520868B2 (en) Power transistor driving circuits and methods for switching mode power supplies
JP2019047621A (en) Semiconductor device for power supply control, power supply device, and discharge method of x capacitor
CN101420180B (en) Switching power source device
US8885361B2 (en) Low power switch mode power supply
EP1101275B1 (en) Converter for the conversion of an input voltage into an output voltage
CN107005142B (en) Multifunction terminal
JP4457014B2 (en) Capacitively coupled power supply
US7202609B2 (en) Noise reduction in a power converter
US6525948B2 (en) Apparatus and method for the detection of circuit irregularities and for circuit protection of a power supply
JPH11275857A (en) Switching power source circuit
EP1275195B1 (en) On chip current source
JPH07295608A (en) Input circuit
KR20020074164A (en) Switched mode power supply
US20040174721A1 (en) Switching power supply unit
TWI492017B (en) Awakening circuit, integrated power diode and power supply thereof
JP2003500986A (en) Switching mode power supply
JP2000197268A (en) Power source unit of electronic equipment
KR100298305B1 (en) Switching mode power supply to minimize power consumption in standby mode
JP4030349B2 (en) Power circuit
CN219041637U (en) Low-power consumption isolation standby switch circuit and power supply circuit
KR100593761B1 (en) System protection circuit of smps
JPS5916447B2 (en) relay circuit
KR100286044B1 (en) Circuit for monitoring output state of switching mode power supply
WO1999027637A1 (en) Power supply device