JPH01209812A - Isolation type input/output circuit - Google Patents

Isolation type input/output circuit

Info

Publication number
JPH01209812A
JPH01209812A JP3435388A JP3435388A JPH01209812A JP H01209812 A JPH01209812 A JP H01209812A JP 3435388 A JP3435388 A JP 3435388A JP 3435388 A JP3435388 A JP 3435388A JP H01209812 A JPH01209812 A JP H01209812A
Authority
JP
Japan
Prior art keywords
output
photocoupler
input
light emitting
light
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
JP3435388A
Other languages
Japanese (ja)
Inventor
Harumi Yagi
晴見 八木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3435388A priority Critical patent/JPH01209812A/en
Publication of JPH01209812A publication Critical patent/JPH01209812A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To simplify the connection with an external device by using an external connector for an input photocoupler and an output photocoupler in common and connecting an external device by two connector pins and a signal wire. CONSTITUTION:The isolated input/output circuit has an output photocoupler 16 provided with a light emitting element 12 driven by an output driver circuit 10 and with a photodetector 14 receiving the light of the light emitting element 12 and outputting externally and has an input photocoupler 24 provided with a light emitting element 18 driven by an external input signal and with a photodetector 22 receiving the light of the light emitting element 18 and outputting it to an input receiver circuit 20. Then the photodetector 14 of the output photocoupler 16 and the light emitting element 18 of the input photocoupler 24 are connected in series between terminals of an external connector 26. In the reception of an external signal by the input photocoupler 24, the output driver circuit 10 always stimulates and drives the light emitting element 12 of the output photocoupler 16.

Description

【発明の詳細な説明】 [概要] フォトカプラを用いた絶縁型入出力回路に関し、外部と
の接続構成が簡単でソフト的に制御可能な高いフレキシ
ビリティを得ることを目的とし、出力ドライバ回路によ
り駆動されて外部に受光信号を出力する出力フォトカプ
ラと、外部信号により駆動されて入力レシーバ回路に受
光信号を出力する入力フォトカプラを有し、出力フォト
カプラの受光素子と入力フォトカプラの発光素子を外部
コネクタの端子間に直列接続する。
[Detailed Description of the Invention] [Summary] With regard to isolated input/output circuits using photocouplers, the purpose of this invention is to provide high flexibility with simple external connection configuration and software control. It has an output photocoupler that is driven and outputs a received light signal to the outside, and an input photocoupler that is driven by an external signal and outputs a received light signal to the input receiver circuit, and includes a light receiving element of the output photocoupler and a light emitting element of the input photocoupler. Connect in series between the terminals of the external connector.

[産業上の利用分野] 本発明は、フォトカプラを用いた絶縁型入出力回路に関
する。
[Industrial Field of Application] The present invention relates to an isolated input/output circuit using a photocoupler.

ネットワークを介して相互接続される例えばF 、Aパ
ソコンシステム等にあっては、FAパソコンの外部イン
タフェースにフォトカプラを用いた絶縁型の入出力回路
を設けており、ネットワークを介して接続される他のユ
ニットとの間のアイソレーションを取ることで信号形態
が異なっても容易に相互接続できるようにしている。
For example, in F and A computer systems that are interconnected via a network, the external interface of the FA computer is equipped with an isolated input/output circuit using a photocoupler. By providing isolation between the two units, it is possible to easily interconnect them even if the signal formats are different.

[従来の技術] このようなフォトカプラを用いた絶縁型入出力回路とし
ては、例えば第5図に示すものが知られている。
[Prior Art] As an insulated input/output circuit using such a photocoupler, the one shown in FIG. 5, for example, is known.

第5図において、10は出力ドライバ回路、20は入力
レシーバ回路である。
In FIG. 5, 10 is an output driver circuit, and 20 is an input receiver circuit.

出力ドライバ回路10の出力は出カフAトカプラ16に
与えられ、ドライバ出力により発光ダイオード12aを
発光駆動し、フォトトランジスタ14aからの受光信号
を外部コネクタ26に出力する。
The output of the output driver circuit 10 is given to the output coupler 16, which drives the light emitting diode 12a to emit light and outputs the light reception signal from the phototransistor 14a to the external connector 26.

