JP3512690B2 - Code synchronization circuit - Google Patents
Code synchronization circuitInfo
- Publication number
- JP3512690B2 JP3512690B2 JP32970099A JP32970099A JP3512690B2 JP 3512690 B2 JP3512690 B2 JP 3512690B2 JP 32970099 A JP32970099 A JP 32970099A JP 32970099 A JP32970099 A JP 32970099A JP 3512690 B2 JP3512690 B2 JP 3512690B2
- Authority
- JP
- Japan
- Prior art keywords
- syndrome
- circuit
- code
- clock
- coefficient
- 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 - Fee Related
Links
- 208000011580 syndromic disease Diseases 0.000 claims description 91
- 238000001514 detection method Methods 0.000 claims description 20
- 238000000034 method Methods 0.000 claims description 9
- 125000004122 cyclic group Chemical group 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 8
- 108010076504 Protein Sorting Signals Proteins 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Error Detection And Correction (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、BCH(Bose C
haudhuri Hocqenghem)符号などの
巡回符号を用い、さらに、符号語のシンドロームにより
符号同期を確立する誤り訂正方式に用いられる符号同期
回路に関する。特に、本発明は、符号同期に必要な時間
を短縮することを可能にする符号同期回路に関する。The present invention relates to a BCH (Bose C)
The present invention relates to a code synchronization circuit used for an error correction system that uses a cyclic code such as a Haudhuri Hocqenghem code and establishes code synchronization by codeword syndrome. In particular, the present invention relates to a code synchronization circuit that can reduce the time required for code synchronization.
【0002】[0002]
【従来の技術】上記符号語のシンドロームを用いる符号
同期例として、特開平1−274248号公報に記載さ
れるものがあるが、符号同期に必要な時間を短縮するこ
とを目的とする本発明の前提となる符号同期回路自体
を、以下に、詳細に説明する。2. Description of the Related Art An example of code synchronization using the above-mentioned code word syndrome is disclosed in Japanese Patent Application Laid-Open No. 1-274248. However, the present invention aims at shortening the time required for code synchronization. The prerequisite code synchronization circuit itself will be described in detail below.
【0003】図5は本発明の前提となる符号同期回路の
概略構成を説明するブロック図である。本図に示すよう
に、符号同期回路には、シンドローム計算回路15が設
けられ、シンドローム計算回路15は、一般に受信デー
タ列と生成多項式の割り算回路によりシンドローム多項
式が導出される。FIG. 5 is a block diagram illustrating a schematic configuration of a code synchronization circuit which is a premise of the present invention. As shown in the figure, a syndrome calculation circuit 15 is provided in the code synchronization circuit, and the syndrome calculation circuit 15 generally derives a syndrome polynomial by a division circuit of a received data sequence and a generator polynomial.
【0004】図6は図5のシンドローム計算回路15の
概略構成を示すブロック図である。本図に示すように、
シンドローム計算回路15は、受信データ列nビットが
すべて入力した後の受信多項式R(x)を生成多項式G
(x)で割り算した乗余であるシンドローム多項式の係
数(S0、S1、…、Sa−3、Sa−2、Sa−1)
を出力する。FIG. 6 is a block diagram showing a schematic configuration of the syndrome calculation circuit 15 of FIG. As shown in this figure,
The syndrome calculation circuit 15 generates the reception polynomial R (x) after all the n bits of the reception data sequence have been input.
Coefficients (S 0 , S 1 ,..., Sa-3 , Sa-2 , Sa-1 ) of the syndrome polynomial, which is the remainder multiplied by (x)
Is output.
【0005】そのため、nビットの符号語すべての入力
が完了するまでシンドロームを計算することができず、
また次のシンドロームの計算は、先のシンドローム計算
完了後に、開始することになる。すなわち、零検出回路
11で、連続する受信データ列よりnビットの符号語の
切れ目(S0=S1=…=Sa−3=Sa−2=S
a−1=0)を検出するためには、最大n回のシンドロ
ーム計算が必要である。Therefore, the syndrome cannot be calculated until the input of all the n-bit code words is completed.
The calculation of the next syndrome is started after the previous syndrome calculation is completed. That is, in the zero detection circuit 11, an n-bit code word break (S 0 = S 1 = ... = Sa-3 = Sa-2 = S) from a continuous received data sequence.
a-1 = 0) requires a maximum of n syndrome calculations.
【0006】図7は図6のシンドローム計算回路15の
符号同期シーケンスを説明する図である。本図に示すよ
うに、従来のシンドロームの計算は、nクロック毎のシ
リアル処理となるので、n回のシンドローム計算のため
には、最大n×(n+1)−1クロックが必要となる。FIG. 7 is a view for explaining a code synchronization sequence of the syndrome calculation circuit 15 of FIG. As shown in the figure, the conventional syndrome calculation is a serial process for every n clocks, so that a maximum of n × (n + 1) −1 clocks is required for n times of syndrome calculations.
【0007】なお、図5に示すように、nビットカウン
タ17にn+1ビットカウンタ18を加えて並列処理を
行うことにより、符号同期に必要な時間を短縮すること
が可能である。[0007] As shown in FIG. 5, by adding an (n + 1) -bit counter 18 to an n-bit counter 17 and performing parallel processing, the time required for code synchronization can be reduced.
【0008】[0008]
【発明が解決しょうとする課題】しかしながら、上記符
号同期回路では、符号同期の時間を短縮する場合には、
並列処理を増やせばよいが、これでは、並列処理の回路
規模が増えるいう問題がある。したがって、本発明は上
記問題点に鑑みて、並列処理の回路規模を増やさずに、
符号同期の時間を短縮できる符号同期回路を提供するこ
とを目的とする。However, in the above code synchronization circuit, when the time of code synchronization is reduced,
It is sufficient to increase the number of parallel processes, but this has a problem that the circuit scale of the parallel processes increases. Accordingly, the present invention has been made in view of the above problems, without increasing the circuit scale of parallel processing.
It is an object of the present invention to provide a code synchronization circuit capable of shortening the code synchronization time.
【0009】[0009]
【課題を解決するための手段】本発明は前記問題点を解
決するために、巡回符号を用いた符合語の符号同期を確
立する符号同期回路において、受信データ列が生成多項
式で割られた乗余のシンドローム多項式の係数が零にな
る位置より符号語の分け目を判断し符合同期を確立する
零検出回路と、クロックtの瞬間の受信多項式に対して
1クロック経過後の受信多項式に関するシンドローム多
項式の係数を前記データ列のビット入力毎に逐次求め、
前記零検出回路に出力するシンドローム逐次計算回路と
を備え、前記シンドローム逐次計算回路は、受信データ
列のビット入力に対してnクロックの遅延を与えるnク
ロック遅延回路と、前記クロック遅延回路を通過したn
クロック前に入力した受信データ、前記シンドローム多
項式の最上位係数を入力し、前記シンドローム多項式の
係数を形成する複数の係数計算回路とを有し、さらに、
各前記係数計算回路は、前記シンドローム多項式の最上
位係数に第1の既知係数を乗算する第1の乗算器と、n
クロック前に入力した前記受信データに第2の既知係数
を乗算する第2の乗算器と、各前記係数回線回路の入力
に前記第1の乗算器の出力を加算する第1の加算器と、
前記第1の加算器の出力に第2の乗算器の出力を加算す
る第2の加算器と、前記第2の加算器の出力を1クロッ
クだけ遅延する遅延器とを含み、前記遅延器の出力が上
位の前記係数計算回路の入力に接続されることを特徴と
する符号同期回路を提供する。According to the present invention, there is provided a code synchronization circuit for establishing code synchronization of a code word using a cyclic code in which a received data sequence is multiplied by a generator polynomial. A zero detection circuit that determines code divisions from a position where the coefficient of the remaining syndrome polynomial becomes zero to establish code synchronization, and a syndrome polynomial relating to a reception polynomial one clock after the reception polynomial at the instant of clock t. A coefficient is sequentially obtained for each bit input of the data sequence ,
E Bei a syndrome sequential calculation circuit outputs the zero detection circuit, the syndrome sequential calculation circuit, the received data
N clocks that provide n clock delays for column bit inputs
A lock delay circuit, and n passing through the clock delay circuit
Received data input before the clock,
Enter the highest order coefficient of the polynomial, and enter
A plurality of coefficient calculation circuits for forming coefficients, and
Each of the coefficient calculation circuits is a top of the syndrome polynomial.
A first multiplier for multiplying the order coefficient by a first known coefficient;
A second known coefficient added to the received data input before the clock.
And a second multiplier for multiplying each of the coefficient circuit circuits
A first adder for adding the output of the first multiplier to
Adding the output of the second multiplier to the output of the first adder
A second adder, and the output of the second adder for one clock.
And a delay unit for delaying the output of the
Connected to the input of the coefficient calculation circuit
A code synchronization circuit is provided.
【0010】この手段により、受信データの入力毎に逐
次シンドローム処理を行い、1クロック経過後の受信多
項式に関するシンドローム多項式の係数の算出が可能に
なり、並列処理の回路規模を増やさずに、符号同期の時
間を短縮することが可能になる。 By this means, every time the received data is input,
The next syndrome processing is performed and the reception
Calculate coefficients of syndrome polynomials related to terms
Will, without increasing the circuit scale of the parallel processing, it is capable ing to shorten the code synchronization time.
【0011】好ましくは、前記係数計算回路の1クロッ
ク経過後の受信多項式に関するシンドローム多項式の各
係数S i,t−1は、前記シンドローム多項式の最上位
係数S a−1,t、前記nクロック遅延回路の出力R
t+(n−1)、第1の既知係数B i、第2の既知係数
C iとすると、 S i,t−1=S a−1,t・C i+S i−1,t+R
t+(n−1)・B i (iは1以上a−1以下の整数) S 0,t−1=S a−1,t・C 0+R t−1+R
t+(n−1)・B 0 (iは0) の漸化式で表される。 Preferably, one clock of the coefficient calculation circuit is provided.
Each of the syndrome polynomials for the receiving polynomial after
The coefficient S i, t−1 is the highest order of the syndrome polynomial.
The coefficient S a−1, t and the output R of the n-clock delay circuit
t + (n−1) , first known coefficient B i , second known coefficient
When C i, S i, t- 1 = S a-1, t · C i + S i-1, t + R
t + (n−1) · B i (i is an integer of 1 or more and a−1 or less) S 0, t−1 = S a−1, t · C 0 + R t−1 + R
It is represented by a recurrence formula of t + (n−1) · B 0 (i is 0) .
【0012】従来では、nビットの符号語すべての入力
が完了するまでシンドロームを計算することができず最
大必要時間がn×(n+1)クロックであったが、この
手段により、受信データの入力毎に逐次シンドローム処
理することが可能になり最大必要時間が2nクロック未
満で完了し並列処理の回路規模を増やさないだけでな
く、大幅に計算時間を短縮することが可能になった。 Conventionally, the input of all n-bit codewords
Syndrome cannot be calculated until
The large required time was n × (n + 1) clocks.
Means for performing the syndrome processing every time the received data is input.
And the maximum required time is less than 2n clocks.
Not just increase the size of the parallel processing circuit.
And the calculation time can be greatly reduced.
【0013】[0013]
【0014】好ましくは、さらに、nクロックカウンタ
が設けられ、nクロックカウンタは、シンドローム逐次
計算回路が使用できない初期化時からnクロック期間、
零検出回路の検出を除外させる。この手段により、初期
化時にシンドローム多項式の係数が不定となって生じる
誤りを除去することが可能になる。Preferably, an n clock counter is further provided, and the n clock counter is provided for n clock periods from the time of initialization when the syndrome sequential calculation circuit cannot be used.
The detection of the zero detection circuit is excluded. By this means, it is possible to remove an error that occurs when the coefficients of the syndrome polynomial become indefinite at the time of initialization.
【0015】好ましくは、前記巡回符号がBCH符号で
ある。この手段により、BCH符号にも適用が広がる。
好ましくは、前記零検出回路をシンドローム判定回路に
置換し、前記シンドローム判定回路は、特定位置で予め
反転して送出される連続符号語のシンドローム多項式の
各係数を予め求めておき、前記シンドローム逐次計算回
路で計算されたシンドローム列を前記係数と比較し、一
致する場所を符号語の切れ目として判定して同期を確立
する。[0015] Preferably, the cyclic code is a BCH code. By this means, application to the BCH code is expanded.
Preferably, the zero detection circuit is replaced by a syndrome determination circuit, and the syndrome determination circuit obtains in advance each coefficient of a syndrome polynomial of a continuous codeword that is inverted and transmitted at a specific position in advance, and calculates the syndrome successively. The syndrome sequence calculated by the circuit is compared with the coefficient, and a matching position is determined as a code word break to establish synchronization.
【0016】この手段により、特定位置で予め反転して
送出される連続符号語のシンドローム多項式に対して、
同期の確立判定が可能になる。By this means, for a syndrome polynomial of a continuous code word which is transmitted at a specific position and inverted in advance,
It is possible to determine the establishment of synchronization.
【0017】[0017]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明に係る符号同
期回路の概略構成を示すブロック図である。なお、本発
明の回路に使用する符号語の符号長をn(nは正の整
数)、符号語を生成する生成多項式の次数をa(aは正
の整数)と定義する。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a code synchronization circuit according to the present invention. Note that the code length of a codeword used in the circuit of the present invention is defined as n (n is a positive integer), and the degree of a generator polynomial for generating the codeword is defined as a (a is a positive integer).
【0018】また、本発明での加算、乗算等の演算は、
すべてGF(2)(GaloisField)の体の上
での演算となり、本発明の回路で使用する加算器は2入
力の排他的論理和回路、乗算器は2入力の論理積回路で
実現することができる。本図に示すように、本発明に係
る符号同期回路には、シンドローム逐次計算回路10が
設けられ、シンドローム逐次計算回路10はクロック毎
に入力する受信データ列に対応するシンドロームを計算
し、aビットのシンドローム多項式の係数を出力する。In addition, operations such as addition and multiplication in the present invention are as follows.
All operations are performed on GF (2) (GaloisField) fields, and the adder used in the circuit of the present invention can be realized by a two-input exclusive OR circuit, and the multiplier can be realized by a two-input AND circuit. it can. As shown in the figure, the code synchronization circuit according to the present invention is provided with a syndrome successive calculation circuit 10, which calculates a syndrome corresponding to a received data sequence input for each clock and outputs a bit. Outputs the coefficients of the syndrome polynomial in.
【0019】さらに、符号同期回路にはnクロックカウ
ンタ13が設けられ、クロックカウンタ13はシンドロ
ーム逐次計算回路10の出力が不定となって使用できな
い回路動作開始後nクロックの出力不定期間(マスタ期
間)を出力する。シンドローム逐次計算回路10には零
検出回路11が接続され、零検出回路11は、クロック
カウンタ13によるマスク期間を除いてシンドローム多
項式の係数が全て零となる符号語の分け目を検出し、そ
の位置を出力する。Further, the code synchronizing circuit is provided with an n-clock counter 13. The clock counter 13 has an indefinite output of the syndrome sequential calculation circuit 10 and cannot be used. Is output. A zero detection circuit 11 is connected to the syndrome sequential calculation circuit 10, and the zero detection circuit 11 detects a code word division where all the coefficients of the syndrome polynomial become zero except for a mask period by the clock counter 13, and determines the position of the code word. Output.
【0020】零検出回路11にはフレーム同期保護回路
12が接続され、フレーム同期保護回路12は、零検出
回路11の出力に対し、伝走路上での誤りなどを考慮し
て前方保護及び後方保護などの符号同期保護を行って符
号同期信号を出力する。なお、良く知られた上記の符号
同期前方保護としては、不連続不一致検出があり、例え
ば、保護段数をX(Xは正の整数)とした場合、一度確
立した同期位置で、X回連続シンドロームが零と異なる
場合にのみ符号同期の再確立過程を開始し、それ以外の
シンドローム誤りは無視することにより、符号同期誤り
が防止される。A frame synchronization protection circuit 12 is connected to the zero detection circuit 11. The frame synchronization protection circuit 12 protects the output of the zero detection circuit 11 from forward protection and rear protection in consideration of errors on the transmission path. And outputs a code synchronization signal. Incidentally, as good as the known above code synchronization forward protection, there is discontinuity mismatch detection, for example, the protection stage X (X is a positive integer) when the, once established synchronization position, X consecutive Syndrome The code synchronization error is prevented by starting the code synchronization re-establishment process only when is different from zero and ignoring other syndrome errors.
【0021】また、良く知られた上記の符号同期後方保
護として、連続一致検出があり、例えば、保護段数をY
(Yは正の整数)とした場合、一度シンドローム零検出
を成功した同期位置でY回連続シンドロームが零となっ
た場合にのみ同期が確立し、それ以外の場合は、符号同
期確立過程を継続することにより、符号同期誤りが防止
される。As a well-known code-synchronous backward protection, there is a continuous coincidence detection.
If (Y is a positive integer), the synchronization is established only when the syndrome has become zero consecutively Y times at the synchronization position where the detection of the syndrome zero has been successful, otherwise the code synchronization establishment process is continued. By doing so, a code synchronization error is prevented.
【0022】図2は図1のシンドローム逐次計算回路1
0の概略構成を示す図である。本図に示すように、シン
ドローム逐次計算回路10は、a個の係数計算回路21
と、nクロック遅延回路22とで構成される。nクロッ
ク遅延回路22は入力信号に対してnクロックの遅延を
与える。a個の係数計算回路21はシンドロームの最上
位係数Sa−1と多項式B(x)の各係数Bi(iは0
以上a−1以下の整数)とを乗算する乗算器31、nク
ロック遅延回路22を通過したnタイムスロット前に受
信した受信信号列Rt+ (n−1)と多項式C(x)の
各係数Ci(iは0以上a−1以下の整数)とを乗算す
る乗算器32、入力と上記の乗算器31の出力とを加算
する加算器33と、加算器34の出力に1クロックの遅
延を与える遅延回路35により構成される。FIG. 2 shows the syndrome sequential calculation circuit 1 of FIG.
FIG. 2 is a diagram illustrating a schematic configuration of a zero. As shown in the figure, the syndrome sequential calculation circuit 10 is composed of a coefficient calculation circuits 21
And an n-clock delay circuit 22. The n clock delay circuit 22 delays the input signal by n clocks. The a coefficient calculation circuits 21 calculate the highest coefficient S a-1 of the syndrome and each coefficient B i (i is 0) of the polynomial B (x).
), A multiplier 31 for multiplying by an integer less than or equal to a-1), a received signal sequence Rt + (n-1) received n time slots before passing through the n clock delay circuit 22, and each coefficient of the polynomial C (x). A multiplier 32 for multiplying C i (i is an integer of 0 or more and a-1 or less); an adder 33 for adding an input to an output of the multiplier 31; Is provided by a delay circuit 35 that provides the following.
【0023】a個の係数計算回路21の各出力Siがシ
ンドローム多項式の係数に相当する。本発明の対象とす
る通信システムでは、送信側にてフレーム同期ビットを
使用せず、BCH符号などの巡回符号の符号語が、連続
して、送信データ列として送出されている。[0023] Each output S i of a number of coefficient calculating circuit 21 corresponds to the coefficient of the syndrome polynomial. In the communication system to which the present invention is applied, a code word of a cyclic code such as a BCH code is continuously transmitted as a transmission data string without using a frame synchronization bit on the transmission side.
【0024】復号側では、、受信データ列のシンドロー
ム演算を行い、シンドロームが零になる位置により符号
語の分け目を判別し、符号同期が確立される。本発明の
構成に関する動作の説明に先立ち以下の定義を行う。ク
ロックtの瞬間の受信データをRtと定義し、Rtを含
むnビットの受信データ列(受信側ではこのデータ列を
仮に符号語とみなす)を係数として受信多項式R
t(x)は、下記式(1)のように、表されるとする
(n:誤り訂正符号長)。On the decoding side, a syndrome operation is performed on the received data sequence, a code word division is determined based on the position where the syndrome becomes zero, and code synchronization is established. Prior to the description of the operation related to the configuration of the present invention, the following definitions are made. The moment of the received data clock t is defined as R t, the received reception data string n bits including R t a (tentatively regarded as the code word of the data sequence at the receiving side) as coefficients polynomial R
It is assumed that t (x) is expressed as in the following equation (1) (n: error correction code length).
【0025】
Rt(x)
=Rt+(n−1)・xn−1+Rt+(n−2)・xn−2+…+Rt+1・
x+Rt
…(1)
また、送信側、受信側で符号語の生成に使用する既知の
生成多項式G(x)は、下記式(2)のように、表され
る。
G(x)
=Ga・xa+Gn−1・xa−1+…+G1・x+G0
…(2)[0025]
Rt(X)
= Rt + (n-1)・ Xn-1+ Rt + (n-2)・ Xn-2+ ... + Rt + 1・
x + Rt
… (1)
In addition, the transmission side and the reception side use a known
The generator polynomial G (x) is expressed as in the following equation (2).
You.
G (x)
= Ga・ Xa+ Gn-1・ Xa-1+ ... + G1・ X + G0
… (2)
【0026】クロックtの瞬間のRtを含むnビットの
受信データ列のシンドローム多項式St(x)は、上記
の受信多項式Rt(x)を生成多項式G(x)で割った
乗余で、下記式(3)のように、与えられる。
St(x)
=Rt(x) MOD G(x)
=Sa−1、t・xa−1+Sa−2,t・xa−2+…+S1,t・x+S0 ,t
…(3)R at the instant of clock ttN-bit
Syndrome polynomial S of received data sequencet(X) is the above
Receiving polynomial Rt(X) divided by the generator polynomial G (x)
The remainder is given by the following equation (3).
St(X)
= Rt(X) MOD G (x)
= Sa-1, t・ Xa-1+ Sa-2, t・ Xa-2+ ... + S1, t・ X + S0 , T
… (3)
【0027】また、本発明で使用する多項式B(x)、
C(x)の係数は、予め下記式(4)、(5)のよう
に、乗余計算により求められる。
B(x)
=xn MOD G(x)
=Ba−1・xa−1+Ba−2・xa−2+…+B1・x+B0
…(4)Further, the polynomial B (x) used in the present invention,
The coefficient of C (x) is obtained in advance by a modular exponentiation as in the following equations (4) and (5). B (x) = x n MOD G (x) = B a-1 · x a-1 + B a-2 · x a-2 + ... + B 1 · x + B 0 ... (4)
【0028】
C(x)
=xa MOD G(x)
=Ca−1・xa−1+Ca−2・xa−2+…+C1・x+C0
…(5)
受信多項式Rt(x)に対して、1クロック経過後の受
信多項式Rt−1(x)は、下記式(6)のように、定
義される。[0028]
C (x)
= Xa MOD G (x)
= Ca-1・ Xa-1+ Ca-2・ Xa-2+ ... + C1・ X + C0
… (5)
Receive polynomial RtIn response to (x), after one clock elapses
Shin polynomial Rt-1(X) is a constant as in the following equation (6).
Be defined.
【0029】
Rt−1(x)
=Rt+(n−2)・xn−1+Rt+(n−3)・xn−2+…+Rt・x+
Rt−1
=x・Rt(x)+Rt+(n−1)・xn+Rt−1
…(6)
同様に、 Rt−1(x)に対応するシンドローム多項
式St−1(x)は、下記式で導出できる。[0029]
Rt-1(X)
= Rt + (n-2)・ Xn-1+ Rt + (n-3)・ Xn-2+ ... + Rt・ X +
Rt-1
= XRt(X) + Rt + (n-1)・ Xn+ Rt-1
… (6)
Similarly, Rt-1Syndrome polynomial corresponding to (x)
Formula St-1(X) can be derived by the following equation.
【0030】 St−1(x) =Rt−1(x) MOD G(x) =[x・Rt(x) MOD G(x)]+ [Rt+(n−1)・xn MOD G(x)]+[Rt−1 MOD G(x )] =[x・St(x) MOD G(x)]+[Rt+(n−1)・B(x)]+ Rt−1 =[(Sa−1、t・xa+Sa−2,t・xa−1+…+ S1,t・x2+S0,t・x) MOD G(x)]+[Rt+(n−1)・ B(x)] +Rt−1 =[(Sa−1、t・xa MOD G(x)]+[(Sa−2,t・xa−1 +…+ S1,t・x2+S0,t・x)]+[Rt+(n−1)・B(x)]+Rt− 1 =[Sa−1、t・C(x)]+[(Sa−2,t・xa−1+…+S1,t・ x2+ S0,t・x)]+[Rt+(n−1)・B(x)]+Rt−1 =(Sa−1、t・Ca−1+Sa−2,t+Rt+(n−1)・Ba−1)・ xa−1+…+ (Sa−1、t・C1+S0,t+Rt+(n−1)・B1)・x+ (Sa−1、t・C0+Rt+(n−1)・B0+Rt−1) =Sa−1,t−1 ・xa−1+…+S1,t−1・x+S0,t−1 …(7)[0030] St-1(X) = Rt-1(X) MOD G (x) = [XRt(X) MOD G (x)] + [Rt + (n-1)・ Xn MOD G (x)] + [Rt-1 MOD G (x )] = [XSt(X) MOD G (x)] + [Rt + (n-1)・ B (x)] + Rt-1 = [(Sa-1, t・ Xa+ Sa-2, t・ Xa-1+ ... + S1, t・ X2+ S0, tX) MOD G (x)] + [Rt + (n-1)・ B (x)] + Rt-1 = [(Sa-1, t・ Xa MOD G (x)] + [(Sa-2, t・ Xa-1 + ... + S1, t・ X2+ S0, tX)] + [Rt + (n-1)・ B (x)] + Rt- 1 = [Sa-1, t・ C (x)] + [(Sa-2, t・ Xa-1+ ... + S1, t・ x2+ S0, tX)] + [Rt + (n-1)・ B (x)] + Rt-1 = (Sa-1, t・ Ca-1+ Sa-2, t+ Rt + (n-1)・ Ba-1) ・ xa-1+ ... + (Sa-1, t・ C1+ S0, t+ Rt + (n-1)・ B1) .X + (Sa-1, t・ C0+ Rt + (n-1)・ B0+ Rt-1) = Sa-1, t-1 ・ Xa-1+ ... + S1, t-1・ X + S0, t-1 … (7)
【0031】上記式(7)より、シンドローム多項式は
既知の多項式の係数Ci、Biと受信データ列、1クロ
ック以前のシンドローム多項式を用いて、下記式(8)
のように、漸化式の形で表すことができる。
Si,t−1=Sa−1,t・Ci+Si−1,t+Rt+(n−1)・Bi
(iは1以上a−1以下の整数)
S0,t−1=Sa−1,t・C0+Rt−1+Rt+(n−1)・B0
(iは0)
…(8)From the above equation (7), the syndrome polynomial is
Known polynomial coefficient Ci, BiAnd received data string, one clock
Using the syndrome polynomial before the check, the following equation (8)
Can be expressed in the form of a recurrence formula.
Si, t-1= Sa-1, t・ Ci+ Si-1, t+ Rt + (n-1)・ Bi
(I is an integer of 1 or more and a-1 or less)
S0, t-1= Sa-1, t・ C0+ Rt-1+ Rt + (n-1)・ B0
(I is 0)
… (8)
【0032】この漸化式を具体化した回路が図2のシン
ドローム逐次計算回路10である。なお、シンドローム
逐次計算回路10内の各レジスタには、初期化(回路動
作開始)時に正しい値が設定される必要があるが、nビ
ット連続「0」の符号語のシンドローム多項式に関する
各係数は「0」であるので、初期化時はnクロック遅延
回路22、遅延回路35に使用しているレジスタの値は
すべて「0」に設定すればよい。A circuit embodying this recurrence formula is the syndrome sequential calculation circuit 10 of FIG. Note that each register in the syndrome sequential calculation circuit 10 needs to be set to a correct value at the time of initialization (start of circuit operation), but each coefficient relating to the syndrome polynomial of the code word of n-bit continuation “0” is “ Since the value is "0", the values of the registers used in the n-clock delay circuit 22 and the delay circuit 35 may be set to "0" at the time of initialization.
【0033】また、初期化時からnクロック期間のシン
ドローム多項式の係数は不定であるため、nクロックカ
ウンタ13を用いて零検出回路11においてマスクを行
っている。また、伝送路上での誤り付加などを考慮して
符号同期回路には保護が必要であり、フレーム同期保護
回路12により前方保護、後方保護などの同期保護が行
われる。Further, since the coefficients of the syndrome polynomial for n clock periods from the time of initialization are undefined, the zero detection circuit 11 performs masking using the n clock counter 13. Further, the code synchronization circuit needs to be protected in consideration of the addition of an error on the transmission path, and the frame synchronization protection circuit 12 performs synchronization protection such as forward protection and backward protection.
【0034】図3は図2のシンドローム逐次計算回路1
0の符号同期シーケンスを説明する図である。本図に示
すように、シンドローム逐次計算回路10を用いた場合
のシンドロームの計算では、逐次処理となるので、n回
のシンドローム計算のためには、最大必要時間は2n−
1クロックである。FIG. 3 shows the syndrome sequential calculation circuit 1 of FIG.
It is a figure explaining the code synchronous sequence of 0. As shown in the figure, since the syndrome calculation using the syndrome sequential calculation circuit 10 is a sequential process, the maximum required time is 2n− for the syndrome calculation of n times.
One clock.
【0035】つまり、従来の最大必要時間は、n×(n
+1)−1クロックであるので、本発明の符号同期回路
を用いることにより、並列処理などの回路規模を増やす
ことなく符号同期に必要な時間を短縮することが可能に
なる。次に、前述したように、本発明の対象とする通信
システムでは、送信側にてフレーム同期ビットを使用せ
ず、BCH符号などの巡回符号の符号語が連続して、送
信データ列として送出されている。That is, the conventional maximum required time is n × (n
Since +1) -1 clock is used, the time required for code synchronization can be reduced by using the code synchronization circuit of the present invention without increasing the circuit scale of parallel processing or the like. Next, as described above, in the communication system to which the present invention is applied, a code word of a cyclic code such as a BCH code is continuously transmitted as a transmission data sequence without using a frame synchronization bit on the transmission side. ing.
【0036】このような符号を用いる場合、連続する符
号語の特定位置(例えば先頭1ビット)を予め反転して
送出し、また復号側では1ビット反転の位置を順次動か
すことにより正しい符号語の切り目を検出する方法が提
案されている。上述の方式を用いた符号語列が送出され
ている場合でも、本発明のシンドローム逐次計算回路1
0は正常に動作し、受信信号列に応じたシンドロームが
算出される。In the case of using such a code, a specific position (for example, the first bit) of a continuous code word is inverted and transmitted in advance, and the decoding side sequentially shifts the position of one bit inversion to obtain a correct code word. A method for detecting a cut has been proposed. Even when a codeword string using the above-described method is transmitted, the syndrome sequential calculation circuit 1 of the present invention is used.
0 operates normally, and the syndrome corresponding to the received signal sequence is calculated.
【0037】そこで、送信側で、実施した符号処理(例
えば1ビット目反転)に対応する符号語のシンドローム
多項式S’(x)が予め、下記式(8)のように、計算
されるようにしておく。
S’(x)
=xn MOD G(x)
=S’a−1・xa−1+S’a−2・xa−2+…+S’1・x+S’0
…(8)Therefore, the syndrome polynomial S ′ (x) of the code word corresponding to the code processing (eg, the first bit inversion) performed on the transmission side is calculated in advance as in the following equation (8). Keep it. S '(x) = x n MOD G (x) = S' a-1 · x a-1 + S 'a-2 · x a-2 + ... + S' 1 · x + S '0 ... (8)
【0038】S’(x)の各係数S’iは定数である。
シンドローム逐次計算回路10で計算されるシンドロー
ム列を上記のS’iと比較し、一致する場合を符号語の
切り目として判定することができる。図4は、連続する
符号語の特定位置を予め反転した符号語に対応する符号
同期回路10の別の例を示す図である。[0038] i 'each coefficient S of (x)' S is a constant.
The syndrome sequence calculated by the syndrome sequential calculation circuit 10 is compared with the above-mentioned S ′ i, and a case where the sequence matches is determined as a code word break. FIG. 4 is a diagram showing another example of the code synchronization circuit 10 corresponding to a code word obtained by inverting a specific position of a continuous code word in advance.
【0039】本図に示すように、図1と比較して、零検
出回路11に代わり、上記説明のようにシンドロームの
一致を検出するシンドローム判定回路14が置き換えら
れる。シンドローム判定回路14は、連続する符号語の
特定位置を予め反転した符号語に対しても、同様の符号
同期特性を実現することができる。As shown in this figure, as compared with FIG. 1, the syndrome detection circuit 14 for detecting the coincidence of the syndromes as described above is replaced with the zero detection circuit 11. The syndrome determination circuit 14 can also achieve the same code synchronization characteristics for codewords in which specific positions of consecutive codewords are inverted in advance.
【0040】[0040]
【発明の効果】以上説明したように、本発明によれば、
符号同期を検出するためのシンドローム演算が逐次処理
で行われる。そのため、誤同期防止のための保護段数を
考慮しない場合、符号同期に必要なクロック数が最大で
も2nクロック未満で完了し、並列処理の回路規模を増
やさずに、大幅に時間を短縮することが可能になるとい
う顕著な効果がある。As described above, according to the present invention,
Syndrome calculation for detecting code synchronization is performed by sequential processing. Therefore, when the number of protection stages for preventing erroneous synchronization is not considered, the number of clocks required for code synchronization can be completed with a maximum of less than 2n clocks, and the time can be significantly reduced without increasing the circuit scale of parallel processing. There is a remarkable effect that it becomes possible.
【図1】本発明に係る符号同期回路の概略構成を示すブ
ロック図である。FIG. 1 is a block diagram showing a schematic configuration of a code synchronization circuit according to the present invention.
【図2】図1のシンドローム逐次計算回路10の概略構
成を示す図である。FIG. 2 is a diagram showing a schematic configuration of a syndrome sequential calculation circuit 10 of FIG. 1;
【図3】図2のシンドローム逐次計算回路10の符号同
期シーケンスを説明する図である。3 is a diagram illustrating a code synchronization sequence of the syndrome sequential calculation circuit 10 of FIG.
【図4】連続する符号語の特定位置を予め反転した符号
語に対応する符号同期回路10の別の例を示す図であ
る。FIG. 4 is a diagram showing another example of the code synchronization circuit corresponding to a code word obtained by inverting a specific position of a continuous code word in advance.
【図5】本発明の前提となる符号同期回路の概略構成を
説明するブロック図である。FIG. 5 is a block diagram illustrating a schematic configuration of a code synchronization circuit which is a premise of the present invention.
【図6】図5のシンドローム計算回路15の概略構成を
示すブロック図である。FIG. 6 is a block diagram illustrating a schematic configuration of a syndrome calculation circuit 15 of FIG. 5;
【図7】図6のシンドローム計算回路15の符号同期シ
ーケンスを説明する図である。7 is a diagram illustrating a code synchronization sequence of the syndrome calculation circuit 15 in FIG.
10…シンドローム逐次計算回路 11…零検出回路 12…フレーム同期保護回路 13…nクロックカウンタ 21…a個の係数計算回路 22…nクロック遅延回路 31、32…乗算器 33、34…加算器 35…遅延回路 10. Syndrome sequential calculation circuit 11… Zero detection circuit 12 ... Frame synchronization protection circuit 13 ... n clock counter 21 ... a coefficient calculation circuits 22 ... n clock delay circuit 31, 32 ... multiplier 33, 34 ... adder 35 ... Delay circuit
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平11−234252(JP,A) 特開 平3−93317(JP,A) 特開 昭51−113506(JP,A) 特開 平7−115412(JP,A) 特開 平1−272335(JP,A) 特開 平1−274248(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 7/00 H04L 7/08 H03M 13/15 H03M 13/33 H04L 1/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-11-234252 (JP, A) JP-A-3-93317 (JP, A) JP-A-51-113506 (JP, A) JP-A-7- 115412 (JP, A) JP-A-1-272335 (JP, A) JP-A-1-274248 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 7/00 H04L 7 / 08 H03M 13/15 H03M 13/33 H04L 1/00
Claims (5)
立する符号同期回路において、 受信データ列が生成多項式で割られた乗余のシンドロー
ム多項式の係数が零になる位置より符号語の分け目を判
断し符合同期を確立する零検出回路と、 クロックtの瞬間の受信多項式に対して1クロック経過
後の受信多項式に関するシンドローム多項式の係数を前
記データ列のビット入力毎に逐次求め、前記零検出回路
に出力するシンドローム逐次計算回路とを備え、 前記シンドローム逐次計算回路は、 受信データ列のビット入力に対してnクロックの遅延を
与えるnクロック遅延回路と、 前記クロック遅延回路を通過したnクロック前に入力し
た受信データ、前記シンドローム多項式の最上位係数を
入力し、前記シンドローム多項式の係数を形成する複数
の係数計算回路とを有し、 さらに、各前記係数計算回路は、 前記シンドローム多項式の最上位係数に第1の既知係数
を乗算する第1の乗算器と、 nクロック前に入力した前記受信データに第2の既知係
数を乗算する第2の乗算器と、 各前記係数回線回路の入力に前記第1の乗算器の出力を
加算する第1の加算器と、 前記第1の加算器の出力に第2の乗算器の出力を加算す
る第2の加算器と、 前記第2の加算器の出力を1クロックだけ遅延する遅延
器とを含み、前記遅延器の出力が上位の前記係数計算回
路の入力に接続されることを特徴とする 符号同期回路。In a code synchronization circuit for establishing code synchronization of a code word using a cyclic code, a code word division is performed from a position at which a coefficient of a syndrome polynomial of a modular exponentiation obtained by dividing a received data sequence by a generator polynomial becomes zero. establishing was consistent synchronization determines a zero detection circuit, sequentially obtains the coefficients of the syndrome polynomial in the received polynomial after one clock has elapsed relative to the moment of reception polynomial clock t for each bit input of said data string, said zero detection circuit
Bei example a syndrome sequential calculation circuit outputs to said syndrome sequential calculation circuit, a delay of n clock with respect to the bit inputs of the received data sequence
An input n clock delay circuit, and input n clocks before the clock passed through the clock delay circuit.
Received data, the highest order coefficient of the syndrome polynomial
Input and form a plurality of coefficients of the syndrome polynomial
And each of the coefficient calculation circuits includes a first known coefficient as a highest-order coefficient of the syndrome polynomial.
A first multiplier for multiplying the received data by n second clocks
A second multiplier for multiplying the number, and an output of the first multiplier to an input of each of the coefficient line circuits.
A first adder to be added, and an output of a second multiplier added to an output of the first adder.
A second adder, and a delay for delaying the output of the second adder by one clock
And the output of the delay unit is a higher-order coefficient calculation circuit.
A code synchronization circuit, which is connected to an input of a path .
受信多項式に関するシンドローム多項式の各係数S
i,t−1は、 前記シンドローム多項式の最上位係数Sa−1,t、前
記nクロック遅延回路の出力Rt+(n−1)、第1の
既知係数Bi、第2の既知係数Ciとすると、 Si,t−1=Sa−1,t・Ci+Si−1,t+R
t+(n−1)・Bi (iは1以上a−1以下の整数) S0,t−1=Sa−1,t・C0+Rt−1+R
t+(n−1)・B0 (iは0) の漸化式で表されることを特徴とする、請求項1に記載
の符号同期回路。2. Each coefficient S of a syndrome polynomial relating to a reception polynomial after one clock of the coefficient calculation circuit has elapsed.
i, t−1 are the highest order coefficient S a−1, t of the syndrome polynomial, the output R t + (n−1) of the n clock delay circuit, the first known coefficient B i , and the second known coefficient C Assuming that i , S i, t−1 = S a−1, t · C i + S i−1, t + R
t + (n−1) · B i (i is an integer of 1 or more and a−1 or less) S 0, t−1 = S a−1, t · C 0 + R t−1 + R
2. The code synchronization circuit according to claim 1, wherein the code synchronization circuit is represented by a recurrence formula of t + (n−1) · B 0 (i is 0).
れ、nクロックカウンタは、シンドローム逐次計算回路
が使用できない初期化時からnクロック期間、零検出回
路の検出を除外させることを特徴とする、請求項1に記
載の符号同期回路。3. An n-clock counter is further provided.
The n clock counter is a syndrome sequential calculation circuit.
Cannot be used for n clock periods from the time of initialization
2. The code synchronization circuit according to claim 1, wherein detection of a road is excluded .
特徴とする、請求項1に記載の符号同期回路。 4. The method according to claim 1, wherein the cyclic code is a BCH code.
Wherein, the code synchronization circuit according to claim 1.
に置換し、前記シンドローム判定回路は、特定位置で予
め反転して送出される連続符号語のシンドローム多項式
の各係数を予め求めておき、前記シンドローム逐次計算
回路で計算されたシンドローム列を前記係数と比較し、
一致する場所を符号語の切れ目として判定して同期を確
立することを特徴とする、請求項1に記載の符号同期回
路。 5. The syndrome detecting circuit according to claim 5, wherein said zero detecting circuit is a syndrome judging circuit.
And the syndrome determination circuit predicts at a specific position.
Syndrome code polynomials for consecutive codewords
Are calculated in advance, and the syndrome is sequentially calculated.
Comparing the syndrome sequence calculated by the circuit with the coefficient,
Judgment of matching locations as code word breaks to ensure synchronization
Characterized by standing, code synchronization circuit according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32970099A JP3512690B2 (en) | 1999-11-19 | 1999-11-19 | Code synchronization circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32970099A JP3512690B2 (en) | 1999-11-19 | 1999-11-19 | Code synchronization circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001148689A JP2001148689A (en) | 2001-05-29 |
| JP3512690B2 true JP3512690B2 (en) | 2004-03-31 |
Family
ID=18224298
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32970099A Expired - Fee Related JP3512690B2 (en) | 1999-11-19 | 1999-11-19 | Code synchronization circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3512690B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3350023B2 (en) | 2000-03-30 | 2002-11-25 | 日本電気株式会社 | Interleave synchronization apparatus and method for wireless communication system |
| JP2003078421A (en) * | 2001-09-04 | 2003-03-14 | Canon Inc | Code sequence head position detection method and apparatus, decoding method using the same, and apparatus therefor |
-
1999
- 1999-11-19 JP JP32970099A patent/JP3512690B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001148689A (en) | 2001-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Lee | High-speed VLSI architecture for parallel Reed-Solomon decoder | |
| JP3233860B2 (en) | Reed-Solomon decoder | |
| US5440570A (en) | Real-time binary BCH decoder | |
| US6128766A (en) | High speed cyclic redundancy check algorithm | |
| JPH0728227B2 (en) | Decoding device for BCH code | |
| KR970004515B1 (en) | Error Position Polynomial Calculation Method and Apparatus of Reed-Solomon Decoder | |
| KR100260415B1 (en) | High speed serial error position polynomual calculation circuit | |
| JPH07202723A (en) | Decoder, error detection sequence generator that is used for it and decoding method | |
| US4592054A (en) | Decoder with code error correcting function | |
| CN1653699B (en) | Method of soft-decision decoding of reed-solomon codes | |
| JP3512690B2 (en) | Code synchronization circuit | |
| JP3279624B2 (en) | 1-bit error correction circuit based on CRC operation | |
| US7539918B2 (en) | System and method for generating cyclic codes for error control in digital communications | |
| US20020042804A1 (en) | Parallel processing syndrome calculating circuit and reed-solomon decoding circuit | |
| JP3398560B2 (en) | Shortened error correction decoding device | |
| CA1314995C (en) | Method and apparatus for decoding reed-solomon code | |
| JP2002530002A (en) | Fast precomputation circuit and method for finding error locator polynomial roots in Reed-Solomon decoder | |
| Lee | A VLSI design of a high-speed Reed-Solomon decoder | |
| JP2001251196A (en) | Reed-Solomon decoding method and Reed-Solomon decoding device | |
| JP2797569B2 (en) | Euclidean circuit | |
| JP3099890B2 (en) | Error correction device for BCH code | |
| KR100335482B1 (en) | Error correcting system | |
| JPS6394720A (en) | Decoding circuit for error correction code | |
| JP2678093B2 (en) | Decoding circuit | |
| JP3230888B2 (en) | Euclidean circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040105 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040107 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080116 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090116 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090116 Year of fee payment: 5 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090116 Year of fee payment: 5 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100116 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110116 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |