JPH11205229A - Optical communication equipment, its self-diagnostic method, information storage medium - Google Patents

Optical communication equipment, its self-diagnostic method, information storage medium

Info

Publication number
JPH11205229A
JPH11205229A JP10005471A JP547198A JPH11205229A JP H11205229 A JPH11205229 A JP H11205229A JP 10005471 A JP10005471 A JP 10005471A JP 547198 A JP547198 A JP 547198A JP H11205229 A JPH11205229 A JP H11205229A
Authority
JP
Japan
Prior art keywords
signal
data
optical
externally
self
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
JP10005471A
Other languages
Japanese (ja)
Inventor
Tetsuto Ikeda
哲人 池田
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP10005471A priority Critical patent/JPH11205229A/en
Publication of JPH11205229A publication Critical patent/JPH11205229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow the optical communication equipment to self-diagnose its own failure without communication with other equipment. SOLUTION: A diagnostic output means 8 allows data transmission means 2, 3 to generate transmission data for self-diagnosis and to output the data to a signal output means 4 externally as an optical signal. In this case, a data acquisition means 9 acquires received data as an external optical signal to a signal input means 5 and subject to reception processing at a data reception means 6. A fault discrimination means 10 compared the acquired reception data with the transmission data to discriminate the presence of coincidence so as to self-diagnose the presence of its own fault without optical communication with other optical communication equipment.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、光信号を外部出力
する機能と外部入力される機能とを具備して光通信する
光通信装置、その自己診断方法、この自己診断方法を光
通信装置のコンピュータに実行させるプログラムがソフ
トウェアとして格納された情報記憶媒体、に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical communication apparatus having a function of externally outputting an optical signal and a function of externally inputting an optical signal for performing optical communication, a self-diagnosis method thereof, and a self-diagnosis method for an optical communication apparatus. The present invention relates to an information storage medium in which a program to be executed by a computer is stored as software.

【0002】[0002]

【従来の技術】現在、各種の光通信装置が実用化されて
おり、例えば、パーソナルコンピュータとPDA(Pers
onal Digital Assistance)との無線通信や、波長多
重光ネットワークでの有線通信などに利用されている。
光通信装置には、光信号を外部出力する機能と外部入力
される機能との両方を具備したものがあり、このような
光通信装置では、信号出力と信号入力とで双方向の光通
信を実行することができる。
2. Description of the Related Art At present, various optical communication devices have been put into practical use, for example, personal computers and PDAs (Personal Digital Assistants).
It is used for wireless communication with onal digital equipment, wired communication in a wavelength division multiplexing optical network, and the like.
Some optical communication devices have both a function of externally outputting an optical signal and a function of being externally input. In such an optical communication device, bidirectional optical communication is performed between a signal output and a signal input. Can be performed.

【0003】ただし、このような光通信装置には、光信
号の出力部と入力部とが並設されたものがあり、このよ
うな構造の光通信装置では、光信号の外部出力と外部入
力とを同時に実行すると、自身の出力信号が入力信号の
ノイズとなる。このため、上述のような構造の光通信装
置は、信号出力と信号入力とを同時には実行しない、い
わゆる半二重の通信形態を採用したものが一般的であ
る。
[0003] However, there is an optical communication device in which an output portion and an input portion of an optical signal are arranged side by side. In an optical communication device having such a structure, an external output and an external input of an optical signal are provided. Are executed at the same time, the output signal of itself becomes noise of the input signal. For this reason, the optical communication device having the above-described structure generally adopts a so-called half-duplex communication mode in which signal output and signal input are not performed simultaneously.

【0004】[0004]

【発明が解決しようとする課題】上述のように光信号の
外部出と外部入力との両方の機能を具備した光通信装置
では、光信号により双方向通信を実行することができ
る。しかし、このような光通信装置では、光通信の実行
時に異常が発生しても、その原因が自身にあるのか通信
先にあるのかを判断することができない。
As described above, in an optical communication apparatus having both functions of externally outputting and externally inputting an optical signal, bidirectional communication can be performed by using an optical signal. However, in such an optical communication device, even if an abnormality occurs during execution of the optical communication, it is impossible to determine whether the cause is due to itself or the communication destination.

【0005】例えば、複数の装置と通信すれば、異常の
原因が自身か通信先かを判断できるが、これでは確認に
時間と手間とを要することになる。特に、異常の原因の
究明を目的として、複数の装置と通信することになるの
で、自身とともに複数の装置が無駄に使用されることに
なり、その作業者の負担も大きい。しかも、実際の通信
に異常が発生してから原因を究明することになるので、
重要な通信内容が損なわれる可能性が高い。
For example, by communicating with a plurality of devices, it is possible to determine whether the cause of the abnormality is itself or the communication destination, but this requires time and effort for confirmation. In particular, since communication with a plurality of devices is performed for the purpose of investigating the cause of the abnormality, the plurality of devices are wastefully used together with the device itself, and the burden on the operator is large. In addition, since the cause is determined after an abnormality has occurred in the actual communication,
It is highly likely that important communication contents will be damaged.

【0006】本発明は上述のような課題に鑑みてなされ
たものであり、光通信機能の異常を自己診断することが
できる光通信装置と、その自己診断方法とを提供するこ
とを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide an optical communication device capable of performing a self-diagnosis of an abnormality in an optical communication function, and a self-diagnosis method therefor. .

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明の光
通信装置は、各種の光信号を外部出力する信号出力手段
と、各種の光信号が外部入力される信号入力手段と、自
己診断用の光信号を前記信号出力手段に外部出力させる
診断出力手段と、前記信号出力手段が外部出力して前記
信号入力手段に外部入力された自己診断用の光信号の正
否を判定する異常判定手段と、を具備している。
An optical communication apparatus according to the first aspect of the present invention comprises: a signal output unit for outputting various optical signals to the outside; a signal input unit for receiving various optical signals to the outside; Diagnostic output means for externally outputting a light signal for self-diagnosis to the signal output means, and abnormality determining means for judging whether the optical signal for self-diagnosis is externally output from the signal output means and externally input to the signal input means. And

【0008】従って、本発明の光通信装置は、信号出力
手段により各種の光信号が外部出力され、各種の光信号
が信号入力手段に外部入力されるので、これで他の光通
信装置と双方向の光通信が実行される。さらに、診断出
力手段が自己診断用の光信号を信号出力手段に外部出力
させ、このように外部出力されて信号入力手段に外部入
力された自己診断用の光信号の正否が異常判定手段によ
り判定されるので、他の光通信装置と光通信することな
く自身の異常の有無が自己診断される。
Therefore, in the optical communication apparatus of the present invention, various optical signals are externally output by the signal output means, and various optical signals are externally input to the signal input means. Optical communication is performed. Further, the diagnostic output means externally outputs the optical signal for self-diagnosis to the signal output means, and the abnormality determining means determines whether the optical signal for self-diagnosis is externally output and externally input to the signal input means. Therefore, the self-diagnosis is performed for the presence / absence of an abnormality without performing optical communication with another optical communication device.

【0009】なお、本発明で云う各種手段は、その機能
を実現するように形成されていれば良く、例えば、専用
のハードウェア、適正な機能がプログラムにより付与さ
れたコンピュータ、適正なプログラムによりコンピュー
タの内部に実現された機能、これらの組み合わせ、等を
許容する。
The various means referred to in the present invention only need to be formed so as to realize their functions. For example, dedicated hardware, a computer provided with appropriate functions by a program, a computer provided by an appropriate program , The functions realized inside, and the combination thereof are allowed.