また外部コネクタ26から入力した外部からの信号は入
力フォトカプラ24の発光ダイオード18aを発光駆動
し、フォトトランジスタ22aの受光信号を入力レシー
バ回路20に出力する。
Further, an external signal inputted from the external connector 26 drives the light emitting diode 18a of the input photocoupler 24 to emit light, and outputs the light reception signal of the phototransistor 22a to the input receiver circuit 20.

この出力フォトカプラ16及び入力フォトカプラ24に
よって外部装置とのアイソレーション(絶縁分@)をと
ることができ、信号形態に相違があっても相互に影響を
及ぼすことなく外部装置との間で信号送受を行なうこと
ができる。
This output photocoupler 16 and input photocoupler 24 can provide isolation (insulation @) from external devices, and even if there are differences in signal format, signals can be exchanged with external devices without affecting each other. Can send and receive.

[課題を解決するための手段] しかしながら、このような従来の絶縁型入出力回路にあ
っては、出力フォトカプラを備えた出力ドライバ系統と
、入力フォトカプラを備えた入力レシーバ系統とが独立
した回路として固定的に設けられていたため、外部コネ
クタのピン数が増加すると共に伯のユニットとの間に入
出力専用の信号回線が必要となり、また回路機能が固定
的に決っているためにソウトウエアによる制御が介入す
る余地がなく、その分だけフレキシビリティに欠ける問
題があった。
[Means for solving the problem] However, in such conventional isolated input/output circuits, the output driver system equipped with an output photocoupler and the input receiver system equipped with an input photocoupler are independent of each other. Because the circuit was fixed, the number of external connector pins increased and a dedicated input/output signal line was required between the unit and the circuit, and since the circuit function was fixed, software There was a problem that there was no room for control intervention, and that flexibility was lacking.

本発明は、このような従来の問題点に鑑みてなされたも
ので、外部との接続構成が簡単でソフト的に制御可能な
フレキシビリティの高い絶縁型入出力回路を提供するこ
とを目的とする。
The present invention has been made in view of these conventional problems, and an object of the present invention is to provide a highly flexible isolated input/output circuit that has a simple external connection configuration and can be controlled by software. .

[課題を解決するための手段] 第1図は本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、本発明の絶縁型入出力回路は、出力ド
ライバ回路10により駆動される発光素子12と該発光
素子12の光を受光して外部に出力する受光素子14を
備えた出力フォトカプラ16と、外部からの入力信号で
駆動される発光素子18と該発光素子18の光を受光し
て入力レシーバ回路20に出力する受光素子22を備え
た入力フォトカプラ24とを有し、出力フォトカプラ1
6の受光素子14と入力フォトカプラ24の発光素子1
8を外部コネクタ26の端子間に直列接続したものであ
る。
In FIG. 1, the isolated input/output circuit of the present invention is an output photocoupler that includes a light emitting element 12 driven by an output driver circuit 10 and a light receiving element 14 that receives light from the light emitting element 12 and outputs it to the outside. 16, an input photocoupler 24 equipped with a light emitting element 18 driven by an external input signal and a light receiving element 22 that receives light from the light emitting element 18 and outputs it to the input receiver circuit 20. coupler 1
6 light receiving element 14 and input photocoupler 24 light emitting element 1
8 are connected in series between the terminals of the external connector 26.

ここで、入力フォトカプラ24による外部信号の受信時
には、出力ドライバ回路10は出力フォトカプラ16の
発光素子12を常時発光駆動させる。
Here, when the input photocoupler 24 receives an external signal, the output driver circuit 10 constantly drives the light emitting element 12 of the output photocoupler 16 to emit light.

また出力ドライバ回路10による出力フォトカプラ16
の駆動時には、入力フォトカプラ24の受光素子22よ
り受光出力が同時に得られることから、この時の受光出
力を入力レシーバ回路20でモニタすることができる。
In addition, the output photocoupler 16 by the output driver circuit 10
When driving, the light receiving output is simultaneously obtained from the light receiving element 22 of the input photocoupler 24, so the light receiving output at this time can be monitored by the input receiver circuit 20.

