JP2550755B2 - Bit synchronization judgment circuit - Google Patents
Bit synchronization judgment circuitInfo
- Publication number
- JP2550755B2 JP2550755B2 JP2163817A JP16381790A JP2550755B2 JP 2550755 B2 JP2550755 B2 JP 2550755B2 JP 2163817 A JP2163817 A JP 2163817A JP 16381790 A JP16381790 A JP 16381790A JP 2550755 B2 JP2550755 B2 JP 2550755B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- data
- output
- input data
- comparison
- 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
Links
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 4
- 230000003111 delayed effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はPCMビットストリーム信号のビット同期回路
に使用されるビット同期判定回路に関するものである。The present invention relates to a bit synchronization determination circuit used in a bit synchronization circuit for a PCM bit stream signal.
従来、この種のビット同期判定回路は、独立したビッ
ト同期判定回路と、バイフェーズ(Biφ)コードアンビ
ギュイティ回路とから構成されている。ビット同期判定
回路は、アナログ回路で構成され、シンボルタイミング
と内部クロックの位相とが合致する数を積分し、コンパ
レータを通して判定していた。Biφコードアンビギュイ
ティ回路は、ディジタル回路で構成され、1ビット間の
前半の1/2シンボルデータと後半の1/2シンボルデータが
同じシンボルの状態としてある程度続くと、内部クロッ
クを反転させて、同期アンビギュイティを除去してい
た。Conventionally, this type of bit synchronization determination circuit is composed of an independent bit synchronization determination circuit and a bi-phase (Biφ) code ambiguity circuit. The bit synchronization determination circuit is composed of an analog circuit, and integrates the number of coincidence of the symbol timing and the phase of the internal clock, and makes a determination through a comparator. The Biφ code ambiguity circuit is composed of a digital circuit, and when the first half 1/2 symbol data and the latter half 1/2 symbol data in one bit continue as the same symbol state to some extent, the internal clock is inverted, Sync ambiguity was removed.
上述した従来のビット同期判定回路は、独立したビッ
ト同期判定回路と、Biφコードアンビギュイティ回路と
が必要なこと、しかも、Biφコード時にデータ内容によ
っては、1ビットのデータ区間を誤って検出したにもか
かわらず、ビットのロック判定をすることがあるという
欠点があった。The above-mentioned conventional bit synchronization determination circuit requires an independent bit synchronization determination circuit and a Biφ code ambiguity circuit. Moreover, depending on the data content at the time of the Biφ code, a 1-bit data section is erroneously detected. Nevertheless, there is a drawback in that bit locking may be determined.
本発明のビット同期判定回路は、入力データをシンボ
ル周期の半周期遅れて出力するレジスタと、前記入力デ
ータがNRZデータであるとき前記入力データをそのまま
出力し前記入力データがバイフェーズデータであるとき
前記入力データを反転して出力するバッファと、このバ
ッファの出力及び前記レジスタの出力を入力する加算回
路と、前記入力データの同期クロックの周期の前半では
前記加算回路の出力データの絶対値をとり負符号をつけ
て出力し後半では前記加算回路の出力データの絶対値を
とり出力する演算回路と、この演算回路が出力したデー
タをあらかじめ定めた期間加算する積分回路と、この積
分回路の出力データとあらかじめ定めた第1のしきい値
とを比較した比較結果を前記同期クロックの同期/非同
期を示す情報として出力する第1の比較回路と、前記積
分回路の出力データとあらかじめ定めた第2のしきい値
とを比較する第2の比較回路と、この第2の比較回路の
比較結果に基づき前記同期クロックを反転してバイフェ
ーズデータのコードアンビギュイティを除去する論理回
路とを備えている。The bit synchronization determination circuit of the present invention includes a register that outputs input data with a delay of half a symbol cycle, and outputs the input data as it is when the input data is NRZ data and when the input data is biphase data. A buffer that inverts and outputs the input data, an adder circuit that inputs the output of the buffer and the output of the register, and an absolute value of the output data of the adder circuit in the first half of the cycle of the synchronization clock of the input data. An arithmetic circuit that outputs with a minus sign and outputs the absolute value of the output data of the adder circuit in the latter half, an integrating circuit that adds the data output by this arithmetic circuit for a predetermined period, and the output data of this integrating circuit And a predetermined first threshold value are compared, and a comparison result is output as information indicating the synchronization / asynchronization of the synchronization clock. And a second comparison circuit for comparing the output data of the integration circuit with a predetermined second threshold, and the synchronous clock based on the comparison result of the second comparison circuit. And a logic circuit for inverting and eliminating code ambiguity of biphase data.
前記演算回路はROM演算回路であってもよい。 The arithmetic circuit may be a ROM arithmetic circuit.
次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of an embodiment of the present invention.
第1図において、1は入力信号用のレジスタ回路、2
は3−ステートバッファ回路、3は3−ステート反転バ
ッファ回路、4は反転回路、5は前後半シンボルの加算
回路、6はROM演算回路、7は積分用の加算回路、8は
クリア付きのレジスタ回路、9はLOCK判定用の比較回
路、10はBiφコードアンビギュィティ判定用の比較回
路、11はステータス出力用のレジスタ回路、12はn分周
器、13は排他的論理回路である。In FIG. 1, 1 is a register circuit for input signals, 2
Is a 3-state buffer circuit, 3 is a 3-state inversion buffer circuit, 4 is an inversion circuit, 5 is an adder circuit for the former and latter half symbols, 6 is a ROM operation circuit, 7 is an adder circuit for integration, and 8 is a register with clear. A circuit, 9 is a comparison circuit for LOCK judgment, 10 is a comparison circuit for Biφ code ambiguity judgment, 11 is a register circuit for status output, 12 is an n frequency divider, and 13 is an exclusive logic circuit.
第2図(a)及び(b)は第1図の実施例で入力され
たPCM信号がNRZデータである場合のアンロック時及びロ
ック時のタイミングチャート、第2図は(c)及び
(d)は同じくバイフェーズデータである場合のアンロ
ック時及びロック時のフローチャートである。FIGS. 2 (a) and 2 (b) are timing charts when unlocked and locked when the PCM signal input in the embodiment of FIG. 1 is NRZ data, and FIGS. 2 (c) and (d). ) Is a flowchart at the time of unlocking and locking at the same time when it is bi-phase data.
入力されたPCM信号は、2倍の内部クロック信号の立
ち上がりでレジスタ1でラッチされる。この前半のデー
タ出力と、NRZ信号の場合は3−ステートバッファ2
を、Biφ信号の場合は3−ステートバッファ3を通した
後半のデータ出力とを加算器5にて加算する。この加算
結果の絶対値をROM演算器6で求める。The input PCM signal is latched in the register 1 at the rising edge of the doubled internal clock signal. Data output in the first half and 3-state buffer 2 for NRZ signals
In the case of the Biφ signal, the adder 5 adds the latter half data output through the 3-state buffer 3. The absolute value of this addition result is obtained by the ROM calculator 6.
さて、NRZデータにおいて、データが0,1,0,1,0,1……
のようにすべてデータ変化がある時を考えると、0の後
半データB0と次の1の前半データA1を加算すると結果は
0となる。このように、データの境目の両側の後半デー
タと前半データを加算して絶対値を取った比較データC
と、データ区間の中にある前半データと後半データを加
算した正規のシンポルデータSをnシンボル間にわたっ
て加算していくと、 S=|A0+B0|+|A1+B1|+|A0+B0|+… =n・K(|A0+B0|=|A1+B1|=Kとする) C=|B0+A1|+|B1+A0|+|B0+A1|+… =0(|B0+A1|=|B1+A0|=0より) となる。A0、B0、A1、B1の定義については第3図を参照
のこと。Now, in the NRZ data, the data is 0,1,0,1,0,1 ……
Assuming that there is a data change as described above, the result becomes 0 when the latter half data B0 of 0 and the first half data A1 of the next 1 are added. In this way, the comparison data C obtained by adding the second half data and the first half data on both sides of the data boundary to obtain the absolute value
Then, when the normal symbol data S obtained by adding the first half data and the second half data in the data section are added over n symbols, S = | A0 + B0 | + | A1 + B1 | + | A0 + B0 | + ... = n K (| A0 + B0 | = | A1 + B1 | = K) C = | B0 + A1 | + | B1 + A0 | + | B0 + A1 | + ... = 0 (| B0 + A1 | = | B1 + A0 | = 0). See Figure 3 for definitions of A0, B0, A1 and B1.
ここで、加算回路5がCの各項を出力しているとき、
すなわち同期クロックのハイレベル時に、ROM演算回路
6で2の補数を取ることにより、積分用の加算器7の出
力は“S−C"となりn分周期12が同期クロックをn分周
してレジスタ8をクリアする直前には、レジスタ8の内
容は S−C=|A0+B0|−|B0+A1|+|A1+B1| =n・K となる。Here, when the adder circuit 5 outputs each term of C,
That is, when the synchronous clock is at a high level, the output of the adder 7 for integration becomes "S-C" by taking the 2's complement in the ROM arithmetic circuit 6, and the n-minute cycle 12 divides the synchronous clock by n and registers. Immediately before 8 is cleared, the contents of register 8 are SC = | A0 + B0 |-| B0 + A1 | + | A1 + B1 | = nK.
S−Cの値はデータ変化の割合(データトランジショ
ンデンシティ)が低くなるに従って小さくなるが、ある
程度トランジションがあれば、S−Cの値をスレッショ
ルド値と比較することにより、ビット同期の判定ができ
る。The value of S-C becomes smaller as the rate of data change (data transition density) becomes lower, but if there is a certain degree of transition, it is possible to determine bit synchronization by comparing the value of S-C with the threshold value.
そこで、S−Cをnシンボル区間積分した後のレジス
タ8の出力とあらかじめ設定したビット・ロックスレッ
ショルド値を比較器9で比較してビット同期のロック判
定を行なっている。Therefore, the comparator 9 compares the output of the register 8 after integrating S-C for n symbol intervals with a preset bit lock threshold value to make a bit synchronization lock determination.
Biφデータの場合も、NRZデータと同様にしてロック
判定が行なえる。Biφデータが1/2シンボルずれてロッ
クしていると、S−Cの値がマイナスとなるので、この
ことを利用してBiφコードアンビギュイティを除去する
ことができる。まず、レジスタ8の出力をBiφのアンビ
ギュイティ除去用のあらかじめ設定したマイナスのスレ
ッショルド値と比較器10にて比較して、Biφデータの擬
似ロック状態を判定する。擬似ロックが判定されると、
シンボルクロックのタイミングを排他的論理回路13にて
反転させ、見かけ上1/2シンボルだけずらして正常なロ
ック状態とする。この方式により、ビット・ロック判定
と同時にバイフェーズ時のアンビギュイティを除去を行
うことができる。In the case of Biφ data as well, lock determination can be performed in the same manner as NRZ data. If the Biφ data is locked by shifting by 1/2 symbol, the value of S−C becomes negative, and this can be used to remove the Biφ code ambiguity. First, the comparator 10 compares the output of the register 8 with a preset negative threshold value for removing the ambiguity of Biφ by the comparator 10 to determine the pseudo-lock state of Biφ data. When the pseudo lock is determined,
The exclusive clock circuit 13 inverts the timing of the symbol clock, and apparently shifts by 1/2 symbol to obtain a normal locked state. With this method, it is possible to remove the ambiguity during the bi-phase simultaneously with the bit lock determination.
以上説明したように本発明は、1シンボル中にある前
半の1/2シンボルデータと後半の1/2シンボルデータを加
算して絶対値を取った正規のシンボルデータと、データ
の境目の両側の後半シンボルの境目を中心に前シンボル
の後半の1/2シンボルデータと後シンボルの前半の1/2シ
ンボルデータを加算して絶対値を取った比較データとの
差のデータをあるシンボル間にわたって加算し、第1の
しきい値と比較することによりビット同期の判定がで
き、さらにビット同期を判定するために必要な各回路に
第2の比較回路及び同期クロックを反転する論理回路を
付加するだけでBiφコード時にはコードアンビギュイテ
ィの除去が同時に行えるという効果がある。As described above, according to the present invention, the normal symbol data obtained by adding the former half symbol data and the latter half symbol data in one symbol to obtain the absolute value, and Add the difference data between the half symbol data of the former symbol and the half symbol data of the latter half of the latter symbol and the comparison data that is the absolute value by adding the half symbol data of the latter symbol centered around the boundary of the latter symbol Then, the bit synchronization can be determined by comparing with the first threshold value, and only the second comparison circuit and the logic circuit which inverts the synchronization clock are added to each circuit necessary for determining the bit synchronization. At the time of Biφ code, there is an effect that code ambiguity can be removed at the same time.
第1図は本発明の一実施例を示すブロック図、 第2図(a)及び(b)は第1図の実施例で入力された
PCM信号がNRZデータである場合のアンロック時及びロッ
ク時のタイミングチャート、第2図(c)及び(d)は
同じくバイフェースデータである場合のアンロック時及
びロック時のタイミングチャート、第3図は第1図の実
施例におけるA0,B0,A1,B1の定義を説明するための図で
ある。 1……レジスタ回路、2……3−ステートバッファ回
路、3……3−ステート反転バッファ回路、4……反転
回路、5……加算回路、6……ROM演算回路、7……加
算回路、8……レジスタ回路、9,10……比較回路、11…
…レジスタ回路、12……n分周回路、13……排他的論理
和回路。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2 (a) and 2 (b) are input in the embodiment of FIG.
Timing charts for unlocking and locking when the PCM signal is NRZ data, FIGS. 2 (c) and 2 (d) are timing charts for unlocking and locking when bi-phase data are used, and FIG. The figure is a diagram for explaining the definitions of A0, B0, A1, and B1 in the embodiment of FIG. 1 ... Register circuit, 2 ... 3-state buffer circuit, 3 ... 3-state inversion buffer circuit, 4 ... Inversion circuit, 5 ... Addition circuit, 6 ... ROM operation circuit, 7 ... Addition circuit, 8 ... Register circuit, 9,10 ... Comparison circuit, 11 ...
… Register circuit, 12 …… n frequency divider circuit, 13 …… Exclusive OR circuit.
Claims (2)
出力するレジスタと、前記入力データがNRZデータであ
るとき前記入力データをそのまま出力し前記入力データ
がバイフェーズデータであるとき前記入力データを反転
して出力するバッファと、このバッファの出力及び前記
レジスタの出力を入力する加算回路と、前記入力データ
の同期クロックの周期の前半では前記加算回路の出力デ
ータの絶対値をとり負符号をつけて出力し後半では前記
加算回路の出力データの絶対値をとり出力する演算回路
と、この演算回路が出力したデータをあらかじめ定めた
期間加算する積分回路と、この積分回路の出力データと
あらかじめ定めた第1のしきい値とを比較した比較結果
を前記同期クロックの同期/非同期を示す情報として出
力する第1の比較回路と、前記積分回路の出力データと
あらかじめ定めた第2のしきい値とを比較する第2の比
較回路と、この第2の比較回路の比較結果に基づき前記
同期クロックを反転してバイフェーズデータのコードア
ンビギュイティを除去する論理回路とを備えたことを特
徴とするビット同期判定回路。1. A register for outputting input data delayed by a half cycle of a symbol period, the input data being output as it is when the input data is NRZ data, and the input data being output when the input data is biphase data. A buffer that inverts and outputs, an adder circuit that inputs the output of this buffer and the output of the register, and in the first half of the cycle of the synchronous clock of the input data, the absolute value of the output data of the adder circuit is taken and a negative sign is added. In the latter half, an arithmetic circuit that takes the absolute value of the output data of the adder circuit and outputs it, an integrating circuit that adds the data output by this arithmetic circuit for a predetermined period, and the output data of this integrating circuit and the predetermined value A first comparison circuit that outputs a comparison result obtained by comparing the first threshold value as information indicating synchronization / asynchronization of the synchronization clock. And a second comparison circuit that compares the output data of the integration circuit with a predetermined second threshold value, and the synchronous clock is inverted based on the comparison result of the second comparison circuit to generate the biphase data. And a logic circuit for removing the code ambiguity of the bit synchronization determination circuit.
特徴とする請求項1記載のビット同期判定回路。2. The bit synchronization determination circuit according to claim 1, wherein the arithmetic circuit is a ROM arithmetic circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2163817A JP2550755B2 (en) | 1990-06-21 | 1990-06-21 | Bit synchronization judgment circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2163817A JP2550755B2 (en) | 1990-06-21 | 1990-06-21 | Bit synchronization judgment circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0454036A JPH0454036A (en) | 1992-02-21 |
JP2550755B2 true JP2550755B2 (en) | 1996-11-06 |
Family
ID=15781290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2163817A Expired - Lifetime JP2550755B2 (en) | 1990-06-21 | 1990-06-21 | Bit synchronization judgment circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2550755B2 (en) |
-
1990
- 1990-06-21 JP JP2163817A patent/JP2550755B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0454036A (en) | 1992-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5974097A (en) | Method and apparatus for receiving a data signal and a digital filter circuit | |
US5056114A (en) | Method and apparatus for decoding Manchester encoded data | |
US5550878A (en) | Phase comparator | |
JP2550755B2 (en) | Bit synchronization judgment circuit | |
US4486715A (en) | Frequency shift key demodulator | |
JPH0590970A (en) | Cmi encoder circuit | |
JPS62183247A (en) | Phase modulation signal demodulation method | |
JPS5895447A (en) | Clock regenerating circuit | |
JP2927278B2 (en) | Discontinuous signal interpolation circuit | |
JPH0738535A (en) | Noise removal circuit | |
JP2981356B2 (en) | Bi-phase data decoding circuit | |
JPS6124853B2 (en) | ||
KR100370279B1 (en) | Digital data phase detector | |
WO1998004042A1 (en) | Digital phase locked loop | |
CA1314999C (en) | Method and apparatus for decoding manchester encoded data | |
JPS623497B2 (en) | ||
JPH09200192A (en) | Bit synchronization discrimination circuit | |
JPH0531973B2 (en) | ||
JPS6352521A (en) | Cmi decoding circuit | |
JPH09331321A (en) | Synchronization circuit | |
JPH05122206A (en) | Synchronization clock signal reproduction method | |
JPH0479501B2 (en) | ||
JPH0573271A (en) | Divider circuit | |
JPH0486048A (en) | Frame synchronization detecting circuit | |
JPS6199437A (en) | Synchronous state discriminating device |