JP2645133B2 - Code error measurement device - Google Patents

Code error measurement device

Info

Publication number
JP2645133B2
JP2645133B2 JP9112289A JP9112289A JP2645133B2 JP 2645133 B2 JP2645133 B2 JP 2645133B2 JP 9112289 A JP9112289 A JP 9112289A JP 9112289 A JP9112289 A JP 9112289A JP 2645133 B2 JP2645133 B2 JP 2645133B2
Authority
JP
Japan
Prior art keywords
code
mb1c
circuit
measured
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP9112289A
Other languages
Japanese (ja)
Other versions
JPH02268532A (en
Inventor
浩平 小野
和男 萩本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anritsu Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Anritsu Corp
Nippon Telegraph and Telephone 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 Anritsu Corp, Nippon Telegraph and Telephone Corp filed Critical Anritsu Corp
Priority to JP9112289A priority Critical patent/JP2645133B2/en
Publication of JPH02268532A publication Critical patent/JPH02268532A/en
Application granted granted Critical
Publication of JP2645133B2 publication Critical patent/JP2645133B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル伝送路及びこの伝送路に接続さ
れる装置やディジタル記憶装置等に発生する符号誤りを
検出する符号誤り測定装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital transmission line and a code error measuring device for detecting a code error occurring in a device connected to the transmission line, a digital storage device, or the like.

〔従来の技術〕[Conventional technology]

かかる装置には読込み方式及び1ビットシフト法があ
る。第3図は読込み方式を適用した符号誤り測定装置の
構成図であって、シフトレジスタ1が設けられ、このシ
フトレジスタ1にスイッチ回路2を通して被測定符号が
入力するようになっている。なお、この被測定符号は第
4図(a)に示すような最大長周期系列符号(以下、M
系列符号と指称する)が被測定系を通ったものである。
シフトレジスタ1は23段D型フリップフロップ1−1〜
1−23を直列接続した構成となっている。そして、この
シフトレジスタ1の第18段目及び第19段目の間と第23段
目との間に排他的論理和回路3が接続され、この排他的
論理和回路3の出力がスイッチ回路2のロ端及び排他的
論理和回路4に接続されている。又、この排他的論理和
回路4の他の入力端には被測定符号が入力されている。
ところで、前記シフトレジスタ1、排他的論理和回路3
及びスイッチ回路2のロ端の閉回路により第5図の等価
回路に示すようなM系列符号発生回路が構成される。こ
のM系列符号発生回路はCCITT勧告第O・151号に従った
223−1ビット周期を有するM系列符号を発生するもの
で、D型フリップフロップの段数を変更することにより
ビット周期を変えることができる。しかるに、スイッチ
回路2は通常イ端に接続されており、この状態に被測定
符号がシフトレジスタ1に取込まれる。そして、被測定
符号が取込まれて23ビット以上シフトした後の適当な時
期にスイッチ回路2をロ端に切換えると、M系列符号発
生回路が形成され、こな回路は取込んだ被測定符号と同
期しかつ同一の基準M系列符号を発生する。従って、こ
の基準M系列符号が排他的論理和回路4に入力されると
ともに被測定符号が同排他的論理和回路4に入力して被
測定符号に符号誤りがあると、排他的論理和回路4から
誤りパルスが出力される。
Such devices include a reading method and a 1-bit shift method. FIG. 3 is a block diagram of a code error measuring device to which the reading method is applied. A shift register 1 is provided, and a code to be measured is input to the shift register 1 through a switch circuit 2. The code to be measured is a maximum long period sequence code (hereinafter referred to as M
(Referred to as a sequence code) has passed through the system to be measured.
The shift register 1 has 23 stages of D-type flip-flops 1-1 to 1-1.
1-23 are connected in series. An exclusive OR circuit 3 is connected between the 18th and 19th stages of the shift register 1 and the 23rd stage, and the output of the exclusive OR circuit 3 is connected to the switch circuit 2 And the exclusive OR circuit 4. The code to be measured is input to the other input terminal of the exclusive OR circuit 4.
By the way, the shift register 1, the exclusive OR circuit 3,
An M-sequence code generation circuit as shown in the equivalent circuit of FIG. This M-sequence code generation circuit complies with CCITT recommendation O.151.
It generates an M-sequence code having a 2 23 -1 bit period, and the bit period can be changed by changing the number of stages of the D-type flip-flop. However, the switch circuit 2 is normally connected to the terminal A, and the code to be measured is taken into the shift register 1 in this state. When the switch circuit 2 is switched to the low end at an appropriate time after the code to be measured is fetched and shifted by 23 bits or more, an M-sequence code generation circuit is formed. And generates the same reference M-sequence code. Therefore, when the reference M-sequence code is input to the exclusive OR circuit 4 and the code to be measured is input to the exclusive OR circuit 4 and there is a code error in the code to be measured, the exclusive OR circuit 4 Output an error pulse.

一方、第6図は1ビットシフト法を適用した符号誤り
測定装置の構成図で、被測定符号としてmB1C符号の符号
誤りを測定するものとなっている。ここで、mB1C符号に
おいてmは自然数、Bは2進数、Cは反転する置換ビッ
トを示している。例えば、第4図(a)に示すM系列符
号を10B1C符号に変換すると、同図(b)に示すように
符号Aから10番目の符号Jが置換されて次の符号位置で
となり、さらに次の符号Lから10番目の符号Uが置換
されて次の符号位置でとなる。この被測定符号は排他
的論理和回路5を通って同期検出回路6に入力し、この
同期検出回路6からインヒビットゲート回路7に送られ
ている。このインヒビットゲート回路7の他端にはクロ
ック信号が入力しており、このゲート回路7の出力が被
測定符号と同一符号を発生する基準符号発生回路8に送
られている。ここで、排他的論理和回路5の入力端にお
いて被測定符号と基準符号発生回路8で発生した符号と
の位相関係が不一致であれば、同期検出回路6により同
期が一致するまでクロック信号を1ビットづつインヒビ
ットし位相を1ビットづつシフトすることになる。そし
て、位相が一致した状態になると同期検出回路6はイン
ヒビット信号を停止する。そこで、被測定符号に符号誤
りがあると、排他的論理和回路5から誤りパルスが出力
される。
On the other hand, FIG. 6 is a block diagram of a code error measuring device to which the 1-bit shift method is applied, which measures a code error of an mB1C code as a code to be measured. Here, in the mB1C code, m indicates a natural number, B indicates a binary number, and C indicates a replacement bit to be inverted. For example, when the M-sequence code shown in FIG. 4 (a) is converted into a 10B1C code, as shown in FIG. 4 (b), the tenth code J from the code A is replaced and becomes the next code position. Is replaced with the tenth code U from the code L to become the next code position. The measured code is input to the synchronization detection circuit 6 through the exclusive OR circuit 5, and is sent from the synchronization detection circuit 6 to the inhibit gate circuit 7. A clock signal is input to the other end of the inhibit gate circuit 7, and the output of the gate circuit 7 is sent to a reference code generation circuit 8 that generates the same code as the code to be measured. Here, if the phase relationship between the code to be measured and the code generated by the reference code generation circuit 8 at the input terminal of the exclusive OR circuit 5 does not match, the clock signal is changed by 1 until the synchronization is detected by the synchronization detection circuit 6. The bit is inhibited bit by bit and the phase is shifted bit by bit. When the phases match, the synchronization detection circuit 6 stops the inhibit signal. Therefore, if there is a code error in the code to be measured, the exclusive OR circuit 5 outputs an error pulse.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、以上のような各方式の装置では次のよ
うに問題がある。先ず、読込み方式を適用した装置で
は、被測定符号がM系列符号に限定されてしまう。この
ため、近年光ファイバーを用いたディジタル伝送に用い
られるmB1C符号は測定不可能となる。
However, the devices of the above-described methods have the following problems. First, in a device to which the reading method is applied, the code to be measured is limited to the M-sequence code. For this reason, the mB1C code used for digital transmission using an optical fiber in recent years cannot be measured.

又、1ビットシフト法を適用した装置では被測定符号
と基準の符号との同期引き込み時間が長くなる。ところ
が、CCITT勧告第O・151号によれば139.246Mbit/s以上
の伝送速度では223−1の周期を有するM系列符号を用
いるように勧告されているが、例えばこの符号例に10B1
C置換を施すと、223−1すなわち8388607と置換同期11
とは互いに素であるからその周期は82274677ビットとな
る。従って、例えば同期検出回路6が周期正常か否かを
判定するのに100クロック間の時間が必要であると仮定
しても、139.264Mbit/sにおいては同期引込み時間は約1
0分となり測定のたびに約10分の待ち時間が必要である
ため実用化するには問題がある。
Further, in a device to which the 1-bit shift method is applied, the synchronization pull-in time between the code to be measured and the reference code becomes long. However, has been recommended as according to the CCITT Recommendation No. O · 151 in 139.246Mbit / s or more transmission rates using M-sequence code having a period of 2 23 -1, for example in the code example 10B1
When C substitution is performed, 2 23 −1, that is, 8388607 and substitution synchronization 11
Is relatively prime, and its cycle is 82246677 bits. Therefore, for example, even if it is assumed that a period of 100 clocks is necessary for the synchronization detection circuit 6 to determine whether or not the period is normal, at 139.264 Mbit / s, the synchronization pull-in time is about 1
There is a problem in practical use because it takes 0 minutes and a waiting time of about 10 minutes is required for each measurement.

そこで本発明は、mB1C置換を行なったM系列符号でも
同期引込み時間を短くでき、これにより保守時間の短
縮、しいては回線コストの低減を図ることができる簡便
な符号誤り測定装置を提供することを目的とする。
Therefore, the present invention provides a simple code error measuring device that can shorten the synchronization pull-in time even with an M-sequence code that has undergone mB1C substitution, thereby shortening the maintenance time and thus reducing the line cost. With the goal.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、最大長周波系列符号をm+1ビットごとに
Cビットに置換したmB1C符号を受信してこの被測定mB1C
符号に含まれる符号誤りを検出する符号誤り測定装置に
おいて、被測定mB1C符号中のCビットの位置を検出する
mB1C同期回路と、被測定mB1C符号を受けてこの被測定mB
1C符号を前記最大長周期系列符号に復元する符号復元回
路と、この複合復元回路で復元された最大長周期系列符
号を読込むことにより最大長周期系列と同一系列でしか
も同期の取れた符号列を得,この符号列に対しmB1C同期
回路からの同期信号により被測定mB1C符号変換を行なう
ことにより基準となるmB1C符号を得る基準パターン発生
回路と、この基準パターン発生回路からのmB1C符号と受
信した前記mB1C符号とを比較して符号誤りを検出する誤
り検出回路とを備えて上記目的を達成しようとする符号
誤り測定装置である。
The present invention receives an mB1C code in which the maximum long-frequency sequence code is replaced by C bits every m + 1 bits, and
In a code error measuring device for detecting a code error included in a code, a position of a C bit in a measured mB1C code is detected.
The mB1C synchronization circuit receives the measured mB1C code, and
A code restoration circuit for restoring the 1C code to the maximum long-period sequence code, and a code sequence identical to the maximum long-period sequence and synchronized by reading the maximum long-period sequence code restored by the composite restoration circuit And a reference pattern generation circuit that obtains a reference mB1C code by performing a measured mB1C code conversion on the code sequence with a synchronization signal from the mB1C synchronization circuit, and receives the mB1C code from the reference pattern generation circuit. An error detecting circuit for detecting an error in the code by comparing the mB1C code with the mB1C code.

又、本発明は、最大長周期系列符号をm+1ビットご
とにCビットに置換したmB1C符号を受信してこのmB1C符
号に含まれる符号誤りを検出する符号誤り測定装置にお
いて、mB1C符号中のCビットの位置を検出するmB1C同期
回路と、被測定mB1C符号のCビット以外の符号を取込ん
でこの被測定mB1C符号と同期した最大長周期系列符号を
発生する最大長周期系列符号発生回路と、mB1C同期回路
からの同期信号を受けて最大長周期系列符号発生回路か
らの最大長周期系列符号をmB1C符号をm+1ビットごと
にCビットに置換する置換回路と、この置換回路で置換
された基準となるmB1C符号と受信した被測定mB1C符号と
を比較して符号誤りを検出する誤り検出回路とを備えて
上記目的を達成しようとする符号誤り測定装置である。
Further, the present invention provides a code error measuring device which receives an mB1C code in which a maximum long-period sequence code is replaced with C bits every m + 1 bits and detects a code error contained in the mB1C code. An MB1C synchronization circuit for detecting the position of the measured mB1C code, a maximum long-period sequence code generation circuit for taking in a code other than the C bit of the measured mB1C code and generating a maximum long-period sequence code synchronized with the measured mB1C code, and mB1C A replacement circuit that receives the synchronization signal from the synchronization circuit and replaces the maximum-length-period sequence code from the maximum-length-period sequence code generation circuit with C bits for every m + 1 bits of the mB1C code, and becomes a reference replaced by this replacement circuit. This is a code error measuring device that includes an error detection circuit that compares the mB1C code with the received mB1C code to be measured and detects a code error, thereby achieving the above object.

〔作用〕[Action]

このような手段を備えたことにより、mB1C符号を受け
て符号復元回路はmB1C符号を最大長周期系列符号に復元
し、基準パターン発生回路はこの復元された最大長周期
系列符号を読込むとともにmB1C同期回路からのCビット
位置の同期信号によりmB1C符号と同期を取って最大長同
期系列符号をmB1C符号に変換する。そして、この基準パ
ターン発生回路からのmB1C符号と受信したmB1C符号とが
誤り検出回路で比較されて符号誤りが検出される。
With the provision of such means, the code restoration circuit receives the mB1C code and restores the mB1C code to the maximum long-period sequence code, and the reference pattern generation circuit reads the restored maximum long-period sequence code and synchronizes with the mB1C code. The maximum length synchronization sequence code is converted into the mB1C code by synchronizing with the mB1C code by the synchronization signal at the C bit position from the circuit. Then, the mB1C code from the reference pattern generation circuit and the received mB1C code are compared by an error detection circuit to detect a code error.

又、上記手段を備えたことにより、mB1C符号の一部を
取込んで最大長周期系列符号発生回路はmB1C符号と同期
した最大長周期系列符号を発生し、かつ基準パターン回
路はmB1C同期回路からのCビットの同期信号を受けて最
大長周期系列符号発生回路からの最大長周期系列符号を
mB1C符号に変換する。そして、この基準パターン回路で
変換されたmB1C符号と受信したmB1C符号とが誤り検出回
路で比較されて符号誤りが検出される。
Also, with the provision of the above means, the maximum long-period sequence code generation circuit taking in a part of the mB1C code generates a maximum long-period sequence code synchronized with the mB1C code, and the reference pattern circuit is generated from the mB1C synchronization circuit. Receiving the C-bit synchronization signal of the maximum length period sequence code from the maximum length period sequence code generation circuit.
Convert to mB1C code. Then, the mB1C code converted by the reference pattern circuit and the received mB1C code are compared by an error detection circuit to detect a code error.

〔実施例〕〔Example〕

以下、本発明の第1実施例について第1図に示す符号
誤り測定装置の全体構成図を参照して説明する。M系列
符号発生回路10から出力された第4図(a)に示すM系
列符号はmB1C置換回路11で同図(b)に示すようなmB1C
符号例えば10B1C符号に変換されて被測定系12に送ら
れ、この被測定系12を通って符号誤り測定装置20に送ら
れている。
Hereinafter, a first embodiment of the present invention will be described with reference to the overall configuration diagram of the code error measuring device shown in FIG. The M-sequence code shown in FIG. 4A output from the M-sequence code generation circuit 10 is converted into an mB1C signal as shown in FIG.
The signal is converted into a code, for example, a 10B1C code, sent to the system under test 12, and sent to the code error measuring device 20 through the system under test 12.

以下、符号誤り測定装置20の構成について説明する。
被測定系12からの被測定符号つまり10B1C符号は符号復
元回路21、スイッチ回路22、mB1C(10B1C)同期回路23
及び排他的論理和回路24に送られる。符号復元回路21は
10B1C符号をM系列符号に復元する機能を有するもの
で、シフトレジスタ25及び排他的論理和回路26から構成
されている。これらシフトレジスタ25及び排他的論理和
回路26は第5図に示すM系列符号発生回路のD型フリッ
プフロップ1−1と排他的論理和回路3との間を開放し
たものと同一構成のもので、シフトレジスタ25は23段D
型フリップフロップを直列接続して構成され、その18段
目及び19段目と23段目との間に排他的論理和回路26を接
続している。そして、排他的論理和回路26の出力端はス
イッチ回路2のイ端に接続されている。mB1C同期回路23
はmB1C符号を取込んでこのmB1C符号に含まれるCビット
つまり第4図(b)に示す符号、の位置を検出し、
この位置に同期した同期信号sを出力する機能を有する
ものである。
Hereinafter, the configuration of the code error measurement device 20 will be described.
The code to be measured from the system under test 12, that is, the 10B1C code, is a code recovery circuit 21, a switch circuit 22, an mB1C (10B1C) synchronization circuit 23.
And sent to the exclusive OR circuit 24. The code restoration circuit 21
It has a function of restoring a 10B1C code into an M-sequence code, and is composed of a shift register 25 and an exclusive OR circuit 26. The shift register 25 and the exclusive OR circuit 26 have the same configuration as that of the M series code generating circuit shown in FIG. 5 in which the D-type flip-flop 1-1 and the exclusive OR circuit 3 are opened. , Shift register 25 has 23 stages D
Type flip-flops are connected in series, and an exclusive OR circuit 26 is connected between the 18th and 19th stages and the 23rd stage. The output terminal of the exclusive OR circuit 26 is connected to the terminal A of the switch circuit 2. mB1C synchronous circuit 23
Takes the mB1C code and detects the position of the C bit contained in the mB1C code, that is, the code shown in FIG.
It has a function of outputting a synchronization signal s synchronized with this position.

一方、27は基準パターン発生回路であって、この回路
27にはスイッチ回路22を通して復元されたM系列符号が
入力されるようになっている。具体的にはスイッチ回路
28が設けられ、このスイッチ回路28のイ端がスイッチ回
路22に接続されるとともにその出力端がシフトレジスタ
29に接続されている。このシフトレジスタ29は第5図に
示すM系列符号発生回路と同様に23段D型フリップフロ
ップを直列接続したもので、その18段目及び19段目と23
段目との間に排他的論理和回路30が接続されている。
又、この排他的論理和回路30とスイッチ回路28のロ端と
には1ビットレジスタ31が共通接続され、さらにインバ
ータ32を通してスイッチ回路33のロ端が接続されてい
る。そして、このスイッチ回路33のイ端は排他的論理和
回路30に接続されている。そうして、このスイッチ回路
33の出力端が排他的論理和回路24に接続されている。
On the other hand, 27 is a reference pattern generation circuit,
The M-sequence code restored through the switch circuit 22 is input to 27. Specifically, a switch circuit
The switch circuit 28 has an A terminal connected to the switch circuit 22 and an output terminal connected to a shift register.
Connected to 29. The shift register 29 has a 23-stage D-type flip-flop connected in series similarly to the M-sequence code generation circuit shown in FIG.
An exclusive OR circuit 30 is connected between the stage and the stage.
A one-bit register 31 is commonly connected to the exclusive OR circuit 30 and the lower end of the switch circuit 28, and the lower end of a switch circuit 33 is connected through an inverter 32. The end of the switch circuit 33 is connected to the exclusive OR circuit 30. And this switch circuit
The output terminal 33 is connected to the exclusive OR circuit 24.

前記スイッチ回路22は通常ロ端に接続されCビットの
同期信号の入力のときにイ端に切換わる。又、前記スイ
ッチ回路33は通常イ端に接続されCビットの同期信号の
入力のときにロ端に切換わるものとなっている。
The switch circuit 22 is normally connected to the low terminal, and switches to the low terminal when a C-bit synchronization signal is input. The switch circuit 33 is normally connected to the A terminal and switches to the B terminal when a C-bit synchronization signal is input.

次に上記の如く構成された装置の作用について10B1C
置換を例にとって説明する。M系列符号発生回路10から
出力されたM系列符号はmB1C置換回路11でmB1C(10B1
C)符号に置換されて被測定系12に入力し、この被測定
系12を通って符号誤り測定装置20に取込まれる。
Next, regarding the operation of the device configured as described above, 10B1C
The replacement will be described as an example. The M-sequence code output from the M-sequence code generation circuit 10 is subjected to mB1C (10B1C
C) The signal is replaced by a code and input to the system under test 12, and is taken into the code error measuring device 20 through the system under test 12.

このように10B1C符号が取込まれると、この10B1C符号
はシフトレジスタ25、スイッチ回路22、mB1C(10B1C)
同期回路23及び排他的論理和回路24に送られる。しかる
に、10B1C符号のCビットがシフトレジスタ25における
D型フリップフロップの第18段目或いは第23段目に格納
された場合を省いて排他的論理和回路26の出力端からは
M系列符号が出力される。そして、mB1C(10B1C)同期
回路23がCビットを検出してその同期信号を出力する
と、スイッチ回路22はこの符号のときだけイ端に切換わ
る。ところで、このときシフトレジスタ25における第11
段目及び第22段目の各D型フリップフロップにはCビッ
トが格納されており、第18段目及び第23段目の各D型フ
リップフロップ及びスイッチ回路22のロ端にはCビット
が現われている。しかしながら、スイッチ回路22はこの
ときイ端に切替わっているので、このスイッチ回路22か
らはCビットを含まないM系列符号が基準パターン発生
回路27に送られる。
When the 10B1C code is taken in this way, the 10B1C code is stored in the shift register 25, the switch circuit 22, and the mB1C (10B1C).
It is sent to the synchronization circuit 23 and the exclusive OR circuit 24. However, an M-sequence code is output from the output terminal of the exclusive OR circuit 26 except that the C bit of the 10B1C code is stored in the 18th or 23rd stage of the D-type flip-flop in the shift register 25. Is done. When the mB1C (10B1C) synchronizing circuit 23 detects the C bit and outputs the synchronizing signal, the switch circuit 22 switches to the end A only when this code is obtained. By the way, at this time, the eleventh shift register 25
The C bit is stored in each of the D-type flip-flops of the stage and the 22nd stage, and the C bit is stored at the low end of each of the D-type flip-flops and the switch circuit 22 of the 18th and 23rd stages. Is appearing. However, since the switch circuit 22 has been switched to the end A at this time, an M-sequence code not including the C bit is sent from the switch circuit 22 to the reference pattern generation circuit 27.

そうして、M系列符号がスイッチ回路28を通してシフ
トレジスタ29に取込まれて23ビット以上シフトした後の
適当な時期にスイッチ回路28がロ端に切換えられと、排
他的論理和回路30からは取込んだM系列符号と同期しか
つ同一内容のM系列符号を発生する。同時にこのM系列
符号は1ビットレジスタ31及びインバータ32を通ること
により反転されてスイッチ回路33のロ端に送られる。し
かるに、このスイッチ回路33は同期信号sを受けたとき
にロ端に切換わるので、このスイッチ回路33からは基準
10B1C符号が出力されて排他的論理和回路24に送られ
る。この結果、この排他的論理和回路24は被測定系12か
らの被測定10B1C符号とスイッチ回路33からの基準10B1C
符号を比較して被測定系12からの10B1C符号に誤り符号
が含まれていると誤りパルスを送出する。
Then, when the switch circuit 28 is switched to the low end at an appropriate time after the M-sequence code is taken into the shift register 29 through the switch circuit 28 and shifted by 23 bits or more, the exclusive OR circuit 30 An M-sequence code having the same content as that of the acquired M-sequence code is generated. At the same time, the M-sequence code is inverted by passing through the 1-bit register 31 and the inverter 32 and sent to the low end of the switch circuit 33. However, when the switch circuit 33 receives the synchronization signal s, it switches to the low end.
The 10B1C code is output and sent to the exclusive OR circuit 24. As a result, the exclusive OR circuit 24 determines the 10B1C code from the system under test 12 and the reference 10B1C from the switch circuit 33.
The codes are compared, and an error pulse is transmitted if an error code is included in the 10B1C code from the system under measurement 12.

このように上記第1実施例においては、mB1C符号をM
系列符号に復元してmB1C符号と同期を取ってM系列符号
を基準のmB1C符号に変換し、この基準のmB1C符号と受信
したmB1C符号とを比較して符号誤りを検出するようにし
たので、mB1C符号に変換したM系列符号でも短時間で同
期が取れて基準とするmB1C符号を得ることができる。従
って、mB1C符号に変換したM系列符号を用いて短時間で
被測定系12で発生した符号誤りを検出できる。これによ
り、被測定系12に対する保守管理を短時間にできるとと
もに回線コストの低減が図れる。
Thus, in the first embodiment, the mB1C code is M
Since the M-sequence code was converted to the reference mB1C code by synchronizing with the mB1C code by restoring to the sequence code, the code error was detected by comparing the reference mB1C code with the received mB1C code, Even with the M-sequence code converted into the mB1C code, the reference mB1C code can be obtained in a short time with synchronization. Therefore, a code error generated in the measured system 12 can be detected in a short time using the M-sequence code converted into the mB1C code. As a result, maintenance and management of the system under measurement 12 can be performed in a short time, and the line cost can be reduced.

次に本発明の第2実施例について第2図の符号誤り測
定装置の構成図を参照して説明する。なお、第1図と同
一部分には同一符号を付してその詳しい説明は省略す
る。被測定系からのmB1C符号はスイッチ回路40を通して
シフトレジスタ25に送られるようになっている。又、排
他的論理和回路26の出力端にはスイッチ回路41のイ端が
接続され、さらにシフトレジスタ25の第1段目のD型フ
リップフロップ25−1の出力端にはインバータ42を介し
てスイッチ回路41のロ端が接続されている。スイッチ回
路40は通常イ端に接続されており10B1C同期回路23より
の信号s1により入力被測定符号がCビットになる毎にロ
端に切換わる。そして、シフトレジスタ25に23ビット以
上読み込まれた適当な時間に定常的にロ端に切換わる。
又、スイッチ回路41は通常イ端に接続されて同期信号s2
を受け、入力被測定mB1CがCビットになったときにロ端
に切換わるようになっている。
Next, a second embodiment of the present invention will be described with reference to the block diagram of the code error measuring device shown in FIG. The same parts as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted. The mB1C code from the measured system is sent to the shift register 25 through the switch circuit 40. The output terminal of the exclusive OR circuit 26 is connected to the terminal A of the switch circuit 41. Further, the output terminal of the first stage D-type flip-flop 25-1 of the shift register 25 is connected via the inverter 42. The lower end of the switch circuit 41 is connected. The switch circuit 40 is normally connected to the terminal A, and switches to the terminal B every time the code to be measured becomes C bits by the signal s1 from the 10B1C synchronous circuit 23. Then, at the appropriate time when 23 bits or more are read into the shift register 25, the state constantly switches to the low end.
Also, the switch circuit 41 is normally connected to the terminal A and the synchronization signal s2
In response to this, when the input measured mB1C becomes the C bit, it is switched to the low end.

このような構成であれば、被測定mB1C符号のCビット
以外の符号がスイッチ回路40のイ端を通して、又被測定
mB1CがCビットのときにはレジスタ25と排他的論理和回
路26によりM系列に復元されたビットはシフトレジスタ
25に取込まれれてスイッチ回路40がロ端に切換えられる
と、シフトレジスタ25,排他的論理和回路26及びスイッ
チ回路40を通してM系列符号発生回路が形成されて、排
他的論理和回路26からM系列符号が出力される。この状
態にmB1C同期回路23がCビットを検出すると、その同期
信号s2によりスイッチ回路41はロ端に切換えられる。こ
のとき、mB1C同期回路23が例えば第4図(b)に示すC
ビットつまりを検出したのであれば、シフトレジスタ
25のD型フリップフロップ25−1は符号Jを出力してい
る。従って、この符号Jがインバータ42で反転されて
となり同符号がスイッチ回路41のロ端を通って排他的論
理和回路24に送られる。この結果、スイッチ回路41から
は基準となるmB1C符号が排他的論理和回路24へ送られる
ことになり、この排他的論理和回路24は被測定系12から
のmB1C符号とスイッチ回路41からの基準mB1C符号を比較
して被測定系12からのmB1C符号に誤り符号が含まれてい
ると誤りパルスを送出する。
With such a configuration, a code other than the C bit of the measured mB1C code passes through the end of the switch circuit 40 and
When mB1C is a C bit, the bit restored to M series by the register 25 and the exclusive OR circuit 26 is a shift register
When the signal is taken into the switch 25 and the switch circuit 40 is switched to the low end, an M-sequence code generation circuit is formed through the shift register 25, the exclusive OR circuit 26 and the switch circuit 40, and the exclusive OR circuit 26 A sequence code is output. When the mB1C synchronization circuit 23 detects the C bit in this state, the switch circuit 41 is switched to the low end by the synchronization signal s2. At this time, the mB1C synchronization circuit 23 operates, for example, as shown in FIG.
If a bit block is detected, the shift register
The 25 D-type flip-flops 25-1 output the code J. Accordingly, the code J is inverted by the inverter 42, and the same code is sent to the exclusive OR circuit 24 through the low end of the switch circuit 41. As a result, the reference mB1C code is sent from the switch circuit 41 to the exclusive OR circuit 24, and the exclusive OR circuit 24 receives the mB1C code from the system under measurement 12 and the reference from the switch circuit 41. The mB1C code is compared, and if the mB1C code from the system under measurement 12 contains an error code, an error pulse is transmitted.

このように上記第2実施例においては、mB1C符号の一
部を取込んでmB1C符号と同期したM系列符号を発生し、
かつmB1C同期回路23からの同期信号s2を受けてM系列符
号を基準のmB1C符号に変換し、この基準のmB1C符号と受
信したmB1C符号とを比較して符号誤りを検出するように
したので、上記第1実施例と同様の効果を奏することが
できるとともに第1実施例の構成よりもより簡単に構成
できる。
As described above, in the second embodiment, an M-sequence code synchronized with the mB1C code is generated by capturing a part of the mB1C code,
And, receiving the synchronization signal s2 from the mB1C synchronization circuit 23, the M-sequence code is converted into a reference mB1C code, and the reference mB1C code is compared with the received mB1C code to detect a code error. The same effects as those of the first embodiment can be obtained, and the configuration can be simpler than that of the first embodiment.

なお、本発明は上記各実施例に限定されるものでなく
その主旨を逸脱しない範囲で変形してもよい。上記各実
施例では223−1の周期を例に取って説明したが、これ
に限らず2N−1周期のM系列符号に変更してもよい。
The present invention is not limited to the above embodiments, and may be modified without departing from the gist thereof. In each of the above embodiments, a description has been given of an example of a period of 2 23 -1. However, the present invention is not limited to this and may be changed to an M sequence code having a period of 2 N -1.

〔発明の効果〕〔The invention's effect〕

以上詳記したように本発明によれば、mB1C置換を行な
ったM系列符号でも同期引込み時間を短くでき、これに
より保守時間の短縮及び回線コストの低減を図ることが
できる簡便な符号誤り測定装置を提供できる。
As described above in detail, according to the present invention, a simple code error measuring device that can shorten the synchronization pull-in time even with an M-sequence code subjected to mB1C substitution, thereby shortening maintenance time and reducing line cost. Can be provided.

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

第1図は本発明に係わる符号誤り測定装置の第1実施例
を示す構成図、第2図は本発明装置の第2実施例を示す
構成図、第3図は従来の読込み方式を適用した符号誤り
測定装置の構成図、第4図(a)はM系列符号の模式
図、第4図(b)はmB1C符号の模式図、第5図はM系列
発生回路の構成図、第6図は従来の1ビットシフト法を
適用した符号誤り測定装置の構成図である。 10……M系列符号発生回路、11……mB1C符号発生回路、
12……被測定系、21……符号復元回路、22,28,33……ス
イッチ回路、23……mB1C同期回路、24,26,30……排他的
論理和回路、25……シフトレジスタ、27……基準パター
ン発生回路、29……シフトレジスタ、31……1ビットレ
ジスタ、32……インバータ、40,41……スイッチ回路、4
2……インバータ。
FIG. 1 is a block diagram showing a first embodiment of a code error measuring device according to the present invention, FIG. 2 is a block diagram showing a second embodiment of the device of the present invention, and FIG. FIG. 4 (a) is a schematic diagram of an M-sequence code, FIG. 4 (b) is a schematic diagram of an mB1C code, FIG. 5 is a schematic diagram of an M-sequence generation circuit, FIG. 1 is a configuration diagram of a code error measuring device to which a conventional one-bit shift method is applied. 10 ... M-sequence code generation circuit, 11 ... mB1C code generation circuit,
12 ………………………………………………………………………………………………………………………………………………………………………………………………………………………. 27: Reference pattern generation circuit, 29: Shift register, 31: 1-bit register, 32: Inverter, 40, 41: Switch circuit, 4
2 …… Inverter.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】最大長周期系列符号をm+1ビットごとに
Cビットに置換したmB1C符号を受信してこの被測定mB1C
符号に含まれる符号誤りを検出する符号誤り測定装置に
おいて、前記被測定mB1C符号中のCビットの位置を検出
するmB1C同期回路(23)と、前記被測定mB1C符号を受け
てこの被測定mB1C符号を前記最大長周期系列符号に復元
する符号復元回路(21)と、この符号復元回路で復元さ
れた最大長周期系列符号を読込むことにより前記最大長
周期系列と同一系列でしかも同期の取れた符号列を得,
この符号列に対し前記mB1C同期回路からの同期信号によ
り前記被測定mB1C符号変換を行なうことにより基準とな
るmB1C符号を得る基準パターン発生回路(27)と、この
基準パターン発生回路からのmB1C符号と受信した前記mB
1C符号とを比較して符号誤りを検出する誤り検出回路
(24)とを具備したことを特徴とする符号誤り測定装
置。
1. An mB1C code in which a maximum long-period sequence code is replaced by C bits every m + 1 bits, and the measured mB1C
In a code error measuring device for detecting a code error included in a code, an mB1C synchronizing circuit (23) for detecting a position of a C bit in the measured mB1C code, and receiving the measured mB1C code in response to the measured mB1C code. And a code restoration circuit (21) for restoring the maximum length period sequence code to the maximum length period sequence code, and by reading the maximum length period sequence code restored by the code restoration circuit, the same sequence as the maximum long period sequence is obtained and synchronization is obtained. Get the code string,
A reference pattern generation circuit (27) for obtaining the reference mB1C code by performing the measured mB1C code conversion on the code sequence by the synchronization signal from the mB1C synchronization circuit, and an mB1C code from the reference pattern generation circuit. The received mB
A code error measuring device comprising: an error detection circuit (24) for detecting a code error by comparing with a 1C code.
【請求項2】最大長周期系列符号をm+1ビットごとに
Cビットに置換したmB1C符号を受信してこのmB1C符号に
含まれる符号誤りを検出する符号誤り測定装置におい
て、前記mB1C符号中のCビットの位置を検出するmB1C同
期回路(23)と、前記被測定mB1C符号のCビット以外の
符号を取込んでこの被測定mB1C符号と同期した最大長周
期系列符号を発生する最大長周期系列符号発生回路(2
5,26)と、前記mB1C同期回路からの同期信号を受けて前
記最大長周期系列符号発生回路からの最大長周期系列符
号をmB1C符号をm+1ビットごとにCビットに置換する
置換回路(41,42)と、この置換回路で置換された基準
となるmB1C符号と受信した前記被測定mB1C符号とを比較
して符号誤りを検出する誤り検出回路(24)とを具備し
たことを特徴とする符号誤り測定装置。
2. A code error measuring device for receiving an mB1C code obtained by replacing a maximum long-period sequence code with C bits every m + 1 bits and detecting a code error contained in the mB1C code, wherein the C bit in the mB1C code is An MB1C synchronizing circuit (23) for detecting the position of the measured mB1C code, and a maximum long-period sequence code generator for taking in a code other than the C bits of the measured mB1C code and generating a maximum long-period sequence code synchronized with the measured mB1C code Circuit (2
And a replacement circuit (41, 26) which receives the synchronization signal from the mB1C synchronization circuit and replaces the longest-period sequence code from the longest-period sequence code generation circuit with C bits every m + 1 bits for the mB1C code. 42), and an error detection circuit (24) for detecting a code error by comparing the received mB1C code to be measured with the reference mB1C code replaced by the replacement circuit. Error measurement device.
JP9112289A 1989-04-11 1989-04-11 Code error measurement device Expired - Lifetime JP2645133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9112289A JP2645133B2 (en) 1989-04-11 1989-04-11 Code error measurement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9112289A JP2645133B2 (en) 1989-04-11 1989-04-11 Code error measurement device

Publications (2)

Publication Number Publication Date
JPH02268532A JPH02268532A (en) 1990-11-02
JP2645133B2 true JP2645133B2 (en) 1997-08-25

Family

ID=14017723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9112289A Expired - Lifetime JP2645133B2 (en) 1989-04-11 1989-04-11 Code error measurement device

Country Status (1)

Country Link
JP (1) JP2645133B2 (en)

Also Published As

Publication number Publication date
JPH02268532A (en) 1990-11-02

Similar Documents

Publication Publication Date Title
JP4207329B2 (en) Frame synchronization circuit
JPH0124385B2 (en)
JP2645133B2 (en) Code error measurement device
US5619532A (en) Digital communication system
US3893617A (en) Failure detecting system for devices employing digital parallel-to-series converters
JP2000505547A (en) Phase and frequency detector
JP3163399B2 (en) Parallel frame synchronization circuit
US7292667B1 (en) Method and system for transmitting synchronization information with data
JPH07105778B2 (en) Code error measuring device
JPH02164148A (en) Code error monitoring system
JP3990064B2 (en) Path monitoring method and path monitoring circuit
JP2723078B2 (en) Asynchronous data transmission circuit
KR950007500B1 (en) Virtual container containing reverse mapping device of syn/asyn 1.544mbps signal
KR20000014911A (en) Error detecting device of stream length decoding system
JP3017213B1 (en) FIFO memory monitoring device
KR0120033Y1 (en) B1 byte section error testing circuit for synchronous optical communications
JPS60235549A (en) C-bit synchronism system of nb1c code signal
KR200229125Y1 (en) A device of byte clock generator for i/o board
RU2132573C1 (en) Pulse-code transmission device
JP2576526B2 (en) I / O signal monitoring circuit
JPH11187006A (en) Pcm digital communication equipment
JP2774318B2 (en) Transmission control signal detection device and control method therefor
SU1187106A1 (en) Apparatus for automatic measuring of actual sensitivity of radioreceivers
SU1205190A1 (en) Device for restoring synchronization of reproduction signals recorded by modified phase modulation method
KR930010778B1 (en) Data transmission line fault detecting circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20090502

EXPY Cancellation because of completion of term