[作用] このような本発明の絶縁型入出力回路によれば、フォト
カプラを備えた出力ドライバ系統と入力レシーバ系統と
を外部コネクタの同一コネクタピンに接続できるように
一体化でき、外部装置との接続構成を簡単にすることが
できる。
[Function] According to such an isolated input/output circuit of the present invention, an output driver system equipped with a photocoupler and an input receiver system can be integrated so that they can be connected to the same connector pin of an external connector, and can be connected to an external device. The connection configuration can be simplified.

また出力ドライバ又は入力レシーバとしての回路機能は
ソフト的な制御で切替られ、特に出力ドライバとして機
能させた時には、入力フォトカプラからの受光出力のモ
ニタにより正しく信号出力が行なわれているか否をソフ
ト的に監視でき、出カエラーの発生に有効に対処するこ
とができる。
In addition, the circuit function as an output driver or input receiver is switched by software control, and especially when it is used as an output driver, software can check whether the signal output is being performed correctly by monitoring the light reception output from the input photocoupler. can be monitored and can effectively deal with the occurrence of output errors.

[実施例] 第2図はFAパソコン等の外部インターフェースを例に
とって本発明の一実施例を示した実施例構成図である。
[Embodiment] FIG. 2 is a block diagram showing an embodiment of the present invention, taking an external interface of an FA personal computer or the like as an example.

第2図において、10aは出力ドライバ回路としての機
能を備えたフォトドライバであり、フォトドライバ10
aの出力側には出力フォトカプラ16が設けられる。即
ち、出力フォトカプラ16は発光ダイオード12aとフ
ォトトランジスタ14aを備え、発光ダイオード12a
のアノード側を抵抗R1を介して電源子VCに接続する
と共に、カソード側をフォトドライバ10aに接続して
おり、フォトドライバ10aの出力rOJのとき発光ダ
イオード12aに電流が流れて発光駆動される。
In FIG. 2, 10a is a photodriver with a function as an output driver circuit;
An output photocoupler 16 is provided on the output side of a. That is, the output photocoupler 16 includes a light emitting diode 12a and a phototransistor 14a, and the light emitting diode 12a
The anode side of the light emitting diode 12a is connected to the power supply element VC via a resistor R1, and the cathode side thereof is connected to the photo driver 10a, and when the output of the photo driver 10a is rOJ, a current flows through the light emitting diode 12a and the light emitting diode 12a is driven to emit light.

一方、20aは入力レシーバ回路としての機能を備えた
フォトレシーバであり、フォトレシーバ20aの入力側
には入力フォトカプラ24が設けられる。入力フォトカ
プラ24は外部信号により発光駆動される発光ダイオー
ド18aとフォトトランジスタ22aを有し、フォトト
ランジスタ22aのコレクタはフォトドライバ20aに
入力接続されると共に、抵抗R2を介して電源電圧VC
にプルアップされており、コレクタは接地接続されてい
る。
On the other hand, 20a is a photoreceiver having a function as an input receiver circuit, and an input photocoupler 24 is provided on the input side of the photoreceiver 20a. The input photocoupler 24 has a light emitting diode 18a that is driven to emit light by an external signal, and a phototransistor 22a.
The collector is connected to ground.

このような出力フォトカプラ16と入力フォトカプラ2
4について、入力フォトカプラ24に設けた発光ダイオ
ード18aと出カフtトカプラ16に設けたフォトトラ
ンジスタ14aとを直列接続して外部コネクタ26のコ
ネクタピン26aと26bの間に接続している。
Such an output photocoupler 16 and input photocoupler 2
4, a light emitting diode 18a provided in the input photocoupler 24 and a phototransistor 14a provided in the output coupler 16 are connected in series and connected between connector pins 26a and 26b of the external connector 26.

このような出力フォトカプラ16と入力フォトカプラ2
4を備えた絶縁型の入出力回路に対し、外部コネクタ2
6を介して接続される外部装置との間で信号の入出力制
御を行なうため、アドレスデコーダ28aと続出書込制
御を行なうR/W制御部28bを備えた制御ユニット2
8、バスアダプタ30及びライトレジスタ32が設けら
れる。
Such an output photocoupler 16 and input photocoupler 2
External connector 2 for isolated input/output circuit with 4
The control unit 2 includes an address decoder 28a and an R/W control section 28b that performs continuous write control in order to perform input/output control of signals with an external device connected via 6.
8, a bus adapter 30 and a write register 32 are provided.

制御ユニット28に対してはマイクロプロセッサ等より
アドレス及びR/W制御信号が与えられる。
Address and R/W control signals are given to the control unit 28 from a microprocessor or the like.

制御ユニット28は外部装置に対しデータを送出する続
出し時にあっては、R/W制御部28bによる読出制御
信号の解読でバスアダプタ30及びライトレジスタ32
を起動し、バスアダプタ30を介して得られるデータ及
び制御ユニット28のアドレスデコーダ28aにより解
読して得られるアドレスデータをそれぞれライトレジス
タ32に書込み、クロックパルスに同期してライトレジ
スタ32に格納したデータをビット毎に順次出力するこ
とでシリアルデータに変換してフォトドライバ10aに
出力する。
When the control unit 28 sends data to an external device continuously, the R/W control unit 28b decodes the read control signal to control the bus adapter 30 and the write register 32.
The data obtained via the bus adapter 30 and the address data obtained by decoding by the address decoder 28a of the control unit 28 are written into the write register 32, respectively, and the data stored in the write register 32 is synchronized with the clock pulse. is converted into serial data by sequentially outputting it bit by bit, and outputting it to the photo driver 10a.

一方、外部装置からの信号を入力してマイクロプロセッ
サ等に取込む書込時にあっては、制御ユニット28のR
/W制御部28bで書込み制御信号を解読してフォトレ
シーバ20aを動作状態とし、このフォトレシーバ20
aの動作状態で入力フォトカプラ24を介して得られる
受信データをバスアダプタ30を経由して取込むように
なる。
On the other hand, when writing a signal from an external device to a microprocessor or the like, the R
The /W control unit 28b decodes the write control signal to put the photoreceiver 20a into an operating state, and the photoreceiver 20
The received data obtained through the input photocoupler 24 in the operating state a is taken in through the bus adapter 30.

更に、ライトレジスタ32に格納した続出データをシリ
アルデータに変換してフォトドライバ1Qaにより出力
フォトカプラ16を介して外部に出力する際に、制御ユ
ニット28はフォトレシーバ20aを動作状態とし、出
力データに基づく出カフAトカプラ16の駆動で入力フ
ォトカプラ24のフォトトランジスタ22aから得られ
る受光出力をフォトレシーバ20aよりバスアダプタ3
0を介してプロセッサ側に取込み、出力フォトカプラ1
6の駆動により正しい出力データが送出されたか否かを
プロセッサ側でモニタすることができる。
Furthermore, when converting the successive data stored in the write register 32 into serial data and outputting it to the outside via the output photocoupler 16 by the photodriver 1Qa, the control unit 28 puts the photoreceiver 20a into an operating state and converts the output data into serial data. Based on the driving of the output coupler 16, the received light output obtained from the phototransistor 22a of the input photocoupler 24 is transferred from the photoreceiver 20a to the bus adapter 3.
0 to the processor side, output photocoupler 1
It is possible to monitor on the processor side whether correct output data is sent out by driving 6.

更に、入力フォトカプラ24を介して外部からの信号を
入力する際には、制御ユニット28はライトレジスタ3
2の出力をフォトドライバ10aによって出力フォトカ
プラ16の発光ダイオード12aを常時オンさせる出力
状態に制御する。
Furthermore, when inputting an external signal via the input photocoupler 24, the control unit 28 controls the write register 3.
The output of No. 2 is controlled by the photodriver 10a to an output state in which the light emitting diode 12a of the output photocoupler 16 is always turned on.

