JPH0818611A - Optical transmitter - Google Patents

Optical transmitter

Info

Publication number
JPH0818611A
JPH0818611A JP6149791A JP14979194A JPH0818611A JP H0818611 A JPH0818611 A JP H0818611A JP 6149791 A JP6149791 A JP 6149791A JP 14979194 A JP14979194 A JP 14979194A JP H0818611 A JPH0818611 A JP H0818611A
Authority
JP
Japan
Prior art keywords
code
signal
cmi
frame synchronization
nrz
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
JP6149791A
Other languages
Japanese (ja)
Inventor
Toshio Nakatani
敏男 中谷
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6149791A priority Critical patent/JPH0818611A/en
Publication of JPH0818611A publication Critical patent/JPH0818611A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)
  • Optical Communication System (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To hardly erroneously synchronize with the generation characteristics of code errors and to improve the reliability of the detection of the code errors. CONSTITUTION:Transmission data inverted in an inverter 9 are converted to CMI codes by using the code rule violation of '0' corresponding to transmission frame synchronizing signals by an NRZ/CMI code conversion circuit 1 and transmitted. On the other hand, the CMI codes are converted to NRZ codes in a code conversion circuit 6, then inverted in the inverter 10 and outputted as reception data. Also, in a frame synchronizing circuit 17, the code rule violation of '0' is detected from the CMI codes and reception frame synchronizing signals are extracted. Further, the code rule violation of '1' is detected from the CMI codes in a code error extraction circuit 18 and error detection signals are outputted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CMI符号を用いた光
デジタル通信における、光伝送装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical transmission device in optical digital communication using CMI code.

【0002】[0002]

【従来の技術】図7は従来の光伝送装置の送信部および
受信部の構成を示すブロック図である。図8および図9
は例えば日本電信電話株式会社発行の高速デジタル伝送
サービスの技術参考資料第3版の14〜15頁等で示さ
れている、一般的によく使われている、CMI(Coded
Mark Inversion; コード化マークインバージョン)符号
の符号則違反を用いたフレーム同期方法を示す説明図で
ある。
2. Description of the Related Art FIG. 7 is a block diagram showing a configuration of a transmitter and a receiver of a conventional optical transmission device. 8 and 9
CMI (Coded), which is commonly used, is shown in, for example, pages 14 to 15 of the technical reference material 3rd edition of high-speed digital transmission service issued by Nippon Telegraph and Telephone Corporation.
(Mark Inversion; Coded Mark Inversion) FIG. 5 is an explanatory diagram showing a frame synchronization method using a code rule violation.

【0003】図7において、1は入力されるNRZ符号
の送信データを送信フレーム同期信号に従ってCMI符
号に変換するNRZ(Non-Return-to-Zero; 非ゼロ復
帰)/CMI符号変換回路、2は上記CMI符号に変換
された信号を光信号に変換する電気/光変換器(以下、
E/Oという)である。次に、3は上記光信号を受信側
に伝送する光ファイバ、4は該光ファイバ3で伝送され
た光信号を電気信号(CMI符号)に変換する光/電気
変換器(以下、O/Eという)である。
In FIG. 7, reference numeral 1 denotes an NRZ (Non-Return-to-Zero) / CMI code conversion circuit for converting input NRZ code transmission data into a CMI code according to a transmission frame synchronization signal. An electric / optical converter (hereinafter, referred to as an “optical signal” that converts the signal converted into the CMI code into an optical signal)
E / O). Next, 3 is an optical fiber for transmitting the optical signal to the receiving side, and 4 is an optical / electrical converter (hereinafter referred to as O / E) for converting the optical signal transmitted by the optical fiber 3 into an electric signal (CMI code). That is).

【0004】また、5は上記O/E3で変換されたCM
I符号が”LH”,”HL”,”HH”,”LL”のい
ずれであるかの判別を行い、これらの判別信号を出力す
るCMI符号則判別回路、6は判別信号によりCMI符
号の”LH”をNRZ符号の”0”に、CMI符号の”
LL”および”HH”をNRZ符号の”1”にそれぞれ
変換して受信データとして出力する符号変換回路であ
る。
Reference numeral 5 is a CM converted by the O / E3.
A CMI code rule discriminating circuit 6 which discriminates whether the I code is "LH", "HL", "HH", or "LL" and outputs these discriminating signals. LH "is set to" 0 "of NRZ code and" LH "of" CMI code "
It is a code conversion circuit that converts LL "and" HH "into" 1 "of the NRZ code and outputs the received data.

【0005】また、7は上記判別信号に基づいて、”
1”の符号則違反を検出することにより、フレーム同期
信号を抽出し、受信フレーム同期信号として出力するフ
レーム同期回路、8は特開昭62−18831号公報に
あるように、CMI符号則判別回路5からの判別信号か
ら”HL”を抽出し、符号エラーが生じたことを判別
し、エラー検出信号を出力する符号エラー抽出回路であ
る。
Further, 7 is based on the above discrimination signal.
A frame synchronization circuit that extracts a frame synchronization signal by detecting a 1 "code rule violation and outputs it as a received frame synchronization signal. Reference 8 is a CMI code rule determination circuit as disclosed in Japanese Patent Laid-Open No. 62-18831. 5 is a code error extraction circuit that extracts "HL" from the discrimination signal from 5, discriminates that a code error has occurred, and outputs an error detection signal.

【0006】次に動作について説明する。光伝送装置送
信部側のNRZ符号の送信データは、図8に示すフォー
マットでNRZ/CMI符号変換回路1に入力される。
また、送信フレーム同期信号も、上記送信データととも
にNRZ/CMI符号変換回路1に入力される。NRZ
/CMI符号変換回路1では、入力された送信データお
よび送信フレーム同期信号が、図9のタイミングチャー
トに示すように、NRZ符号の”0”に対しては”L
H”に変換され、NRZ符号の”1”に対しては”L
L”または”HH”に変換される。
Next, the operation will be described. The transmission data of the NRZ code on the optical transmission device transmitter side is input to the NRZ / CMI code conversion circuit 1 in the format shown in FIG.
The transmission frame synchronization signal is also input to the NRZ / CMI code conversion circuit 1 together with the transmission data. NRZ
In the / CMI code conversion circuit 1, as shown in the timing chart of FIG. 9, the input transmission data and the transmission frame synchronization signal are "L" for "0" of the NRZ code.
Converted to H "and" L "for NRZ code" 1 "
Converted to L "or" HH ".

【0007】ここで、フレーム同期信号が無意を示す”
L”の場合には、NRZ符号の”1”が入力される毎
に、変換後の符号は”LL”,”HH”,”LL”,”
HH”といった具合に、”LL”と”HH”が交互にな
るように変換される。これに対して、フレーム同期信号
が有意を示す”H”の場合には、”LL”,”LL”、
または”HH”,”HH”というように、交互ではない
変換(”1”の符号則違反という)が行われる。以上の
ようにして、CMI符号に変換された信号は、E/O2
において光信号に変換された後、光ファイバ3を介して
対向する光伝送装置の受信部へ伝送される。
Here, the frame synchronization signal indicates insignificance "
In the case of L ", every time the NRZ code" 1 "is input, the code after conversion is" LL "," HH "," LL ",".
For example, "HH" is converted so that "LL" and "HH" alternate. On the other hand, when the frame synchronization signal is "H", "LL" and "LL" are significant. ,
Alternatively, non-alternating conversions (referred to as “1” code rule violation) such as “HH” and “HH” are performed. As described above, the signal converted into the CMI code is E / O2
After being converted into an optical signal in, the signal is transmitted via the optical fiber 3 to the receiving section of the opposing optical transmission device.

