JPH0393317A - Code synchronization circuit - Google Patents

Code synchronization circuit

Info

Publication number
JPH0393317A
JPH0393317A JP23092389A JP23092389A JPH0393317A JP H0393317 A JPH0393317 A JP H0393317A JP 23092389 A JP23092389 A JP 23092389A JP 23092389 A JP23092389 A JP 23092389A JP H0393317 A JPH0393317 A JP H0393317A
Authority
JP
Japan
Prior art keywords
synchronization
word
syndrome
circuit
word synchronization
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.)
Granted
Application number
JP23092389A
Other languages
Japanese (ja)
Other versions
JPH088508B2 (en
Inventor
Akio Yamada
暁生 山田
Katsuhiro Sasaki
勝弘 佐々木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP23092389A priority Critical patent/JPH088508B2/en
Publication of JPH0393317A publication Critical patent/JPH0393317A/en
Publication of JPH088508B2 publication Critical patent/JPH088508B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To improve the word synchronization characteristic by adding a means deciding word synchronization with a first syndrome arithmetic value and a syndrome arithmetic value when the word synchronization is established so as to detect mis-synchronization thereby applying synchronization decision again. CONSTITUTION:The presence or absence of 1st and N-th syndromes of a word of a 2nd translation output 14 obtained by inputting an arithmetic result 12 (syndrome) to a memory 3, that is, whether or not the value is '0' is decided by a 2nd word synchronization circuit 7. Then an AND circuit 8 ANDs a 1st word synchronization decision result 15 and a 2nd word synchronization decision result 16. Thus, a word synchronization decision result 19 is at '1' only when word synchronization is attained without deviation of 1 bit after and before a head position of a word and the establishment of the synchronization is decided. Thus, even when a data signal is deviated by one bit before and after a correct synchronization position, no malfunction is caused.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、受信されたBCH符号のデータ信号のブロッ
ク符号の誤りを訂正する復号化装置に利用する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to a decoding device that corrects block code errors in a received BCH code data signal.

〔概要〕〔overview〕

本発明は、データ信号をシンドローム演算してワード同
期を行う符号同期回路において、最初のシンドローム演
算値とワード同期が確立するときのシンドローム演算値
とによりワード同期を判定する手段を付加することによ
り、正しい同期位置より前後1ビットずれたときに起こ
る誤同期を検出して、再度同期判定を行いワードの同期
特性を向上しようとするものである。
The present invention provides a code synchronization circuit that performs word synchronization by performing syndrome calculations on data signals, by adding means for determining word synchronization based on the initial syndrome calculation value and the syndrome calculation value when word synchronization is established. This is intended to improve the word synchronization characteristics by detecting erroneous synchronization that occurs when one bit is shifted before or after the correct synchronization position, and performing synchronization determination again.

〔従来の技術〕[Conventional technology]

従来の技術について図面を参照して説明する。 A conventional technique will be explained with reference to the drawings.

第2図は従来例のブロック構或図である。第2図におい
て、データ信号1l及び初期化信号20を入力し、デー
タ信号のシンドロームを演算する演算器(FEC)1と
、データ信号11を入力しこれを遅延データ信号17と
して出力する遅延回路2と前記演算器1の演算結果12
(シンドローム)を入力とするメモリ3と、翻訳出力1
3Aおよびタイミングパルス18ならびに遅延データ信
号17を入力する誤り訂正部4と、演算結果12(シン
ドローム)を入力しワード同期の判定を行う第一の同期
回路6と、この第一の同期回路6が出力するワード同期
判定結果15を入力するタイミング発生部5とを備えて
構或されている。本従来例では、シンドロームによって
ワード同期を確立するものである。これにはまずブロッ
ク符号化したデータ信号1lをnビットだけ演算器lに
人力し、データ信号11の符号語のシンドロームを計算
する。
FIG. 2 is a block diagram of a conventional example. In FIG. 2, a computing unit (FEC) 1 receives a data signal 1l and an initialization signal 20 and calculates a syndrome of the data signal, and a delay circuit 2 receives a data signal 11 and outputs it as a delayed data signal 17. and the calculation result 12 of the calculation unit 1
(syndrome) as input memory 3 and translation output 1
3A, a timing pulse 18, and a delayed data signal 17, an error correction unit 4, a first synchronization circuit 6, which inputs the calculation result 12 (syndrome) and determines word synchronization, and this first synchronization circuit 6. The timing generation section 5 inputs the word synchronization determination result 15 to be output. In this conventional example, word synchronization is established by syndrome. To do this, first, n bits of the block-encoded data signal 11 are input to the arithmetic unit 1, and the syndrome of the code word of the data signal 11 is calculated.

ここでシンドロームとは符号語の各ビットを係数とする
多項式を、生戒多項式で割った剰余の多項式の係数であ
る。この場合符号語に誤りがなければシンドロームは0
になる。そのシンドロームすなわち演算結果12を第一
の同期回路6に入力する。第一の同期回路6ではシンド
ロームが0である状態がN個(N≧1〉連続すると、ワ
ード同期が確立したと判定し、ワード同期判定結果15
として“l”を出力する。一方シンドロームが0でない
状態がM個(M≧1)連続すると、ワード同期外れと判
定し、ワード同期判定結果15として“0”を出力する
。このワード同期判定結果15はタイミング発生部5に
入力され、同期がとれていない場合(“0”が入力する
)には、タイミング発生位置を前回よりも1ビットずら
して演算器1を初期化し、続いて演算器1ではデータ信
号11をnビットを読み込む。このような試行を最大(
n−1)回行えば必ず符号同期がとれる。一方、誤り訂
正部4において誤り位置を示す翻訳出力13とタイミン
グ発生部5が送出するタイミングパルス18とが一致し
た場合には、遅延回路2を介して.得られる遅延データ
信号17に対し、前記誤り位置で誤り訂正が行われる。
Here, the syndrome is the coefficient of the polynomial that is the remainder obtained by dividing the polynomial whose coefficients are each bit of the code word by the Seikai polynomial. In this case, if there is no error in the code word, the syndrome is 0.
become. The syndrome, that is, the calculation result 12 is input to the first synchronization circuit 6. In the first synchronization circuit 6, when the syndrome is 0 consecutively for N times (N≧1>), it is determined that word synchronization has been established, and word synchronization determination result 15
outputs "l" as On the other hand, if the syndrome is not 0 consecutively M times (M≧1), it is determined that the word synchronization is out, and “0” is output as the word synchronization determination result 15. This word synchronization determination result 15 is input to the timing generation unit 5, and if synchronization is not achieved (“0” is input), the timing generation position is shifted by 1 bit from the previous time and the arithmetic unit 1 is initialized. Subsequently, the arithmetic unit 1 reads n bits of the data signal 11. Maximum such attempts (
If this is repeated n-1) times, code synchronization can be achieved without fail. On the other hand, if the translation output 13 indicating the error position in the error correcting section 4 and the timing pulse 18 sent out by the timing generating section 5 match, the output signal is sent via the delay circuit 2. Error correction is performed on the obtained delayed data signal 17 at the error position.

ここで誤り訂正値は翻訳出力13により得られ、誤り訂
正部4に入力されることにより誤り訂正結果21が得ら
れる。
Here, the error correction value is obtained from the translation output 13, and is input to the error correction section 4 to obtain the error correction result 21.

また、遅延回路2を要するのは演算器1において演算遅
れが存在するためである。いまBCH符号において送信
される符号語を表わす多項式をA(X) とし、これに
対し受信側で得られる符号語が正規のビット位置より後
に1ビットずれた場合を考え、これを表す多項式をB 
(x) とすると、A(x) −aoX’+ a I 
x’+  +aR−I X’″−1= 0 , mod
 G (X)         − (1)および B(X) = a + )(’+....+al,−+
 x″−”+ b x″−1l(b+a+x’++a,
−+X”−’)X ・−・(2) となる。ここで、a1は1ビットめの信号、bはn−1
ビットめの信号、nはブロック長、G (x)は生或多
項式である。又符号語が正規のピット位置より前に1ビ
ットずれた場合も同様に考え合わせると ao=bあるいはaI,−,=t) の場合シンドロームが0となる。
Further, the reason why the delay circuit 2 is required is because there is an operation delay in the arithmetic unit 1. Let A(X) be the polynomial representing the code word transmitted in the BCH code, and consider a case where the code word obtained on the receiving side is shifted by one bit after the normal bit position, and the polynomial representing this is B.
(x), then A(x) −aoX'+ a I
x'+ +aR-I X'''-1= 0, mod
G(X) − (1) and B(X) = a + )('+...+al,-+
x″-”+ b x″-1l(b+a+x'++a,
-+X''-')X ・-・(2) Here, a1 is the 1st bit signal, b is n-1
The bit-th signal, n is the block length, and G (x) is the raw polynomial. Similarly, if the code word is shifted by one bit before the normal pit position, the syndrome becomes 0 if ao=b or aI, -,=t).

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

しかし、前式(1)および(2)において、各式の係数
が、 ao−bSa1−1=b となる確率はランダムデータの場合それぞれ1/2であ
る。したがってワード同期引込み過程において正規の同
期位置から±1ビットシフトした位置にある場合、前記
ワード同期が確立するのにシンドロームの値0がN個連
続するものとすると、(1/2) ’の確率で誤同期が
起こってしまう。即ち、従来例では擬似引込みにより誤
同期を起こすという問題点がある。
However, in the above equations (1) and (2), the probability that the coefficients of each equation will be ao-bSa1-1=b is 1/2 in the case of random data. Therefore, in the word synchronization pull-in process, if the word synchronization is at a position shifted by ±1 bit from the normal synchronization position, and assuming that N consecutive syndrome values 0 occur for the word synchronization to be established, the probability is (1/2)'. This will cause incorrect synchronization. That is, in the conventional example, there is a problem that false synchronization occurs due to pseudo pull-in.

本発明は、この問題点を解決して、データ信号が正しい
同期位置より前後に1ビットずれに位置となっても誤動
作を起こすことがない符号同期回路を提供することを目
的とする。
SUMMARY OF THE INVENTION An object of the present invention is to solve this problem and provide a code synchronization circuit that does not cause malfunction even if the data signal is shifted by one bit before or after the correct synchronization position.

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

本発明は、BCH符号化されたデータ信号を取り込みシ
ンドローム演算を行う演算器と、この演算器の演算結果
によりワード同期の判定を行う第一の同期回路を含む同
期手段と、この同期手段の非同期の判定出力によりタイ
ミングパルスを発生するタイミング発生部と、演算結果
をアドレス入力とし翻訳出力を発生するメモリと、タイ
ミングパルスと前記翻訳出力とを入力してデータ信号の
誤りを訂正する誤り訂正部とを備えた符号同期回路にお
いて、 同期手段は、最初のシンドローム演算値とワード同期が
確立するときのシンドローム演算値とによりワード同期
を判定する第二の同期回路と、第一および第二の同期回
路の各出力の論理積演算を行う論理積回路とを含むこと
を特徴とする。
The present invention provides a synchronization means including an arithmetic unit that takes in a BCH encoded data signal and performs syndrome calculation, a first synchronization circuit that determines word synchronization based on the calculation result of this arithmetic unit, and an asynchronous a timing generation section that generates a timing pulse based on the judgment output of the above; a memory that receives the calculation result as an address input and generates a translation output; and an error correction section that inputs the timing pulse and the translation output to correct errors in the data signal. In the code synchronization circuit, the synchronization means includes a second synchronization circuit that determines word synchronization based on the initial syndrome calculation value and the syndrome calculation value when word synchronization is established, and the first and second synchronization circuits. It is characterized in that it includes an AND circuit that performs an AND operation of each output.

〔作用] 一般に同期がとれている判定は、シンドロームの演算値
が0である場合がN個(N≦l〉連続することによって
行われる。しかし演算されるワ−ドの先頭が1ビット前
後にシフトし、それが誤って同期されたと誤認されると
、シンドロームの演算値がN−1個しか連続しなくても
、同期されたと判定される。第二の同期回路により1番
目とN番目とのシンドロームの演算値を判定することに
より、このような誤動作は防止できる。
[Effect] In general, synchronization is determined by N consecutive cases where the computed value of the syndrome is 0 (N≦l). However, if the beginning of the word to be computed is 1 bit before or after If the shift is mistakenly recognized as being synchronized, it will be determined that the syndrome has been synchronized even if there are only N-1 consecutive calculated values.The second synchronization circuit will synchronize the first and Nth Such malfunctions can be prevented by determining the calculated value of the syndrome.

〔実施例〕〔Example〕

次に本発明の実施例を図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック構或図である。第
1図において、BCH符号化されたデータ信号l1およ
び初期化信号20を入力とす゛る演算器(FEC)1と
、データ信号l1を入力とする遅延回路2と、演算結果
12(シンドローム)を入力とするメモリ3と、このメ
モリ3にあらかじめ格納されている情報を前記演算結果
l2をアドレスとして読み出される第一の翻訳出力13
およびタイミングパルスl8ならび遅延データ信号l7
を入力とする誤り訂正部4と、ワード同期判定結果19
を人力とするタイミング発生部5を備える。
FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, an arithmetic unit (FEC) 1 receives a BCH encoded data signal l1 and an initialization signal 20, a delay circuit 2 receives a data signal l1, and an operation result 12 (syndrome) is input. and a first translation output 13 from which the information stored in this memory 3 is read out using the calculation result l2 as an address.
and timing pulse l8 and delayed data signal l7
The error correction unit 4 inputs the word synchronization determination result 19
The timing generating section 5 is provided with a timing generating section 5 that uses human power.

ここで本発明の特徴とするところは、演算結果12(シ
ンドローム)を人力とする第一の同期回路6と、メモリ
3より送出される第二の翻訳出力14を人力とする第二
の同期回路7と第一のワード同期判定結果l5および第
二のワード同期判定結果16をそれぞれ入力して論理積
演算を行う論理積回路8とを備えたことにある。また第
一の翻訳出力l3は従来例のものと同様の誤り位置に関
するものであるが、第二の翻訳出力l4はメモリ3が送
出する1番目のシンドロームが0であることおよびワー
ド同期が確立するN番目のシンドロームが0であること
に関する情報である。
Here, the features of the present invention include a first synchronous circuit 6 that uses the calculation result 12 (syndrome) as a human power, and a second synchronous circuit that uses the second translation output 14 sent from the memory 3 as the human power. 7, a first word synchronization determination result 15, and a second word synchronization determination result 16, respectively, are input thereto and an AND circuit 8 is provided to perform an AND operation. The first translation output l3 is related to the error position similar to that of the conventional example, but the second translation output l4 is based on the fact that the first syndrome sent out by the memory 3 is 0 and that word synchronization is established. This is information regarding the Nth syndrome being 0.

本実施例では、データ信号11はブロック符号化したビ
ット列であり、演算器(FEC)lは従来例のシンドロ
ーム演算器と同じものである。また、第一の同期回路も
従来例の同期回路と同じであり同期がとれたと判定され
れば第一のワード同期判定結果15は“l#となり、そ
れ以外は“0”となる。しかし、ワードの先頭位置が前
後1ビットずれた位置で誤同期する可能性がある。
In this embodiment, the data signal 11 is a block encoded bit string, and the arithmetic unit (FEC) l is the same as the syndrome arithmetic unit in the conventional example. The first synchronization circuit is also the same as the conventional synchronization circuit, and if it is determined that synchronization is achieved, the first word synchronization determination result 15 becomes "l#", and otherwise becomes "0". There is a possibility that erroneous synchronization occurs when the start position of a word is shifted by 1 bit before or after.

そこで、演算結果12(シンドローム〉をメモリ3に人
力することによって得られる第二の翻訳出力14のワー
ドの1番目とN番目とのシンドロームの有無すなわちそ
の値が0であるか否かを第二のワード同期回路7により
判定する。前記位置にてシンドロームの発生するW率が
高ければワードの先1位置が前あるいは後に1ビットず
れていることになり、第二のワード同期判定結果16が
“0゜′となる。一志シンドロームがOの時は前記第二
のワード同期判定結果16は“1”となり、同期がとれ
ていると判定される。論理積回路8により第一のワード
同期判定結果15および第二のワード同期判定結果16
の論理積をとる。これにより、ワードの先頭位置に対し
.前後1ピットずれることなくワード同期が達或された
時にのみ、ワード同期判定結果19が“1″となり、同
期がとれたと判定される。遅延回路2、タイミング発生
部5および誤り訂正部4は従来例と同じ回路である。
Therefore, by manually inputting the calculation result 12 (syndrome) into the memory 3, the presence or absence of the syndrome between the 1st and Nth words of the second translation output 14 obtained by inputting the calculation result 12 (syndrome) into the memory 3 is determined. This is determined by the word synchronization circuit 7. If the W rate at which the syndrome occurs at the above position is high, it means that the first position of the word is shifted by one bit before or after, and the second word synchronization judgment result 16 is "0°'.When the Isshi syndrome is O, the second word synchronization determination result 16 becomes "1" and it is determined that synchronization is established.The AND circuit 8 determines the first word synchronization determination result. 15 and second word synchronization determination result 16
Take the logical product of This allows for the first position of the word. Only when word synchronization is achieved without one pit shift before and after, the word synchronization determination result 19 becomes "1" and it is determined that synchronization has been achieved. The delay circuit 2, timing generation section 5, and error correction section 4 are the same circuits as in the conventional example.

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

本発明によれば、正しい同期位置より前後lビットずれ
た位置における誤同期が発生した場合も、これを検出し
、再度ワード同期を開始して正常な符号同期を達或でき
るので、良好なワード同期特性を有する符号同期回路が
実現できる効果がある。
According to the present invention, even if erroneous synchronization occurs at a position that is l bits before and after the correct synchronization position, this can be detected and word synchronization can be started again to achieve normal code synchronization. This has the effect of realizing a code synchronization circuit having synchronization characteristics.

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

第1図は本発明の一実施例のブロック構威図。 第2図は従来例のブロック構戊図。 l・・・演算器、2・・・遅延回路、3・・・メモリ、
4・・・誤り訂正部、5・・・タイミング発生部、6・
・・第一の同期回路、7・・・第二の同期回路,.8・
・・論理積回路、11・・・データ信号、12・・・演
算結果、13、13A・・・メモリが送出する第一の翻
訳出力、14・・・メモリが送出する第二の翻訳出力、
15・・・第一のワード同期判定結果、15A,19・
・・ワード同期判定結果、16・・・第二のワード同期
判定結果、17・・・遅延データ信号、18・・・タイ
ミングパルス、20・・・初期化信号、21・・・誤り
訂正結果。
FIG. 1 is a block diagram of an embodiment of the present invention. FIG. 2 is a block diagram of a conventional example. l... Arithmetic unit, 2... Delay circuit, 3... Memory,
4... Error correction section, 5... Timing generation section, 6.
...first synchronous circuit, 7...second synchronous circuit, . 8・
...AND circuit, 11...Data signal, 12...Computation result, 13, 13A...First translation output sent out by memory, 14...Second translation output sent out by memory,
15... First word synchronization determination result, 15A, 19.
... Word synchronization determination result, 16... Second word synchronization determination result, 17... Delayed data signal, 18... Timing pulse, 20... Initialization signal, 21... Error correction result.

Claims (1)

【特許請求の範囲】 1、BCH符号化されたデータ信号を取り込みシンドロ
ーム演算を行う演算器と、 この演算器の演算結果によりワード同期の判定を行う第
一の同期回路を含む同期手段と、 この同期手段の非同期の判定出力によりタイミングパル
スを発生するタイミング発生部と、前記演算結果をアド
レス入力とし翻訳出力を発生するメモリと、 前記タイミングパルスと前記翻訳出力とを入力して前記
データ信号の誤りを訂正する誤り訂正部と を備えた符号同期回路において、 前記同期手段は、 最初のシンドローム演算値とワード同期が確立するとき
のシンドローム演算値とによりワード同期を判定する第
二の同期回路と、 前記第一および第二の同期回路の各出力の論理積演算を
行う論理積回路とを含む ことを特徴とする符号同期回路。
[Scope of Claims] 1. Synchronization means including a computing unit that takes in a BCH encoded data signal and performs syndrome calculation, and a first synchronization circuit that determines word synchronization based on the calculation result of this computing unit; a timing generator that generates a timing pulse based on the asynchronous determination output of the synchronization means; a memory that takes the calculation result as an address input and generates a translation output; and a memory that inputs the timing pulse and the translation output to detect errors in the data signal. In the code synchronization circuit, the synchronization means includes a second synchronization circuit that determines word synchronization based on an initial syndrome calculation value and a syndrome calculation value when word synchronization is established; A code synchronization circuit comprising: an AND circuit that performs an AND operation of each output of the first and second synchronization circuits.
JP23092389A 1989-09-05 1989-09-05 Code synchronization circuit Expired - Lifetime JPH088508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23092389A JPH088508B2 (en) 1989-09-05 1989-09-05 Code synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23092389A JPH088508B2 (en) 1989-09-05 1989-09-05 Code synchronization circuit

Publications (2)

Publication Number Publication Date
JPH0393317A true JPH0393317A (en) 1991-04-18
JPH088508B2 JPH088508B2 (en) 1996-01-29

Family

ID=16915400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23092389A Expired - Lifetime JPH088508B2 (en) 1989-09-05 1989-09-05 Code synchronization circuit

Country Status (1)

Country Link
JP (1) JPH088508B2 (en)

Also Published As

Publication number Publication date
JPH088508B2 (en) 1996-01-29

Similar Documents

Publication Publication Date Title
US5844923A (en) Fast framing of nude ATM by header error check
JPH04284753A (en) Crc arithmetic method and hec synchronization device in atm exchange system
US4592054A (en) Decoder with code error correcting function
JP2597872B2 (en) Block synchronization method
JPH07170200A (en) Crc synchronizer
US4698813A (en) Arrangement for correcting burst errors in shortened cyclical block codes
US5694405A (en) Encoder and decoder of an error correcting code
US5408476A (en) One bit error correction method having actual data reproduction function
JPH0393317A (en) Code synchronization circuit
JP2710427B2 (en) Data block signal transmission method and apparatus
US5745510A (en) System for detecting frame/burst synchronization and channel error using cyclic code
JPS6229239A (en) Frame synchronizing system in cyclic information transmitter
JPH0738626B2 (en) Word sync detection circuit
JP2611722B2 (en) Error flag output circuit
JP2785718B2 (en) Error correction method
JPH06164572A (en) Frame synchronizing circuit/method
JPH07115412A (en) Synchronous control system
SU801283A2 (en) Device for detecting and correcting errors in code combination
JPS58137051A (en) Error controller
JPH08340342A (en) Method for verifying checksum in received data block and implementing method therefor
KR0153622B1 (en) 2-phase code decoding apparatus
JPS6398238A (en) Fast frame synchronizing device
JPS58176754A (en) Self-correcting system
JPH0817378B2 (en) Block synchronization method
JPS61225939A (en) Word synchronization system