次に、第2図の実施例における出力ドライバとして機能
するときの動作と入力レシーバとして機能するときの動
作を第3,4図を参照して説明する。
Next, the operation when functioning as an output driver and the operation when functioning as an input receiver in the embodiment of FIG. 2 will be explained with reference to FIGS. 3 and 4.

第3図は第2図の実施例1こ、おいて出力ドライバとし
て機能するときの動作説明図であり、第2図の実施例に
設けた出力フォトカプラ16及び入力フォトカプラ24
に対する外部装置の入力回路部の接続状態を取り出して
示している。
FIG. 3 is an explanatory diagram of the operation when the first embodiment of FIG. 2 functions as an output driver, and shows the output photocoupler 16 and input photocoupler 24 provided in the embodiment of FIG.
The connection state of the input circuit section of the external device is extracted and shown.

第3図において、100は第2図に示した本発明の絶縁
型入出力回路を僅えたユニットであり、このユニット1
00に対し信号線50a、50bによって外部装置とし
ての他のユニット200が接続される。このときユニッ
ト100は出力ドライバとして動作して外部装置として
のユニット200に信号を出力することから、ユニット
200には発光ダイオード36とフォトトランジスタ3
8を備えた入力フォトカプラ34が設けられる。
In FIG. 3, 100 is a unit with a small number of isolated input/output circuits of the present invention shown in FIG.
00 is connected to another unit 200 as an external device through signal lines 50a and 50b. At this time, the unit 100 operates as an output driver and outputs a signal to the unit 200 as an external device, so the unit 200 includes a light emitting diode 36 and a phototransistor 3.
An input optocoupler 34 with 8 is provided.

このようなユニット100と200の接続状態でユニッ
ト100の出力フォトカプラ16の発光ダイオード12
aに対しては、第2図に示すようにライトレジスタ32
に格納された出力データがシリアル変換されてフォトド
ライバ10aに供給され、フォトドライバ10aの出力
「0」で出力フォトカプラ16の発光ダイオード12a
が発光駆動され、発光ダイオード12aの発光駆動によ
る光を受けてフォトトランジスタ14aがオンし、フォ
トトランジスタ14aのオンによりユニット200の電
源+VCより発光ダイオード36、信@線50a、ユニ
ット100の発光ダイオード18a、フォトトランジス
タ14a、更に信号線5Qbとなる経路で電流が流れ、
ユニット200の発光ダイオード36が発光駆動されフ
ォトトランジスタ38の受光出力としてユニット100
より出力されたデータを受信することができる。
When the units 100 and 200 are connected like this, the light emitting diode 12 of the output photocoupler 16 of the unit 100
For a, write register 32 as shown in FIG.
The output data stored in is serially converted and supplied to the photodriver 10a, and when the output of the photodriver 10a is "0", the light emitting diode 12a of the output photocoupler 16 is
is driven to emit light, the phototransistor 14a is turned on in response to the light generated by the light emitting drive of the light emitting diode 12a, and when the phototransistor 14a is turned on, the power supply +VC of the unit 200 connects the light emitting diode 36, the signal line 50a, and the light emitting diode 18a of the unit 100. , the phototransistor 14a, and a current flows through the path that becomes the signal line 5Qb.
The light emitting diode 36 of the unit 200 is driven to emit light, and the light reception output of the phototransistor 38 is output to the unit 100.
It is possible to receive data output from

このときユニット100の入カフオドカブラ24の発光
ダイオード18aが出力フォトカプラ16の駆動で同時
に発光駆動され、入カフオドカブラ24のフォトトラン
ジスタ22aより出力データに一致する受光出力が得ら
れることから、ユニット100側、即ち第2図のフォト
レシーバ20aの出力信号をバスアダプタ30を介して
プロセッサ側に取込むことで、ユニット200に対し正
しくデータ出力が行なわれたか否かをモニタ(エラーチ
エツク)することができる。
At this time, the light emitting diode 18a of the input cuff coupler 24 of the unit 100 is simultaneously driven to emit light by the output photocoupler 16, and a light reception output matching the output data is obtained from the phototransistor 22a of the input cuff coupler 24. That is, by taking in the output signal of the photoreceiver 20a shown in FIG. 2 to the processor side via the bus adapter 30, it is possible to monitor (error check) whether or not data has been correctly output to the unit 200.