【0008】次に受信部の動作について説明する。光フ
ァイバ3から入力した受信光信号は、O/E4において
電気信号のCMI符号に変換された後、CMI符号則判
別回路5に入力される。CMI符号則判別回路5では、
CMI符号が”LH”,”HL”,”HH”,”LL”
のいずれの状態であるかの判別を行い、これらの判別信
号を、符号変換回路6、フレーム同期回路7、および符
号エラー抽出回路8へ出力する。符号変換回路6では、
上記判別信号に従って、CMI符号の”LH”をNRZ
符号の”0”に、CMI符号の”LL”および”HH”
をNRZ符号の”1”にそれぞれ変換して受信データと
して出力する。また、フレーム同期回路7ではCMI符
号則判別回路5からの判別信号から、”LL”,”L
L”、または”HH”,”HH”の符号(”1”の符号
則違反)を検出することにより、フレーム同期信号を抽
出し、これを受信フレーム同期信号として出力する。ま
た、符号エラー抽出回路8では、上記CMI符号則判別
回路5からの判別信号に”HL”がある場合には、符号
エラーが生じたことを判別し、エラー検出信号を出力す
る。
Next, the operation of the receiving section will be described. The received optical signal input from the optical fiber 3 is converted into a CMI code of an electric signal in the O / E 4, and then input to the CMI code rule determination circuit 5. In the CMI coding rule determination circuit 5,
CMI code is "LH", "HL", "HH", "LL"
It is determined which of the above states is present, and these determination signals are output to the code conversion circuit 6, the frame synchronization circuit 7, and the code error extraction circuit 8. In the code conversion circuit 6,
According to the discrimination signal, the CMI code "LH" is changed to NRZ.
"0" of the code, "LL" and "HH" of the CMI code
To NRZ code "1" and output as received data. Further, in the frame synchronization circuit 7, from the discrimination signal from the CMI code rule discrimination circuit 5, "LL", "L"
A frame synchronization signal is extracted by detecting a code of L "," HH ", or" HH "(a code rule violation of" 1 "), and this is output as a reception frame synchronization signal. When the discrimination signal from the CMI code rule discrimination circuit 5 has "HL", the circuit 8 discriminates that a code error has occurred and outputs an error detection signal.

【0009】以上のようにして、従来の光伝送装置にお
いても、CMI符号の符号則違反を挿入/抽出すること
により、フレーム同期信号の検出、および符号エラーの
検出がある程度は可能である。ところで、光伝送におけ
る符号エラーの発生は、CMI符号の”LH”を”H
L”に誤る2ビット誤りはほとんどなく、CMI符号
の”HL”や、”LH”を”LL”に誤るといったCM
I符号の1ビット誤りの方が発生し易いという特性を持
っている。
As described above, even in the conventional optical transmission apparatus, it is possible to detect the frame synchronization signal and the code error to some extent by inserting / extracting the coding rule violation of the CMI code. By the way, when a code error occurs in optical transmission, the "LH" of the CMI code is changed to "H".
There is almost no 2-bit error erroneous to L ", and CM such as" HL "of CMI code or erroneous" LH "to" LL ".
It has a characteristic that a 1-bit error of the I code is more likely to occur.

【0010】[0010]

【発明が解決しようとする課題】従来の光伝送装置は以
上のように構成されているので、CMI符号の”HL”
や、”LH”を”LL”に誤るといったCMI符号の1
ビット誤りを検出できず、フレーム同期信号の誤検出に
よる誤同期が発生しやすく、また、符号エラーの十分な
検出ができないため、受信データに誤ったデータを出力
し易く、このため、光ファイバ伝送路および装置の故障
や劣化を未然に発見することができない等の問題点があ
った。
Since the conventional optical transmission apparatus is configured as described above, the CMI code "HL" is used.
Or CMI code 1 such as "LH" is mistaken for "LL"
Since bit errors cannot be detected, erroneous synchronization is likely to occur due to erroneous detection of the frame synchronization signal, and sufficient code errors cannot be detected, which makes it easy to output erroneous data as received data. There are problems such as failure or deterioration of roads and devices that cannot be found in advance.

【0011】請求項1の発明は上記のような問題点を解
消するためになされたもので、光伝送における符号エラ
ーの発生特性に対応でき、誤同期し難く、信頼性の高い
光伝送装置を得ることを目的とする。
The invention of claim 1 has been made in order to solve the above-mentioned problems, and provides an optical transmission device which can cope with a code error occurrence characteristic in optical transmission, is less likely to cause erroneous synchronization, and has high reliability. The purpose is to get.

【0012】請求項2の発明は回路規模を小さくできる
光伝送装置を得ることを目的とする。
An object of the present invention is to obtain an optical transmission device which can reduce the circuit scale.

【0013】請求項3の発明は光伝送における符号エラ
ーの発生特性に対応でき、符号エラーの検出を確実に行
うことにより、故障部位の早期検出ができる光伝送装置
を得ることを目的とする。
It is an object of the present invention to provide an optical transmission device which can cope with a code error occurrence characteristic in optical transmission and can detect a faulty part early by surely detecting the code error.

【0014】請求項4の発明は符号エラーの発生状況が
より正確に表すことができ、光伝送系の劣化等を早期に
発見できる光伝送装置を得ることを目的とする。
It is an object of the present invention to provide an optical transmission device which can more accurately represent the occurrence of code errors and can detect deterioration of the optical transmission system at an early stage.

【0015】請求項5の発明は光伝送装置の送信部およ
び受信部の折返しによる動作確認が簡単な回路で構成で
きる光伝送装置を得ることを目的とする。
It is an object of the present invention to provide an optical transmission device which can be constituted by a circuit whose operation can be easily confirmed by folding back the transmitting part and the receiving part of the optical transmission device.

【0016】[0016]

【課題を解決するための手段】請求項1の発明に係る光
伝送装置は、符号エラーが発生しにくい、”0”の符号
則違反を用いてフレーム同期信号の挿入/抽出を行うと
ともに、符号エラーが発生しやすい”1”の符号則違反
を検出することによって、エラー検出信号を出力するも
のである。
An optical transmission apparatus according to the invention of claim 1 inserts / extracts a frame synchronization signal by using a code rule violation of "0" which is less likely to cause a code error, and at the same time, a code An error detection signal is output by detecting a code rule violation of "1" in which an error is likely to occur.

【0017】請求項2の発明に係る光伝送装置は、CR
V信号と受信データの論理積をとる第1のANDゲート
と、CRV信号と受信データを論理的に反転した信号と
の論理積をとる第2のANDゲートとにより、フレーム
同期信号の抽出、および符号エラーの検出を行うもので
ある。
The optical transmission device according to the invention of claim 2 is a CR
Extraction of the frame synchronization signal by a first AND gate that takes the logical product of the V signal and the received data and a second AND gate that takes the logical product of the CRV signal and the signal obtained by logically inverting the received data, and The code error is detected.

【0018】請求項3の発明に係る光伝送装置は、フレ
ーム同期信号を抽出してフレーム同期保護を行い、その
結果得られたフレーム同期はずれ信号の状態に応じて、
フレーム同期はずれ状態でない場合には、”1”の符号
則違反の検出に加えて、”0”の符号則違反を検出した
場合にも、エラー検出信号を出力するものである。
According to the third aspect of the present invention, an optical transmission apparatus extracts a frame synchronization signal and performs frame synchronization protection, and according to the state of the frame out-of-frame signal obtained as a result,
If the code rule violation of "1" is detected and the code rule violation of "0" is detected when the frame synchronization is not lost, an error detection signal is output.

【0019】請求項4の発明に係る光伝送装置は、符号
誤り率算出手段を設けて、符号エラー抽出手段からのエ
ラー検出信号を基に符号誤り率を算出し、符号エラーの
発生頻度に応じて警報信号を発するものである。
The optical transmission apparatus according to the invention of claim 4 is provided with a code error rate calculating means, calculates the code error rate based on the error detection signal from the code error extracting means, and determines the code error rate according to the frequency of occurrence of the code error. To issue an alarm signal.

【0020】請求項5の発明に係る光伝送装置は、送信
部と受信部とを同一装置内に設け、折り返し指示信号が
供給されると、光スイッチ手段によって送信部が出力す
るCMI符号の信号を受信部に供給し、受信部において
CMI符号則違反を検出することにより折返し状態での
動作確認試験を行うものである。
In the optical transmission device according to the invention of claim 5, the transmitter and the receiver are provided in the same device, and when the loopback instruction signal is supplied, the optical switch means outputs the CMI code signal. Is supplied to the receiving unit and the receiving unit detects the violation of the CMI coding rule to perform the operation confirmation test in the folded state.

【0021】[0021]

【作用】請求項1の発明における光伝送装置は、”0”
の符号則違反を検出することによりフレーム同期信号を
抽出し、”1”の符号則違反を検出することにより符号
エラーを検出するので、誤同期することが少なく、また
符号エラーの検出が確実に行える。
The optical transmission device according to the invention of claim 1 is "0".
The frame sync signal is extracted by detecting the code rule violation of 1 and the code error is detected by detecting the code rule violation of "1", so that there is less erroneous synchronization, and the code error can be reliably detected. You can do it.

【0022】請求項2の発明における光伝送装置は、C
RV信号を出力する受信側符号変換手段を用いる場合、
CRV信号と受信データの論理積をとる第1のANDゲ
ートと、CRV信号と受信データを論理的に反転した信
号との論理積をとる第2のANDゲートとにより、フレ
ーム同期信号の抽出、および符号エラーの検出をするよ
うにしたので、符号エラー抽出回路が不要となり、回路
規模が小さくなる。
The optical transmission device according to the invention of claim 2 is C
When using the receiving side code converting means for outputting the RV signal,
Extraction of a frame synchronization signal by a first AND gate that takes a logical product of a CRV signal and received data and a second AND gate that takes a logical product of a CRV signal and a signal obtained by logically inverting the received data, and Since the code error is detected, the code error extraction circuit becomes unnecessary and the circuit scale is reduced.

【0023】請求項3の発明における光伝送装置は、フ
レーム同期はずれ状態でない場合には、”1”の符号則
違反の検出に加えて、”0”の符号則違反を検出した場
合にも、エラー検出信号を出力するようにしたので、符
号エラーの発生を見逃すことなく検出する。
In the optical transmission device according to the third aspect of the present invention, when the frame synchronization is not out of sync, in addition to the detection of the code rule violation of "1", the code rule violation of "0" is also detected. Since the error detection signal is output, the code error is detected without fail.

【0024】請求項4の発明における光伝送装置は、符
号誤り率を算出し、符号エラーの発生頻度に応じて警報
信号を発するようにしたので符号エラーの発生状況がよ
り正確に表される。
In the optical transmission device according to the fourth aspect of the present invention, the code error rate is calculated, and the alarm signal is issued in accordance with the frequency of code error occurrence. Therefore, the state of code error occurrence can be represented more accurately.

【0025】請求項5の発明における光伝送装置は、同
一装置内に設けた送信部と受信部とを、光スイッチ手段
によって接続し、送信部から送信されたCMI符号の信
号を受信した受信部においてCMI符号則違反を検出す
るようにしたので、簡単な回路構成で折返し状態での動
作確認試験が行え、かつ装置が安価になる。
According to another aspect of the present invention, there is provided an optical transmission device, wherein a transmitter and a receiver provided in the same device are connected by an optical switch means, and the receiver receives a CMI code signal transmitted from the transmitter. Since the violation of the CMI coding rule is detected in (1), the operation confirmation test in the folded state can be performed with a simple circuit configuration, and the device becomes inexpensive.

【0026】[0026]

【実施例】【Example】

実施例1.以下、請求項1の発明の一実施例を図につい
て説明する。図1は、請求項1の発明の一実施例による
光伝送装置の送信部および受信部の構成を示すブロック
図であり、従来の技術である図7に示した相当部分には
同一の符号を付しその説明を省略する。また、図2は、
本実施例1による光伝送装置の符号変換方法を示す説明
図である。図1において、9は送信データを論理反転し
てNRZ/CMI符号変換回路1(送信側符号変換手
段)に入力するためのインバータ(第1のインバー
タ)、10は符号変換回路6(受信側符号変換手段)か
らのNRZ符号を論理反転して受信データとして出力す
るためのインバータ(第2のインバータ)である。
Example 1. An embodiment of the invention of claim 1 will be described below with reference to the drawings. 1 is a block diagram showing a configuration of a transmission unit and a reception unit of an optical transmission device according to an embodiment of the invention of claim 1, and the same reference numerals are given to corresponding portions shown in FIG. The explanation is omitted. Also, in FIG.
FIG. 7 is an explanatory diagram showing a code conversion method of the optical transmission device according to the first embodiment. In FIG. 1, 9 is an inverter (first inverter) for logically inverting transmission data and inputting it to the NRZ / CMI code conversion circuit 1 (transmission side code conversion means), and 10 is a code conversion circuit 6 (reception side code). It is an inverter (second inverter) for logically inverting the NRZ code from the conversion means) and outputting it as received data.

【0027】また、17はCMI符号則判別回路5(符
号則判別手段)からの判別信号から”HL”の符号(”
0”の符号則違反)を検出することにより、フレーム同
期信号を抽出し、受信フレーム同期信号として出力する
フレーム同期回路(フレーム同期信号抽出手段)、18
は判別信号から”LL”,”LL”、または”H
H”,”HH”の符号(”1”の符号則違反)を検出
し、エラー検出信号を出力する符号エラー抽出回路(符
号エラー検出手段)である。
Numeral 17 indicates a code "HL"("") from the discrimination signal from the CMI code law discrimination circuit 5 (code law discrimination means).
A frame synchronization circuit (frame synchronization signal extraction means) that extracts a frame synchronization signal by detecting a 0 "code rule violation) and outputs it as a reception frame synchronization signal, 18
Is "LL", "LL", or "H" from the discrimination signal
A code error extraction circuit (code error detection means) that detects a code of H "and" HH "(a violation of the code rule of" 1 ") and outputs an error detection signal.

【0028】次に動作について説明する。光伝送装置送
信部側のNRZ符号の送信データは、前述した図8に示
すフォーマットで送信部へ入力され、インバータ9によ
り論理反転された後、NRZ/CMI符号変換回路1に
入力される。また、送信フレーム同期信号も、送信デー
タとともにNRZ/CMI符号変換回路1に入力され
る。NRZ/CMI符号変換回路1では、入力された送
信データおよび送信フレーム同期信号を図2に示すタイ
ミングチャートに従って変換する。すなわち、NRZ符
号の”0”に対しては”LL”または”HH”に変換さ
れるとともに、NRZ符号の”0”が入力される毎に、
変換後の符号が”LL”,”HH”,”LL”,”H
H”といった具合に、”LL”と”HH”が交互になる
ように変換される。NRZ符号の”1”に対しては、フ
レーム同期信号が無意”L”の場合には、”LH”に変
換され、フレーム同期信号が有意”H”の場合には、”
HL”に変換(”0”の符号則違反という)される。以
上のようにして、CMI符号に変換された信号は、E/
O2にて光信号に変換された後、光ファイバ3を介して
対向する光伝送装置の受信部へ伝送される。
Next, the operation will be described. The transmission data of the NRZ code on the transmission unit side of the optical transmission device is input to the transmission unit in the format shown in FIG. 8 described above, logically inverted by the inverter 9, and then input to the NRZ / CMI code conversion circuit 1. The transmission frame synchronization signal is also input to the NRZ / CMI code conversion circuit 1 together with the transmission data. The NRZ / CMI code conversion circuit 1 converts the input transmission data and transmission frame synchronization signal according to the timing chart shown in FIG. That is, “0” of the NRZ code is converted into “LL” or “HH”, and each time “0” of the NRZ code is input,
Codes after conversion are "LL", "HH", "LL", "H"
For example, "LL" and "HH" are converted so as to alternate with each other such as "H." For "1" of the NRZ code, if the frame synchronization signal is "L", "LH". If the frame sync signal is significant "H",
It is converted to HL "(which is called a code rule violation of" 0 "). As described above, the signal converted to the CMI code is E /
After being converted into an optical signal by O2, it is transmitted to the receiving section of the optical transmission device which opposes through the optical fiber 3.

【0029】次に受信部の動作について説明する。光フ
ァイバ3から入力した受信光信号は、O/E4にて電気
信号(CMI符号)に変換された後、CMI符号則判別
回路5に入力される。CMI符号則判別回路5では、C
MI符号から”LH”,”HL”,”HH”,”LL”
の判別を行い、これらの判別信号を、符号変換回路6、
フレーム同期回路17、および符号エラー抽出回路18
へ出力する。
Next, the operation of the receiving section will be described. The received optical signal input from the optical fiber 3 is converted into an electrical signal (CMI code) by the O / E 4 and then input to the CMI code rule determination circuit 5. In the CMI coding rule determination circuit 5, C
From MI code to "LH", "HL", "HH", "LL"
Of the code conversion circuit 6,
Frame synchronization circuit 17 and code error extraction circuit 18
Output to.

【0030】符号変換回路6では、上記判別信号に従っ
て、図2に示すように、CMI符号の”LH”をNRZ
符号の”0”に、CMI符号の”LL”および”HH”
をNRZ符号の”1”にそれぞれ変換し、インバータ1
0へ出力する。インバータ10では、CMI符号の”L
H”をNRZ符号の”0”に、CMI符号の”LL”お
よび”HH”をNRZ符号の”1”に論理反転して受信
データとして出力する。また、フレーム同期回路17で
は、CMI符号則判別回路5からの判別信号から”H
L”の符号(”0”の符号則違反)を検出することによ
り、フレーム同期信号を抽出し、受信フレーム同期信号
として出力する。そして、符号エラー抽出回路18で
は、CMI符号則判別回路5からの判別信号から”L
L”,”LL”、または”HH”,”HH”の符号(”
1”の符号則違反)を検出し、エラー検出信号を出力す
る。
In the code conversion circuit 6, as shown in FIG. 2, the "LH" of the CMI code is NRZ according to the discrimination signal.
"0" of the code, "LL" and "HH" of the CMI code
Are converted into NRZ code "1" respectively, and the inverter 1
Output to 0. In the inverter 10, the CMI code "L"
H "is logically inverted to" 0 "of the NRZ code, and" LL "and" HH "of the CMI code to" 1 "of the NRZ code, and is output as received data. From the discrimination signal from the discrimination circuit 5, "H"
By detecting a code of L "(a code rule violation of" 0 "), a frame synchronization signal is extracted and output as a reception frame synchronization signal. Then, in the code error extraction circuit 18, the CMI code rule determination circuit 5 outputs From the discrimination signal of "L
L "," LL ", or" HH "," HH "code ("
1 "code rule violation) is detected and an error detection signal is output.

【0031】以上のように、本実施例1では、フレーム
同期信号用に、光伝送において符号エラーが発生しにく
いCMI符号の”HL”(”0”の符号則違反)を用い
て、フレーム同期信号の挿入/抽出を行うとともに、符
号エラーの検出は、光伝送において符号エラーが発生し
やすい符号(”1”の符号則違反)によって行うように
したので、誤同期が発生し難く、また符号エラーを確実
に検出する。
As described above, in the first embodiment, the frame synchronization signal is frame-synchronized by using the CMI code "HL" (a violation of the code rule of "0") for which a code error is less likely to occur in the optical transmission. Signal insertion / extraction is performed, and code errors are detected by a code that easily causes a code error in optical transmission (a violation of the code rule of "1"), so that erroneous synchronization does not easily occur and Reliably detect errors.

【0032】実施例2.次に、請求項2の発明の一実施
例を図について説明する。図3は請求項2の発明の一実
施例による光伝送装置の送信部および受信部の構成を示
すブロック図であり、図1に示した相当部分には同一の
符号を付しその説明を省略する。前述した実施例1で
は、CMI符号則判別回路5によってCMI符号から”
LH”,”HL”,”HH”,”LL”を判別した。し
かしながら、CMI/NRZ変換用のLSI(Large Sc
ale Integrated circuit; 大規模集積回路)として一般
に提供されているものでは、これら個別の判別信号では
なく、”0”の符号則違反および”1”の符号則違反の
検出信号を、CRV(Coding Rule Violation )信号と
して、まとめて1つの信号で出力されるものが多い。
Example 2. Next, an embodiment of the invention of claim 2 will be described with reference to the drawings. FIG. 3 is a block diagram showing a configuration of a transmission unit and a reception unit of an optical transmission device according to an embodiment of the invention of claim 2, and the corresponding parts shown in FIG. To do. In the first embodiment described above, the CMI code rule discrimination circuit 5 converts the CMI code
LH ”,“ HL ”,“ HH ”, and“ LL ”were discriminated. However, an LSI (Large Sc) for CMI / NRZ conversion was used.
In general, as ale integrated circuit, a detection signal of a code rule violation of "0" and a code rule violation of "1" is not CRV (Coding Rule), but these individual discrimination signals. Violation) signals are often output as a single signal.

【0033】CRV信号では、CMI符号の”1”は”
HH”と”LL”とを交互に繰り返すのに対して、この
規則に従わず、直前の”1”が”HH”または”LL”
のとき、それぞれ”HH”または”LL”とする。そこ
で、本実施例2では、上記一般的なLSIを用いて光伝
送装置を構成した上で、前述した実施例1と同様の動作
を行うものである。図において、21はCRV信号と受
信データとの論理積をとるANDゲート(第1のAND
ゲート)、22はCRV信号と、受信データを論理的に
反転した信号との論理積をとるANDゲート(第2のA
NDゲート)、25は上述した市販LSIであるCMI
/NRZ符号変換回路(受信側符号変換手段)、27は
フレーム同期回路(フレーム同期信号抽出手段)であ
る。
In the CRV signal, "1" of the CMI code is "
HH "and" LL "are repeated alternately, but this rule is not followed and the immediately preceding" 1 "is" HH "or" LL ".
At this time, they are set to "HH" or "LL", respectively. Therefore, in the second embodiment, an optical transmission device is configured by using the general LSI, and then the same operation as in the first embodiment is performed. In the figure, reference numeral 21 denotes an AND gate (first AND gate) that takes a logical product of a CRV signal and received data.
And 22 are AND gates (second A) which take the logical product of the CRV signal and the signal obtained by logically inverting the received data.
ND gate), 25 is CMI which is the above-mentioned commercial LSI
/ NRZ code conversion circuit (reception side code conversion means), and 27 is a frame synchronization circuit (frame synchronization signal extraction means).

【0034】次に動作について説明する。まず、送信部
の動作としては、実施例1と同様に行われ、光信号とし
て光伝送装置の受信部へ送信される。一方、受信部にお
いては、光ファイバ3から入力した受信光信号は、O/
E4において電気信号(CMI符号)に変換された後、
CMI/NRZ符号変換回路25に入力される。CMI
/NRZ符号変換回路25では、CMI符号からNRZ
符号に変換し出力するとともに、”0”の符号則違
反、”1”の符号則違反を検出し、それら検出状態に応
じてCRV信号を出力する。
Next, the operation will be described. First, the operation of the transmitter is performed in the same manner as in the first embodiment, and is transmitted as an optical signal to the receiver of the optical transmission device. On the other hand, in the receiver, the received optical signal input from the optical fiber 3 is O /
After being converted to an electric signal (CMI code) at E4,
It is input to the CMI / NRZ code conversion circuit 25. CMI
The / NRZ code conversion circuit 25 converts the CMI code to NRZ.
While converting into a code and outputting, a code rule violation of "0" and a code rule violation of "1" are detected, and a CRV signal is output according to the detected state.

【0035】インバータ10ではCMI/NRZ符号変
換回路25から出力されたNRZ符号を論理反転し、受
信データとして出力する。また、ANDゲート21は、
上記CRV信号と受信データとの論理積をとり、AND
ゲート22は、上記CRV信号と、受信データを論理的
に反転した信号との論理積をとる。したがって、AND
ゲート21の出力には、受信データが”1”で、かつC
RV信号が有意である信号、すなわちフレーム同期信号
が取り出され、フレーム同期回路27へ供給される。一
方、ANDゲート22の出力には、受信データが”0”
で、かつCRV信号が有意である信号、すなわちエラー
検出信号が取り出される。
The inverter 10 logically inverts the NRZ code output from the CMI / NRZ code conversion circuit 25 and outputs it as received data. Also, the AND gate 21
AND the AND of the CRV signal and the received data, and AND
The gate 22 takes the logical product of the CRV signal and a signal obtained by logically inverting the received data. Therefore, AND
At the output of the gate 21, the received data is "1" and C
A signal in which the RV signal is significant, that is, a frame synchronization signal is extracted and supplied to the frame synchronization circuit 27. On the other hand, at the output of the AND gate 22, the received data is "0".
, And the CRV signal is significant, that is, the error detection signal is extracted.

【0036】以上のように、本実施例2では、”0”の
符号則違反および”1”の符号則違反の検出信号を、C
RV信号として、まとめて1つの信号で出力するCMI
/NRZ変換用のLSIを用いても、誤同期が発生し難
く、また符号エラーを確実に検出できるので、光伝送装
置の構成が簡単になる。
As described above, in the second embodiment, the detection signals of the code rule violation of "0" and the code rule violation of "1" are C
CMI that outputs a single signal as RV signal
Even if an LSI for / NRZ conversion is used, erroneous synchronization is unlikely to occur, and code errors can be reliably detected, so that the configuration of the optical transmission device is simplified.

【0037】実施例3.次に、請求項3の発明の一実施
例を図について説明する。図4は請求項3の発明の一実
施例による光伝送装置の送信部および受信部の構成を示
すブロック図であり、図1に示した相当部分には同一の
符号を付しその説明を省略する。図において、37はフ
レーム同期信号の不一致がN回連続したときに同期はず
れと判断し、同期復帰動作に移行する前方保護と、フレ
ーム同期復帰過程においてMフレームにわたってフレー
ム同期信号が一致したときに同期がとれたと判断する後
方保護とのいずれかの同期保護動作に応じて、同期はず
れ状態か否かを示すフレーム同期はずれ信号を出力する
フレーム同期回路(フレーム同期信号抽出手段)であ
る。同期保護段数N,Mには、通常5前後が用いられ、
本実施例3では、前方保護段数Nを「2」、後方保護段
数Mを「2」としている。
Example 3. Next, an embodiment of the invention of claim 3 will be described with reference to the drawings. FIG. 4 is a block diagram showing a configuration of a transmission unit and a reception unit of an optical transmission device according to an embodiment of the invention of claim 3, and the corresponding parts shown in FIG. To do. In the figure, reference numeral 37 indicates that the frame sync signal is judged to be out of synchronization when N times of disagreement occurs consecutively, and the forward protection that shifts to the sync recovery operation and synchronization is performed when the frame sync signal matches for M frames in the frame sync recovery process. A frame synchronization circuit (frame synchronization signal extraction means) that outputs a frame synchronization loss signal indicating whether or not the synchronization is lost in accordance with any one of the synchronization protection operations of the backward protection that determines that the loss has occurred. Normally, about 5 is used for the number of synchronization protection stages N and M,
In the third embodiment, the number N of front protection stages is "2" and the number M of rear protection stages is "2".

【0038】また、38はCMI符号則判別回路5から
の判別信号から”LL”,”LL”、または”H
H”,”HH”の符号(”1”の符号則違反)を検出
し、エラー検出信号を出力するとともに、CMI符号則
判別回路5からの判別信号から”HL”の符号(”0”
の符号則違反)を検出し、フレーム同期回路37からの
フレーム同期はずれ信号が無意、すなわち同期が取れて
いる状態で、かつ、”0”の符号則違反を検出したとき
にも、エラー検出信号を出力する符号エラー抽出回路
(符号エラー検出手段)である。
Numeral 38 indicates "LL", "LL", or "H" from the discrimination signal from the CMI code rule discrimination circuit 5.
A code "H" or "HH" (a code rule violation of "1") is detected, an error detection signal is output, and a code "HL"("0") is output from the determination signal from the CMI code rule determination circuit 5.
Code rule violation) is detected and the out-of-frame signal from the frame synchronization circuit 37 is inadvertent, that is, in the state of being synchronized, and when the code rule violation of "0" is detected, the error detection signal is detected. Is a code error extraction circuit (code error detection means) that outputs

【0039】次に動作について説明する。受信部の動作
において、O/E4、CMI符号則判別回路5、符号変
換回路6、インバータ10の各動作は、前述した実施例
1の場合と同様である。フレーム同期回路37ではCM
I符号則判別回路5からの信号から”HL”の符号(”
0”の符号則違反)を検出することにより、フレーム同
期信号を抽出し、受信フレーム同期信号として出力す
る。さらに、フレーム同期回路37では、前述した同期
保護動作に応じて、同期はずれ状態か否かを示すフレー
ム同期はずれ信号を出力する。
Next, the operation will be described. In the operation of the receiving unit, the operations of the O / E 4, the CMI code rule determination circuit 5, the code conversion circuit 6, and the inverter 10 are the same as those in the first embodiment described above. CM in the frame synchronization circuit 37
From the signal from the I code rule determination circuit 5, the code of "HL"("
The frame sync signal is extracted and output as a received frame sync signal by detecting the 0 "code rule violation. Further, the frame sync circuit 37 determines whether or not the sync is lost in accordance with the above-mentioned sync protection operation. An out-of-frame signal indicating that is output.

【0040】符号エラー抽出回路38では、CMI符号
則判別回路5からの判別信号から”LL”,”LL”、
または”HH”,”HH”の符号(”1”の符号則違
反)を検出し、いずれかの状態であるときにはエラー検
出信号を出力する。さらに、符号エラー抽出回路38で
は、上記判別信号から”HL”の符号(”0”の符号則
違反)を検出し、フレーム同期回路37からのフレーム
同期はずれ信号が無意、すなわち同期が取れている状態
で、かつ、”0”の符号則違反を検出したときにも、エ
ラー検出信号を出力する。なお、”0”の符号則違反を
検出しても、フレーム同期はずれ状態の時には、エラー
検出信号を出力しない。
In the code error extraction circuit 38, "LL", "LL", from the discrimination signal from the CMI code rule discrimination circuit 5,
Alternatively, a code of "HH" or "HH" (a violation of the code rule of "1") is detected, and an error detection signal is output in either state. Further, the code error extraction circuit 38 detects a code of "HL" (a code rule violation of "0") from the discrimination signal, and the out-of-frame signal from the frame synchronization circuit 37 is insignificant, that is, synchronized. The error detection signal is output even when the code rule violation of "0" is detected in the state. Even if a code rule violation of "0" is detected, no error detection signal is output when the frame is out of sync.

【0041】以上のように、本実施例3では、フレーム
同期回路37によってフレーム同期信号を抽出してフレ
ーム同期保護を行い、その結果得られたフレーム同期は
ずれ信号の状態に応じて、符号エラー抽出回路38によ
って、フレーム同期はずれ状態でない場合には、”1”
の符号則違反の検出に加えて、”0”の符号則違反を検
出した場合にも、エラー検出信号を出力するようにした
ので、符号エラーの発生をより正確に検出する。
As described above, in the third embodiment, the frame synchronization circuit 37 extracts the frame synchronization signal to protect the frame synchronization, and the code error extraction is performed according to the state of the resulting frame synchronization loss signal. When the circuit 38 does not lose the frame synchronization by the circuit 38, "1"
In addition to the detection of the code rule violation, the error detection signal is output when the code rule violation of "0" is detected, so that the occurrence of the code error can be detected more accurately.

【0042】実施例4.次に、請求項4の発明の一実施
例を図について説明する。図5は請求項4の発明の一実
施例による光伝送装置の受信部の構成を示すブロック図
であり、図1に示した相当部分には同一の符号を付しそ
の説明を省略する。また、送信部は、図1に示す送信部
とその構成も動作も同一であるのでその説明を省略す
る。
Example 4. Next, an embodiment of the invention of claim 4 will be described with reference to the drawings. FIG. 5 is a block diagram showing a configuration of a receiving section of an optical transmission apparatus according to an embodiment of the invention of claim 4, and the corresponding portions shown in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. Further, the transmitting unit has the same configuration and operation as the transmitting unit shown in FIG.

【0043】図において、41は符号エラー抽出回路1
8からのエラー検出信号から、2段階の2つの符号誤り
率を算出する符号誤り率算出回路(符号誤り率算出手
段)である。従来、光/電気変換器の受信信号アラーム
発出特性としては、受信光パワーがかなり低下しない
と、アラームを出さないものがほとんどであり、アラー
ムが出力される状態では、符号誤りが例えば1×10ー1
以上にもなる場合がある。このため、受信データが誤っ
ているにも関わらず、その異常状態を認識できないこと
があった。そこで、本実施例4では、符号誤り率算出回
路41は、符号誤り率が例えば1×10ー7以上になった
場合に、回線品質劣化信号として出力するとともに、符
号誤り率が例えば1×10ー4以上になったことを検出
し、この検出信号と、O/E4から出力する受信信号ア
ラームとの論理和をとり、受信断の信号を出力するよう
になっている。
In the figure, 41 is a code error extraction circuit 1
A code error rate calculation circuit (code error rate calculation means) that calculates two stages of two bit error rates from the error detection signal from 8. Conventionally, most of the reception signal alarm issuing characteristics of the optical / electrical converter do not issue an alarm unless the received optical power is significantly reduced. In the alarm output state, a code error of, for example, 1 × 10. ー 1
There may be more than that. Therefore, the abnormal state may not be recognized even though the received data is incorrect. Therefore, in the fourth embodiment, the code error rate calculation circuit 41 outputs as a line quality deterioration signal when the code error rate is, for example, 1 × 10 −7 or more, and the code error rate is, for example, 1 × 10 7. When it becomes -4 or more, the detection signal and the reception signal alarm output from the O / E4 are logically ORed, and the reception interruption signal is output.

【0044】次に動作について説明する。なお、送信
部、および受信部の動作におけるO/E4、CMI符号
則判別回路5、符号変換回路6、インバータ10、フレ
ーム同期回路17、符号エラー抽出回路18の各動作
は、前述した実施例1の場合と同様であるので説明を省
略する。符号誤り率算出回路41は、符号エラー抽出回
路18からのエラー検出信号に基づいて、符号誤り率が
1×10ー7以上になると、回線品質劣化信号として出力
するとともに、符号誤り率が1×10ー4以上になると、
エラー検出信号と、O/E4から出力する受信信号アラ
ームとの論理和をとり、受信断の信号を出力する。した
がって、光伝送系の劣化状態を早期に発見することが可
能である。
Next, the operation will be described. The operations of the O / E 4, the CMI code rule determination circuit 5, the code conversion circuit 6, the inverter 10, the frame synchronization circuit 17, and the code error extraction circuit 18 in the operations of the transmission unit and the reception unit are the same as those in the first embodiment. The description is omitted because it is the same as the case. When the code error rate becomes 1 × 10 −7 or more based on the error detection signal from the code error extraction circuit 18, the code error rate calculation circuit 41 outputs as a line quality deterioration signal and the code error rate is 1 ×. When it becomes more than 10-4 ,
The error detection signal and the reception signal alarm output from the O / E 4 are logically ORed and a reception interruption signal is output. Therefore, it is possible to detect the deterioration state of the optical transmission system at an early stage.

【0045】以上のように、本実施例4では、符号誤り
率算出回路41により、符号誤り率を算出し、符号エラ
ーの発生頻度に応じて警報信号を発するので、符号エラ
ーの発生状況がより正確に表せ、光伝送系の劣化等を早
期に発見し、保守性をより向上させる。
As described above, in the fourth embodiment, the code error rate calculation circuit 41 calculates the code error rate and issues the alarm signal according to the frequency of code error occurrence, so that the situation of code error occurrence is further improved. Accurate representation, early detection of deterioration of the optical transmission system, and further improvement of maintainability.

【0046】なお、上記実施例4では、2段階の2つの
誤り率を算出することを示したが、それ以上でもよく、
また算出点も上記実施例では1×10ー7以上と1×10
ー4以上について示したが、光伝送系の特性に応じてそれ
に整合させて算出することは言うまでもない。
In the fourth embodiment, two error rates in two stages are calculated, but more error rates may be calculated.
Also, the calculation points are 1 × 10 −7 or more and 1 × 10 7 in the above embodiment.
-4 has been shown above, but it goes without saying that calculations are made in conformity with the characteristics of the optical transmission system.

【0047】実施例5.次に、請求項5の発明の一実施
例を図について説明する。図6は請求項5の発明の一実
施例による光伝送装置の送信部および受信部の構成を示
すブロック図であり、図1に示した相当部分には同一の
符号を付しその説明を省略する。一般に、光伝送装置の
多くは、送信部および受信部を組み合わせたものを1つ
の装置として扱われることがほとんどである。そして、
その装置の初期の動作確認や保守点検等では送信部と受
信部を折返し状態にして、動作確認試験を行う方法が良
く用いられる。
Example 5. Next, an embodiment of the invention of claim 5 will be described with reference to the drawings. FIG. 6 is a block diagram showing a configuration of a transmission unit and a reception unit of an optical transmission device according to an embodiment of the invention of claim 5, and the corresponding parts shown in FIG. To do. In general, most of the optical transmission devices handle a combination of a transmitter and a receiver as one device. And
In the initial operation confirmation and maintenance inspection of the device, a method of performing an operation confirmation test with the transmitter and the receiver folded back is often used.

【0048】本実施例5は、上述したような折返し状態
での動作確認試験に関して、従来、必要としていた、送
信データ用の試験データ発生回路や、受信データの照合
回路等を必要とせず、CMI符号の符号則違反を検出す
るだけで動作確認が可能な光伝送装置である。図におい
て、51は折返し指示を供給すると、内部の光経路を実
線で示す折り返し状態とし、E/O2からの光信号をO
/E4へ導く一方、折返し指示を解除すると、内部の光
経路は点線で示す通常状態となる光スイッチ(光スイッ
チ手段)である。
The fifth embodiment does not require a test data generation circuit for transmission data, a collation circuit for received data, etc., which have been conventionally required for the operation confirmation test in the above-mentioned folded state, and the CMI is not required. This is an optical transmission device whose operation can be confirmed only by detecting a code rule violation. In the figure, when 51 supplies a turn-back instruction, the internal optical path is turned into a turn-back state indicated by a solid line, and an optical signal from E / O2 is turned to O level.
/ E4, while releasing the turn-back instruction, the internal optical path is an optical switch (optical switch means) in a normal state indicated by a dotted line.

【0049】次に動作について説明する。なお、送信部
および受信部におけるインバータ9、NRZ/CMI符
号変換回路1、E/O2、O/E4、CMI符号則判別
回路5、符号変換回路6、インバータ10、フレーム同
期回路17、および符号エラー抽出回路18の各個別の
動作は実施例1の場合と同様であるので省略する。
Next, the operation will be described. In addition, the inverter 9, NRZ / CMI code conversion circuit 1, E / O2, O / E4, CMI code rule determination circuit 5, code conversion circuit 6, inverter 10, frame synchronization circuit 17, and code error in the transmission unit and the reception unit. The individual operations of the extraction circuit 18 are the same as in the case of the first embodiment and will therefore be omitted.

【0050】まず、折返し状態で動作確認を行う場合
は、光スイッチ51に対して折返し指示を行うことによ
り、光スイッチ51内の光経路が実線で示す折り返し状
態となり、E/O2からの光信号がO/E4へ導かれ
る。この折り返し状態において、フレーム同期回路17
からの受信フレーム同期信号が正規に出力されること、
および符号エラー抽出回路18からのエラー検出信号が
出力されないことを確認するだけで、送信部、受信部が
正常に動作しているか否かの確認が行える。一方、上述
した折返し状態から通常状態にするには、光スイッチ5
1に対する折返し指示を解除することにより、光スイッ
チ51内の光経路は点線で示す通常状態とする。この通
常状態では、E/O2からの光信号は光ファイバ3a
へ、また光ファイバ3bからの光信号はO/E4へ導か
れる。
First, when confirming the operation in the folded state, by giving a folding instruction to the optical switch 51, the optical path in the optical switch 51 becomes the folded state shown by the solid line, and the optical signal from the E / O2 is sent. Is led to O / E4. In this folded state, the frame synchronization circuit 17
The received frame synchronization signal from is output normally,
Also, it is possible to confirm whether or not the transmitting unit and the receiving unit are operating normally only by confirming that no error detection signal is output from the code error extracting circuit 18. On the other hand, in order to change the above-mentioned folded state to the normal state, the optical switch 5
By canceling the loopback instruction for 1, the optical path in the optical switch 51 is brought to the normal state shown by the dotted line. In this normal state, the optical signal from the E / O2 is the optical fiber 3a.
, And the optical signal from the optical fiber 3b is guided to O / E4.

【0051】以上のように、本実施例5では、送信部お
よび受信部を組み合わせたものを1つの光伝送装置とし
て構成するとともに、送信部と受信部とを光スイッチ5
1により折り返し接続し、送信部が出力するCMI符号
の信号を光スイッチ51を介して受信部で受信し、受信
部においてCMI符号則違反を検出することにより折り
返し状態での動作確認試験を行えるようにしたので、簡
単な回路構成で動作確認が行え、装置が安価になる。
As described above, in the fifth embodiment, a combination of the transmission unit and the reception unit is configured as one optical transmission device, and the transmission unit and the reception unit are combined into the optical switch 5.
1 by the loopback connection, the receiving section receives the signal of the CMI code output from the transmitting section via the optical switch 51, and the receiving section detects the violation of the CMI code rule, so that the operation confirmation test in the loopback state can be performed. Therefore, the operation can be confirmed with a simple circuit configuration, and the device becomes inexpensive.

【0052】[0052]

【発明の効果】以上のように、請求項1の発明によれ
ば、”0”の符号則違反を検出することによりフレーム
同期信号を抽出し、”1”の符号則違反を検出すること
により符号エラーを検出するように構成したので、誤同
期することが少なく、また符号エラーの検出が確実に行
えるため、信頼性の高い、保守性に優れた装置を得る効
果がある。
As described above, according to the invention of claim 1, the frame sync signal is extracted by detecting the code rule violation of "0", and the code rule violation of "1" is detected. Since the code error is detected, erroneous synchronization is less likely to occur, and the code error can be surely detected. Therefore, there is an effect of obtaining a highly reliable and maintainable device.

【0053】請求項2の発明によれば、CRV信号が出
力されるCMI/NRZ符号変換回路を使用する場合
は、CRV信号と受信データの論理積をとるANDゲー
トとCRV信号と受信データを論理的に反転した信号と
の論理積をとるANDゲートを備えて、フレーム同期信
号の抽出および符号エラーの検出をするように構成した
ので、符号エラー抽出回路が不要となり、回路規模を小
さくできる効果がある。
According to the second aspect of the present invention, when the CMI / NRZ code conversion circuit for outputting the CRV signal is used, the AND gate for logically ANDing the CRV signal and the received data, the CRV signal and the received data are logically combined. Since it is configured to extract the frame synchronization signal and detect the code error by including an AND gate that logically inverts the signal, the code error extraction circuit becomes unnecessary, and the circuit scale can be reduced. is there.

【0054】請求項3の発明によれば、フレーム同期信
号を抽出してフレーム同期保護を行い、その結果得られ
たフレーム同期はずれ信号の状態に応じて、フレーム同
期はずれ状態でない場合には、”1”の符号則違反の検
出に加えて、”0”の符号則違反を検出した場合にも、
エラー検出信号を出力するように構成したので、符号エ
ラーの発生をより確実に行うことができる効果がある。
According to the third aspect of the invention, the frame synchronization signal is extracted and the frame synchronization protection is performed. If the frame synchronization loss signal is not in the loss state, the frame synchronization loss signal is detected. In addition to detecting the code rule violation of "1", when detecting the code rule violation of "0",
Since the configuration is such that the error detection signal is output, there is an effect that a code error can be generated more reliably.

【0055】請求項4の発明によれば、符号誤り率算出
回路を設けて符号誤り率を算出し、符号エラーの発生頻
度に応じて警報信号を発するように構成したので、符号
エラーの発生状況がより正確に表すことができ、光伝送
系の劣化等を早期に発見できるため、より保守性を向上
できる効果がある。
According to the invention of claim 4, the code error rate calculating circuit is provided to calculate the code error rate, and the alarm signal is issued according to the frequency of occurrence of the code error. Can be expressed more accurately, and deterioration of the optical transmission system can be detected at an early stage, which has the effect of further improving maintainability.

【0056】請求項5の発明によれば、同一装置内に設
けた送信部と受信部とを、光スイッチ手段によって接続
し、送信部から送信されたCMI符号の信号を受信した
受信部においてCMI符号則違反を検出するように構成
したので、簡単な回路構成で実現でき、装置を安価にで
きる効果がある。
According to the invention of claim 5, the transmitter and the receiver provided in the same device are connected by the optical switch means, and the CMI code is received in the receiver which receives the signal of the CMI code transmitted from the transmitter. Since the coding rule violation is detected, the circuit can be realized with a simple circuit configuration and the device can be inexpensive.

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

【図1】 本発明の請求項1に係る光伝送装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an optical transmission device according to claim 1 of the present invention.

【図2】 本発明の請求項1に係る光伝送装置による符
号変換を説明するためのタイミングチャートである。
FIG. 2 is a timing chart for explaining code conversion by the optical transmission device according to claim 1 of the present invention.

【図3】 本発明の請求項2に係る光伝送装置の構成を
示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an optical transmission device according to claim 2 of the present invention.

【図4】 本発明の請求項3に係る光伝送装置の構成を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration of an optical transmission device according to claim 3 of the present invention.

【図5】 本発明の請求項4に係る光伝送装置の構成を
示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an optical transmission device according to claim 4 of the present invention.

【図6】 本発明の請求項5に係る光伝送装置の構成を
示すブロック図である。
FIG. 6 is a block diagram showing a configuration of an optical transmission device according to claim 5 of the present invention.

【図7】 従来の光伝送装置の構成を示すブロック図で
ある。
FIG. 7 is a block diagram showing a configuration of a conventional optical transmission device.

【図8】 従来の光伝送装置のフレーム構成を示す模式
図である。
FIG. 8 is a schematic diagram showing a frame configuration of a conventional optical transmission device.

【図9】 従来の符号変換を説明するためのタイミング
チャートである。
FIG. 9 is a timing chart for explaining conventional code conversion.

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

1 NRZ/CMI符号変換回路(送信側符号変換手
段)、5 CMI符号則判別回路(符号則判別手段)、
6 符号変換回路(受信側符号変換手段)、9インバー
タ(第1のインバータ)、10 インバータ(第2のイ
ンバータ)、17,27,37 フレーム同期回路(フ
レーム同期信号抽出手段)、18,38符号エラー抽出
回路(符号エラー検出手段)、21 ANDゲート(第
1のANDゲート)、22 ANDゲート(第2のAN
Dゲート)、25 CMI/NRZ符号変換回路(受信
側符号変換手段)、41 符号誤り率算出回路(符号誤
り率算出手段)、51 光スイッチ(光スイッチ手
段)。
1 NRZ / CMI code conversion circuit (transmission side code conversion means) 5 CMI code rule determination circuit (code rule determination means)
6 code conversion circuit (reception side code conversion means), 9 inverters (first inverter), 10 inverters (second inverter), 17, 27, 37 frame synchronization circuit (frame synchronization signal extraction means), 18, 38 codes Error extraction circuit (code error detection means), 21 AND gate (first AND gate), 22 AND gate (second AN)
D gate), 25 CMI / NRZ code conversion circuit (reception side code conversion means), 41 code error rate calculation circuit (code error rate calculation means), 51 optical switch (optical switch means).

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 1/00 A ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display H04L 1/00 A

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 NRZ符号の送信データを論理反転する
第1のインバータと、前記第1のインバータにより反転
されたNRZ符号の送信データにフレーム同期信号を重
畳し、前記フレーム同期信号に”0”の符号則違反を与
えて、CMI符号の信号として送信する送信側符号変換
手段とを備える送信部と、前記送信部から送信されたC
MI符号の符号並びを判別する符号則判別手段と、前記
符号則判別手段による判別結果に基づいて前記CMI符
号をNRZ符号の受信データに変換する受信側符号変換
手段と、前記受信側符号変換手段が出力するNRZ符号
に変換された信号を論理反転し、受信データとして出力
する第2のインバータと、前記符号則判別手段による判
別結果に基づいて、”0”の符号則違反を検出すること
により、フレーム同期信号を抽出するフレーム同期信号
抽出手段と、前記符号則判別手段による判別結果に基づ
いて、”1”の符号則違反を検出してエラー検出信号を
出力する符号エラー検出手段とを備える受信部とを備え
た光伝送装置。
1. A first inverter that logically inverts transmission data of an NRZ code, a frame synchronization signal is superimposed on the transmission data of the NRZ code inverted by the first inverter, and "0" is added to the frame synchronization signal. C code transmitted from the transmitting section, and a transmitting side code converting means for transmitting the signal as a CMI code signal by violating the above coding rule.
Code rule determining means for determining the code sequence of MI code, receiving side code converting means for converting the CMI code into received data of NRZ code based on the determination result by the code rule determining means, and the receiving side code converting means. By detecting the violation of the code rule of "0" based on the second inverter which logically inverts the signal converted into the NRZ code output by the above and outputs it as the reception data, and the discrimination result by the code rule discriminating means. Frame synchronization signal extraction means for extracting a frame synchronization signal, and code error detection means for detecting a code rule violation of "1" and outputting an error detection signal based on the discrimination result by the code rule discrimination means. An optical transmission device comprising a receiver.
【請求項2】 前記受信部は、伝送系の受信側において
受信したCMI符号の符号並びを判別し、該判別結果に
基づいて、CMI符号からNRZ符号に変換し出力する
とともに、前記CMI符号から”0”の符号則違反、”
1”の符号則違反を検出し、この検出状態に応じたCR
V信号を出力する受信側符号変換手段と、前記受信側符
号変換手段が出力するNRZ符号に変換された信号を論
理反転し、受信データとして出力する第2のインバータ
と、前記CRV信号と前記受信データとの論理積をとる
第1のANDゲートと、前記第1のANDゲートの出力
結果に基づいて、”0”の符号則違反を検出することに
より、フレーム同期信号を抽出するフレーム同期信号抽
出手段と、前記CRV信号と前記受信データを論理的に
反転した信号との論理積をとり、エラー検出信号として
出力する第2のANDゲートとを備えた請求項1記載の
光伝送装置。
2. The receiving section discriminates a code sequence of CMI codes received on the receiving side of a transmission system, converts the CMI code to an NRZ code based on the discrimination result, and outputs the CMI code. "0" sign rule violation, "
1 "coding rule violation is detected, and CR according to this detection state
A receiving side code converting means for outputting a V signal, a second inverter for logically inverting the signal converted into the NRZ code output by the receiving side code converting means and outputting it as received data, the CRV signal and the receiving A first AND gate that performs a logical product with data, and a frame synchronization signal extraction that extracts a frame synchronization signal by detecting a code rule violation of "0" based on the output result of the first AND gate. 2. The optical transmission device according to claim 1, further comprising: means, and a second AND gate that performs a logical product of the CRV signal and a signal obtained by logically inverting the received data and outputs the logical product as an error detection signal.
【請求項3】 前記受信部は、伝送系の受信側において
受信したCMI符号の符号並びを判別する符号則判別手
段と、前記符号則判別手段による判別結果に基づいて前
記CMI符号をNRZ符号の受信データに変換する受信
側符号変換手段と、前記受信側符号変換手段が出力する
NRZ符号に変換された信号を論理反転し、受信データ
として出力する第2のインバータと、前記符号則判別手
段による判別結果に基づいて、”0”の符号則違反を検
出することにより、フレーム同期信号を抽出するととも
に、前記フレーム同期信号の同期がとれているか否かを
判断し、同期はずれ状態か否かを示すフレーム同期はず
れ信号を出力するフレーム同期信号抽出手段と、前記フ
レーム同期はずれ信号に基づいて、フレーム同期はずれ
状態でない場合には、”1”の符号則違反の検出に加え
て、”0”の符号則違反を検出した場合にも、エラー検
出信号を出力する符号エラー検出手段とを備えた請求項
2記載の光伝送装置。
3. The receiving unit determines a code sequence of a CMI code received on a receiving side of a transmission system, and a CNR code of the NRZ code based on a determination result of the code rule determining unit. The receiving side code converting means for converting the received data, the second inverter for logically inverting the signal converted into the NRZ code output by the receiving side code converting means, and outputting as the received data, and the code rule determining means. On the basis of the discrimination result, by detecting the code rule violation of "0", the frame synchronization signal is extracted, and it is determined whether or not the frame synchronization signal is synchronized, and it is determined whether or not the frame is out of synchronization. Frame synchronization signal extraction means for outputting a frame out-of-sync signal, and, based on the frame out-of-sync signal, when the frame out-of-sync state is not established 3. The optical transmission apparatus according to claim 2, further comprising code error detection means for outputting an error detection signal when a code rule violation of "0" is detected in addition to the detection of code rule violation of "1". .
【請求項4】 前記符号エラー検出手段が出力するエラ
ー検出信号に基づいて符号誤り率を算出し、該符号誤り
率によって表される符号エラーの発生頻度に応じて警報
信号を出力する符号誤り率算出手段を備えた請求項1記
載の光伝送装置。
4. A code error rate for calculating a code error rate on the basis of an error detection signal output by the code error detection means, and outputting an alarm signal according to the frequency of occurrence of a code error represented by the code error rate. The optical transmission device according to claim 1, further comprising calculation means.
【請求項5】 前記送信部と前記受信部とを同一装置内
に設け、折り返し指示信号が供給されると、前記送信部
が出力するCMI符号の信号を前記受信部に供給する光
スイッチ手段を備えた請求項1記載の光伝送装置。
5. The optical switch means for providing the transmitting unit and the receiving unit in the same device, and supplying a CMI code signal output by the transmitting unit to the receiving unit when a loopback instruction signal is supplied. The optical transmission device according to claim 1, further comprising:
JP6149791A 1994-06-30 1994-06-30 Optical transmitter Pending JPH0818611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6149791A JPH0818611A (en) 1994-06-30 1994-06-30 Optical transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6149791A JPH0818611A (en) 1994-06-30 1994-06-30 Optical transmitter