【0010】請求項2記載の発明の光通信装置は、各種
の送信データを発生するデータ送信手段と、該データ送
信手段が発生した送信データを光信号に変換して外部出
力する信号出力手段と、外部入力される各種の光信号を
光電変換して受信データを生成する信号入力手段と、該
信号入力手段により光電変換された受信データで受信処
理を実行するデータ受信手段と、前記データ送信手段に
自己診断用の送信データを発生させて前記信号出力手段
に光信号として外部出力させる診断出力手段と、該診断
出力手段が前記信号出力手段に自己診断用の光信号を外
部出力させたときに前記信号入力手段に外部入力されて
前記データ受信手段により受信処理された受信データを
取得するデータ取得手段と、該データ取得手段が取得し
た受信データと前記診断出力手段が前記データ送信手段
に発生させた送信データとを比較して一致の有無を判定
する異常判定手段と、を具備している。
According to a second aspect of the present invention, there is provided an optical communication apparatus, comprising: a data transmitting means for generating various types of transmission data; and a signal output means for converting the transmission data generated by the data transmitting means into an optical signal and outputting the same to the outside. Signal input means for generating reception data by photoelectrically converting various optical signals input from the outside, data reception means for executing reception processing on the reception data photoelectrically converted by the signal input means, and the data transmission means Diagnostic output means for generating transmission data for self-diagnosis to the signal output means for external output as an optical signal; and when the diagnostic output means externally outputs a self-diagnosis optical signal to the signal output means. A data acquisition unit for acquiring reception data externally input to the signal input unit and subjected to reception processing by the data reception unit; and a reception unit that acquires the reception data acquired by the data acquisition unit. Diagnostic output means is provided with, and abnormality determining means for determining the presence or absence of coincidence by comparing the transmission data is generated in said data transmission means.

【0011】従って、本発明の光通信装置は、データ送
信手段が発生する各種の送信データが信号出力手段によ
り光信号に変換されて外部出力され、信号入力手段によ
り外部入力される各種の光信号が受信データに光電変換
されてデータ受信手段により受信処理されるので、これ
で他の光通信装置と双方向の光通信が実行される。さら
に、診断出力手段がデータ送信手段に自己診断用の送信
データを発生させて信号出力手段に光信号として外部出
力させると、このときに信号入力手段に外部入力されて
データ受信手段により受信処理された受信データがデー
タ取得手段により取得される。この取得された受信デー
タと診断出力手段がデータ送信手段に発生させた送信デ
ータとが異常判定手段により比較されて一致の有無が判
定されるので、他の光通信装置と光通信することなく自
身の異常の有無が自己診断される。
Therefore, in the optical communication apparatus of the present invention, various transmission data generated by the data transmission means are converted into optical signals by the signal output means and output to the outside, and the various optical signals externally input by the signal input means are provided. Is photoelectrically converted into reception data, and reception processing is performed by the data reception unit. Thus, bidirectional optical communication with another optical communication apparatus is performed. Further, when the diagnostic output means generates transmission data for self-diagnosis in the data transmission means and externally outputs it as an optical signal in the signal output means, the data is externally input to the signal input means at this time, and the reception processing is performed by the data reception means. The received data is obtained by the data obtaining means. The obtained reception data and the transmission data generated by the diagnostic output unit in the data transmission unit are compared by the abnormality determination unit to determine whether or not there is a match. The self-diagnosis of the abnormality is performed.

【0012】請求項3記載の発明は、請求項1記載の光
通信装置であって、前記データ送信手段が通信用の送信
データを発生せず前記信号入力手段に通信用の光信号が
入力されない所定のタイミングに前記診断出力手段と前
記異常判定手段とを動作させる動作制御手段も具備して
いる。従って、自身の異常の診断に他の光通信装置との
光通信を要しないので、この自己診断が動作制御手段に
より他の光通信装置と光通信しない所定のタイミングに
実行される。
According to a third aspect of the present invention, in the optical communication apparatus according to the first aspect, the data transmission unit does not generate transmission data for communication and an optical signal for communication is not input to the signal input unit. Operation control means for operating the diagnosis output means and the abnormality determination means at a predetermined timing is also provided. Therefore, the self-diagnosis does not require optical communication with another optical communication device for the diagnosis of its own abnormality, and this self-diagnosis is executed by the operation control means at a predetermined timing when optical communication with another optical communication device is not performed.

【0013】請求項4記載の発明は、請求項3記載の光
通信装置であって、前記動作制御手段は、初期設定の実
行時に前記診断出力手段と前記異常判定手段とを動作さ
せる。従って、自身の異常の自己診断が初期設定の最中
に実行されるので、例えば、重要な光通信を開始する以
前に自身の異常の有無が自己診断される。
According to a fourth aspect of the present invention, in the optical communication apparatus according to the third aspect, the operation control means operates the diagnostic output means and the abnormality determination means at the time of executing initialization. Therefore, since the self-diagnosis of the own abnormality is performed during the initial setting, for example, the self-diagnosis is performed before the start of important optical communication.

【0014】請求項5記載の発明は、請求項2記載の光
通信装置であって、前記データ送信手段が通信用の送信
データを発生せず前記信号入力手段に通信用の光信号が
入力されない所定のタイミングに前記診断出力手段と前
記データ取得手段と前記異常判定手段とを動作させる動
作制御手段も具備している。従って、自身の異常の診断
に他の光通信装置との光通信を要しないので、この自己
診断が動作制御手段により他の光通信装置と光通信しな
い所定のタイミングに実行される。
According to a fifth aspect of the present invention, in the optical communication apparatus according to the second aspect, the data transmitting means does not generate transmission data for communication and an optical signal for communication is not input to the signal input means. Operation control means for operating the diagnostic output means, the data acquisition means, and the abnormality determination means at a predetermined timing is also provided. Therefore, the self-diagnosis does not require optical communication with another optical communication device for the diagnosis of its own abnormality, and this self-diagnosis is executed by the operation control means at a predetermined timing when optical communication with another optical communication device is not performed.

【0015】請求項6記載の発明は、請求項5記載の光
通信装置であって、前記動作制御手段は、初期設定の実
行時に前記診断出力手段と前記異常判定手段と前記異常
判定手段とを動作させる。従って、自身の異常の自己診
断が初期設定の最中に実行されるので、例えば、重要な
光通信を開始する以前に自身の異常の有無が自己診断さ
れる。
According to a sixth aspect of the present invention, in the optical communication apparatus according to the fifth aspect, the operation control means includes a step of executing the diagnosis output means, the abnormality determination means, and the abnormality determination means at the time of executing initialization. Make it work. Therefore, since the self-diagnosis of the own abnormality is performed during the initial setting, for example, the self-diagnosis is performed before the start of important optical communication.

【0016】請求項7記載の発明は、請求項1ないし6
の何れか一記載の光通信装置であって、前記信号出力手
段と前記信号入力手段とは、前記信号出力手段が外部出
力する光信号が前記信号入力手段に直接に外部入力され
る位置に配置されている。従って、信号出力手段が自己
診断用の光信号を外部出力すると、この光信号が特別の
手段を要することなく信号入力手段に直接に外部入力さ
れる。
The invention according to claim 7 is the first to sixth aspects of the present invention.
In the optical communication device according to any one of the above, the signal output unit and the signal input unit are arranged at a position where an optical signal output from the signal output unit is externally input directly to the signal input unit. Have been. Therefore, when the signal output means outputs an optical signal for self-diagnosis to the outside, the optical signal is directly input to the signal input means without any special means.

【0017】請求項8記載の発明は、請求項1ないし6
の何れか一記載の光通信装置であって、前記信号出力手
段が外部出力する光信号を前記信号入力手段に外部入力
させる光誘導手段も具備している。従って、信号出力手
段が外部出力する光信号が信号入力手段に直接に外部入
力されない構造でも、信号出力手段が外部出力する自己
診断用の光信号が光誘導手段により信号入力手段に外部
入力され、これに他の光通信装置との光通信を必要とし
ない。
[0017] The invention according to claim 8 is the invention according to claims 1 to 6.
The optical communication device according to any one of the above, further comprising light guiding means for externally inputting an optical signal output from the signal output means to the signal input means. Therefore, even in a structure in which the optical signal externally output by the signal output unit is not directly externally input to the signal input unit, the optical signal for self-diagnosis externally output by the signal output unit is externally input to the signal input unit by the light guiding unit, This does not require optical communication with another optical communication device.

【0018】請求項9記載の発明の光通信装置の自己診
断方法は、各種の光信号を信号出力手段により外部出力
し、各種の光信号が信号入力手段に外部入力される光通
信装置において、自己診断用の光信号を前記信号出力手
段に外部出力させ、前記信号出力手段が外部出力して前
記信号入力手段に外部入力された自己診断用の光信号の
正否を判定するようにした。従って、他の光通信装置と
双方向の光通信を実行する光通信装置において、その異
常の有無が他の光通信装置と光通信することなく自己診
断される。
According to a ninth aspect of the present invention, there is provided an optical communication apparatus in which various optical signals are externally output by signal output means and various optical signals are externally input to signal input means. A self-diagnosis optical signal is externally output to the signal output means, and the signal output means is externally output and determines whether the self-diagnosis optical signal is externally input to the signal input means. Therefore, in an optical communication device that performs bidirectional optical communication with another optical communication device, the presence or absence of the abnormality is self-diagnosed without optical communication with the other optical communication device.

【0019】請求項10記載の発明の光通信装置の自己
診断方法は、データ送信手段により発生する各種の送信
データを信号出力手段により光信号に変換して外部出力
し、外部入力される各種の光信号を信号入力手段により
受信データに光電変換してデータ受信手段により受信処
理する光通信装置において、前記データ送信手段に自己
診断用の送信データを発生させて前記信号出力手段に光
信号として外部出力させ、この自己診断用の光信号を外
部出力させたときに前記信号入力手段に外部入力されて
前記データ受信手段により受信処理された受信データを
取得し、この取得された受信データと前記データ送信手
段に発生させた自己診断用の送信データとを比較して一
致の有無を判定するようにした。従って、他の光通信装
置と双方向の光通信を実行する光通信装置において、そ
の異常の有無が他の光通信装置と光通信することなく自
己診断される。
According to a tenth aspect of the present invention, there is provided a self-diagnosis method for an optical communication apparatus, wherein various transmission data generated by a data transmission unit is converted into an optical signal by a signal output unit and externally output, and various externally input signals are output. In an optical communication device in which an optical signal is photoelectrically converted into reception data by a signal input unit and reception processing is performed by a data reception unit, the data transmission unit generates transmission data for self-diagnosis, and the signal output unit outputs an external signal as an optical signal. Output, and when the self-diagnosis optical signal is externally output, the reception data externally input to the signal input means and subjected to reception processing by the data reception means is obtained, and the obtained reception data and the data are obtained. The transmission data for self-diagnosis generated by the transmission unit is compared with each other to determine whether or not there is a match. Therefore, in an optical communication device that performs bidirectional optical communication with another optical communication device, the presence or absence of the abnormality is self-diagnosed without optical communication with the other optical communication device.

【0020】請求項11記載の情報記憶媒体は、光信号
を外部出力する信号出力手段や光信号が外部入力される
信号入力手段が接続されたコンピュータが読取自在なソ
フトウェアが格納されている情報記憶媒体において、自
己診断用の送信データを発生させて前記信号出力手段に
光信号として外部出力させること、この自己診断用の光
信号を外部出力させたときに前記信号入力手段に外部入
力されて光信号から光電変換された受信データを取得す
ること、この受信データと自己診断用の送信データとを
比較して一致の有無を判定すること、を前記コンピュー
タに実行させるためのプログラムが格納されている。
According to an eleventh aspect of the present invention, there is provided an information storage medium storing computer-readable software to which signal output means for externally outputting an optical signal and signal input means for externally inputting an optical signal are connected. In the medium, transmission data for self-diagnosis is generated and externally output as an optical signal to the signal output means, and when the optical signal for self-diagnosis is externally output, light is externally input to the signal input means. A program for causing the computer to execute the steps of obtaining the received data photoelectrically converted from the signal and comparing the received data with the transmission data for self-diagnosis to determine the presence or absence of a match is stored. .

【0021】従って、本発明の情報記憶媒体に格納され
ているプログラムを、信号出力手段や信号入力手段が接
続されたコンピュータに読み取らせ、対応する処理動作
を実行させると、このコンピュータは、自己診断用の送
信データを発生させて信号出力手段に光信号として外部
出力させ、この自己診断用の光信号を外部出力させたと
きに信号入力手段に外部入力されて光信号から光電変換
された受信データを取得し、この受信データと自己診断
用の送信データとを比較して一致の有無を判定する。こ
のため、他の光通信装置と双方向の光通信を実行する光
通信装置において、その異常の有無が他の光通信装置と
光通信することなくコンピュータにより自己診断され
る。
Therefore, when the computer stored in the information storage medium of the present invention is read by a computer to which the signal output means and the signal input means are connected, and the corresponding processing operation is executed, the computer performs self-diagnosis. The self-diagnosis optical signal is externally input to the signal output means, and the received data is photoelectrically converted from the optical signal when the self-diagnosis optical signal is externally output. Is obtained, and the received data is compared with the transmission data for self-diagnosis to determine whether there is a match. For this reason, in an optical communication device that performs bidirectional optical communication with another optical communication device, the presence or absence of the abnormality is self-diagnosed by a computer without optical communication with the other optical communication device.