第4図は第21図の実施例に示した絶縁型入出力回路を
備えたユニット100側を入力レシーバとして機能させ
たときの外部装置としてのユニット200との接続状態
を示した動作説明図である。
FIG. 4 is an operational explanatory diagram showing the state of connection with the unit 200 as an external device when the unit 100 side equipped with the isolated input/output circuit shown in the embodiment of FIG. 21 functions as an input receiver. be.

この場合、外部装置としてのユニット200からユニッ
ト100に対しデータ出力が行なわれることから、信号
線50a側を抵抗を介して電源電圧+Vcに接続し、信
号線50b側に発光ダイオード42とフォトトランジス
タ44を備えた出力フォトカプラ40を接続している。
In this case, since data is output from the unit 200 as an external device to the unit 100, the signal line 50a side is connected to the power supply voltage +Vc via a resistor, and the light emitting diode 42 and phototransistor 44 are connected to the signal line 50b side. An output photocoupler 40 equipped with the above is connected.

このように外部装置としてのユニット200から出力さ
れたデータをユニット100で受信する入力レシーバと
しての動作状態にあっては、出力フォトカプラ16の発
光ダイオード12aは第2図に示したライトレジスタ3
2に対するフォトドライバ10aを常時動作状態とする
データの格納で継続した発光駆動状態におかれ、このた
め出力フォトカプラ16のフォトトランジスタ14aが
常時オンし、信号線50a、50bを介して接続したユ
ニット100と200間の間に回線ループを形成させて
いる。
In this way, in the operating state as an input receiver in which the unit 100 receives data output from the unit 200 as an external device, the light emitting diode 12a of the output photocoupler 16 is connected to the light register 3 shown in FIG.
The photodriver 10a for the output photocoupler 16 is kept in a continuous light emitting drive state by storing data that keeps it in an active state, and therefore the phototransistor 14a of the output photocoupler 16 is always turned on, and the units connected via the signal lines 50a and 50b A line loop is formed between 100 and 200.

このような出力フォトカプラ16のフォトトランジスタ
14aのオン状態で外部装置としてのユニット200の
出力フォトカプラの駆動、即ち発光ダイオード40の発
光駆動でフォトトランジスタ42がオンすると、ユニッ
ト200の電源電圧+VC1信号線50a1ユニット1
00の発光ダイオード18a、フォトトランジスタ14
a、信号線50b、更にユニット200のフォトトラン
ジスタ42となる経路で電流が流れ、ユニット100の
発光ダイオード18aの発光駆動によりフォトトランジ
スタ22aよりユニット200から送出されたデータに
応じた受光信号が得られる。
When the phototransistor 14a of the output photocoupler 16 is turned on and the phototransistor 42 is turned on by driving the output photocoupler of the unit 200 as an external device, that is, by driving the light emitting diode 40 to emit light, the power supply voltage of the unit 200 + VC1 signal is turned on. line 50a1 unit 1
00 light emitting diode 18a, phototransistor 14
A, a current flows through the signal line 50b and further through the path that becomes the phototransistor 42 of the unit 200, and by driving the light emitting diode 18a of the unit 100 to emit light, a light reception signal corresponding to the data sent from the unit 200 is obtained from the phototransistor 22a. .

尚、第3,4図の動作説明にあっては、ユニット100
側に第2図に示した本発明の絶縁型入出力回路を設けた
場合を例にとるものであったが、ユニット200側にも
同じ本考案の絶縁型入出力回路を設けるようにしてもよ
く、このようにユニット100と200のそれぞれに本
発明の絶縁型入出力回路を設けた場合には、上記の動作
説明から明らかなように、送信側のユニットの入出力回
路を第3図に示したように出力ドライバとして機能させ
、同時に受信側のユニットの入出力回路を第4図に示し
たように入力レシーバとして機能させればよい。
In addition, in the explanation of the operation in FIGS. 3 and 4, the unit 100
The case where the isolated input/output circuit of the present invention shown in FIG. 2 is provided on the side of the unit 200 is taken as an example; Often, when the isolated input/output circuit of the present invention is provided in each of the units 100 and 200, the input/output circuit of the transmitting unit is shown in FIG. 3, as is clear from the above operation description. It is sufficient to make it function as an output driver as shown, and at the same time make the input/output circuit of the receiving side unit function as an input receiver as shown in FIG.

また、上記の実施例にあっては、入出力フォトカプラ1
6.24の受光素子としてフォトトランジスタを例にと
るものであったが、フォトダイオードを使用してもよい
ことは勿論である。
In addition, in the above embodiment, the input/output photocoupler 1
Although a phototransistor has been taken as an example of the light receiving element in 6.24, it goes without saying that a photodiode may also be used.

[発明の効果コ 以上説明してきたように本発明によれば、入力フォトカ
プラと出力フォトカプラの外部コネクタ側を共通化する
ことで2本のコネクタピン及び信号線をもって外部装置
と接続できるため、外部装置との接続構成が簡単となり
、また出力ドライバ及び入力レシーバとしての回路機能
をソフト的に選択L制御できるため回路構成がシンプル
となり、更に出力ドライバとして機能さけたときに入力
フォトカプラを利用してF!!!カデータをモニタでき
、エラー発生にソフト的な処理により有効に対処するこ
とができる。
[Effects of the Invention] As explained above, according to the present invention, by sharing the external connector sides of the input photocoupler and the output photocoupler, it is possible to connect to an external device with two connector pins and a signal line. The connection configuration with external devices is simplified, and the circuit function as an output driver and input receiver can be selectively controlled by software, which simplifies the circuit configuration. Furthermore, when the function as an output driver is disabled, an input photocoupler can be used. TeF! ! ! It is possible to monitor the data, and to deal with errors effectively through software processing.

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

第1図は本発明の原理説明図: 第2図は本発明の実施例構成図: 第3図は出力ドライバとして機能させた時の動作説明図
: 第4図は入力レシーバとして機能させた時の動作説明図
: 第5図は従来技術の説明図である。 図中、 10:出力ドライバ回路 10a:フォトドライバ 12.18:発光素子 12a、18a、36.42 :発光ダイオード14.
22:受光素子 14a、22a、38.44 :フォトトランジスタ1
6.40:出力フォトカプラ 20:入力レシーバ回路 20a:フォトレシーバ 24.34:入力フォトカプラ 26:外部コネクタ 26a、26b::Iネクタピン 28二制御ユニツト 28aニアドレスデコーダ 28b:R/W制御部 30:バスアダプタ 32ニライトレジスタ 5Qa、5Qb:信号線 100.200:ユニット オ(4乙e月小力艮玉里4ジし口月図 第1図 *n)’ライハ゛U馳へ更力4手jjLロ月図第3図 入力レシーハ゛eをin忰占Le川辺 第4図 りL=Ji乏イボシき骨、ヨ月図 第5図
Figure 1 is a diagram explaining the principle of the present invention. Figure 2 is a diagram showing the configuration of an embodiment of the present invention. Figure 3 is a diagram explaining the operation when functioning as an output driver. Figure 4 is a diagram explaining the operation when functioning as an input receiver. An explanatory diagram of the operation: FIG. 5 is an explanatory diagram of the prior art. In the figure, 10: Output driver circuit 10a: Photo driver 12.18: Light emitting elements 12a, 18a, 36.42: Light emitting diode 14.
22: Photodetector 14a, 22a, 38.44: Phototransistor 1
6.40: Output photocoupler 20: Input receiver circuit 20a: Photoreceiver 24.34: Input photocoupler 26: External connectors 26a, 26b:: I connector pin 28 Two control units 28a Near address decoder 28b: R/W control section 30 :Bus adapter 32Nilight register 5Qa, 5Qb:Signal line 100.200:Unit o (4 Otsu e month small force 艮 Tamari 4jishi mouth moon figure 1 *n)'Lihigh U to change 4 moves jjL Figure 3 of the Moon Map Input Receipt E in the 4th chart of Riverside L=Ji, Figure 5 of the Moon Map

Claims (1)

【特許請求の範囲】[Claims] (1)出力ドライバ回路(10)により駆動される発光
素子(12)と該発光素子(12)の光を受光して外部
に出力する受光素子(14)とを備えた出力フォトカプ
ラ(16)と、外部からの入力信号で駆動される発光素
子(18)と該発光素子(18)の光を受光して入力レ
シーバ回路(20)に出力する受光素子(22)を備え
た入力フォトカプラ(24)とを有し、 前記出力フォトカプラ(16)の受光素子(14)と前
記入力フォトカプラ(24)の発光素子(18)を外部
コネクタ(26)の端子間に直列接続し、前記入力フォ
トカプラ(24)による外部信号の受信時に、前記出力
ドライバ回路(10)により出力フォトカプラ(16)
の発光素子(12)を常時発光駆動させ、 前記出力ドライバ回路(10)による出力フォトカプラ
(16)の駆動時に、前記入力フォトカプラ(24)か
ら得られる受光信号を入力レシーバ回路(20)でモニ
タすることを特徴とする絶縁型入出力回路。
(1) An output photocoupler (16) that includes a light emitting element (12) driven by an output driver circuit (10) and a light receiving element (14) that receives light from the light emitting element (12) and outputs it to the outside. and an input photocoupler (22) that includes a light emitting element (18) driven by an external input signal and a light receiving element (22) that receives the light from the light emitting element (18) and outputs it to the input receiver circuit (20). 24), the light receiving element (14) of the output photocoupler (16) and the light emitting element (18) of the input photocoupler (24) are connected in series between terminals of the external connector (26), and the input When the photocoupler (24) receives an external signal, the output driver circuit (10) outputs the photocoupler (16).
The light-emitting element (12) is always driven to emit light, and when the output photocoupler (16) is driven by the output driver circuit (10), the input receiver circuit (20) receives a light reception signal obtained from the input photocoupler (24). An isolated input/output circuit characterized by monitoring.
JP3435388A 1988-02-17 1988-02-17 Isolation type input/output circuit Pending JPH01209812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3435388A JPH01209812A (en) 1988-02-17 1988-02-17 Isolation type input/output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3435388A JPH01209812A (en) 1988-02-17 1988-02-17 Isolation type input/output circuit