Publications (1)

Publication Number Publication Date
JPH0818611A true JPH0818611A (en) 1996-01-19

Family

ID=15482801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6149791A Pending JPH0818611A (en) 1994-06-30 1994-06-30 Optical transmitter

Country Status (1)

Country Link
JP (1) JPH0818611A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6628213B2 (en) 2001-12-20 2003-09-30 Hitachi, Ltd. CMI-code coding method, CMI-code decoding method, CMI coding circuit, and CMI decoding circuit
JP2006304095A (en) * 2005-04-22 2006-11-02 Toshiba Corp Radio on fiber system, signal processing method thereof, and slave unit
WO2008050569A1 (en) 2006-10-18 2008-05-02 Ishida Co., Ltd. Encoding device, pulse generation device, and communication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6628213B2 (en) 2001-12-20 2003-09-30 Hitachi, Ltd. CMI-code coding method, CMI-code decoding method, CMI coding circuit, and CMI decoding circuit
JP2006304095A (en) * 2005-04-22 2006-11-02 Toshiba Corp Radio on fiber system, signal processing method thereof, and slave unit
WO2008050569A1 (en) 2006-10-18 2008-05-02 Ishida Co., Ltd. Encoding device, pulse generation device, and communication system
US7750827B2 (en) 2006-10-18 2010-07-06 Ishida Co. Ltd. Coding device, pulse regenerating device, and communications system

