JPH04180318A - Method and circuit for synchronization protection - Google Patents

Method and circuit for synchronization protection

Info

Publication number
JPH04180318A
JPH04180318A JP2308199A JP30819990A JPH04180318A JP H04180318 A JPH04180318 A JP H04180318A JP 2308199 A JP2308199 A JP 2308199A JP 30819990 A JP30819990 A JP 30819990A JP H04180318 A JPH04180318 A JP H04180318A
Authority
JP
Japan
Prior art keywords
synchronization
signal
output
circuit
synchronous
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
JP2308199A
Other languages
Japanese (ja)
Inventor
Kikuo Sudo
須藤 喜久夫
Yuji Fukunaga
福永 裕司
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 JP2308199A priority Critical patent/JPH04180318A/en
Publication of JPH04180318A publication Critical patent/JPH04180318A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To always detect a synchronous error by identifying whether an input signal is a synchronous code word or not, and holding cumulatively or deleting the number of times of the reception of a normal synchronous code word and the number of times of the detection of an abnormal synchronous signal in conformity to a predetermined multiplying factor. CONSTITUTION:A transmitted signal is inputted to a code identifying part 21 by the ratio of one bit to every 193 bits. In accordance with whether said signal is a synchronous bit or not, the signal of a high level when the synchronous bit or the signal of a low level when of asynchronous bit is outputted from a synchronous code word identifying circuit 21a. In the case that the signal outputted from the circuit 21a is outputted as a high level signal and a low level signal at random, right shift is every one bit, and on the contrary, left shift is every two bits. Then, time when asynchronous bit is detected and all the signals outputted from a protecting part 23 are turned into the low level is earlier than the time when the synchronous bits are detected continuously, and asynchronism can easily be detected.

Description

【発明の詳細な説明】 〔概要〕 ディジタル搬送装置等に用いられる同期保護方法および
同期保護回路に関し、 同期外れが同期確立と交互に生じるような信号入力にお
いても同期エラー検出てきるようにすることを目的とし
、 入力信号が同期符号か否かを識別し、正常な同期符号を
受信した回数と異常な同期信号を検出した回数とを、予
め決められた倍率に従って累積保持または削除して、偶
然の一致に対する判定を直ちに出力に結びつけることか
ら保護する冗長度を与えるとともにそれら保持された回
数の比率によって同期が確立したか同期が外れたかを判
定して、その結果を信号出力するような構成の方法およ
び装置としたものである。
[Detailed Description of the Invention] [Summary] Regarding a synchronization protection method and a synchronization protection circuit used in a digital conveyance device, etc., an object of the present invention is to detect a synchronization error even in a signal input in which synchronization loss occurs alternately with synchronization establishment. The purpose of this method is to identify whether an input signal is a synchronization code or not, and cumulatively store or delete the number of times a normal synchronization code is received and the number of times an abnormal synchronization signal is detected according to a predetermined multiplier. The configuration provides redundancy to protect the judgment of the match from being immediately linked to the output, and also determines whether synchronization has been established or lost the synchronization based on the ratio of the number of times held, and outputs the result as a signal. A method and apparatus.

〔産業上の利用分野 〕[Industrial application field]

本発明は、ディジタル搬送装置等に用いられる同期保護
方法および同期保護回路に関する。
The present invention relates to a synchronization protection method and a synchronization protection circuit used in digital conveyance devices and the like.

〔従来の技術 〕 従来のディジタル搬送装置における同期保護回路は、第
3図に示すように、識別部1と、保護部2と、出力部3
に分けられている。
[Prior Art] As shown in FIG. 3, a synchronization protection circuit in a conventional digital conveyance device includes an identification section 1, a protection section 2, and an output section 3.
It is divided into

識別部1は、入力した信号をチエツクして193ビツト
毎に1ビット送られてくる同期ビットであればハイレベ
ルで出力し、同期ビットでなければローレベルで出力す
る同期符号識別回路4を形成している。
The identification unit 1 forms a synchronization code identification circuit 4 which checks the input signal and outputs it at a high level if it is a synchronization bit sent every 193 bits, and outputs it at a low level if it is not a synchronization bit. are doing.

保護部2は、識別部1の出力から連続m(図中てはm=
2)回のハイレベル符号が検出された場合を同期符号と
判定し、連続n(図中ではn=4)回のハイレベル符号
が検出された場合を同期エラーと判定する判定回路5を
形成している。
The protection unit 2 continues from the output of the identification unit 1 by m (in the figure, m=
2) Forms a determination circuit 5 that determines a synchronization code when a high-level code is detected, and determines a synchronization error when a high-level code is detected n consecutive times (n=4 in the figure). are doing.

出力部3は、保護部2の判定結果より同期を確立した場
合にはハイレベルの信号を出力し、同期外れの場合には
ローレベルの信号を出力する出力回路6を形成している
The output section 3 forms an output circuit 6 that outputs a high-level signal when synchronization is established based on the determination result of the protection section 2, and outputs a low-level signal when synchronization is lost.

判定回路5には、(テキサスインストルメント社製シフ
トレジスタ5N74179等の)一方向シフトレジスタ
5aと、ハイレベル出力端(Ql 、Q2.Q3.Q、
’)の始めから2つの端子から出される出力信号を入力
し、それらの論理積を反転して出力するNANDu路に
よって形成した前方保護回路5bと、ローレベル出力端
(回89回21回、1回、)の始めから4つの端子から
出される出力信号を入力し、それらの論理積を反転して
出力するNAND回路によって形成した後方保護回路5
cを備えている。
The determination circuit 5 includes a one-way shift register 5a (such as shift register 5N74179 manufactured by Texas Instruments) and high-level output terminals (Ql, Q2.Q3.Q,
The forward protection circuit 5b is formed by a NANDu path that inputs the output signals output from two terminals from the beginning of the terminal ('), inverts their logical product, and outputs the result. Rearward protection circuit 5 formed by a NAND circuit that inputs output signals output from four terminals from the beginning of times, ), inverts the logical product of these, and outputs the result.
It is equipped with c.

出力回路6には、2つのNAND回路6a。The output circuit 6 includes two NAND circuits 6a.

6bを備え、前方保護回路5bの出力信号なNAND回
路6aの入力端の一方に入力させ、後方保護回路5cの
出力信号をNAND回路6bの入力端の一方に入力させ
、各NAND回路6a。
6b, the output signal of the forward protection circuit 5b is inputted to one input terminal of the NAND circuit 6a, and the output signal of the rear protection circuit 5c is inputted to one input terminal of the NAND circuit 6b.

6bの入力端の他方には他方のNAND回路6b、6a
の出力信号を入力させるように形成し、NAND回路6
aの出力信号を同期が確立されたか同期外れになったか
の確定信号として出力する。
The other NAND circuit 6b, 6a is connected to the other input terminal of 6b.
is formed so as to input the output signal of the NAND circuit 6.
The output signal of a is output as a confirmation signal indicating whether synchronization has been established or synchronization has been lost.

この装置による同期保護は、同期符号識別回路4にディ
ジタル信号(第4図の(a)に示す)が入力されると、
193ビツト毎に1ビツトのハイレベル信号を同期ビッ
トとして同期符号識別回路4からハイレベルの信号を出
力する(その出力信号列を第4図の(b)に示す)。そ
して、偶然の符号一致があった場合に、その符号を同期
符号と判定することを防ぐために前方保護回1i:85
bて2回連続して同期信号が検出された時に同期確立し
たと見做し、後方保護回路5cで4回連続して同期エラ
ーが検出された時に同期外れと見做す信号が出力部6か
ら出される。
The synchronization protection by this device is implemented when a digital signal (shown in FIG. 4(a)) is input to the synchronization code identification circuit 4.
A high level signal of 1 bit every 193 bits is used as a synchronization bit, and a high level signal is output from the synchronization code identification circuit 4 (the output signal sequence is shown in FIG. 4(b)). If there is an accidental code match, the forward protection circuit 1i:85 is used to prevent the code from being determined to be a synchronous code.
When a synchronization signal is detected twice in a row, it is assumed that synchronization has been established, and when a synchronization error is detected four times in a row in the rear protection circuit 5c, a signal is sent to the output section 6. Served from.

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

上記従来の同期保護回路では、同期とウド連続検出回数
mが同期連続エラー検出回数nよりも小さい(mくn)
ため、実際には同期が外れたにもかかわらずn回中に1
回でも同期符号と一致する符号が受信された場合には、
同期外れの検出が遅れることになるか、あるいはまた長
時間検出されないことがあるという問題点があった。
In the conventional synchronization protection circuit described above, the number of consecutive detections of synchronization and overload, m, is smaller than the number of consecutive synchronization error detections, n (m x n).
Therefore, even though the synchronization was actually lost, 1 out of n times
If a code matching the synchronization code is received at any time,
There is a problem in that detection of out-of-synchronization may be delayed or may not be detected for a long time.

本発明は、上記問題点に鑑みて成されたものであり、そ
の解決を目的として設定される技術的課題は、同期外れ
が同期確立と交互に生じるような信号入力においても同
期エラー検出する同期保護方法および同期保護回路を提
供することにある。
The present invention has been made in view of the above-mentioned problems, and the technical problem set to solve the problem is to provide a synchronization system that detects synchronization errors even in signal inputs where synchronization failures occur alternately with synchronization establishments. An object of the present invention is to provide a protection method and a synchronization protection circuit.

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

本発明は、上記課題を解決するための具体的な手段とし
て、第1図に示すように、同期保護方法を構成するにあ
たり、入力信号が同期符号か否かを識別し、正常な同期
符号を受信した回数と異常な同期信号を検出した回数と
を、予め決められた倍率に従って累積保持または削除し
て、偶然の一致に対する判定を直ちに出力に結びつける
ことから保護する冗長度を与えるとともにそれら保持さ
れた回数の比率によって同期が確立したか同期が外れた
かを判定し、その結果を信号出力することにしたもので
ある。
As a specific means for solving the above problems, the present invention, as shown in FIG. The number of times an abnormal synchronization signal has been received and the number of times an abnormal synchronization signal has been detected are cumulatively retained or deleted according to a predetermined multiplication factor to provide redundancy that protects from immediately linking a determination of a coincidence to an output, and to provide a redundancy that protects the number of times an abnormal synchronization signal has been detected and the number of times an abnormal synchronization signal has been detected. It was decided whether synchronization was established or lost based on the ratio of the number of times the synchronization was performed, and the result was output as a signal.

この方法を実現する装置としては、入力信号が同期符号
か否かを識別する符号識別部11と、保持されている正
常または異常な同期信号を予め決められた倍率に従って
累積保持または削除させる回数更新制御部12と、正常
な同期符号を受信した回数を保持する同期回数保持手段
13aおよび異常な同期信号を検出した回数を保持する
非同期回数保持手段13bとを有して同期符号の偶然の
一致に対する判定を直ちに結果の出力に結びつけること
から保護する冗長度を与える保護部13と、その保護部
13からの出力信号に基づき同期確立の有無を出力する
出力部14とを備えたものである。
Devices that implement this method include a code identification unit 11 that identifies whether an input signal is a synchronization code, and an update count for cumulatively retaining or deleting retained normal or abnormal synchronization signals according to a predetermined multiplier. It has a control unit 12, a synchronization number holding means 13a for holding the number of times a normal synchronization code has been received, and an asynchronous number holding means 13b for holding the number of times an abnormal synchronization signal has been detected. It is provided with a protection section 13 that provides redundancy to protect the determination from being immediately linked to the output of the result, and an output section 14 that outputs whether or not synchronization has been established based on the output signal from the protection section 13.

前記保護部13に設ける同期回数保持手段13aおよび
非同期回数保持手段13bは、オン状態およびオフ状態
によってそれぞれを定義した同一手段によって形成した
ものであっても良い。
The synchronous number holding means 13a and the asynchronous number holding means 13b provided in the protection part 13 may be formed by the same means each defined by an on state and an off state.

この場合において、第2図の実施例図に示すように、前
記回数更新制御部12をシフトクロック発生部22とし
、前記保護部13を双方向シフトレジスタ23aを用い
て形成したものが望ましい。
In this case, as shown in the embodiment diagram of FIG. 2, it is preferable that the frequency update control section 12 is formed by a shift clock generation section 22 and the protection section 13 is formed using a bidirectional shift register 23a.

〔作用〕[Effect]

本発明は上記構成により、符号識別部11によって入力
信号が同期符号か否か調べ、同期符号であれば保護部1
3の同期回数保持手段13aに同期符号の受信回数を回
数更新制御部12の指定に従って保持し、同期信号でな
ければ保護部13の非同期回数保持手段13bにその受
信回数を回数更新制御部12の指定に従って保持させて
、偶然に同期符号と一致したとしても直ちに一致結果を
出力させず、決められた異常と正常の比率に従って判定
し、出力部14からその判定結果を出力させる。
With the above configuration, the present invention checks whether the input signal is a synchronous code by the code identification unit 11, and if it is a synchronous code, the protection unit 1
The number of receptions of the synchronization code is held in the synchronization number holding means 13a of No. 3 in accordance with the specification of the number update control section 12, and the number of reception times of the synchronization code is stored in the asynchronous number holding means 13b of the protection section 13 if it is not a synchronization signal. It is held according to the specification, and even if it coincidentally matches the synchronization code, the matching result is not immediately output, but it is determined according to a predetermined ratio of abnormality and normality, and the determination result is output from the output section 14.

また、同期回数保持手段13aおよび非同期回数保持手
段13bが、オン状態およびオフ状態によって定義した
同一手段によって形成されたものであれば、回数更新制
御部12の指定により、同期符号の受信回数より指定倍
率倍してオンさせ、同期符号でなかった回数より指定倍
率倍してオフさせ、あらかじめ決められたオン状態の数
によって判定する。
Further, if the synchronization number holding means 13a and the asynchronous number holding means 13b are formed by the same means defined by the on state and off state, the number of times of synchronization code reception can be specified by the number update control unit 12. It is turned on by multiplying it by a multiplier, and turned off by multiplying it by a specified multiplier than the number of times it is not a synchronization code, and the determination is made based on the predetermined number of on-states.

また、回数更新制御部12をシフトクロック発生部22
とし、前記保護部13を双方向シフトレジスタ23aに
よって形成したものでは、指定クロック数に従って、双
方向シフトレジスタ23aを同期符号の受信回数にクロ
ック数倍して右シフトするか、または同期符号でなかっ
た回数にクロック数倍して左シフトして、規定の出力端
子より出力された出力信号により判定する。
In addition, the number update control unit 12 is shifted to the clock generation unit 22.
In the case where the protection unit 13 is formed by a bidirectional shift register 23a, the bidirectional shift register 23a is shifted to the right by multiplying the number of clocks by the number of times the synchronization code is received, or if the code is not a synchronization code. The signal is shifted to the left by multiplying the number of clocks by the number of clocks, and the determination is made based on the output signal output from a specified output terminal.

〔実施例 〕〔Example 〕

以下、本発明の実施例として、双方向シフトレジスタを
利用した場合について図示説明する。
Hereinafter, as an embodiment of the present invention, a case where a bidirectional shift register is used will be illustrated and explained.

第2図に実施例装置の構成を示す。FIG. 2 shows the configuration of the embodiment device.

ここに、21は符号識別部であって、入力信号をチエツ
クして、その信号が193ビツト毎に1ビット送られて
くる同期ビットであればハイレベルで信号出力し、同期
ビットでなければローレベルで信号出力する同期符号識
別回路21aと、その同期符号識別回路21aからの出
力信号を反転して左側シフトさせる制御信号として出力
するNOT回路21bとを有する。
Here, 21 is a code identification unit that checks the input signal and outputs a high level signal if the signal is a synchronous bit that is sent every 193 bits, and outputs a low level signal if it is not a synchronous bit. It has a synchronization code identification circuit 21a that outputs a signal at a level, and a NOT circuit 21b that inverts the output signal from the synchronization code identification circuit 21a and outputs it as a control signal to shift it to the left.

22はシフトクロック発生部であって、同期符号の判定
結果に応じてビットシフトさせるクロック信号として、
同期が正常な場合に1つ、また、同期が異常な場合に2
つのパルス信号を出力する。
Reference numeral 22 denotes a shift clock generating section, which generates a clock signal for bit shifting according to the judgment result of the synchronization code.
1 if synchronization is normal, 2 if synchronization is abnormal
Outputs two pulse signals.

23は保護部であって、同期ビットを入力して右にシフ
トし、非同期ビットを入力して左にシフトする双方向シ
フトレジスタ23aを備え、Q1出力端子からの出力信
号と、Q2出力端子からの出力信号なNOT回路23b
で反転した信号とにより同期確立か否かを決定する。
23 is a protection unit, which includes a bidirectional shift register 23a that inputs a synchronous bit and shifts it to the right, and inputs an asynchronous bit and shifts it to the left, and outputs an output signal from the Q1 output terminal and from the Q2 output terminal. The output signal of NOT circuit 23b
Based on the inverted signal, it is determined whether synchronization is established or not.

24は出力部であって、保護部23の2つの出力信号を
入力して、同期確立の場合はハイレベルで信号出力し、
同期外れの場合はローレベルで信号出力する。
24 is an output unit which inputs the two output signals of the protection unit 23 and outputs a signal at a high level when synchronization is established;
If synchronization is lost, a low level signal is output.

シフトクロック発生部22は、クロック信号CLOCK
とそのクロック信号CLOCKの2倍の周波数のクロッ
ク信号2CLKを入力してそれらの論理積を出力するA
ND回路22aと、このAND回路22aの出力信号と
同期符号識別回路21aの出力信号を入力してそれらの
論理積を出力するAND回路22bと、クロック信号C
LOCKとNOT回路21bの出力信号を入力してそれ
らの論理積を出力するAND回路22cと、AND回路
22bとAND回路22cの両川力信号を入力してそれ
らの論理和を出力するOR回路22dを備える。
The shift clock generating section 22 generates a clock signal CLOCK.
A which inputs the clock signal 2CLK with twice the frequency of the clock signal CLOCK and outputs their logical product.
An ND circuit 22a, an AND circuit 22b which inputs the output signal of the AND circuit 22a and the output signal of the synchronization code identification circuit 21a and outputs their AND, and a clock signal C.
An AND circuit 22c inputs the output signals of the LOCK and NOT circuits 21b and outputs their AND, and an OR circuit 22d inputs the Ryokawa power signals of the AND circuits 22b and 22c and outputs their logical sum. Be prepared.

保護部23には、初期状態がすべてローレベル(オール
0)のQ、〜Q8まての8つの出力端子を有する(テキ
サスインストルメント社製シフトレジスタ5N7419
8等の)双方向シフトレジスタ23aと、その双方向シ
フトレジスタ23aのQ2出力端子からの出力信号を反
転して出力するNOT回路23bを備え、双方向シフト
レジスタ23aには、右シフト(SHIFT RIGH
T)入力端子に同期符号識別回路21aの出力信号を入
力し、左シフト(St(IFT LEFT)入力端子に
NOT回路21bの出力信号を入力し、クロック(CL
OCK)入力端子にシフトクロック発生部22からの出
力信号を入力して、Q1出力端子およびQ2出力端子か
ら信号を出力部24側へ出力する。
The protection unit 23 has eight output terminals from Q to Q8 whose initial state is all low level (all 0) (shift register 5N7419 manufactured by Texas Instruments).
The bidirectional shift register 23a includes a bidirectional shift register 23a (such as SHIFT RIGH) and a NOT circuit 23b that inverts and outputs the output signal from the Q2 output terminal of the bidirectional shift register 23a.
T) Input the output signal of the synchronization code identification circuit 21a to the input terminal, input the output signal of the NOT circuit 21b to the left shift (St (IFT LEFT) input terminal, and input the output signal of the NOT circuit 21b to the clock (CL) input terminal.
The output signal from the shift clock generating section 22 is input to the OCK) input terminal, and the signal is output from the Q1 output terminal and the Q2 output terminal to the output section 24 side.

出力部24は、NOT回路23bからの出力信号を入力
するNAND回路24aと、双方向シフトレジスタ23
aのQ1出力端子からの出力信号を入力するNAND回
路24bからなる出力回路を形成する。NAND回路2
4aにはNOT回路21bの出力信号の他にNAND回
路24bの出力信号を入力し、それらの論理積の反転し
た信号を出力する。NAND回路24bには双方向シフ
トレジスタ23aのQ□出力端子からの出力信号の他に
NAND回路24aの出力信号を入力し、それらの論理
積の反転した信号を出力する。
The output section 24 includes a NAND circuit 24a that receives an output signal from the NOT circuit 23b, and a bidirectional shift register 23.
An output circuit consisting of a NAND circuit 24b to which the output signal from the Q1 output terminal of a is input is formed. NAND circuit 2
In addition to the output signal of the NOT circuit 21b, the output signal of the NAND circuit 24b is input to 4a, and a signal obtained by inverting the logical product of these is output. In addition to the output signal from the Q□ output terminal of the bidirectional shift register 23a, the output signal of the NAND circuit 24a is input to the NAND circuit 24b, and a signal obtained by inverting their AND is output.

このように構成した実施例において、伝送されてきた信
号が193ビツト毎に1ビツトの割合で符号識別部21
に入力される。その信号が同期ビットか否かにより、同
期ビットであればハイレベルの信号が、同期ビットでな
ければローレベルの信号が同期符号識別回路21aから
出力される。
In the embodiment configured in this way, the code identification unit 21 receives one bit for every 193 bits of the transmitted signal.
is input. Depending on whether the signal is a synchronization bit or not, a high level signal is output from the synchronization code identifying circuit 21a if it is a synchronization bit, and a low level signal is output if it is not a synchronization bit.

同期符号識別回路21aからハイレベル信号が出力され
た(同期OKの)場合には、双方向シフトレジスタ23
aの右シフト入力端子にハイレベル信号が入力されると
ともに、シフトクロック発生部22からはパルス信号が
1つ出力されてクロック入力端子に入力され、lビウト
右にシフトされて、Q1出力端子からハイレベル信号が
出力される。
When a high level signal is output from the synchronization code identification circuit 21a (synchronization is OK), the bidirectional shift register 23
A high level signal is input to the right shift input terminal of Q1, and one pulse signal is output from the shift clock generating section 22, inputted to the clock input terminal, shifted to the right by 1 bit, and then output from the Q1 output terminal. A high level signal is output.

引続いて出力された信号もハイレベル信号(同期OK)
の場合には、同様にして、1ビツト右にシフトされて、
Q、、Q2出力端子からハイレベル信号が出力される。
The subsequently output signal is also a high level signal (synchronization OK)
In the case of , it is similarly shifted to the right by 1 bit,
A high level signal is output from the Q, , Q2 output terminals.

これらの出力信号は出力部24に送信されて、Q1出力
端子からの信号がNAND回路24bに入力され、Q2
出力端子からの信号がNAND回路24aに入力されて
、NAND回路24aからハイレベルの信号が出力され
(図示例では2回)連続して同期ビットが検出されたの
で同期確立となる。
These output signals are sent to the output section 24, the signal from the Q1 output terminal is input to the NAND circuit 24b, and the signal from the Q2 output terminal is input to the NAND circuit 24b.
A signal from the output terminal is input to the NAND circuit 24a, a high level signal is output from the NAND circuit 24a, and synchronization bits are detected consecutively (twice in the illustrated example), so synchronization is established.

同期符号識別回路21aからローレベル信号が出力され
た(同期NGの)場合には、双方向シフトレジスタ23
aの左シフト入力端子にNOT回路21bを介してハイ
レベル信号が入力されるとともに、シフトクロック発生
部22からはパルス信号が2つ出力されてクロック入力
端子に入力され、2ビツト左にシフトされて、Q8.Q
、出力端子からの出力がローレベル信号になる。
When a low level signal is output from the synchronization code identification circuit 21a (synchronization NG), the bidirectional shift register 23
A high-level signal is input to the left shift input terminal of a through the NOT circuit 21b, and two pulse signals are output from the shift clock generator 22 and input to the clock input terminal, and are shifted to the left by 2 bits. Q8. Q
, the output from the output terminal becomes a low level signal.

その後に続いて出力された信号がローレベル信号(同期
NG)の場合、同様にして、2ビツト左にシフトされて
、前回より番号の小さい2つの出力端子からの出力がロ
ーレベル信号になる。この繰返しにより、非同期ビット
が検出された場合には、Q、出力端子がその番号の高い
方から順に2つづつローレベル出力に変り、(図示例で
は累積4回以内繰り返されて)全ての出力端子からの出
力信号がローレベルになった(Q1出力端子までローレ
ベルになった)時には、出力部24のNAND回路24
aから出力される信号がローレベルになって同期外れと
なる。
If the subsequently output signal is a low level signal (synchronization NG), it is similarly shifted to the left by 2 bits, and the outputs from the two output terminals with smaller numbers than the previous time become low level signals. Through this repetition, when an asynchronous bit is detected, the Q output terminals change to low level output two by two in order from the one with the highest number (in the illustrated example, it is repeated up to four times cumulatively), and all outputs are When the output signal from the terminal becomes low level (even the Q1 output terminal becomes low level), the NAND circuit 24 of the output section 24
The signal output from a becomes low level, resulting in loss of synchronization.

また、同期符号識別回路21aから出力される信号がハ
イレベル信号、ローレベル信号がランダムに出力される
場合には、右シフトが1ビツトづつであるのに対して左
シフトが2ビツトづつであり、連続して同期ビットが検
出されるよりも、非同期ビットが検出されて保護部23
から出力される信号が全てローレベルになる方が速く、
同期外れが容易に検出される。
Furthermore, when the signal output from the synchronization code identification circuit 21a is a high level signal and a low level signal at random, the right shift is 1 bit at a time, while the left shift is 2 bits at a time. , the protection unit 23 detects asynchronous bits rather than consecutively detecting synchronous bits.
It is faster if all the signals output from the are at low level,
Out-of-sync is easily detected.

このように実施例では、同期確立と同期外れとの比率を
1/4の比率として、同期外れを検出し易くしたことに
よって、同期が外れた場合に偶然同期ビットと一致する
信号が受信された場合にも、容易に同期外れが検出がで
き、同期外れが検出されなかったことにより生じる時間
損失を削減できる。
In this example, the ratio between synchronization establishment and synchronization loss is set to 1/4 to make it easier to detect synchronization loss, so that when synchronization is lost, a signal coincidentally coincident with the synchronization bit is received. Even in such cases, out-of-synchronization can be easily detected, and time loss caused by undetected out-of-synchronization can be reduced.

なお、上記実施例は本発明の趣旨をより良く理解させる
ために具体的に述べたもので、特に指定されない限り、
別態様を制限するものではない。
It should be noted that the above-mentioned examples are specifically described in order to better understand the gist of the present invention, and unless otherwise specified,
This does not limit other embodiments.

たとえば、図示例では4回としたが、同期外れをより検
出しにくい厳しい条件にするために同期外れの検出条件
を(4回を越えて)多くするようにしても良い。
For example, in the illustrated example, the number of times is four, but the number of conditions for detecting out of synchronization may be increased (more than four times) in order to make it more difficult to detect out of synchronization.

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

以上のように本発明では、入力信号が同期符号か否かを
識別し、正常な同期符号を受信した回数と異常な同期信
号を検出した回数とを、予め決められた倍率に従って累
積保持または削除して、偶然の一致に対する判定を直ち
に出力に結びつけることから保護する冗長度を与えると
ともにそれら保持された回数の比率によって同期が確立
したか同期が外れたかを決定し、その結果を信号出力す
る同期保護方法としたことによって、従来において検出
できなかった同期符号と同期符号でない符号が交互に繰
り返される場合であっても同期エラーが検出でき、長時
間にわたる同期エラーの未検出によって生じる時間ロス
を解消できる。
As described above, the present invention identifies whether an input signal is a synchronization code or not, and cumulatively stores or deletes the number of times a normal synchronization code is received and the number of times an abnormal synchronization signal is detected according to a predetermined multiplier. synchronization, which provides redundancy to protect judgments on coincidences from being immediately linked to the output, and determines whether synchronization is established or out of synchronization depending on the ratio of these retained times, and outputs the result as a signal. By using this as a protection method, synchronization errors can be detected even when synchronization codes and non-synchronization codes, which could not be detected in the past, are repeated alternately, eliminating time loss caused by undetected synchronization errors for a long time. can.

また、同期保護回路を、符号識別部11によって調べた
入力信号を、同期符号であれば同期回数保持手段13a
に、同期信号でなければ非同期回数保持手段13bに、
その受信回数に回数更新制御部12が指定した倍率を掛
けて保持させて、偶然に同期符号と一致したとしても直
ちに一致結果を出力させずに冗長度を持たせるとともに
、決められた異常と正常の比率に従った判定結果を出力
させるようにしたことによって、非連続的に発生する同
期エラーを検出でき、エラー検出の周期が短縮できて、
無用な待ち時間を削減することができ、処理時間が短縮
できる。
Further, if the input signal checked by the code identification unit 11 is a synchronous code, the synchronization protection circuit receives the input signal from the synchronization count holding means 13a.
If it is not a synchronous signal, the asynchronous number holding means 13b,
The number of reception times is multiplied by a multiplier specified by the number update control unit 12 and held, so that even if the synchronization code coincidentally matches, the matching result is not immediately outputted to provide redundancy, and a predetermined abnormality and normality are maintained. By outputting the judgment results according to the ratio of
Unnecessary waiting time can be reduced and processing time can be shortened.

さらに、オン状態およびオフ状態によって定義した同一
手段によって同期回数保持手段13aおよび非同期回数
保持手段13bを形成し、回数更新制御部12の指定に
より同期符号の受信回数より指定倍してオンさせ、また
は同期符号でなかった回数より指定倍してオフさせて、
決められたオン状態の数によって判定するようにしたこ
とによって、構成が簡素化され、費用が安価にできる。
Further, the synchronization number holding means 13a and the asynchronous number holding means 13b are formed by the same means defined by the on state and the off state, and are turned on at a specified times the number of times the synchronization code is received according to the designation of the number update control unit 12, or Turn off the specified times the number of times the code was not a synchronization code,
By making the determination based on the predetermined number of on-states, the configuration can be simplified and costs can be reduced.

そしてまた、回数更新制御部12をシフトクロック発生
部22とし、前記保護部13を双方向シフトレジスタ2
3aを利用して形成し、指定クロック数に従って、双方
向シフトレジスタ23aを同期符号の受信回数にクロッ
ク数倍して右シフトするか、または同期符号でなかった
回数にクロック数倍して左シフトして、規定の出力端子
より判定結果を出力することにより、部品調達が容易と
なり、構成がさらに一層前素化され、費用が安価にでき
る。
Also, the number update control section 12 is made into a shift clock generation section 22, and the protection section 13 is made into a bidirectional shift register 2.
3a, and according to the specified number of clocks, the bidirectional shift register 23a is shifted to the right by multiplying the number of clocks by the number of times the synchronization code was received, or shifted to the left by multiplying the number of clocks by the number of times the synchronization code was not received. By outputting the determination result from a specified output terminal, parts procurement becomes easier, the configuration can be further simplified, and costs can be reduced.

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

第1図は、本発明の原理構成図、 第2図は、実施例の同期保護回路を示す構成図、第3図
は、従来の同期保護回路を示す構成図、第4図は、同期
符号識別回路における入出力信号の説明図。 11・・・符号識別部 12・・・回数更新制御部 13・・・保護部 13a・・・同期回数保持手段 13b・・・非同期回数保持手段 14・・・出力部 22・・・シフトクロック発生部 23a・・・双方向シフトレジスタ 第1図
Figure 1 is a diagram showing the principle of the present invention; Figure 2 is a diagram showing a synchronization protection circuit according to an embodiment; Figure 3 is a diagram showing a conventional synchronization protection circuit; and Figure 4 is a synchronization code. FIG. 3 is an explanatory diagram of input/output signals in the identification circuit. 11... Code identification section 12... Number update control section 13... Protection section 13a... Synchronous number holding means 13b... Asynchronous number holding means 14... Output section 22... Shift clock generation Section 23a...bidirectional shift register Fig. 1

Claims (4)

【特許請求の範囲】[Claims] (1)入力信号が同期符号か否かを識別し、正常な同期
符号を受信した回数と異常な同期信号を検出した回数と
を、予め決められた倍率に従って累積保持または削除し
て、偶然の一致に対する判定を直ちに出力に結びつける
ことから保護する冗長度を与えるとともにそれら保持さ
れた回数の比率によって同期が確立したか同期が外れた
かを判定して、その結果を信号出力する ことを特徴とする同期保護方法。
(1) Identify whether the input signal is a synchronization code or not, and cumulatively retain or delete the number of times a normal synchronization code was received and the number of times an abnormal synchronization signal was detected according to a predetermined multiplier. It is characterized in that it provides redundancy to protect the determination of coincidence from being immediately linked to the output, and also determines whether synchronization is established or loses synchronization based on the ratio of the number of times the synchronization is retained, and outputs the result as a signal. Synchronization protection method.
(2)入力信号が同期符号か否かを識別する符号識別部
(11)と、 保持されている正常または異常な同期信号を予め決めら
れた倍率に従って累積保持または削除させる回数更新制
御部(12)と、 正常な同期符号を受信した回数を保持する同期回数保持
手段(13a)および異常な同期信号を検出した回数を
保持する非同期回数保持手段(13b)とを有して同期
符号の偶然の一致に対する判定を直ちに結果の出力に結
びつけることから保護する冗長度を与える保護部(13
)と、その保護部(13)からの出力信号に基づき同期
確立の有無を出力する出力部(14)を 備えたことを特徴とする同期保護回路。
(2) A code identification unit (11) that identifies whether an input signal is a synchronization code; and a number update control unit (12) that cumulatively retains or deletes normal or abnormal synchronization signals held according to a predetermined multiplier. ), a synchronization number holding means (13a) for holding the number of times a normal synchronization code has been received, and an asynchronous number holding means (13b) for holding the number of times an abnormal synchronization signal has been detected. A protection section (13
) and an output section (14) that outputs whether or not synchronization is established based on the output signal from the protection section (13).
(3)前記保護部(13)に設ける同期回数保持手段(
13a)および非同期回数保持手段 (13b)は、オン状態およびオフ状態によってそれぞ
れを定義した同一手段によって形成したこと を特徴とする請求項2記載の同期保護回路。
(3) Synchronization count holding means (
3. The synchronization protection circuit according to claim 2, wherein the asynchronous number holding means (13a) and the asynchronous number holding means (13b) are formed by the same means each defined by an on state and an off state.
(4)前記回数更新制御部(12)をシフトクロック発
生部(22)とし、前記保護部(13)を双方向シフト
レジスタ(23a)を用いて形成したこと を特徴とする請求項3記載の同期保護回路。
(4) The number update control section (12) is a shift clock generation section (22), and the protection section (13) is formed using a bidirectional shift register (23a). Synchronous protection circuit.
JP2308199A 1990-11-14 1990-11-14 Method and circuit for synchronization protection Pending JPH04180318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2308199A JPH04180318A (en) 1990-11-14 1990-11-14 Method and circuit for synchronization protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2308199A JPH04180318A (en) 1990-11-14 1990-11-14 Method and circuit for synchronization protection

Publications (1)

Publication Number Publication Date
JPH04180318A true JPH04180318A (en) 1992-06-26

Family

ID=17978112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2308199A Pending JPH04180318A (en) 1990-11-14 1990-11-14 Method and circuit for synchronization protection

Country Status (1)

Country Link
JP (1) JPH04180318A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08195740A (en) * 1995-01-18 1996-07-30 Nec Corp Bit synchronization circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08195740A (en) * 1995-01-18 1996-07-30 Nec Corp Bit synchronization circuit

Similar Documents

Publication Publication Date Title
JP2948837B2 (en) Communication link interface initialization and synchronization method and communication link receiver
US5355397A (en) Clock start up stabilization for computer systems
JP2597872B2 (en) Block synchronization method
JPH04180318A (en) Method and circuit for synchronization protection
US5559453A (en) Interlocked restore circuit
US4606057A (en) Arrangement for checking the counting function of counters
JPS61148939A (en) Frame synchronization system
KR200158764Y1 (en) Synchronous serial input device
JP2626900B2 (en) Block synchronization method
JP2926670B2 (en) Cell arrival order detector
JPH0495426A (en) Crc error check circuit
RU2115248C1 (en) Phase-starting device
JPH01228337A (en) Frame synchronism protecting circuit
JPS60214655A (en) Frame synchronizing circuit
KR0120533B1 (en) Multiplex analog component
JPH0981367A (en) Pattern detection circuit
JPH02113739A (en) Synchronizing pattern discordance detector
JPH04196837A (en) Pn pattern error detecting circuit
JPH04323928A (en) Frame synchronizing device
JPH05199217A (en) Frame synchronizing circuit for digital transmission
JPH1155239A (en) Synchronization detecting and releasing circuit with protection circuit
JPS62188442A (en) Counter circuit
JPH02292936A (en) Monitoring circuit
JPH01255334A (en) Non-correlation detecting type synchronizing circuit
JPH03201635A (en) Frame synchronizing circuit