Publications (1)

Publication Number Publication Date
JPH01209812A true JPH01209812A (en) 1989-08-23

Family

ID=12411787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3435388A Pending JPH01209812A (en) 1988-02-17 1988-02-17 Isolation type input/output circuit

Country Status (1)

Country Link
JP (1) JPH01209812A (en)

Similar Documents

Publication Publication Date Title
JPS61264835A (en) Optical fiber data link system
JP4906736B2 (en) Control and monitoring signal transmission system
EP0195045B1 (en) Bidirectional repeater apparatus
JP2002207545A (en) Optical communication interface module for universal serial bus
JPH0252281B2 (en)
US5081624A (en) Fault-tolerant serial attachment of remote high-speed i/o busses
JP2002507086A (en) Data bus for multiple nodes
JPH01209812A (en) Isolation type input/output circuit
US5940199A (en) Interface unit and information processing apparatus having the interface unit
JP2510221B2 (en) Network node address setting method
JP2564740Y2 (en) Terminal adapter
JP2001016278A (en) Serial signal transmitter
TWM561823U (en) Serial signal transmission control module
JPH10308796A (en) Wrong connection detection circuit of inter-device cable
JP4378799B2 (en) Digital data input / output device
JP3881088B2 (en) Computer equipment
JPH079468Y2 (en) Signal input device
JPH0325229Y2 (en)
JPH06153562A (en) Modular driving mechanism
JPS608668B2 (en) data transmission circuit
JPH0370247B2 (en)
JPH03206515A (en) Data transfer system by optical coupling
JPH08191319A (en) Data communication system
JP3971620B2 (en) Communication apparatus and communication system
JPH0450781B2 (en)