【0022】なお、本発明で云う情報記憶媒体とは、コ
ンピュータに各種処理を実行させるためのプログラムが
ソフトウェアとして事前に格納されたものであれば良
く、例えば、コンピュータを一部とする装置に固定され
ているROM(Read OnlyMemory)やHDD(Hard
Disc Drive)、コンピュータを一部とする装置に着脱
自在に装填されるCD(Compact Disc)−ROMやF
D(Floppy Disc)、等を許容する。
The information storage medium referred to in the present invention is not particularly limited as long as a program for causing a computer to execute various processes is stored in advance as software. ROM (Read Only Memory) or HDD (Hard
Disc (Driving Drive), CD (Compact Disc) -ROM or F
D (Floppy Disc), etc. are allowed.

【0023】また、本発明で云うコンピュータとは、ソ
フトウェアからなるプログラムを読み取って対応する処
理動作を実行できる装置であれば良く、例えば、CPU
(Central Processing Unit)を主体として、これに
ROMやRAM(Random Access Memory)やI/F
(Interface)等の各種デバイスが必要により接続された
装置などを許容する。
The computer referred to in the present invention may be any device that can read a program made of software and execute a corresponding processing operation.
(Central Processing Unit), and ROM, RAM (Random Access Memory), I / F
(Device) to which various devices such as (Interface) are connected if necessary.

【0024】[0024]

【発明の実施の形態】本発明の実施の一形態を図面を参
照して以下に説明する。なお、図1は本実施の形態の光
通信装置の要部を示すブロック図であり、図2は本実施
の形態の自己診断方法を示すフローチャートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a main part of the optical communication apparatus according to the present embodiment, and FIG. 2 is a flowchart illustrating a self-diagnosis method according to the present embodiment.

【0025】本実施の形態の光通信装置1は、図1に示
すように、各種の送信データを生成する送信処理回路2
と、この送信処理回路2が生成する送信データを変調す
る送信変調回路3とを具備しており、これらの回路2,
3の部分が、各種の送信データを発生するデータ送信手
段に相当する。送信変調回路3には、信号出力手段とし
て半導体レーザ等の発光素子4が接続されており、この
発光素子4が送信データを光信号に変換して外部出力す
る。
As shown in FIG. 1, an optical communication device 1 according to the present embodiment has a transmission processing circuit 2 for generating various types of transmission data.
And a transmission modulation circuit 3 that modulates transmission data generated by the transmission processing circuit 2.
The part 3 corresponds to a data transmission unit that generates various types of transmission data. A light emitting element 4 such as a semiconductor laser is connected to the transmission modulation circuit 3 as signal output means. The light emitting element 4 converts transmission data into an optical signal and outputs the signal to the outside.

【0026】また、この発光素子4には、信号入力手段
としてフォトトランジスタ等の受光素子5が一体に並設
されており、この受光素子5に各種の光信号が外部入力
されるので、この受光素子5は、外部入力された光信号
を光電変換して受信データを出力する。
The light emitting element 4 is integrally provided with a light receiving element 5 such as a phototransistor as a signal input means, and various light signals are externally input to the light receiving element 5. The element 5 photoelectrically converts an externally input optical signal and outputs received data.

【0027】この受光素子5には、光電変換された受信
データを復調する受信復調回路6が接続されており、こ
の受信復調回路6には、復調された受信データで受信処
理を実行する受信処理回路7が接続されており、これら
の回路6,7の部分が外部入力された受信データに変換
するデータ受信手段に相当する。
The light receiving element 5 is connected to a reception demodulation circuit 6 for demodulating the photoelectrically converted reception data. The reception demodulation circuit 6 performs a reception process for executing a reception process on the demodulated reception data. A circuit 7 is connected, and these circuits 6 and 7 correspond to data receiving means for converting the received data into externally received data.

【0028】本実施の形態の光通信装置1は、上述した
部分の構造は従来の光通信装置と同様であるが、従来の
構造とは相違して送信処理回路2に診断出力手段である
送信制御回路8が接続されており、この送信制御回路8
が事前に設定された自己診断用の送信データを送信変調
回路3に発生させて発光素子4に光信号として外部出力
させる。
The optical communication device 1 of the present embodiment has the same structure as that of the conventional optical communication device described above, but differs from the conventional structure in that the transmission processing circuit 2 transmits to the transmission processing circuit 2 a diagnostic output means. A control circuit 8 is connected.
Causes the transmission modulation circuit 3 to generate transmission data for self-diagnosis set in advance, and causes the light-emitting element 4 to output the data externally as an optical signal.

【0029】前述のように発光素子4と受光素子5とは
一体に並設されているので、これらの素子4,5は、発
光素子4が外部出力する光信号が受光素子5に直接に外
部入力される位置に配置されており、必然的に発光素子
4が外部出力する自己診断用の光信号も受光素子5に直
接に外部入力される。
As described above, the light emitting element 4 and the light receiving element 5 are integrally juxtaposed, so that the light signals output from the light emitting element 4 are directly transmitted to the light receiving element 5. The optical signal for self-diagnosis, which is arranged at the input position and is necessarily output from the light emitting element 4 to the outside, is also directly input to the light receiving element 5 from the outside.

【0030】そして、受信復調回路6には、データ取得
手段である信号検出回路9が接続されており、この信号
検出回路9は、上述のように送信制御回路8が発光素子
4に自己診断用の光信号を外部出力させたとき、受光素
子5に外部入力されて受信復調回路7により変換された
受信データを取得する。
The signal demodulation circuit 9 serving as data acquisition means is connected to the reception demodulation circuit 6. The signal detection circuit 9 is provided by the transmission control circuit 8 to the light emitting element 4 for self-diagnosis as described above. When the optical signal is externally output, the received data that is externally input to the light receiving element 5 and converted by the reception demodulation circuit 7 is obtained.

【0031】送信制御回路8と信号検出回路9とには、
異常判定手段である異常判断回路10が接続されてお
り、この異常判断回路10は、信号検出回路9が取得し
た受信データと送信制御回路8が送信変調回路3に発生
させた送信データとを比較し、これらの一致の有無を判
定する。
The transmission control circuit 8 and the signal detection circuit 9 include:
An abnormality determination circuit 10 serving as an abnormality determination unit is connected. The abnormality determination circuit 10 compares the reception data acquired by the signal detection circuit 9 with the transmission data generated by the transmission control circuit 8 in the transmission modulation circuit 3. Then, the presence or absence of these matches is determined.

【0032】なお、送信制御回路8と信号検出回路9と
には、動作制御手段である動作制御回路11も接続され
ており、この動作制御手段11は、光通信装置1の起動
直後の初期設定の実行時に送信制御回路8と異常判断回
路10と異常判断回路10とを動作させることにより、
送信変調回路3が通信用の送信データを発生せず、受光
素子5に通信用の光信号が入力されない所定のタイミン
グに、上記回路8〜10を動作させる。
The transmission control circuit 8 and the signal detection circuit 9 are also connected to an operation control circuit 11, which is operation control means. The operation control means 11 performs an initial setting immediately after the optical communication apparatus 1 is started. By operating the transmission control circuit 8, the abnormality determination circuit 10, and the abnormality determination circuit 10 during the execution of
The circuits 8 to 10 are operated at a predetermined timing when the transmission modulation circuit 3 does not generate transmission data for communication and a light signal for communication is not input to the light receiving element 5.

【0033】上述のような構成において、本実施の形態
の光通信装置1の光通信方法および自己診断方法を以下
に順次説明する。まず、本実施の形態の光通信装置1が
他の光通信装置(図示せず)にデータ送信する場合は、
各種の送信データが送信処理回路2により生成され、こ
の送信データが送信変調回路3により変調される。この
変調された送信データが発光素子4により光信号に変換
されて外部出力されるので、これで本実施の形態の光通
信装置1から他の光通信装置に通信データが光送信され
ることになる。
The optical communication method and the self-diagnosis method of the optical communication apparatus 1 according to the present embodiment having the above-described configuration will be sequentially described below. First, when the optical communication device 1 of the present embodiment transmits data to another optical communication device (not shown),
Various transmission data are generated by the transmission processing circuit 2, and the transmission data is modulated by the transmission modulation circuit 3. Since the modulated transmission data is converted into an optical signal by the light emitting element 4 and output to the outside, the communication data is optically transmitted from the optical communication apparatus 1 of the present embodiment to another optical communication apparatus. Become.

【0034】一方、本実施の形態の光通信装置1が他の
光通信装置からデータ受信する場合は、光信号が受光素
子5に外部入力されて受信データに光電変換されるの
で、この受信データが受信復調回路7により復調されて
から受信処理回路7で受信処理される。本実施の形態の
光通信装置1は、上述のような送信処理や受信処理を交
互に実行することにより、他の光通信装置と光信号でデ
ータ通信することができる。
On the other hand, when the optical communication device 1 of this embodiment receives data from another optical communication device, an optical signal is externally input to the light receiving element 5 and photoelectrically converted into reception data. Is demodulated by the reception demodulation circuit 7 and then received by the reception processing circuit 7. The optical communication device 1 of the present embodiment can perform data communication with another optical communication device by an optical signal by alternately performing the transmission process and the reception process as described above.

【0035】ただし、上述のようにデータ通信する機能
に異常が発生することもあるので、本実施の形態の光通
信装置1では、初期設定の実行時に自身の異常の有無を
自己診断し、異常が検出された場合には通信動作の開始
を中止してユーザに異常の発生を報知する。
However, since an abnormality may occur in the data communication function as described above, the optical communication apparatus 1 of the present embodiment performs a self-diagnosis of the presence or absence of the abnormality at the time of the initial setting, and performs the abnormality. Is detected, the start of the communication operation is stopped to notify the user of the occurrence of the abnormality.

【0036】より詳細には、本実施の形態の光通信装置
1は、電源が投入されて起動されると所定の初期設定を
実行するので、この初期設定のメニューの一つとして事
前に設定されている自己診断も実行する。このとき、動
作制御回路11が送信制御回路8を適正なタイミングで
動作制御することにより、この送信制御回路8が送信処
理回路2に自己診断用の送信データを発生させる。
More specifically, the optical communication apparatus 1 according to the present embodiment executes predetermined initial settings when the power is turned on and activated, and is thus set in advance as one of the initial setting menus. Also perform self-diagnosis. At this time, the operation control circuit 11 controls the operation of the transmission control circuit 8 at an appropriate timing, so that the transmission control circuit 8 causes the transmission processing circuit 2 to generate transmission data for self-diagnosis.

【0037】この自己診断用の送信データは送信変調回
路3で変調されてから発光素子4により光信号として外
部出力されるので、この自己診断用の光信号は発光素子
4に並設された受光素子5に外部入力される。この受光
素子5に外部入力されて受信復調回路7により復調され
た受信データは、やはり動作制御回路11により動作制
御された信号検出回路9により適正なタイミングで取得
される。
The transmission data for self-diagnosis is modulated by the transmission modulation circuit 3 and then externally output as an optical signal by the light-emitting element 4. Externally input to the element 5. The reception data externally input to the light receiving element 5 and demodulated by the reception demodulation circuit 7 is acquired at an appropriate timing by the signal detection circuit 9 whose operation is also controlled by the operation control circuit 11.

【0038】すると、この信号検出回路9で取得された
受信データと送信制御回路8が送信変調回路3に発生さ
せた送信データとが、異常判断回路10により比較され
て一致の有無が判定される。つまり、異常判断回路10
の比較結果が一致した場合には、送信データを生成して
外部出力する機能と外部入力される光信号を受信データ
に復調する機能とに異常が無いことになるので、異常無
しの判定結果が出力されて光通信装置1は自己診断を終
了する。
Then, the abnormality determination circuit 10 compares the reception data acquired by the signal detection circuit 9 with the transmission data generated by the transmission control circuit 8 in the transmission modulation circuit 3 to determine whether or not there is a match. . That is, the abnormality determination circuit 10
If the comparison results match, there is no abnormality in the function of generating transmission data and outputting it externally, and the function of demodulating an optical signal input externally into reception data. Then, the optical communication device 1 ends the self-diagnosis.

【0039】一方、異常判断回路10の比較結果が一致
しない場合には、送信データを生成して外部出力する機
能と外部入力される光信号を受信データに復調する機能
との何処かに異常が有ることになるので、異常有りの判
定結果が出力される。この場合、光通信装置1は初期設
定から通信可能な通常状態に移行せず、異常有りの判定
結果がパイロットランプ(図示せず)の点滅などでユー
ザに報知される。
On the other hand, if the comparison results of the abnormality judging circuit 10 do not match, an abnormality is found somewhere between the function of generating transmission data and outputting it externally and the function of demodulating an externally input optical signal into reception data. Therefore, the result of the determination that there is an abnormality is output. In this case, the optical communication device 1 does not shift from the initial setting to the normal state in which communication is possible, and the result of the determination that there is an abnormality is notified to the user by blinking of a pilot lamp (not shown) or the like.

【0040】本実施の形態の光通信装置1は、上述のよ
うに自身の異常の有無を自己診断することができ、自身
の異常を検出するために他の複数の光通信装置と光通信
する必要がないので、自身の異常を簡単かつ迅速に判定
することができる。しかも、上述のように異常を自己診
断するために他の光通信装置との光通信を要しないの
で、異常の自己診断を光通信しない初期設定のときに実
行することができる。
The optical communication device 1 of the present embodiment can self-diagnose its own abnormality as described above, and performs optical communication with a plurality of other optical communication devices to detect its own abnormality. Since there is no need, it is possible to easily and quickly determine its own abnormality. In addition, since the optical communication with another optical communication device is not required for the self-diagnosis of the abnormality as described above, the self-diagnosis of the abnormality can be executed at the time of the initial setting in which the optical communication is not performed.

【0041】このように異常の自己診断が初期設定のと
きに自動的に実行されるので、ユーザの負担を軽減する
ことができ、異常が発生したままデータ通信を開始して
重要な通信内容を損なうことも防止できる。さらに、本
実施の形態の光通信装置1は、発光素子4と受光素子5
とが一体に並設されているので、特別の手段を追加する
ことなく外部出力する自己診断用の光信号を外部入力す
ることができ、光インターフェイスの構造が簡単で従来
との互換性を維持することも容易である。
As described above, since the self-diagnosis of the abnormality is automatically executed at the time of the initial setting, the burden on the user can be reduced. Damage can also be prevented. Further, the optical communication device 1 according to the present embodiment includes a light emitting element 4 and a light receiving element 5
Are installed side by side, so that optical signals for self-diagnosis to be output externally can be input externally without adding any special means, the structure of the optical interface is simple and compatibility with the conventional one is maintained It is also easy to do.

【0042】なお、本発明は上記形態に限定されるもの
ではなく、その要旨を逸脱しない範囲で各種の変形を許
容する。例えば、上記形態では発光素子4が外部出力す
る光信号が受光素子5に直接に外部入力される構造に本
発明を適用することを例示したが、例えば、発光素子4
が外部出力する光信号が受光素子5に直接には外部入力
されない構造に本発明を適用することも可能である。
The present invention is not limited to the above-described embodiment, but allows various modifications without departing from the gist of the present invention. For example, in the above embodiment, the present invention is applied to a structure in which an optical signal externally output from the light emitting element 4 is directly externally input to the light receiving element 5.
It is also possible to apply the present invention to a structure in which an optical signal externally output is not directly externally input to the light receiving element 5.

【0043】このような場合、発光素子4が外部出力す
る光信号を受光素子5に外部入力させる光誘導手段をハ
ーフミラーや光ファイバなどの光学デバイス(図示せ
ず)で追加すれば良い。なお、このような光誘導手段を
追加する光通信装置(図示せず)が光信号でのデータ送
信とデータ受信とを同時に実行する場合には、自己診断
の実行時のみ光誘導手段を移動させて発光素子と受光素
子とに対向配置する手段も追加すれば良い。
In such a case, a light guiding means for externally inputting an optical signal output from the light emitting element 4 to the light receiving element 5 may be added by an optical device (not shown) such as a half mirror or an optical fiber. When an optical communication device (not shown) to which such a light guiding means is added simultaneously executes data transmission and data reception with an optical signal, the light guiding means is moved only during execution of self-diagnosis. Means for opposing the light emitting element and the light receiving element may be added.

【0044】また、上記形態では光通信装置11の各種
手段が各々専用のハードウェアとして形成されているこ
とを例示したが、例えば、適正なソフトウェアをコンピ
ュータに実装して動作させることにより、光通信装置1
1の各種手段を実現することも可能であり、一部をソフ
トウェアで実現するとともに一部をハードウェアとして
形成することも可能である。
In the above-described embodiment, the various means of the optical communication apparatus 11 are described as being formed as dedicated hardware. However, for example, by installing appropriate software on a computer and operating it, Apparatus 1
It is also possible to realize one of the various means, and it is also possible to realize a part by software and to form a part as hardware.

【0045】例えば、上述した各種回路8〜11の部分
をソフトウェアにより実現する場合、コンピュータが読
取自在なRAM等の情報記憶媒体には、自己診断用の送
信データを送信処理回路2に発生させ、送信変調回路3
に変調させて発光素子4に光信号として外部出力させる
こと、この自己診断用の光信号を外部出力させたときに
受光素子5により光信号から光電変換されて受信復調回
路6により復調された受信データを取得すること、この
取得された受信データと自己診断用の送信データとを比
較して一致の有無を判定すること、等をコンピュータに
実行させるためのプログラムを格納しておけば良い。
For example, when the above-described various circuits 8 to 11 are realized by software, the transmission processing circuit 2 generates transmission data for self-diagnosis in an information storage medium such as a RAM readable by a computer. Transmission modulation circuit 3
The self-diagnosis optical signal is externally output to the light emitting element 4 when the optical signal is externally output. It is sufficient to store a program for causing a computer to acquire data, to compare the acquired received data with transmission data for self-diagnosis to determine whether or not there is a match.

【0046】[0046]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載するような効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0047】請求項1記載の発明の光通信装置は、各種
の光信号を外部出力する信号出力手段と、各種の光信号
が外部入力される信号入力手段と、自己診断用の光信号
を前記信号出力手段に外部出力させる診断出力手段と、
前記信号出力手段が外部出力して前記信号入力手段に外
部入力された自己診断用の光信号の正否を判定する異常
判定手段と、を具備していることにより、他の光通信装
置と光通信することなく自身の異常の有無を自己診断す
ることができ、この異常の自己診断を簡単かつ迅速に実
行することができる。
According to the first aspect of the present invention, there is provided an optical communication apparatus comprising: a signal output unit for externally outputting various optical signals; a signal input unit for externally inputting various optical signals; and an optical signal for self-diagnosis. Diagnostic output means for externally outputting to signal output means,
An abnormality determination unit for determining whether or not the self-diagnosis optical signal is externally output from the signal output unit and externally input to the signal input unit, thereby enabling optical communication with another optical communication apparatus. It is possible to self-diagnose the presence or absence of the abnormality without performing the self-diagnosis, and the self-diagnosis of the abnormality can be executed easily and quickly.

【0048】請求項2記載の発明の光通信装置は、各種
の送信データを発生するデータ送信手段と、該データ送
信手段が発生した送信データを光信号に変換して外部出
力する信号出力手段と、外部入力される各種の光信号を
光電変換して受信データを生成する信号入力手段と、該
信号入力手段により光電変換された受信データで受信処
理を実行するデータ受信手段と、前記データ送信手段に
自己診断用の送信データを発生させて前記信号出力手段
に光信号として外部出力させる診断出力手段と、該診断
出力手段が前記信号出力手段に自己診断用の光信号を外
部出力させたときに前記信号入力手段に外部入力されて
前記データ受信手段により受信処理された受信データを
取得するデータ取得手段と、該データ取得手段が取得し
た受信データと前記診断出力手段が前記データ送信手段
に発生させた送信データとを比較して一致の有無を判定
する異常判定手段と、を具備していることにより、他の
光通信装置と光通信することなく自身の異常の有無を自
己診断することができ、この異常の自己診断を簡単かつ
迅速に実行することができる。
According to a second aspect of the present invention, there is provided an optical communication apparatus comprising: a data transmitting means for generating various transmission data; and a signal output means for converting the transmission data generated by the data transmitting means into an optical signal and outputting the optical signal to the outside. Signal input means for generating reception data by photoelectrically converting various optical signals input from the outside, data reception means for executing reception processing on the reception data photoelectrically converted by the signal input means, and the data transmission means Diagnostic output means for generating transmission data for self-diagnosis to the signal output means for external output as an optical signal; and when the diagnostic output means externally outputs a self-diagnosis optical signal to the signal output means. A data acquisition unit for acquiring reception data externally input to the signal input unit and subjected to reception processing by the data reception unit; and a reception unit that acquires the reception data acquired by the data acquisition unit. Diagnostic output means for comparing the transmitted data generated by the data transmitting means with the abnormality determining means for determining whether or not there is a match. The self-diagnosis of the presence or absence of the abnormality can be performed, and the self-diagnosis of the abnormality can be executed easily and quickly.

【0049】請求項3記載の発明は、請求項1記載の光
通信装置であって、前記データ送信手段が通信用の送信
データを発生せず前記信号入力手段に通信用の光信号が
入力されない所定のタイミングに前記診断出力手段と前
記異常判定手段とを動作させる動作制御手段も具備して
いることにより、自身の異常の診断に他の光通信装置と
の光通信を要しないので、この自己診断が動作制御手段
により他の光通信装置と光通信しない所定のタイミング
に実行することができる。
According to a third aspect of the present invention, in the optical communication apparatus according to the first aspect, the data transmission means does not generate transmission data for communication and no optical signal for communication is input to the signal input means. By providing operation control means for operating the diagnosis output means and the abnormality determination means at a predetermined timing, the self-diagnosis does not require optical communication with another optical communication apparatus. Diagnosis can be performed by the operation control means at a predetermined timing when optical communication with another optical communication device is not performed.

【0050】請求項4記載の発明は、請求項3記載の光
通信装置であって、前記動作制御手段は、初期設定の実
行時に前記診断出力手段と前記異常判定手段とを動作さ
せることにより、自身の異常の自己診断を初期設定の最
中に実行することができるので、例えば、異常が発生し
ていた場合にデータ通信の開始を中止し、重要な通信内
容が損なわれることを防止することができる。
According to a fourth aspect of the present invention, in the optical communication apparatus according to the third aspect, the operation control means operates the diagnostic output means and the abnormality determination means at the time of executing the initial setting. Since self-diagnosis of the abnormality can be performed during the initial setting, for example, when an abnormality has occurred, stop the start of data communication and prevent important communication contents from being damaged. Can be.

【0051】請求項5記載の発明は、請求項2記載の光
通信装置であって、前記データ送信手段が通信用の送信
データを発生せず前記信号入力手段に通信用の光信号が
入力されない所定のタイミングに前記診断出力手段と前
記データ取得手段と前記異常判定手段とを動作させる動
作制御手段も具備していることにより、自身の異常の診
断に他の光通信装置との光通信を要しないので、この自
己診断が動作制御手段により他の光通信装置と光通信し
ない所定のタイミングに実行することができる。
According to a fifth aspect of the present invention, in the optical communication apparatus according to the second aspect, the data transmitting means does not generate transmission data for communication and no optical signal for communication is input to the signal input means. Operation control means for operating the diagnosis output means, the data acquisition means, and the abnormality determination means at a predetermined timing is also provided, so that optical communication with another optical communication apparatus is required for diagnosing its own abnormality. Since the self-diagnosis is not performed, the operation control unit can execute the self-diagnosis at a predetermined timing when the optical communication with another optical communication device is not performed.

【0052】請求項6記載の発明は、請求項5記載の光
通信装置であって、前記動作制御手段は、初期設定の実
行時に前記診断出力手段と前記異常判定手段と前記異常
判定手段とを動作させることにより、自身の異常の自己
診断を初期設定の最中に実行することができるので、例
えば、異常が発生していた場合にデータ通信の開始を中
止し、重要な通信内容が損なわれることを防止すること
ができる。
According to a sixth aspect of the present invention, in the optical communication apparatus according to the fifth aspect, the operation control means is configured to perform the diagnosis output means, the abnormality determination means, and the abnormality determination means during execution of initialization. By operating, self-diagnosis of its own abnormality can be performed during the initial setting, so that, for example, when an abnormality has occurred, the start of data communication is stopped, and important communication contents are damaged. Can be prevented.

【0053】請求項7記載の発明は、請求項1ないし6
の何れか一記載の光通信装置であって、前記信号出力手
段と前記信号入力手段とは、前記信号出力手段が外部出
力する光信号が前記信号入力手段に直接に外部入力され
る位置に配置されていることにより、信号出力手段が外
部出力する自己診断用の光信号を信号入力手段に外部入
力させるために特別の手段を追加する必要がなく、構造
が簡単で従来の光インターフェイスを流用することがで
きる。
The invention according to claim 7 is the invention according to claims 1 to 6
In the optical communication device according to any one of the above, the signal output unit and the signal input unit are arranged at a position where an optical signal output from the signal output unit is externally input directly to the signal input unit. By doing so, there is no need to add a special means for externally inputting the self-diagnosis optical signal output from the signal output means to the signal input means, and the structure is simple and the conventional optical interface is utilized. be able to.

【0054】請求項8記載の発明は、請求項1ないし6
の何れか一記載の光通信装置であって、前記信号出力手
段が外部出力する光信号を前記信号入力手段に外部入力
させる光誘導手段も具備していることにより、信号出力
手段が外部出力する光信号が信号入力手段に直接に外部
入力されない構造でも、信号出力手段が外部出力する自
己診断用の光信号を光誘導手段により信号入力手段に外
部入力させることができる。
The invention according to claim 8 provides the invention according to claims 1 to 6
The optical communication device according to any one of the above, further comprising light guiding means for externally inputting the optical signal output from the signal output means to the signal input means, whereby the signal output means outputs the external signal. Even in a structure in which an optical signal is not directly input to the signal input means, the optical signal for self-diagnosis output from the signal output means can be externally input to the signal input means by the light guiding means.

【0055】請求項9記載の発明の光通信装置の自己診
断方法は、各種の光信号を信号出力手段により外部出力
し、各種の光信号が信号入力手段に外部入力される光通
信装置において、自己診断用の光信号を前記信号出力手
段に外部出力させ、前記信号出力手段が外部出力して前
記信号入力手段に外部入力された自己診断用の光信号の
正否を判定するようにしたことにより、他の光通信装置
と双方向の光通信を実行する光通信装置が、自身の異常
の有無を他の光通信装置と光通信することなく自己診断
することができる。
According to a ninth aspect of the present invention, in the optical communication apparatus, various optical signals are externally output by a signal output unit, and various optical signals are externally input to a signal input unit. A self-diagnosis optical signal is externally output to the signal output unit, and the signal output unit is externally output to determine whether the self-diagnosis optical signal is externally input to the signal input unit. An optical communication device that performs bidirectional optical communication with another optical communication device can perform a self-diagnosis of its own abnormality without optical communication with the other optical communication device.

【0056】請求項10記載の発明の光通信装置の自己
診断方法は、データ送信手段により発生する各種の送信
データを信号出力手段により光信号に変換して外部出力
し、外部入力される各種の光信号を信号入力手段により
受信データに光電変換してデータ受信手段により受信処
理する光通信装置において、前記データ送信手段に自己
診断用の送信データを発生させて前記信号出力手段に光
信号として外部出力させ、この自己診断用の光信号を外
部出力させたときに前記信号入力手段に外部入力されて
前記データ受信手段により受信処理された受信データを
取得し、この取得された受信データと前記データ送信手
段に発生させた自己診断用の送信データとを比較して一
致の有無を判定するようにしたことにより、他の光通信
装置と双方向の光通信を実行する光通信装置が、自身の
異常の有無を他の光通信装置と光通信することなく自己
診断することができる。
According to a self-diagnosis method for an optical communication device according to the present invention, various transmission data generated by the data transmission means are converted into optical signals by the signal output means, output to the outside, and various types of externally input data are output. In an optical communication device in which an optical signal is photoelectrically converted into reception data by a signal input unit and reception processing is performed by a data reception unit, the data transmission unit generates transmission data for self-diagnosis, and the signal output unit outputs an external signal as an optical signal. Output, and when the self-diagnosis optical signal is externally output, the reception data externally input to the signal input means and subjected to reception processing by the data reception means is obtained, and the obtained reception data and the data are obtained. By comparing the transmission data for self-diagnosis generated by the transmission means to determine whether or not there is a match, bidirectional optical communication with another optical communication apparatus is performed. Optical communication apparatus for performing a signal is able to self-diagnosis without the presence of its abnormal communicating other optical communication apparatus and optical.

【0057】請求項11記載の情報記憶媒体は、光信号
を外部出力する信号出力手段や光信号が外部入力される
信号入力手段が接続されたコンピュータが読取自在なソ
フトウェアが格納されている情報記憶媒体において、自
己診断用の送信データを発生させて前記信号出力手段に
光信号として外部出力させること、この自己診断用の光
信号を外部出力させたときに前記信号入力手段に外部入
力されて光信号から光電変換された受信データを取得す
ること、この受信データと自己診断用の送信データとを
比較して一致の有無を判定すること、を前記コンピュー
タに実行させるためのプログラムが格納されていること
により、本発明の情報記憶媒体に格納されているプログ
ラムを、信号出力手段や信号入力手段が接続されたコン
ピュータに読み取らせ、対応する処理動作を実行させる
と、このコンピュータは、信号出力手段や信号入力手段
などの異常を他の光通信装置と光通信させることなく自
己診断することができる。
According to an eleventh aspect of the present invention, there is provided an information storage medium storing computer-readable software to which a signal output means for externally outputting an optical signal and a signal input means for externally inputting an optical signal are connected. In the medium, transmission data for self-diagnosis is generated and externally output as an optical signal to the signal output means, and when the optical signal for self-diagnosis is externally output, light is externally input to the signal input means. A program for causing the computer to execute the steps of obtaining the received data photoelectrically converted from the signal and comparing the received data with the transmission data for self-diagnosis to determine the presence or absence of a match is stored. Thereby, the program stored in the information storage medium of the present invention can be read by a computer connected to signal output means and signal input means. So, when to execute a corresponding processing operation, the computer can be self-diagnosis without abnormalities such as a signal output means and signal input means is another optical communication apparatus and optical communication.

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

【図1】本発明の実施の一形態の光通信装置を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating an optical communication device according to an embodiment of the present invention.

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

1 光通信装置 2,3 データ送信手段に相当する送信処理回路およ
び送信変調回路 4 信号出力手段である発光素子 5 信号入力手段である受光素子 6,7 データ受信手段に相当する受信復調回路およ
び受信処理回路 8 診断出力手段である送信制御回路 9 データ取得手段である信号検出回路 10 異常判定手段である異常判断回路 11 動作制御手段である動作制御回路
DESCRIPTION OF SYMBOLS 1 Optical communication apparatus 2, 3 Transmission processing circuit and transmission modulation circuit corresponding to data transmission means 4 Light emitting element which is signal output means 5 Light receiving element which is signal input means 6, 7 Reception demodulation circuit and reception corresponding to data reception means Processing circuit 8 Transmission control circuit as diagnostic output means 9 Signal detection circuit as data acquisition means 10 Abnormality determination circuit as abnormality determination means 11 Operation control circuit as operation control means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04B 10/06 ──────────────────────────────────────────────────続 き Continued on front page (51) Int.Cl. 6 Identification code FI H04B 10/06

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 各種の光信号を外部出力する信号出力手
段と、 各種の光信号が外部入力される信号入力手段と、 自己診断用の光信号を前記信号出力手段に外部出力させ
る診断出力手段と、 前記信号出力手段が外部出力して前記信号入力手段に外
部入力された自己診断用の光信号の正否を判定する異常
判定手段と、を具備している光通信装置。
1. Signal output means for externally outputting various optical signals; signal input means for externally inputting various optical signals; and diagnostic output means for outputting an optical signal for self-diagnosis to the signal output means. An optical communication device comprising: an abnormality determining unit configured to determine whether an optical signal for self-diagnosis is externally output from the signal output unit and externally input to the signal input unit.
【請求項2】 各種の送信データを発生するデータ送信
手段と、 該データ送信手段が発生した送信データを光信号に変換
して外部出力する信号出力手段と、 外部入力される各種の光信号を光電変換して受信データ
を生成する信号入力手段と、 該信号入力手段により光電変換された受信データで受信
処理を実行するデータ受信手段と、 前記データ送信手段に自己診断用の送信データを発生さ
せて前記信号出力手段に光信号として外部出力させる診
断出力手段と、 該診断出力手段が前記信号出力手段に自己診断用の光信
号を外部出力させたときに前記信号入力手段に外部入力
されて前記データ受信手段により受信処理された受信デ
ータを取得するデータ取得手段と、 該データ取得手段が取得した受信データと前記診断出力
手段が前記データ送信手段に発生させた送信データとを
比較して一致の有無を判定する異常判定手段と、を具備
している光通信装置。
2. A data transmission means for generating various transmission data, a signal output means for converting the transmission data generated by the data transmission means into an optical signal and outputting the same to the outside, Signal input means for generating reception data by photoelectric conversion; data reception means for executing reception processing on the reception data photoelectrically converted by the signal input means; and transmitting data for self-diagnosis to the data transmission means. Diagnostic output means for externally outputting the signal output means as an optical signal, and when the diagnostic output means externally outputs an optical signal for self-diagnosis to the signal output means, the diagnostic input means is externally input to the signal input means. A data acquisition unit for acquiring the reception data received by the data reception unit; and the reception data acquired by the data acquisition unit and the diagnostic output unit transmitting the data. An optical communication device comprising: an abnormality determining unit that determines whether there is a match by comparing the transmission data generated by the unit.
【請求項3】 前記データ送信手段が通信用の送信デー
タを発生せず前記信号入力手段に通信用の光信号が入力
されない所定のタイミングに前記診断出力手段と前記異
常判定手段とを動作させる動作制御手段も具備している
請求項1記載の光通信装置。
3. An operation for operating the diagnostic output unit and the abnormality determination unit at a predetermined timing when the data transmission unit does not generate transmission data for communication and an optical signal for communication is not input to the signal input unit. 2. The optical communication device according to claim 1, further comprising control means.
【請求項4】 前記動作制御手段は、初期設定の実行時
に前記診断出力手段と前記異常判定手段とを動作させる
請求項3記載の光通信装置。
4. The optical communication apparatus according to claim 3, wherein said operation control means operates said diagnosis output means and said abnormality determination means when executing initialization.
【請求項5】 前記データ送信手段が通信用の送信デー
タを発生せず前記信号入力手段に通信用の光信号が入力
されない所定のタイミングに前記診断出力手段と前記デ
ータ取得手段と前記異常判定手段とを動作させる動作制
御手段も具備している請求項2記載の光通信装置。
5. The diagnostic output unit, the data acquisition unit, and the abnormality determination unit at a predetermined timing when the data transmission unit does not generate transmission data for communication and an optical signal for communication is not input to the signal input unit. 3. The optical communication device according to claim 2, further comprising an operation control means for operating the operations.
【請求項6】 前記動作制御手段は、初期設定の実行時
に前記診断出力手段と前記異常判定手段と前記異常判定
手段とを動作させる請求項5記載の光通信装置。
6. The optical communication apparatus according to claim 5, wherein said operation control means operates said diagnosis output means, said abnormality determination means, and said abnormality determination means during execution of initialization.
【請求項7】 前記信号出力手段と前記信号入力手段と
は、前記信号出力手段が外部出力する光信号が前記信号
入力手段に直接に外部入力される位置に配置されている
請求項1ないし6の何れか一記載の光通信装置。
7. The signal output means and the signal input means are arranged at a position where an optical signal output from the signal output means is externally input directly to the signal input means. The optical communication device according to any one of the above.
【請求項8】 前記信号出力手段が外部出力する光信号
を前記信号入力手段に外部入力させる光誘導手段も具備
している請求項1ないし6の何れか一記載の光通信装
置。
8. The optical communication apparatus according to claim 1, further comprising a light guiding unit for externally inputting an optical signal output from said signal output unit to said signal input unit.
【請求項9】 各種の光信号を信号出力手段により外部
出力し、各種の光信号が信号入力手段に外部入力される
光通信装置において、 自己診断用の光信号を前記信号出力手段に外部出力さ
せ、 前記信号出力手段が外部出力して前記信号入力手段に外
部入力された自己診断用の光信号の正否を判定するよう
にしたことを特徴とする光通信装置の自己診断方法。
9. An optical communication device in which various optical signals are externally output by a signal output means and various optical signals are externally input to a signal input means, wherein an optical signal for self-diagnosis is externally output to said signal output means. A self-diagnosis method for an optical communication apparatus, wherein the signal output means outputs an external signal and determines whether the optical signal for self-diagnosis is externally input to the signal input means.
【請求項10】 データ送信手段により発生する各種の
送信データを信号出力手段により光信号に変換して外部
出力し、外部入力される各種の光信号を信号入力手段に
より受信データに光電変換してデータ受信手段により受
信処理する光通信装置において、 前記データ送信手段に自己診断用の送信データを発生さ
せて前記信号出力手段に光信号として外部出力させ、 この自己診断用の光信号を外部出力させたときに前記信
号入力手段に外部入力されて前記データ受信手段により
受信処理された受信データを取得し、 この取得された受信データと前記データ送信手段に発生
させた自己診断用の送信データとを比較して一致の有無
を判定するようにしたことを特徴とする光通信装置の自
己診断方法。
10. Various kinds of transmission data generated by the data transmission means are converted into optical signals by the signal output means and output to the outside, and various kinds of optical signals inputted from the outside are photoelectrically converted into reception data by the signal input means. In the optical communication device for performing reception processing by the data receiving unit, the data transmitting unit generates transmission data for self-diagnosis and externally outputs the optical signal to the signal output unit, and externally outputs the optical signal for self-diagnosis. When the received data is externally input to the signal input means and received and processed by the data receiving means, the received data and the transmission data for self-diagnosis generated by the data transmitting means are obtained. A self-diagnosis method for an optical communication device, characterized in that a comparison is made to determine the presence or absence of a match.
【請求項11】 光信号を外部出力する信号出力手段や
光信号が外部入力される信号入力手段が接続されたコン
ピュータが読取自在なソフトウェアが格納されている情
報記憶媒体において、 自己診断用の送信データを発生させて前記信号出力手段
に光信号として外部出力させること、 この自己診断用の光信号を外部出力させたときに前記信
号入力手段に外部入力されて光信号から光電変換された
受信データを取得すること、 この受信データと自己診断用の送信データとを比較して
一致の有無を判定すること、を前記コンピュータに実行
させるためのプログラムが格納されていることを特徴と
する情報記憶媒体。
11. An information storage medium storing computer-readable software to which signal output means for externally outputting an optical signal and signal input means for externally inputting an optical signal are connected. Generating data and externally outputting it as an optical signal to the signal output means. When this optical signal for self-diagnosis is externally output, received data which is externally input to the signal input means and photoelectrically converted from the optical signal. An information storage medium storing a program for causing the computer to execute: acquiring the received data and comparing the received data with the transmission data for self-diagnosis to determine whether there is a match. .
JP10005471A 1998-01-14 1998-01-14 Optical communication equipment, its self-diagnostic method, information storage medium Pending JPH11205229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10005471A JPH11205229A (en) 1998-01-14 1998-01-14 Optical communication equipment, its self-diagnostic method, information storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10005471A JPH11205229A (en) 1998-01-14 1998-01-14 Optical communication equipment, its self-diagnostic method, information storage medium

Publications (1)

Publication Number Publication Date
JPH11205229A true JPH11205229A (en) 1999-07-30

Family

ID=11612170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10005471A Pending JPH11205229A (en) 1998-01-14 1998-01-14 Optical communication equipment, its self-diagnostic method, information storage medium

Country Status (1)

Country Link
JP (1) JPH11205229A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018139383A (en) * 2017-02-24 2018-09-06 パナソニックIpマネジメント株式会社 Visible light communication device, and visible light communication system
KR102049425B1 (en) * 2019-01-11 2019-11-28 주식회사 큐아이티 Method and apparatus for checking normal operation of arc detecting in power system
KR20230026141A (en) * 2021-08-17 2023-02-24 주식회사 큐아이티 Method and apparatus for self-checking of arc detecting device in power system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018139383A (en) * 2017-02-24 2018-09-06 パナソニックIpマネジメント株式会社 Visible light communication device, and visible light communication system
KR102049425B1 (en) * 2019-01-11 2019-11-28 주식회사 큐아이티 Method and apparatus for checking normal operation of arc detecting in power system
KR20230026141A (en) * 2021-08-17 2023-02-24 주식회사 큐아이티 Method and apparatus for self-checking of arc detecting device in power system

Similar Documents

Publication Publication Date Title
EP1717654A2 (en) Input device of a safety unit
JPH11205229A (en) Optical communication equipment, its self-diagnostic method, information storage medium
JP2006300872A (en) Diagnostic apparatus and communication device
KR100761032B1 (en) Apparatus for vehicle diagnosis with battery cutoff for safety driving and method thereof
US10539709B2 (en) Multi-optical axis photoelectric sensor
JP2007004467A (en) Vending machine
CN114969752A (en) Security verification platform and security verification method
JP2010118766A (en) Communicating system and diagnosis method thereof
KR100429810B1 (en) Diagnosis method and apparatus for peripheral device of host
KR20060023862A (en) Can network controll system and test and debugging method thereof
JPH08307478A (en) Serial communication equipment
KR200279114Y1 (en) Automobile Self Diagnostic Apparatus For Outputting Self Diagnostic Information Through Mobile Communication Terminal
CN115408278A (en) Firmware loading abnormity detection method, device, equipment and storage medium
CN114138603A (en) Device state diagnosis method and system and electronic device
JP2800765B2 (en) Optical burst signal output control circuit
JPS584373B2 (en) electronic exchange system
JPH06311208A (en) Communication controller
JP2000242329A (en) Telemeter system
CN113627572A (en) Fault processing method, device, equipment and storage medium for equipment of Internet of things
KR960013963B1 (en) Self examination device for telecommunication system
JPH03154128A (en) Abnormal image diagnosis supporting device for image forming device
JPH0344730A (en) Trouble diagnostic controller for printer
KR200174314Y1 (en) Ethernet terminal capable of autotesting
JPH0847065A (en) Remote supervisory controller
KR20190001445A (en) Method for diagnosing condition of inverter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040702

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040707

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041117