JPS61129947A - Code error detection circuit - Google Patents

Code error detection circuit

Info

Publication number
JPS61129947A
JPS61129947A JP25215384A JP25215384A JPS61129947A JP S61129947 A JPS61129947 A JP S61129947A JP 25215384 A JP25215384 A JP 25215384A JP 25215384 A JP25215384 A JP 25215384A JP S61129947 A JPS61129947 A JP S61129947A
Authority
JP
Japan
Prior art keywords
signal
code
bit
circuit
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.)
Pending
Application number
JP25215384A
Other languages
Japanese (ja)
Inventor
Masanori Arai
荒井 雅典
Kazuo Yamane
一雄 山根
Isamu Kuwana
勇 桑名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP25215384A priority Critical patent/JPS61129947A/en
Publication of JPS61129947A publication Critical patent/JPS61129947A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4906Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To detect a code error with a simple circuit by generating a pulse from a storage means when an input signal has an error in the code rules in the synchronization establishing state. CONSTITUTION:A signal (a) comprising an mB1C code is inputted to an EX-OR circuit 2 together with a signal (b) while being delayed by 2 bits at a delay circuit 1, the dissidence of them is detected to generate a signal (c). This is a signal outputting '1' at each (m+1)-th bit when no code error exists. A frequency divider 3 applies 1/(m+1) frequency division to a clock (d) having a bit period to produce a signal (e). A flip=flop 4 receives the signal (c) at the data input D and the signal (e) at the clock input C and produces an output signal (f) of '1' level continuously when the synchronization is established and no code error exists. If any code error exists, however, one pulse of '0' level is generated and it is used as an error signal to detect the error.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は伝送符号の誤シを検出するだめの回路に係9、
特にmB1c符号における符号誤υを検出するための符
号誤り検出回路に関するものでちる。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a circuit for detecting an error in a transmission code.
In particular, it relates to a code error detection circuit for detecting a code error υ in the mB1c code.

〔従来の技術〕[Conventional technology]

伝送路の伝送品質の監視を行う場合、または端局や中継
器の動作状態の監視を行う場合には、伝。
When monitoring the transmission quality of a transmission path or the operating status of a terminal station or repeater, it is necessary to

送符号の誤9を検出することによって監視を行う。Monitoring is performed by detecting an error 9 in the transmission code.

従来このような伝送符号の誤り検出は、送信側端局で伝
送符号にフレームごとにパリティビットを挿入し、受信
側端局でフレーム同期をとってパリティピットが正しい
か否かを観測することによって符号誤りを検出する、い
わゆるパリティチェック方式が多く用いられている。
Conventionally, this kind of transmission code error detection was done by inserting a parity bit into the transmission code for each frame at the transmitting end station, synchronizing the frame at the receiving end station, and observing whether the parity pits were correct. A so-called parity check method for detecting code errors is often used.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、パリティチェック方式を採用した場合、
送信側および受信側における回路規模が増大する。また
伝送路に中継器を含む場合には、一般には回路規模の増
大金防ぐため中継器では7レーム同期がとられないため
、中継器でパリティチェックを行うことができず、従っ
て中継器で誤9が発生してもこれを他の個所と区別して
検出することができない。
However, when using the parity check method,
The circuit scale on the transmitting and receiving sides increases. In addition, when a repeater is included in the transmission path, 7-frame synchronization is generally not established in the repeater in order to prevent the cost of increasing the circuit size, so parity checks cannot be performed on the repeater. Even if 9 occurs, it cannot be detected separately from other locations.

