JPH03126101A - Input circuit for programmable controller - Google Patents
Input circuit for programmable controllerInfo
- Publication number
- JPH03126101A JPH03126101A JP26459289A JP26459289A JPH03126101A JP H03126101 A JPH03126101 A JP H03126101A JP 26459289 A JP26459289 A JP 26459289A JP 26459289 A JP26459289 A JP 26459289A JP H03126101 A JPH03126101 A JP H03126101A
- Authority
- JP
- Japan
- Prior art keywords
- input
- voltage
- circuit
- constant
- programmable controller
- 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
Links
- 230000020169 heat generation Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
- Manipulation Of Pulses (AREA)
- Electronic Switches (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプログラマブル・コントローラの入力回路に関
し、特に入力電圧の変更に容易に対処できるプログラマ
ブル・コントローラの入力回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input circuit for a programmable controller, and particularly to an input circuit for a programmable controller that can easily cope with changes in input voltage.
プログラマブル・コントローラ(以下、PCと略記する
)は独立型あるいは数値制御装置等に内蔵されて様々な
産業機械の制御に用いられている。2. Description of the Related Art Programmable controllers (hereinafter abbreviated as PC) are used to control various industrial machines, either as stand-alone controllers or as built-in numerical controllers.
入力回路はこれら制御対象の状態を示す信号やオペレー
タからの動作指令信号を受は取って、PCの制御回路が
処理できる所定の電圧レベルのディジタル信号に変換す
るものである。The input circuit receives signals indicating the status of the controlled object and operation command signals from the operator, and converts them into digital signals at a predetermined voltage level that can be processed by the control circuit of the PC.
第2図に従来の入力回路の構成を示す。図において、例
えば直流12Vの入力信号5i21が入力回路21に入
力されると、抵抗R20を通してフォトカプラPH21
のダイオードに電流が流れ、そのトランジスタがオンし
て信号5o21を発生し、これを図示されていないPC
の制御回路に伝達する。抵抗R30は入力側のスイッチ
のオフ時の漏れ電流をフォトカブラPH21のダイオー
ドよりバイパスするための抵抗である。FIG. 2 shows the configuration of a conventional input circuit. In the figure, for example, when an input signal 5i21 of DC 12V is input to the input circuit 21, it passes through the resistor R20 to the photocoupler PH21.
Current flows through the diode of , which turns on the transistor and generates the signal 5o21, which is sent to the PC (not shown).
control circuit. The resistor R30 is a resistor for bypassing the leakage current from the diode of the photocoupler PH21 when the switch on the input side is turned off.
入力回路22、 2nも同様の構成で、それぞれ
入力信号5i22、 −3 i 2 nが入力され
ると、信号5o22、 5o2nを発生する。通常
、これらの入力回路は例えば16回路が一つに集合され
て入力モジュール200として構成されている。The input circuits 22 and 2n have a similar configuration, and generate signals 5o22 and 5o2n when input signals 5i22 and -3 i 2 n are input, respectively. Normally, these input circuits are configured as an input module 200 by collecting, for example, 16 circuits into one.
一方、機械側で発生する信号の電圧は12Vの他に、2
4V、48V等がある。この範囲の電圧を全てカバーし
ようとすると各抵抗からの発熱(発熱は入力端子の比の
2乗に比例する)が問題となり、また広範囲の入力電圧
変動に対してフォトカプラのトランジスタを確実にオン
、オフさせる回路定数を決定することが難しくなるため
、実際には電圧の種類別に入力モジュールが用意されて
いる。On the other hand, the voltage of the signal generated on the machine side is 2V in addition to 12V.
There are 4V, 48V, etc. If you try to cover all voltages in this range, heat generation from each resistor (heat generation is proportional to the square of the input terminal ratio) becomes a problem, and the photocoupler transistor must be turned on reliably over a wide range of input voltage fluctuations. In reality, input modules are prepared for each type of voltage because it is difficult to determine the circuit constant for turning off the switch.
しかし、入力端子に応じて一々入カモジュールを選択す
ることは煩雑である。また、複数種類の入力電圧が存在
するシステムでは、一つの入力モジュール内の入力回路
を全て使用せずに、他の入力端子の入力モジュールを使
用せざるを得なくなる場合もあり、不経済である。However, it is complicated to select input modules one by one depending on the input terminal. Furthermore, in systems where multiple types of input voltages exist, it may be necessary to use input modules with other input terminals instead of using all the input circuits in one input module, which is uneconomical. .
本発明はこのような点に鑑みてなされたものであり、入
力電圧の変更に容易に対処できるプログラマブル・コン
トローラの入力回路を提供することを目的とする。The present invention has been made in view of these points, and it is an object of the present invention to provide an input circuit for a programmable controller that can easily cope with changes in input voltage.
本発明では上記課題を解決するために、外部からの入力
信号を受信して所定の電圧レベルのディジタル信号に変
換するプログラマブル・コントローラの入力回路におい
て、少なくとも規定電圧の4倍までの範囲の入力信号電
圧を一定電圧に安定化する定電圧回路を具備したことを
特徴とするプログラマブル・コントローラの入力回路が
提供される。In order to solve the above problems, the present invention provides an input circuit for a programmable controller that receives an external input signal and converts it into a digital signal at a predetermined voltage level. There is provided an input circuit for a programmable controller characterized by comprising a constant voltage circuit that stabilizes the voltage to a constant voltage.
入力端子が増大した場合に、定電圧回路の出力側に設け
られた各抵抗からの発熱は増大せず、定電圧回路の制御
用トランジスタの消費電力が入力電圧に比例して増大す
るだけである。したがって、数種類の入力電圧に対して
一つの入力回路を共用することが可能になる。When the number of input terminals increases, the heat generated from each resistor installed on the output side of the constant voltage circuit does not increase, and the power consumption of the control transistor of the constant voltage circuit only increases in proportion to the input voltage. . Therefore, it becomes possible to share one input circuit for several types of input voltages.
また、信号入力時の電流が一定となることにより、回路
定数の決定が容易となる。Further, since the current at the time of signal input is constant, it becomes easy to determine circuit constants.
以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図は本発明のPCの入力回路の回路図である。図に
おいて、直流電圧Viの入力信号Silは定電圧回路1
0、抵抗R2を通してフォトカプラPH1のダイオード
に加えられる。抵抗R3は図示されていない入力側のス
イッチのオフ時の漏れ電流によってフォトカプラPH1
のトランジスタをオンさせないためのバイパス用の抵抗
である。FIG. 1 is a circuit diagram of an input circuit of a PC according to the present invention. In the figure, the input signal Sil of the DC voltage Vi is the constant voltage circuit 1
0, is applied to the diode of photocoupler PH1 through resistor R2. The resistor R3 is connected to the photocoupler PH1 by the leakage current when the switch on the input side (not shown) is turned off.
This is a bypass resistor to prevent the transistor from turning on.
定電圧回路10において、トランジスタQはエミッタ・
フォロワ増幅器として動作し、そのベースは抵抗R1と
ツェナーダイオードZの直列回路の接続点の電位で駆動
され、出力側にはV、=V2−V、E
°(1)但し、V2:ツェナーダイオードZのツェ
ナー電圧
VB)::トランジスタQのベース−エミッタ間電圧
の一定電圧V、が現れる。ツェナー電圧V2としては例
えば7Vのものが使用され、入力端子Viがツェナー電
圧V2より大きいときにはツェナーダイオードZがその
ツェナー電圧V2を維持し、負荷変動に対してはトラン
ジスタQのコレクタ電流が増減して、いずれに対しても
電圧V、はトランジスタQのベース電位で規定された一
定値となる。入力端子Viの上限は各素子の容量で決定
されるが、ここでは少なくとも48Vまでカバーできる
ように構成されている。In the constant voltage circuit 10, the transistor Q has an emitter
It operates as a follower amplifier, and its base is driven by the potential at the connection point of the series circuit of resistor R1 and Zener diode Z, and the output side is V, = V2 - V, E
(1) However, V2: Zener voltage VB of Zener diode Z: A constant voltage V of the base-emitter voltage of transistor Q appears. For example, 7V is used as the Zener voltage V2, and when the input terminal Vi is higher than the Zener voltage V2, the Zener diode Z maintains the Zener voltage V2, and the collector current of the transistor Q increases or decreases in response to load fluctuations. , the voltage V is a constant value defined by the base potential of the transistor Q. The upper limit of the input terminal Vi is determined by the capacitance of each element, but here it is configured to cover at least 48V.
ここで、
Vs = lL3+IpH)R2+Vp、i(2)
但し、I、3:抵抗R3に流れる電流
I PH:フォトカプラPHのダイオードに流れる電流
VPH:フォトカプラPHのダイオードの順方向電圧降
下(約2V)
であるから、(2)式より電流I PHは次式IpH−
(Vs Vpo)/R2Vp□/R3° (3)
で示す一定値となる。Here, Vs = lL3 + IpH) R2 + Vp, i (2) However, I,3: Current I flowing through resistor R3 PH: Current flowing through the diode of photocoupler PH VPH: Forward voltage drop of diode of photocoupler PH (approximately 2V ) Therefore, from equation (2), the current I PH is calculated by the following equation I PH -
(Vs Vpo)/R2Vp□/R3° (3) It becomes a constant value.
また、抵抗R1に流れる電流r R1はIRI<IE’
Hであり、入力電流Iiも入力端子Viの変化によらず
、はぼ一定とみなすことができる。このように、信号入
力時における電流I PH及び入力電流Iiが一定であ
るので、フォトカプラPH1のトランジスタをオンさせ
る回路定数を容易に決定できる。なお、トランジスタQ
で消費される電力は、そのコレクタ電流が一定であるこ
とにより、入力電圧に比例して増減する。Also, the current r R1 flowing through the resistor R1 is IRI<IE'
H, and the input current Ii can also be considered to be approximately constant regardless of changes in the input terminal Vi. In this way, since the current IPH and the input current Ii are constant when a signal is input, the circuit constant for turning on the transistor of the photocoupler PH1 can be easily determined. In addition, the transistor Q
Since the collector current is constant, the power consumed by the converter increases or decreases in proportion to the input voltage.
次に、入力電圧Viがツェナー電圧V2より小さいとき
、電流IPHは、
IPH= (VI VILE Vpo) / (
R1/br@十R2)−V、/R3゛ (4)
となり、この式よりオフ時の条件が求められる。Next, when the input voltage Vi is smaller than the Zener voltage V2, the current IPH is IPH= (VI VILE Vpo) / (
R1/br@10R2)-V,/R3'' (4) From this equation, the off-state conditions can be found.
以上のようにして、入力回路10においては12V〜4
8Vの範囲の電圧の入力信号を受けることが可能であり
、これを5Vのディジタル信号S01に変換して、図示
されていない制御回路に伝達する。As described above, in the input circuit 10, 12V to 4V
It is possible to receive an input signal with a voltage in the range of 8V, which is converted into a 5V digital signal S01 and transmitted to a control circuit (not shown).
人力モジュール100には上記の入力回路1と同様の構
成の入力回路が例えば16回路収納される。そして、各
入力回路はそれぞれ入力信号Si1、 5i16が
人力されることによって、ディジタル信号Sol、
5o16を発生して制御回路に伝達する。The human power module 100 houses, for example, 16 input circuits having the same configuration as the input circuit 1 described above. Then, each input circuit receives the input signals Si1 and 5i16 manually, thereby generating digital signals Sol and 5i16 respectively.
5o16 is generated and transmitted to the control circuit.
なお、上記では直流の入力信号の場合について説明した
が、交流信号の場合には定電圧回路の前段に整流回路を
設けることにより、同様にして容易に広範囲の電圧に対
処することができる。Note that although the case of a DC input signal has been described above, in the case of an AC signal, a wide range of voltages can be easily handled in the same way by providing a rectifier circuit at the front stage of the constant voltage circuit.
以上説明したように本発明では、入力信号電圧を一定電
圧に安定化する定電圧回路を設けたので、入力端子に応
じて人力モジュールを選択する必要がなく、システムの
設計が簡単になる。また、つの人力モジュールで種々の
電圧の入力信号を受信できるので、入力モジュールの利
用率を上げることができ、経済性が向上する。As described above, in the present invention, since a constant voltage circuit is provided to stabilize the input signal voltage to a constant voltage, there is no need to select a manual module depending on the input terminal, and the system design is simplified. In addition, since input signals of various voltages can be received by one human-powered module, the utilization rate of the input module can be increased and economical efficiency can be improved.
第1図は本発明の一実施例のPCの入力回路の回路図、 第2図は従来のPCの入力回路の回路図である。 0 00 Sil〜5i16 So 1〜S016 ■ ! 入力回路 ・°定電圧回路 入力モジュール 入力信号 出力信号 入力電圧 第1図 FIG. 1 is a circuit diagram of an input circuit of a PC according to an embodiment of the present invention, FIG. 2 is a circuit diagram of a conventional PC input circuit. 0 00 Sil~5i16 So1~S016 ■! input circuit ・° Constant voltage circuit input module input signal output signal input voltage Figure 1
Claims (2)
のディジタル信号に変換するプログラマブル・コントロ
ーラの入力回路において、 少なくとも規定電圧の4倍までの範囲の入力信号電圧を
一定電圧に安定化する定電圧回路を具備したことを特徴
とするプログラマブル・コントローラの入力回路。(1) In the input circuit of a programmable controller that receives an external input signal and converts it into a digital signal of a predetermined voltage level, the input signal voltage in a range of at least four times the specified voltage is stabilized to a constant voltage. An input circuit for a programmable controller characterized by comprising a constant voltage circuit.
許請求の範囲第1項記載のプログラマブル・コントロー
ラの入力回路。(2) The input circuit for a programmable controller according to claim 1, wherein the specified voltage is 12V.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26459289A JPH03126101A (en) | 1989-10-11 | 1989-10-11 | Input circuit for programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26459289A JPH03126101A (en) | 1989-10-11 | 1989-10-11 | Input circuit for programmable controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03126101A true JPH03126101A (en) | 1991-05-29 |
Family
ID=17405444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26459289A Pending JPH03126101A (en) | 1989-10-11 | 1989-10-11 | Input circuit for programmable controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03126101A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009506804A (en) * | 2006-06-08 | 2009-02-19 | サージカル・ソルーシヨンズ・エルエルシー | Medical device having articulated shaft |
-
1989
- 1989-10-11 JP JP26459289A patent/JPH03126101A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009506804A (en) * | 2006-06-08 | 2009-02-19 | サージカル・ソルーシヨンズ・エルエルシー | Medical device having articulated shaft |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1295670C (en) | Dc supply having low and high constant voltages for powering an inverter controller | |
EP0580923A1 (en) | Circuit for detecting voltage variations in relation to a set value, for devices comprising errors amplifiers | |
US2959726A (en) | Semiconductor apparatus | |
US3368139A (en) | Switching mode series voltage regulator | |
US5486781A (en) | Base current-control circuit of an output transistor | |
US4056734A (en) | Compensated base drive circuit to regulate saturated transistor current gain | |
EP0662747B1 (en) | A DC/DC converter for outputting multiple signals | |
US3414803A (en) | Constant current constant voltage regulator | |
US4220905A (en) | Battery charger | |
GB2052213A (en) | Three-terminal power supply circuit for telephone set | |
US4184087A (en) | Window discriminator or voltage range sensor | |
JPH03126101A (en) | Input circuit for programmable controller | |
US4103220A (en) | Low dissipation voltage regulator | |
US3898474A (en) | Power circuit | |
JPH01270118A (en) | Constant voltage power source circuit | |
US4323839A (en) | Constant current load and constant voltage load power supply | |
JP3309039B2 (en) | Overcurrent protection circuit for inverter control device | |
JP2518478Y2 (en) | Overcurrent protection circuit for stabilized power supply | |
SU819805A1 (en) | Pulse dc voltage stabilizer | |
JPS5918497Y2 (en) | constant current circuit | |
JPH03117928A (en) | Two-wire signal transmission equipment | |
SU1064403A1 (en) | D.c. voltage/a.c. voltage converter | |
JP3365865B2 (en) | Constant voltage power supply circuit | |
JPH0424710A (en) | Constant voltage circuit | |
JPH0522990Y2 (en) |