Similar Documents

Publication Publication Date Title
JPH05211479A (en) Optical loopback method for same wavelength duplex transmitting device
JPH05211497A (en) Detection of slip during measurement of bit error rate
US4876686A (en) Fault detection signal transmission system
US5081619A (en) Digital signal multiplex communication system having signal path monitoring function
EP2034657A1 (en) Communication device
US5619532A (en) Digital communication system
JPH0818611A (en) Optical transmitter
JP2000502853A (en) Parity maintenance test routine
JP2720543B2 (en) Optical transmission system and fault information detection method
JPH0797761B2 (en) Optical transmission system
JPH08186554A (en) Time division multiplex transmitter and decoding circuit
US8218701B2 (en) Communication system
KR100261074B1 (en) Method and apparatus for compensating baud rate in communication relay
KR100518079B1 (en) Error Checking Apparatus For Data Channel
JP2973740B2 (en) Line monitoring method
JPS61111033A (en) Frame synchronism system
JPH0614640B2 (en) Frame synchronization circuit
JP2658927B2 (en) Multiplex transmission method and apparatus
JP2640909B2 (en) Digital information transmission path abnormality detection method
JP3016280B2 (en) In-device monitoring method
JP2555582B2 (en) CMI code error detection circuit
JPH06284121A (en) Synchronizing word detection system
JPH0936841A (en) Transmission device and system therefor
JPH0530316A (en) Synchronization establishment system
JPS5945304B2 (en) Line failure detection method in two-wire communication equipment