本発明はこのような従来技術の問題点を解決しようとす
るものであって、伝送符号としてmB1cB1上用いる
場合に簡易な回路で符号誤)を検出することができ、従
って中継器における誤り検出も容易な符号誤り検出回路
を提供しようとするものである。
The present invention is an attempt to solve the problems of the prior art, and is capable of detecting code errors (code errors) with a simple circuit when used on mB1cB1 as a transmission code, and therefore can also detect errors in repeaters. The present invention aims to provide a simple code error detection circuit.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の符号誤シ検出回路は、入力信号を各ワードごと
の特定ビットとこれと補符号の関係にある付加ビットと
のビット差だけ位相を変化させた信号と入力信号との不
一致を検出した出力を発生するとともに、分周一手段に
よってビット周期のクロックi(m+1)(mはワード
長)分周した出力を発生し、分周出力に応じて不一致検
出出力を記憶手段に読み込んで次の分周出力発生まで保
持させ、この記憶手段の出力を平均化した出力が一定レ
ベル以下のときビット周期°より長い周期のパルスによ
って分周手段へのクロック入力fc!止するようにした
ものでおる。
The code error detection circuit of the present invention detects a mismatch between an input signal and a signal whose phase is changed by the bit difference between a specific bit of each word and an additional bit in a complementary code relationship with the input signal. At the same time, the frequency dividing means generates an output divided by the bit period clock i (m+1) (m is word length), and according to the frequency divided output, the mismatch detection output is read into the storage means and the next divided When the averaged output of this storage means is below a certain level, the clock input fc! It is designed to stop.

〔作 用〕[For production]

本発明の符号誤り検出回路では、同期確立状態において
、入力信号に符号則の誤りがあったときは記憶手段から
パルス出力を生じるので、これによって入力信号の誤9
検出を行うことができる。
In the code error detection circuit of the present invention, when there is an error in the code rule in the input signal in the synchronization established state, a pulse output is generated from the storage means.
Detection can be performed.

〔実施例〕〔Example〕

m81c符号は光ファイバによるディジタル信号伝送等
の場合に多く用いられている。これはmBIC符号にお
いては′1”または”0”の同符号が長期間連続するこ
とがないため、光−電気又換部におけるタイミング抽出
と直流再生が容易なためである。      □ 第2図はmB1cB1上構成の一例を示したものである
。mB1c符号方式はデータf m (mは自然数)ビ
ットごとに区切り、その中の特定順位の1ビツトの補符
号(compliment ) f 1ビツト追加した
ものであって、第2図においてCビットはこのような追
加されたビットを示し、同図においてはCビットの2ビ
ツト前のビットBの補符号をCビットとしている。
The m81c code is often used for digital signal transmission through optical fibers. This is because in the mBIC code, the same code of '1' or '0' does not continue for a long period of time, so timing extraction and DC regeneration in the optical-to-electric conversion section are easy. □ Figure 2 is An example of the above configuration of mB1cB1 is shown. The mB1c encoding system divides data into bits f m (m is a natural number), and adds a complementary code (f 1 bit) of 1 bit of a specific order among them. In FIG. 2, the C bit indicates such an added bit, and in the same figure, the C bit is the complementary code of bit B two bits before the C bit.

第1図は本発明の符号誤9検出回路の一実施例の構成を
示したものであって、1は遅延回路、2は排他的論理和
(EX−OR)回路、3は分周回路、4はフリップ70
ツブ(FF’)、5は低域P波器、6は比較器、7はタ
イマ、8はナンド回路、9はアンド回路である。
FIG. 1 shows the configuration of an embodiment of the code error 9 detection circuit of the present invention, in which 1 is a delay circuit, 2 is an exclusive OR (EX-OR) circuit, 3 is a frequency dividing circuit, 4 is flip 70
5 is a low-frequency P wave generator, 6 is a comparator, 7 is a timer, 8 is a NAND circuit, and 9 is an AND circuit.

また第3図は第1図の回路における各部信号を示し、a
は入力mB1cB1式力、bは遅延回路1の出力信号、
CはEX−OR回路2の出力信号、dはクロック、eは
1分周器3の出力信号、fはFF4の出力信号、gは低
域ν波器5の出力信号、hは比較器6の出力信号、1は
タイマ7の出力信号、jはナンド回路8の出力信号、k
はアンド回路9の出力信号である。
Moreover, FIG. 3 shows the signals of each part in the circuit of FIG.
is the input mB1cB1 formula power, b is the output signal of delay circuit 1,
C is the output signal of the EX-OR circuit 2, d is the clock, e is the output signal of the 1 frequency divider 3, f is the output signal of the FF 4, g is the output signal of the low-frequency ν wave generator 5, h is the comparator 6 1 is the output signal of timer 7, j is the output signal of NAND circuit 8, k
is the output signal of the AND circuit 9.

mB1cB1上らなる入力信号aは第2図に示されたご
とく2ビツト前のビットの補符号をCビットとして追加
されている。信号aは遅延回路1において2ビツト分遅
延されて生じた信号すとともにEX −OR回路2に入
力されて不一致を検出されて信号ct−生じるが、この
信号は符号誤シがなければ、(m+1)ビットごとに1
”が出力される信号である。第3図においてはこの状態
を太線によって示している。一方、分周器3はビット周
期のクロックdを(m+1)分周して信号eを生じる。
As shown in FIG. 2, the input signal a consisting of mB1cB1 is added with the complementary code of the bit two bits before as the C bit. The signal a is input to the EX-OR circuit 2 together with the signal delayed by 2 bits in the delay circuit 1, and a mismatch is detected to generate the signal ct-. ) 1 per bit
" is the output signal. In FIG. 3, this state is shown by a thick line. On the other hand, the frequency divider 3 divides the bit period clock d by (m+1) to generate a signal e.

FF4は信号Cをデータ人力りに、信号efクロック人
力Cに加えられることによって周期が確立した状態で符
号誤りがないときは、連続して1″の出力信号fを生じ
るが、符号誤シがあったときは、第3図に点線で示すよ
うにO”のパルスを1個発生するので、これをエラー信
号として誤シ(支)出を行うことができる。
FF4 continuously generates an output signal f of 1'' when there is no code error in a state where the cycle is established by adding the signal C to the data input and the clock input C to the signal ef, but when there is no code error. If this occurs, one O'' pulse is generated as shown by the dotted line in FIG. 3, and this can be used as an error signal to allow for erroneous spending.

分周器3で分周された信号eの位相が、EX−OR回路
2の信号Cの(m+x)ビットごとの11”の位置と位
相が一致しないときは、FF4の出力信号fはマーク率
%のランダムな信号になる。従って信号fi低低域波波
器を経て平滑化した信号gのレベルは、位相が一致して
いる場合に比べて低い。
When the phase of the signal e frequency-divided by the frequency divider 3 does not match the 11" position of every (m+x) bit of the signal C of the EX-OR circuit 2, the output signal f of the FF4 is % random signal.Therefore, the level of the signal g smoothed through the signal fi low-frequency modulator is lower than when the phases match.

比較器6は信号gのレベルを基準電圧Vrefと比較し
、一定レベル以上のときだけハイレベルになる信号h’
l生じる。一方、タイマ7はクロックdの周期と無関係
で、これより周期の長いパルスからなる信号lt−生じ
る。同期が確立せず比較器6の出力信号りがローレベル
のときは、ナンド回路8からタイマ7のパルスごとにロ
ーレベルになる信号jt−生じ、アンド回路9は信号j
がローレベルになるごとにクロック信号a6tパルス欠
落させて信号kを発生し、分周器3はこれによって分周
出力信号eを発生する。このような動作を繰り返すこと
によって分周器3の出力信号eの位相は次第に遅れ、信
号Cの位相と一致してワード同期が確立するようになる
。比較器6の出力信号りはこの状態では前述のようにハ
イレベルであり(符号誤りがあっても誤り一率が小さい
限り、信号りのレベルには影響がない)、従ってタイマ
7の信号iはナンド回路8において阻止されるので、一
旦ワード同期がとれればこの状態は以後保持される。
Comparator 6 compares the level of signal g with reference voltage Vref, and outputs signal h' which becomes high level only when the level is higher than a certain level.
l arise. On the other hand, the timer 7 generates a signal lt- which is independent of the period of the clock d and consists of pulses having a period longer than this. When synchronization is not established and the output signal of the comparator 6 is low level, the NAND circuit 8 generates a signal jt- which becomes low level for each pulse of the timer 7, and the AND circuit 9 outputs the signal jt-.
Each time the clock signal a6t becomes low level, a pulse of the clock signal a6t is dropped to generate a signal k, and the frequency divider 3 generates a frequency-divided output signal e. By repeating such operations, the phase of the output signal e of the frequency divider 3 is gradually delayed until it matches the phase of the signal C, and word synchronization is established. In this state, the output signal of the comparator 6 is at a high level as described above (even if there is a code error, the level of the signal is not affected as long as the error rate is small), so the signal i of the timer 7 is is blocked in the NAND circuit 8, so once word synchronization is achieved, this state will be maintained thereafter.

このように第1図の回路では、同期確立状態でFF4か
ら発生するエラー信号パルスによって、誤9率の検出を
行うことができる。
In this manner, in the circuit shown in FIG. 1, the false 9 rate can be detected using the error signal pulse generated from the FF 4 in the synchronization established state.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明の符号誤り検出回路によれば
、mBIC符号およびこれと類似の構成を有する符号に
よって伝送を行う場合、上述した本発明の回路によって
ワード同期をとり符号則を監視することによって符号誤
9を検出することができる。本発明の回路ではmB1c
符号におけるCビットと、これと補符号の関係にある情
報ビットのみを観測することになるので、誤りパルスの
検出確率は27m+1となる。従って真の符号誤り率P
tは観測された誤フ率t”Poとしたとき、次式のよう
になる。
As explained above, according to the code error detection circuit of the present invention, when transmission is performed using an mBIC code or a code having a similar structure, the circuit of the present invention described above can perform word synchronization and monitor code rules. Code error 9 can be detected by In the circuit of the present invention, mB1c
Since only the C bit in the code and the information bits in the complementary code relationship are observed, the probability of detecting an error pulse is 27m+1. Therefore, the true bit error rate P
When t is the observed error rate t''Po, the following equation is obtained.

本発明の符号誤シ検出回路は簡単な回路で符号誤シの検
出を行うことができるので、中継器においても特許誤り
の監視を行うような場合に適用して、特に有用なもので
ある。
Since the code error detection circuit of the present invention can detect code errors with a simple circuit, it is particularly useful when applied to cases where patent errors are monitored even in repeaters.

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

第1図は本発明の符号誤シ検出回路の一実施例を示す図
、第2図はmB1c符号の構成例を示す図、第3図は第
1図の回路における各部信号を示すタイムチャートであ
る。 1・・・遅延回路、2・・・排他的論理和(EX−OR
)回路、3・・・分周回路、4・・・フリップフロップ
(FF)、5・・・低域P波器、6・・・比較器、7・
・・タイマ、8・・・ナンド回路、9・・・アンド回路
FIG. 1 is a diagram showing an embodiment of the code error detection circuit of the present invention, FIG. 2 is a diagram showing an example of the configuration of an mB1c code, and FIG. 3 is a time chart showing various signals in the circuit of FIG. 1. be. 1...Delay circuit, 2...Exclusive OR (EX-OR)
) circuit, 3... Frequency divider circuit, 4... Flip-flop (FF), 5... Low-frequency P wave device, 6... Comparator, 7...
...Timer, 8...NAND circuit, 9...AND circuit.

Claims (1)

【特許請求の範囲】[Claims] 各ワードの特定ビットの補符号のビットを各ワードごと
に付加した符号の誤りを検出する回路において、入力信
号を前記特定ビットと付加ビットとのビット差だけ位相
を変化させた信号と入力信号との不一致を検出して出力
を発生する不一致検出手段と、ビット周期のクロックを
(m+1)(mはワード長)分周して出力を発生する分
周手段と、該分周手段の出力に応じて前記不一致検出手
段の出力を読み込んで次の分周手段の出力発生まで保持
する記憶手段と、該記憶手段の出力を平均化した出力が
一定レベル以下のとき、ビット周期より長い周期のパル
スによつて前記分周手段へのクロック入力を禁止する手
段とを具え、前記記憶手段の同期確立時の出力パルスに
よつて入力信号の誤り検出を行うことを特徴とする符号
誤り検出回路。
In a circuit that detects errors in a code in which bits of a complementary code of a specific bit of each word are added to each word, an input signal is combined with a signal whose phase is changed by the bit difference between the specific bit and the additional bit. a discrepancy detection means for detecting a discrepancy between the two and generating an output; a frequency division means for generating an output by dividing a clock having a bit period by (m+1) (m is a word length); storage means that reads the output of the mismatch detection means and holds it until the next output of the frequency division means is generated; and when the output obtained by averaging the outputs of the storage means is below a certain level, a pulse with a period longer than the bit period is generated. A code error detection circuit comprising means for inhibiting clock input to the frequency dividing means, and detecting an error in an input signal using an output pulse when synchronization of the storage means is established.
JP25215384A 1984-11-29 1984-11-29 Code error detection circuit Pending JPS61129947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25215384A JPS61129947A (en) 1984-11-29 1984-11-29 Code error detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25215384A JPS61129947A (en) 1984-11-29 1984-11-29 Code error detection circuit

Publications (1)

Publication Number Publication Date
JPS61129947A true JPS61129947A (en) 1986-06-17

Family

ID=17233217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25215384A Pending JPS61129947A (en) 1984-11-29 1984-11-29 Code error detection circuit

Country Status (1)

Country Link
JP (1) JPS61129947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01256850A (en) * 1988-03-18 1989-10-13 Internatl Business Mach Corp <Ibm> Encoding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01256850A (en) * 1988-03-18 1989-10-13 Internatl Business Mach Corp <Ibm> Encoding method

Similar Documents

Publication Publication Date Title
US4027335A (en) DC free encoding for data transmission system
US9118392B2 (en) Isolated serializer-deserializer
JP3130344B2 (en) Data parallel / serial converter and serial / parallel converter, and serial data digital transmission system
US4234897A (en) DC Free encoding for data transmission
JPS63129750A (en) Method and apparatus for digital data transmission
JPS6028455B2 (en) Digital information processing equipment
US5127023A (en) Retiming decoder/encoder
USRE31311E (en) DC Free encoding for data transmission system
GB1469465A (en) Detection of errors in digital information transmission systems
US4347617A (en) Asynchronous transmission system for binary-coded information
JPS5813046A (en) Data reading circuit
US5282223A (en) Digital transmission control equipment
US4481648A (en) Method and system for producing a synchronous signal from _cyclic-redundancy-coded digital data blocks
US4686482A (en) Clock signal arrangement for regenerating a clock signal
US4813044A (en) Method and apparatus for detecting transient errors
KR970011839B1 (en) Data collision detection circuit of lan
GB1507093A (en) Arrangements for correcting slip errors in pulse-code transmission systems
US4438520A (en) System for regenerating a data word on a communications ring
US4888791A (en) Clock decoder and data bit transition detector for fiber optic work station
JPS61129947A (en) Code error detection circuit
US5636248A (en) Method and system for regenerating amplitude and timing characteristics of an analog signal
US4437086A (en) Limited look-ahead means
JPS62274948A (en) Frame synchronizing system
JPS61148939A (en) Frame synchronization system
JPH0129339B2 (en)