JP2604651B2 - Optical coupling device, information equipment using the same, and method of controlling optical coupling device - Google Patents

Optical coupling device, information equipment using the same, and method of controlling optical coupling device

Info

Publication number
JP2604651B2
JP2604651B2 JP15429991A JP15429991A JP2604651B2 JP 2604651 B2 JP2604651 B2 JP 2604651B2 JP 15429991 A JP15429991 A JP 15429991A JP 15429991 A JP15429991 A JP 15429991A JP 2604651 B2 JP2604651 B2 JP 2604651B2
Authority
JP
Japan
Prior art keywords
optical coupling
signal
identification code
coupling device
clock
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.)
Expired - Fee Related
Application number
JP15429991A
Other languages
Japanese (ja)
Other versions
JPH055786A (en
Inventor
信正 小野
幸久 織田
清志 蝦名
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP15429991A priority Critical patent/JP2604651B2/en
Priority to US07/792,527 priority patent/US5304812A/en
Priority to EP91119762A priority patent/EP0487051B1/en
Priority to DE69126951T priority patent/DE69126951T2/en
Publication of JPH055786A publication Critical patent/JPH055786A/en
Application granted granted Critical
Publication of JP2604651B2 publication Critical patent/JP2604651B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Photo Coupler, Interrupter, Optical-To-Optical Conversion Devices (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、被検出物の有無を無接
点で検出する光結合装置(フオトインタラプタ)これを
利用した複写機等の情報機器及び光結合装置の制御方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical coupling device (photointerrupter) for detecting the presence or absence of an object without contact, and to an information apparatus such as a copying machine using the optical coupling device and a method of controlling the optical coupling device.

【0002】[0002]

【従来の技術】従来の光結合装置(フオトインタラプ
タ)は、図5の如く、発光素子1、受光素子2、増幅器
3及びトランジスタ4からなり、発光素子1に電流を流
して発光させ受光素子2にこの光がスレツシユ光量以上
入光しているか否かにより、HighまたはLowの出
力を行う。
2. Description of the Related Art A conventional optical coupling device (photointerrupter) comprises a light emitting element 1, a light receiving element 2, an amplifier 3 and a transistor 4, as shown in FIG. High or Low is output depending on whether or not this light is more than the threshold light amount.

【0003】[0003]

【発明が解決しようとする課題】近年、光結合装置が搭
載される情報機器、例えば複写機においては、その高機
能とともに光結合装置の使用個数が増加している。
In recent years, the number of optical couplers used in information equipment, for example, copying machines, on which optical couplers are mounted, has increased along with their high functions.

【0004】これに対応するため、図6の如く、複写機
内の制御装置11に上記光結合装置を用いた検出センサ
12からの検知状態を出力する場合、個々の光結合装置
12の電源ラインVcc、グランドラインGNDは共用
して制御装置11に接続できるものの、信号ライン(出
力ラインVO)19については各光結合装置12の信号
ライン19を制御装置11に対して並列に接続しなけれ
ばならず、機器内の配線が煩雑となり、機器の小型化の
妨げになつている。
To cope with this, as shown in FIG. 6, when a detection state from a detection sensor 12 using the above-described optical coupling device is output to a control device 11 in a copying machine, a power supply line Vcc of each optical coupling device 12 is output. And the ground line GND can be shared and connected to the control device 11, but the signal line (output line V O ) 19 must be connected in parallel with the control device 11 to the signal line 19 of each optical coupling device 12. However, wiring in the device becomes complicated, which hinders miniaturization of the device.

【0005】また、従来の光結合装置の使用に際しては
常時電源を入れているため、光結合装置の使用個数の増
加に伴ない消費電流が増加する(約10mA/光結合装
置1個)。そこで、光結合装置の低消費電流化が望まれ
ている。
Since the power is always turned on when using the conventional optical coupling device, the current consumption increases as the number of optical coupling devices used increases (about 10 mA / one optical coupling device). Therefore, it is desired to reduce the current consumption of the optical coupling device.

【0006】さらに、光結合装置の使用個数の増加に伴
ない複写機等の情報機器では、コネクタ等による接続点
の数も増す。このため、コネクタ等による接続点が確実
に接続されているかどうかのチエツクを機器製造時に行
ないたい、または機器使用時の電源投入時点に行ないた
いとの要望も増している。
Further, with the increase in the number of optical coupling devices used, in information equipment such as copying machines, the number of connection points using connectors and the like also increases. For this reason, there has been an increasing demand for checking whether or not the connection points by connectors or the like are securely connected at the time of manufacturing the device or at the time of turning on the power when the device is used.

【0007】本発明は、上記に鑑み、第一に機器内の配
線が簡略化及び消費電流の低減を実現できる光結合装置
及びこれを利用した情報機器の提供を目的とする。第二
に、機器製造時または機器使用時の電源投入時点で接続
チエツクが行なえる光結合装置の制御方法の提供を目的
とする。
SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to provide an optical coupling device capable of simplifying wiring in a device and reducing current consumption, and an information device using the same. Second, it is an object of the present invention to provide a method of controlling an optical coupling device in which a connection check can be performed at the time of turning on the power when manufacturing or using the device.

【0008】[0008]

【課題を解決するための手段】(1)本発明請求項1に
よる課題解決手段は、図1,2の如く、発光素子9と、
受光素子10と、該発光素子9及び受光素子10の駆動
制御を行なう内部制御素子13とを備え、被検出物体の
有無を無接点で検出する光結合装置において、前記内部
制御素子13は、クロツクラインCLK及び信号ライン
DI/Oの各端子が設けられ、予め自己の識別符号を記
憶する記憶回路6と、外部制御装置11より信号ライン
DI/Oを通じてクロツクラインCLKのクロツク信号
に同期して送られてくる識別符号と、前記記憶回路6に
記憶された自己の識別符号とが一致しているか否かを比
較判別する比較判別回路5と、該比較判別回路5が識別
符号の一致を判別したとき、発光素子9及び受光素子1
0に電源を供給する出力制御回路30と、識別符号受領
信号ACKを発生させる信号発生回路31と、クロツク
タイミングを制御するタイミング制御回路7とを備え、
前記信号発生回路31は、前記比較判別回路5が識別符
号の一致を判別したとき、受光素子10から入力された
検知状態結果DOを識別符号受領信号ACKにつづけて
信号ラインDI/Oを通じて外部制御装置11に出力す
るよう構成され、前記タイミング制御回路は、外部制御
装置11より送られてくる信号について、クロツク信号
の初期2回以上の信号ラインの符号によりクロツク信号
と信号ラインの符号との同期を確認するよう構成された
ものである。
Means for Solving the Problems (1) The means for solving the problems according to the first aspect of the present invention comprises, as shown in FIGS.
In an optical coupling device comprising a light receiving element 10 and an internal control element 13 for controlling the driving of the light emitting element 9 and the light receiving element 10, the internal control element 13 comprises a clock. Each terminal of the clock line CLK and the signal line DI / O is provided, and is transmitted in synchronization with the clock signal of the clock line CLK through the signal line DI / O from the storage circuit 6 for storing its own identification code in advance and the external control device 11. A comparison discrimination circuit 5 for comparing and discriminating whether or not the received identification code matches its own identification code stored in the storage circuit 6, and the comparison discrimination circuit 5 determines whether the identification codes match. When the light emitting element 9 and the light receiving element 1
An output control circuit 30 for supplying power to the power supply 0, a signal generation circuit 31 for generating an identification code reception signal ACK, and a timing control circuit 7 for controlling clock timing.
When the comparison / determination circuit 5 determines that the identification codes match, the signal generation circuit 31 externally controls the detection state result DO input from the light receiving element 10 through the signal line DI / O following the identification code reception signal ACK. The timing control circuit is configured to output the clock signal to the device 11. The timing control circuit synchronizes the clock signal with the code of the signal line by using the code of the signal line at least two times at the beginning of the clock signal for the signal sent from the external control device 11. Is confirmed.

【0009】(2)請求項2による課題解決手段は、図
4の如く、請求項1記載の光結合装置が複数個配設さ
れ、これら光結合装置がクロツクラインCLK及び信号
ラインDI/Oの2本のラインを共用して外部制御装置
11に接続されたものである。
(2) As a means for solving the problem according to claim 2, as shown in FIG. 4, a plurality of optical coupling devices according to claim 1 are provided, and these optical coupling devices are connected to a clock line CLK and a signal line DI / O. The two lines are shared and connected to the external control device 11.

【0010】(3)請求項6による課題解決手段は、図
2の如く、外部制御装置11を識別符号の交信時以外は
クロツク信号を発生しないよう構成し、クロツク信号は
交信時以外はHigh状態とし、かつ識別符号の前にL
ow出力を入れ、クロツク信号、識別符号を請求項1記
載の光結合装置に入力するものである。
(3) The means for solving the problem according to claim 6 is that, as shown in FIG. 2, the external control device 11 is configured not to generate a clock signal except for the communication of the identification code, and the clock signal is in the high state except for the communication. And L before the identification code
An ow output is input, and a clock signal and an identification code are input to the optical coupling device according to the first aspect.

【0011】[0011]

【作用】(1)上記請求項1による課題解決手段におい
て、外部制御装置11より信号ラインDI/Oを通じて
クロツクラインCLKのクロツク信号に同期して送られ
てくる識別符号が予め記憶されている自己の識別符号と
一致すると、識別符号受領信号ACKを外部制御装置1
1に送ることができる。このため、この識別符号受領信
号ACKが全光結合装置について送られてくることを確
認すれば、外部制御装置11からは光結合装置までの接
続がなされていることが分るから、機器製造時の接続チ
エツク及び機器使用時の電源投入時の接続チエツクが行
える。
(1) In the means for solving problems according to the first aspect, an identification code which is sent from the external control device 11 through the signal line DI / O in synchronization with the clock signal of the clock line CLK is stored in advance. If the identification code matches the identification code of the external control device 1,
1 can be sent. For this reason, if it is confirmed that the identification code reception signal ACK is sent to the all-optical coupling device, it is known from the external control device 11 that the connection to the optical coupling device has been established. Connection check and connection check at the time of power-on when the device is used.

【0012】また、外部制御装置11から送られてきた
識別符号が予め記憶している自己の識別符号と一致した
場合、その光結合装置のみが動作し、それ以外の光結合
装置は動作しないため、従来の光結合装置に比べて大幅
な消費電流の低減が図れる。
When the identification code sent from the external control device 11 matches its own identification code stored in advance, only that optical coupling device operates and the other optical coupling devices do not operate. In addition, the current consumption can be significantly reduced as compared with the conventional optical coupling device.

【0013】(2)請求項2では、信号発生回路31
が、検知状態結果DOを識別符号受領信号ACKにつづ
けて信号ラインDOを通じて外部制御装置11に出力す
るから、この光結合装置を外部制御装置11に複数個接
続する場合には、クロツクラインCLKと信号ラインD
I/Oを各光結合装置間で共用して外部制御装置11に
接続できる。このため、従来の光結合装置を使用した場
合に比して機器内の配線が簡略化される。
(2) According to claim 2, the signal generating circuit 31
Outputs the detection state result DO to the external control device 11 through the signal line DO together with the identification code reception signal ACK. Therefore, when a plurality of optical coupling devices are connected to the external control device 11, the clock line CLK and Signal line D
I / O can be connected to the external control device 11 by sharing between the optical coupling devices. For this reason, the wiring in the device is simplified as compared with the case where the conventional optical coupling device is used.

【0014】(3)請求項3において、外部制御装置1
1より送られて来た識別符号は、図2の様に外部制御装
置11より送られてくるクロツク信号CKLに同期し、
このクロツク信号は信号のやりとり時以外はHigh状
態とし、かつ識別符号の前にLow出力を入れ、両信号
を光結合装置に入力する。そうすると、光結合装置のタ
イミング制御回路7は、クロツク信号の1クロツク目立
ち下がり時に符号信号がHigh出力、2クロツク目立
ち下がり時に符号信号がLow出力となることを確認す
る。そして、このタイミングがOKであれば、以降のD
I0〜DI7を識別符号として取り込む。これにより、
クロツク信号と、信号ラインDI/O上の符号信号にノ
イズによる同期のずれを光結合装置によりチエツクでき
る。
(3) In the third aspect, the external control device 1
The identification code sent from 1 is synchronized with the clock signal CKL sent from the external control device 11 as shown in FIG.
The clock signal is in a high state except when the signal is exchanged, and a low output is input before the identification code, and both signals are input to the optical coupler. Then, the timing control circuit 7 of the optical coupling device confirms that the sign signal becomes High when the clock signal falls at the first clock, and that the sign signal becomes Low when the clock signal falls at the second clock. If this timing is OK, the subsequent D
I0 to DI7 are taken in as identification codes. This allows
The synchronization shift due to noise between the clock signal and the code signal on the signal line DI / O can be checked by the optical coupling device.

【0015】[0015]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明の一実施例を示す光結合装置のブ
ロツク図、図2は同じくそのタイミングチヤート、図3
は同じくその光結合装置の断面図である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an optical coupling device showing an embodiment of the present invention, FIG. 2 is a timing chart thereof, and FIG.
Is a sectional view of the optical coupling device.

【0016】図示の如く、本実施例の透過型光結合装置
(フオトインタラプタ)は、発光素子9と、増幅器、出
力トランジスタを内蔵した受光素子10と、該発光素子
9及び受光素子10の駆動制御を行う内部制御素子13
とからなる。発光素子9及び受光素子10は、図3の如
く、被検出物体の通過路15を挟んで対向するようプリ
ント基板14に搭載されており、内部制御素子13は、
プリント基板14の裏面側に半田付けされている。そし
て、これらは外装ケース16に収納され、該外装ケース
16には投光窓17、採光窓18が形成されている。
As shown in the figure, the transmission type optical coupling device (photo interrupter) of the present embodiment includes a light emitting element 9, a light receiving element 10 including an amplifier and an output transistor, and a drive control of the light emitting element 9 and the light receiving element 10. Internal control element 13 that performs
Consists of As shown in FIG. 3, the light emitting element 9 and the light receiving element 10 are mounted on the printed circuit board 14 so as to face each other across the passage 15 of the detected object.
It is soldered to the back side of the printed circuit board 14. These are housed in an exterior case 16, and a projection window 17 and a lighting window 18 are formed in the exterior case 16.

【0017】前記内部制御素子13は、図1の如く、電
源ラインVcc、グランドラインGND、クロツクライ
ンCLK及び信号ラインDI/Oの4つの入出力端子に
て、外部制御装置11及び電源とコネクタ25(図3参
照)を介して接続されている。
As shown in FIG. 1, the internal control element 13 has four input / output terminals of a power supply line Vcc, a ground line GND, a clock line CLK and a signal line DI / O. (See FIG. 3).

【0018】そして、内部制御素子13は、外部制御装
置11から信号ラインDI/Oを通じてクロツクライン
CLKのクロツク信号に同期して送られてきたデータビ
ツト列を読み込むシフトレジスタ34と、予め自己の識
別符号を記憶する記憶回路(アドレスメモリー)6と、
前記シフトレジスタ34に読み込まれたデータ(識別符
号)とアドレスメモリー6に記憶されたデータ(自己の
識別符号)とが一致しているか否かを比較判別する比較
判別回路(アドレス比較回路)5と、該アドレス比較回
路5が識別符号の一致を判別したとき、発光素子9及び
受光素子10に電源を供給する出力制御回路30と、ク
ロツクタイミングを制御するタイミング制御回路7と、
該タイミング制御回路7により決められたタイミングに
従つて受光素子10から入力された検知状態結果DOを
識別符号受領信号ACKにつづけて信号ラインDI/O
を通じて外部制御装置11に出力する信号発生回路(A
CK発生回路)31と、出力ラツチ回路32と、出力ゲ
ート回路33とを備えている。
The internal control element 13 has a shift register 34 for reading a data bit sequence sent in synchronization with the clock signal of the clock line CLK from the external control device 11 via the signal line DI / O, and a self-identifying element in advance. A storage circuit (address memory) 6 for storing codes,
A comparison discrimination circuit (address comparison circuit) 5 for comparing and discriminating whether or not the data (identification code) read into the shift register 34 matches the data (own identification code) stored in the address memory 6; An output control circuit 30 for supplying power to the light emitting element 9 and the light receiving element 10 when the address comparing circuit 5 determines that the identification codes match, a timing control circuit 7 for controlling clock timing,
The detection state result DO input from the light receiving element 10 according to the timing determined by the timing control circuit 7 is added to the identification code reception signal ACK, and the signal line DI / O is output.
Signal generating circuit (A
CK generation circuit) 31, an output latch circuit 32, and an output gate circuit 33.

【0019】ここで、外部制御装置11は、光結合装置
に識別符号の読み取り開始時期を確実に把握させるた
め、信号ラインDI/Oを通じて識別符号の交信を行う
時以外はクロツク信号を発生しないように構成されてお
り、図2の如く、このクロツク信号は交信時以外はHi
gh状態とし、かつ識別符号の前にLow出力が入力さ
れるようにしている。そこで、前記タイミング制御回路
7は、外部制御装置11から送られてくる信号につい
て、クロツク信号の初期2回以上の信号ラインDI/O
の符号によりクロツク信号と識別符号との同期を確認す
るよう構成されている。
Here, the external control device 11 does not generate a clock signal except when communicating the identification code through the signal line DI / O in order to make the optical coupling device surely grasp the start time of reading the identification code. As shown in FIG. 2, this clock signal is Hi except during communication.
gh state, and a Low output is input before the identification code. Therefore, the timing control circuit 7 controls the signal line DI / O for the signal sent from the external control device 11 two or more times at the beginning of the clock signal.
Is used to confirm the synchronization between the clock signal and the identification code.

【0020】また、外部制御装置11から送られてくる
8ビツトの識別符号データビツト列の最後にパリテイ信
号PTYが付加されており、内部制御素子13には、こ
の符号信号のビツト数を調べて識別符号の読み込みエラ
ーを検出できるよう、パリテイチエツク回路40が設け
られている。
A parity signal PTY is added to the end of the 8-bit identification code data bit string sent from the external control device 11, and the internal control element 13 checks the number of bits of this code signal. A parity check circuit 40 is provided to detect a reading error of the identification code.

【0021】なお、アドレスの書き込みは、外部制御装
置11を有する機器への取り付け前、あるいは機器に取
り付け後にメモリー書き込み制御手段35にて書き込ま
れる。そして、このアドレス書き込み方法としては、R
AM方式、電荷注入方式、接合破壊方式、ヒユーズ溶断
方式等が考えられる。
The address is written by the memory writing control means 35 before the device is mounted on the device having the external control device 11 or after the device is mounted on the device. Then, as this address writing method, R
An AM method, a charge injection method, a junction destruction method, a fuse fusing method and the like can be considered.

【0022】次に、図2のタイミングチヤートに従つて
上記光結合装置の動作を詳述する。
Next, the operation of the optical coupling device will be described in detail with reference to the timing chart of FIG.

【0023】まず、外部制御装置11と接続されたクロ
ツクラインCLK及び信号ラインDI/Oは、光結合装
置を動作させない場合にはHigh状態を保持してい
る。
First, the clock line CLK and the signal line DI / O connected to the external control device 11 maintain a high state when the optical coupling device is not operated.

【0024】光結合装置の検知状態を知る必要が生じた
場合、外部制御装置11がクロツク信号とこれに同期し
た識別符号を出力する。このとき、タイミング制御回路
7によりDI/O端子の状態が1クロツク目立ち下がり
時High、2クロツク目立ち下がり時Lowのときの
み、以降のDI/Oの状態を図2のDI0〜DI7(8
ビツト)を識別符号としてシフトレジスタ34に読み込
む。
When it becomes necessary to know the detection state of the optical coupling device, the external control device 11 outputs a clock signal and an identification code synchronized with the clock signal. At this time, only when the state of the DI / O terminal is High at the falling edge of the first clock by the timing control circuit 7, the subsequent DI / O state is changed to DI0 to DI7 (8 in FIG. 2).
) Is read into the shift register 34 as an identification code.

【0025】すなわち、外部制御装置11より送られて
来た識別符号は、図2の様に外部制御装置11より送ら
れてくるクロツク信号CKLに同期し、このクロツク信
号は信号のやりとり時以外はHigh状態とし、かつ識
別符号の前にLow出力を入れ、光結合装置はクロツク
信号の1クロツク目立ち上がり時がHigh出力、2ク
ロツク目立ち下がり時がLow出力となることをタイミ
ング制御回路7により確認する。そして、クロツクタイ
ミングがOKであれば、以降のDI0〜DI7の8ビツ
トを識別符号として取り込む。
That is, the identification code sent from the external control device 11 is synchronized with the clock signal CKL sent from the external control device 11 as shown in FIG. 2, and this clock signal is used except when the signal is exchanged. The output is put into a High state, and a Low output is inserted before the identification code. The optical coupling device confirms by the timing control circuit 7 that the output is High when the first clock rises and the Low output is when the second clock falls. . If the clock timing is OK, the subsequent eight bits DI0 to DI7 are fetched as identification codes.

【0026】これにより、クロツク信号と、信号ライン
DI/O上の符号信号のノイズによる同期のずれを光結
合装置によりチエツクできる。
With this arrangement, it is possible to check the synchronization deviation due to the noise between the clock signal and the code signal on the signal line DI / O by the optical coupling device.

【0027】さらに、本例では、8ビツトのDI0〜D
I7符号にパリテイ信号PTYを入れて9ビツトの符号
信号とし、この符号信号のビツト数をパリテイチエツク
回路40にて調べ、パリテイエラーを検出する。パリテ
イエラーの発生が確認されると、出力制御回路30は、
O1電源ライン19から発光素子9および受光素子10
に電源を供給せず、パリテイエラーの発生が確認されな
いときのみ、発光素子9および受光素子10に電源を供
給する。したがつて、符号信号のノイズによるエラー、
すなわち識別符号の読み込みエラーをチエツクできる。
Further, in this example, the 8-bit DI0 to DI0
The parity signal PTY is added to the I7 code to form a 9-bit code signal, and the number of bits of this code signal is checked by the parity check circuit 40 to detect a parity error. When the occurrence of the parity error is confirmed, the output control circuit 30
O1 power supply line 19 to light emitting element 9 and light receiving element 10
The power is supplied to the light emitting element 9 and the light receiving element 10 only when no parity error is detected. Therefore, errors due to noise in the code signal,
That is, the reading error of the identification code can be checked.

【0028】そして、アドレスメモリー6にある自己の
識別符号と、信号ラインDI/Oにより読み込まれたシ
フトレジスタ34にある識別符号とをアドレス比較回路
5で比較し、出力制御回路30は、識別符号が一致した
場合のみ発光素子9及び受光素子10のO1電源ライン
8に電源を供給して発光素子9および受光素子10を駆
動させる。
Then, the self-identification code in the address memory 6 and the identification code in the shift register 34 read by the signal line DI / O are compared by the address comparison circuit 5, and the output control circuit 30 Power is supplied to the O1 power supply line 8 of the light-emitting element 9 and the light-receiving element 10 only when they match, and the light-emitting element 9 and the light-receiving element 10 are driven.

【0029】ここで、従来の光結合装置の使用に際して
は、常時全光結合装置の電源を入れていたが、本実施例
では、図1において実際に消費電流が多いのは従来の光
結合装置と同一である発光素子9、受光素子10の部分
であり、この部分は外部制御装置11から識別符号が送
られてきた識別符号が予め記憶している自己の識別符号
と一致した光結合装置のみが一定時間のみ動作し、それ
以外の識別符号が一致していない全光結合装置は動作し
ないため、大幅な消費電流の低減が図れる。
Here, when the conventional optical coupling device is used, the power of the all optical coupling device is always turned on. In the present embodiment, however, in FIG. And a light-emitting element 9 and a light-receiving element 10 which are the same as those described above. This part is only an optical coupling device whose identification code sent from the external control device 11 matches its own identification code stored in advance. Operate only for a certain period of time, and the other all-optical couplers whose identification codes do not match do not operate, so that the current consumption can be significantly reduced.

【0030】そして、受光素子10の出力、すなわち被
検知物体の有無に応じてHighまたはLow信号をI
ライン19から出力ラツチ回路32に読み込む。次に、
ACK発生回路31は、タイミング制御回路7により決
められたタイミングで検知状態結果DOを識別符号受領
信号ACKにつづけて出力ゲート回路33に出力し、出
力ゲート回路33は、この両信号DO,ACKを信号ラ
インDI/Oラインを通じて外部制御装置11に出力す
る。なお、本例においては、16クロツク目の立ち上が
りに同期し識別符号受領信号ACKを出力し、17クロ
ツク目の立ち上がりに同期して検知状態結果DOの出力
を行う。
Then, depending on the output of the light receiving element 10, that is, the presence or absence of the detected object, the High or Low signal is output to I
The data is read from the line 19 to the output latch circuit 32. next,
The ACK generation circuit 31 outputs the detection state result DO to the output gate circuit 33 at the timing determined by the timing control circuit 7 along with the identification code reception signal ACK, and the output gate circuit 33 outputs the two signals DO and ACK. The signal is output to the external control device 11 through the signal line DI / O line. In this example, the identification code receiving signal ACK is output in synchronization with the rising edge of the 16th clock, and the detection state result DO is output in synchronization with the rising edge of the 17th clock.

【0031】このように、検知状態結果DOを識別符号
受領信号ACKにつづけて信号ラインDOを通じて外部
制御装置11に出力させることで、例えば複写機等の外
部制御装置11に複数個の光結合装置を接続する場合に
は、図4の如く、クロツクラインCLKと信号ラインD
I/Oを各光結合装置12間で共用して外部制御装置1
1に接続できる。このため、従来の光結合装置を使用し
た場合に比して機器内の配線が簡略化される。
As described above, the detection state result DO is output to the external control device 11 through the signal line DO in accordance with the identification code reception signal ACK, so that the external control device 11 such as a copying machine can be provided with a plurality of optical coupling devices. Are connected, the clock line CLK and the signal line D are connected as shown in FIG.
I / O is shared between the optical coupling devices 12 and the external control device 1
1 can be connected. For this reason, the wiring in the device is simplified as compared with the case where the conventional optical coupling device is used.

【0032】さらに、識別符号と一致している光結合装
置が識別符号受領信号ACKを外部制御装置11に送る
ため、この識別符号受領信号ACKが全光結合装置につ
いて送られてくることを確認すれば、外部制御装置11
からは光結合装置までの接続がなされていることが分る
から、機器製造時の接続チエツク及び機器使用時の電源
投入時の接続チエツクが行える。
Further, since the optical coupler that matches the identification code sends the identification code acknowledgment signal ACK to the external controller 11, it is confirmed that this identification code acknowledgment signal ACK is sent for the all-optical coupler. If the external control device 11
It can be seen from FIG. 2 that the connection to the optical coupling device has been made, so that a connection check at the time of manufacturing the device and a connection check at the time of turning on the power at the time of using the device can be performed.

【0033】ここで、図2の信号ラインDI/Oにおい
て、パリテイエラーの発生がないことを確認し、発光素
子9及び受光素子10のO1電源ライン8により電源を
供給してから一定時間あけて検知状態結果DOを出力す
るのは、受光素子10の被検出物体検知の出力19が安
定した状態で検知状態結果DOを出力するためである。
Here, it is confirmed that no parity error has occurred in the signal line DI / O of FIG. 2, and a certain period of time is passed after power is supplied through the O1 power supply line 8 of the light emitting element 9 and the light receiving element 10. The detection state result DO is output in order to output the detection state result DO in a state where the output 19 of the detected object detection of the light receiving element 10 is stable.

【0034】なお、本発明は、上記実施例に限定される
ものではなく、本発明の範囲内で上記実施例に多くの修
正及び変更を加え得ることは勿論である。
It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that many modifications and changes can be made to the above-described embodiment within the scope of the present invention.

【0035】例えば本実施例では、透過型フオトインタ
プタについて記載したが、反射型フオトインタラプタを
用いて被検出物体の濃度(トナー濃度)、あるいはチル
ト角を検出する場合には、識別符号にコマンドを付加
し、このコマンドを内部制御素子にて検出し、これに応
じて発光部および受光部への電源の供給を制御してもよ
い。
For example, in this embodiment, the transmission type photointerrupter has been described. However, when the density (toner density) or the tilt angle of the detected object is detected using the reflection type photointerrupter, a command is added to the identification code. The command may be detected by the internal control element, and the supply of power to the light emitting unit and the light receiving unit may be controlled accordingly.

【0036】[0036]

【発明の効果】以上の説明から明らかな通り、 (1)本発明請求項1によると、内部制御素子の消費電
流は微小で済むため、小電流化が図れる。さらに、光結
合装置に対する接続の確認も行えるため、機器製造時の
テスト、機器使用の電源投入時の初期テストが可能とな
る利点がある。
As is clear from the above description, (1) According to the first aspect of the present invention, the current consumption of the internal control element is small, so that the current can be reduced. Further, since the connection to the optical coupling device can be confirmed, there is an advantage that a test at the time of manufacturing the device and an initial test at the time of turning on the power of using the device can be performed.

【0037】(2)請求項2では、多数個の光結合装置
を2本のライン(クロツクライン、信号ライン)にて接
続することができるためリード線の削減が図れ、機器の
小型化に貢献する。
(2) According to the second aspect, since a large number of optical coupling devices can be connected by two lines (clock line and signal line), the number of lead wires can be reduced and the device can be downsized. I do.

【0038】(3)請求項3によると、クロツク信号と
信号ライン上の符号信号のノイズによる同期のずれをチ
エツクできる。
(3) According to the third aspect, it is possible to check the synchronization deviation due to noise between the clock signal and the code signal on the signal line.

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

【図1】図1は本発明の一実施例を示す光結合装置のブ
ロツク図である。
FIG. 1 is a block diagram of an optical coupling device showing one embodiment of the present invention.

【図2】図2は同じくそのタイミングチヤートである。FIG. 2 is also a timing chart thereof.

【図3】図3は同じくその光結合装置の断面図である。FIG. 3 is a sectional view of the optical coupling device.

【図4】図4は本発明の光結合装置を利用した場合の機
器内結線図である。
FIG. 4 is a wiring diagram in a device when the optical coupling device of the present invention is used.

【図5】図5は従来の光結合装置の電気回路図である。FIG. 5 is an electric circuit diagram of a conventional optical coupling device.

【図6】図6は従来の光結合装置を利用した場合の機器
内結線図である。
FIG. 6 is a connection diagram in a device when a conventional optical coupling device is used.

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

5 比較判別回路(アドレス比較回路) 6 記憶回路(アドレスメモリー) 7 タイミング制御回路 9 発光素子 10 受光素子 11 外部制御装置 12 光結合装置 13 内部制御素子 30 出力制御回路 31 信号発生回路(ACK発生回路) 32 出力ラツチ回路 33 出力ゲート回路 34 入力用シフトレジスタ 35 メモリ書き込み制御手段 40 パリテイチエツク回路 Reference Signs List 5 comparison discrimination circuit (address comparison circuit) 6 storage circuit (address memory) 7 timing control circuit 9 light emitting element 10 light receiving element 11 external control device 12 optical coupling device 13 internal control element 30 output control circuit 31 signal generation circuit (ACK generation circuit 32) output latch circuit 33 output gate circuit 34 input shift register 35 memory write control means 40 parity check circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 発光素子と、受光素子と、該発光素子及
び受光素子の駆動制御を行なう内部制御素子とを備え、
被検出物体の有無を無接点で検出する光結合装置におい
て、前記内部制御素子は、クロツクライン及び信号ライ
ンの各端子が設けられ、予め自己の識別符号を記憶する
記憶回路と、外部制御装置より信号ラインを通じてクロ
ツクラインのクロツク信号に同期して送られてくる識別
符号と、前記記憶回路に記憶された自己の識別符号とが
一致しているか否かを比較判別する比較判別回路と、該
比較判別回路が識別符号の一致を判別したとき、発光素
子及び受光素子に電源を供給する出力制御回路と、識別
符号受領信号を発生させる信号発生回路と、クロツクタ
イミングを制御するタイミング制御回路とを備え、前記
信号発生回路は、前記比較判別回路が識別符号の一致を
判別したとき、受光素子から入力された検知状態結果を
識別符号受領信号ににつづけて信号ラインを通じて外部
制御装置に出力するよう構成され、前記タイミング制御
回路は、外部制御装置より送られてくる信号について、
クロツク信号の初期2回以上の信号ラインの符号により
クロツク信号と信号ラインの符号との同期を確認するよ
う構成されたことを特徴とする光結合装置。
A light-emitting element, a light-receiving element, and an internal control element for controlling driving of the light-emitting element and the light-receiving element;
In an optical coupling device for detecting the presence or absence of an object to be detected in a contactless manner, each of the internal control elements is provided with a clock line and a signal line terminal, and includes a storage circuit for storing its own identification code in advance and an external control device. A comparison discriminating circuit for comparing and discriminating whether or not the identification code sent in synchronization with the clock signal of the clock line via the signal line and the self identification code stored in the storage circuit are matched; An output control circuit for supplying power to the light emitting element and the light receiving element when the determination circuit determines that the identification codes match; a signal generation circuit for generating an identification code reception signal; and a timing control circuit for controlling clock timing. And a signal generation circuit that, when the comparison and determination circuit determines that the identification codes match, identifies the detection state result input from the light receiving element as an identification code reception signal. Is configured to output to an external control device via continuing the signal line, the timing control circuit, for a signal sent from the external control device,
An optical coupling device characterized in that synchronization of the clock signal and the code of the signal line is confirmed by the code of the signal line at least two times in the initial stage of the clock signal.
【請求項2】 請求項1記載の光結合装置が複数個配設
され、これら光結合装置がクロツクライン及び信号ライ
ンの2本のラインを共用して外部制御装置に接続された
ことを特徴とする情報機器。
2. The optical coupling device according to claim 1, wherein a plurality of optical coupling devices are provided, and these optical coupling devices are connected to an external control device by sharing two lines of a clock line and a signal line. Information equipment.
【請求項3】 外部制御装置を識別符号の交信時以外は
クロツク信号を発生しないよう構成し、クロツク信号は
交信時以外はHigh状態とし、かつ識別符号の前にL
ow出力を入れ、クロツク信号、識別符号を請求項1記
載の光結合装置に入力することを特徴とする光結合装置
の制御方法。
3. An external control device is constructed so as not to generate a clock signal except at the time of communication of the identification code. The clock signal is set to a high state except at the time of communication, and the L signal is output before the identification code.
2. A method for controlling an optical coupling device, comprising: inputting an ow output and inputting a clock signal and an identification code to the optical coupling device according to claim 1.
JP15429991A 1990-11-21 1991-06-26 Optical coupling device, information equipment using the same, and method of controlling optical coupling device Expired - Fee Related JP2604651B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP15429991A JP2604651B2 (en) 1991-06-26 1991-06-26 Optical coupling device, information equipment using the same, and method of controlling optical coupling device
US07/792,527 US5304812A (en) 1990-11-21 1991-11-18 Optoelectronic device, information apparatus and data transmission system using optoelectronic device for simplifying wirings and reducing size, and method of controlling the optoelectronic device
EP91119762A EP0487051B1 (en) 1990-11-21 1991-11-19 Optoelectronic device, information apparatus and data transmission system using optoelectronic device for simplifying wirings and reducing size, and method of controlling the optoelectronic device
DE69126951T DE69126951T2 (en) 1990-11-21 1991-11-19 Optoelectronic device and suitable control method, information device equipped with this device and data transmission system with simplified wiring and reduced size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15429991A JP2604651B2 (en) 1991-06-26 1991-06-26 Optical coupling device, information equipment using the same, and method of controlling optical coupling device

Publications (2)

Publication Number Publication Date
JPH055786A JPH055786A (en) 1993-01-14
JP2604651B2 true JP2604651B2 (en) 1997-04-30

Family

ID=15581099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15429991A Expired - Fee Related JP2604651B2 (en) 1990-11-21 1991-06-26 Optical coupling device, information equipment using the same, and method of controlling optical coupling device

Country Status (1)

Country Link
JP (1) JP2604651B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040251435A1 (en) 2003-04-07 2004-12-16 Noboru Sawayama Optical sensor and image forming apparatus

Also Published As

Publication number Publication date
JPH055786A (en) 1993-01-14

Similar Documents

Publication Publication Date Title
US11922022B2 (en) Method for transferring data on a memory card in synchronism with a rise edge and a fall edge of a clock signal
CN101387944B (en) Card type peripheral apparatus
JPH0816896B2 (en) Slave type interface circuit
EP0883066B1 (en) Serial data transmission between data processing apparatus and an external storage apparatus
US6496879B2 (en) Data processing apparatus, external storage apparatus, data processing system and data transmitting method
JP2604651B2 (en) Optical coupling device, information equipment using the same, and method of controlling optical coupling device
US5325376A (en) Communication system for detecting a communication error in information transmitted between a plurality of units and a main control unit
US7454644B2 (en) Integrated circuit with low current consumption having a one wire communication interface
JP2010512041A (en) Sensor device and operation method thereof
EP0487051B1 (en) Optoelectronic device, information apparatus and data transmission system using optoelectronic device for simplifying wirings and reducing size, and method of controlling the optoelectronic device
US6917994B2 (en) Device and method for automatically generating an appropriate number of wait cycles while reading a nonvolatile memory
KR100284992B1 (en) Data transfer devices and terminal units used in these devices
JP2927594B2 (en) Control method of optical coupling device
JP2729873B2 (en) Information equipment, optical coupling device used therefor, and control method therefor
JP4077111B2 (en) Device control circuit
US5404475A (en) Memory apparatus comprising memory cards with a side detecting signal pin and address assignment circuitry
JPH04267458A (en) Optically coupled device and information equipment using this
JP2706847B2 (en) Optical coupling device and information device using the same
JP2610544B2 (en) Light emitting device and information device using the same
JP5278267B2 (en) END COVER, PROGRAMMABLE LOGIC CONTROLLER DEVICE EQUIPPED WITH THE SAME, END COVER INSTALLATION CHECK METHOD, AND PROGRAMMABLE LOGIC CONTROLLER FAILURE DIAGNOSIS METHOD
JP2002366505A (en) Method and device for detecting mounting position
US11537547B2 (en) Slave device, master device, and data transmission method
JP2005338963A (en) Electronic device
KR20220159529A (en) Protocol converting apparatus
KR100244252B1 (en) Data transmission device in parrell bus system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080129

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090129

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100129

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees