JPH0314250B2 - - Google Patents

Info

Publication number
JPH0314250B2
JPH0314250B2 JP59072152A JP7215284A JPH0314250B2 JP H0314250 B2 JPH0314250 B2 JP H0314250B2 JP 59072152 A JP59072152 A JP 59072152A JP 7215284 A JP7215284 A JP 7215284A JP H0314250 B2 JPH0314250 B2 JP H0314250B2
Authority
JP
Japan
Prior art keywords
signal
logic
synchronization
frame
circuit
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
Application number
JP59072152A
Other languages
Japanese (ja)
Other versions
JPS60214655A (en
Inventor
Ikuo Iizuka
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59072152A priority Critical patent/JPS60214655A/en
Publication of JPS60214655A publication Critical patent/JPS60214655A/en
Publication of JPH0314250B2 publication Critical patent/JPH0314250B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明はデイジタル通信において、誤同期防
止対策を有するフレーム同期回路に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a frame synchronization circuit having measures to prevent false synchronization in digital communications.

〔従来技術〕[Prior art]

第1図は、たとえばPCM方式のデイジタル通
信における1フレームの構成を示すフオーマツト
図で、図において100はNビツトで構成される
1フレーム、101はフレーム100中のデータ
信号、102は同期信号、103は符号誤り制御
信号である。同期信号102は特定のビツトパタ
ーンを有するnsビツトから構成され、符号誤り制
御信号103はフレーム100中の符号誤りを検
出し、これを自動的に修正するために付加される
冗長ビツトである。たとえば、フレーム100の
Nビツトのビツトパターンを次数nc−1の特性多
項式で割算(2を法とする割算)した場合の剰余
が0になるように付加されたncビツトである。し
たがつて、受信されたフレーム100のNビツト
のビツトパターンを上記多項式で割算した場合、
剰余が0にならなければ、符号誤りが存在するこ
とを意味する。
FIG. 1 is a format diagram showing the structure of one frame in, for example, PCM digital communication. In the figure, 100 is one frame composed of N bits, 101 is a data signal in frame 100, 102 is a synchronization signal, and 103 is a data signal in frame 100. is the code error control signal. The synchronization signal 102 is composed of ns bits having a specific bit pattern, and the code error control signal 103 is a redundant bit added to detect code errors in the frame 100 and automatically correct them. For example, n c bits are added so that the remainder when the N-bit bit pattern of frame 100 is divided by a characteristic polynomial of order n c -1 (division modulo 2) is 0. Therefore, when the N-bit bit pattern of received frame 100 is divided by the above polynomial,
If the remainder does not become 0, it means that a code error exists.

第2図は従来のフレーム同期回路の一例を示す
ブロツク図で、図において1はシフトレジスタ、
2は同期パターン検出回路、3は同期保護回路、
5はフレームカウンタである。またPCM INは
PCM信号入力端子、CLKはクロツク信号入力端
子、FPはフレーム同期パルス出力端子、DATA
は入力したPCM信号の分岐出力端子である。
FIG. 2 is a block diagram showing an example of a conventional frame synchronization circuit. In the figure, 1 is a shift register;
2 is a synchronization pattern detection circuit, 3 is a synchronization protection circuit,
5 is a frame counter. Also, PCM IN
PCM signal input terminal, CLK is clock signal input terminal, FP is frame synchronization pulse output terminal, DATA
is a branch output terminal for the input PCM signal.

aはシフトレジスタ1から同期パターン検出回
路2に入力されるnsビツトの信号、bは同期パタ
ーン検出回路2の出力信号で、信号aが同期信号
102のビツトパターンに合致したとき論理
「1」となり、合致しないとき論理「0」となる
信号、cはフレームカウンタ5の計数値が0のと
きだけ論理「1」となる(すなわち、同期検定を
行うタイミングのとき論理「1」となる)信号、
dは同期外れ状態を示す信号、eはフレームカウ
ンタ5をリセツトする信号、fはフレームカウン
タ5の計数値を示す信号である。
a is an ns- bit signal input from the shift register 1 to the synchronization pattern detection circuit 2, and b is an output signal of the synchronization pattern detection circuit 2. When the signal a matches the bit pattern of the synchronization signal 102, the logic becomes "1". c is a signal that becomes logic "0" when they do not match, and c becomes logic "1" only when the count value of frame counter 5 is 0 (that is, becomes logic "1" at the timing to perform synchronization verification). ,
d is a signal indicating an out-of-synchronization state, e is a signal for resetting the frame counter 5, and f is a signal indicating the count value of the frame counter 5.

ところで、PCM通信の送信側では第1図に示
すNビツトのフレームを繰返して送出しているの
で、一度正しくフレームパルスを端子FPに送出
することができれば、次のフレームパルスは端子
CLKからのクロツク信号をフレームカウンタ5
でN個計数した時点で端子FPに送出すればよい。
したがつて、フレームカウンタ5をN個のクロツ
ク信号パルスの入力に対し1個のオーバフローパ
ルスを出力するように構成しておけば、そのオー
バフローパルスが一度フレームパルスに一致した
後は、送信側でのフレーム繰返しが正規に行われ
ている限りは、フレームカウンタ5からのオーバ
フローパルスが常にフレームパルスに一致するこ
とになる。このような状態を同期状態と言い、同
期状態ではフレームカウンタ5の計数値fが0の
とき信号aは同期信号102のビツトパターンに
一致し、信号bは論理「1」となる。
By the way, on the transmitting side of PCM communication, the N-bit frame shown in Figure 1 is repeatedly sent out, so once the frame pulse can be sent correctly to the terminal FP, the next frame pulse will be sent to the terminal FP.
The clock signal from CLK is sent to frame counter 5.
It is only necessary to send it to the terminal FP when N pieces have been counted.
Therefore, if the frame counter 5 is configured to output one overflow pulse for each input of N clock signal pulses, once the overflow pulse matches the frame pulse, the transmission side As long as frame repetition is performed normally, the overflow pulse from the frame counter 5 will always match the frame pulse. Such a state is called a synchronous state, and in the synchronous state, when the count value f of the frame counter 5 is 0, the signal a matches the bit pattern of the synchronizing signal 102, and the signal b becomes logic "1".

次に、第2図の回路が同期外れ状態にあるとす
る。信号cが論理「1」のとき信号bは論理
「0」であり、同期保護回路3の出力信号dは同
期外れ状態を示し制御回路4はこれを検知して信
号eを出力しフレームカウンタ5をリセツトす
る。端子PCM INから次のビツトが入力され信
号aは1ビツトずれたビツトパターンになる。こ
のビツトパターンもまた同期信号のビツトパター
ンと不一致であれば、信号bは論理「0」であ
り、フレームカウンタ5は信号eにより再びリセ
ツトされ信号cは論理「1」(計数値fは0)と
なり信号aは更に1ビツトずれたビツトパターン
になり同期パターン検出回路2で比較される。こ
のように同期パターン検出回路2の出力信号が論
理「0」でその都度フレームカウンタ5がリセツ
トされ、信号aが1ビツトずつずらされて同期信
号のビツトパターンと比較されている状態をハン
チング(hunting)状態という。ハンチング状態
で順次1ビツトずつずらしてゆくと、信号aが同
期信号102のnsビツトになる時点が到来する。
このとき信号bは論理「1」となり、フレームカ
ウンタ5はリセツトされることがないので、その
計数値は順次増加し、クロツク信号のNビツトの
計数を終つてオーバフローパルスを出力し計数値
fが再び0となるまで信号が論理「1」となるこ
とはなく、したがつて信号eが出力されることは
ない。この状態を後方保護状態という。
Next, assume that the circuit of FIG. 2 is out of synchronization. When the signal c is logic "1", the signal b is logic "0", and the output signal d of the synchronization protection circuit 3 indicates an out-of-synchronization state, and the control circuit 4 detects this and outputs the signal e, and the frame counter 5 Reset. The next bit is input from the terminal PCM IN, and the signal a becomes a bit pattern shifted by one bit. If this bit pattern also does not match the bit pattern of the synchronization signal, signal b is logic "0", frame counter 5 is reset again by signal e, and signal c is logic "1" (count value f is 0). As a result, the signal a becomes a bit pattern further shifted by one bit, and is compared in the synchronization pattern detection circuit 2. In this way, the frame counter 5 is reset each time the output signal of the synchronization pattern detection circuit 2 is logic "0", and the state in which the signal a is shifted by one bit and compared with the bit pattern of the synchronization signal is called hunting. ) state. When the bits are sequentially shifted one bit at a time in the hunting state, a time comes when the signal a becomes the n s bit of the synchronization signal 102.
At this time, the signal b becomes logic ``1'' and the frame counter 5 is not reset, so its count value increases sequentially, and after counting N bits of the clock signal, an overflow pulse is output and the count value f increases. The signal will not become logic "1" until it becomes 0 again, so the signal e will not be output. This state is called a backward protection state.

後方保護状態は、信号bが論理「1」となつた
のは、正しく同期信号102を検出した結果であ
るか、あるいは同期信号102ではないが、偶然
にも同期信号102のビツトパターンに合致した
信号が到来したためであるかをチエツクする期間
であつて、信号bが論理「1」になつた時点から
Nビツト後に信号bが再び論理「1」になるかを
検査する。信号bがNビツト間隔で連続してNB
回(NBは任意に設定することができる)論理
「1」になれば正しい同期状態にあるとして前方
保護状態にうつる。もしNB回に到達する前に信
号cの論理が「1」のときに信号bの論理が
「0」であればハンチング状態に移る。
In the backward protection state, signal b becomes logic "1" because the synchronization signal 102 was correctly detected, or because the bit pattern of the synchronization signal 102 coincidentally matches the synchronization signal 102, although it is not the synchronization signal 102. During the period for checking whether this is due to the arrival of a signal, it is checked whether the signal b becomes logic "1" again N bits after the time when signal b became logic "1". Signal b is input continuously at N bit intervals.
If the logic becomes "1" a number of times (N B can be set arbitrarily), it is assumed that the synchronization state is correct and the state is transferred to the forward protection state. If the logic of signal b is "0" while the logic of signal c is "1" before reaching N B times, the hunting state is entered.

前方保護状態では正しい同期状態にあることを
前提として動作し、したがつて、フレームカウン
タ5でクロツク信号パルスをNビツト計数するご
とにフレームパルスを出力し、その時点で信号b
の論理が「0」であつても、それは同期外れでは
なくて何等かのエラーであると判断する。但し、
前方保護状態で信号cの論理が「1」のとき信号
bの論理が「0」となるというエラーがNF
(NFは任意に設定することができる)連続して発
生した場合、同期外れと見做してハンチング状態
にうつる。
In the forward protection state, it operates on the premise that it is in a correct synchronization state. Therefore, every time the frame counter 5 counts N bits of clock signal pulses, a frame pulse is output, and at that point, the signal b
Even if the logic is "0", it is determined that this is not an out-of-synchronization but some kind of error. however,
If NF ( NF can be set arbitrarily) errors in which the logic of signal b becomes ``0'' when the logic of signal c is ``1'' occur consecutively in the forward protection state, synchronization occurs. It is assumed that it is out of order and goes into a hunting state.

第3図は第2図の同期保護回路3と制御回路4
とによつて制御される3状態の動作を示す図で、
h,g,i,j,k,lはそれぞれの信号を示
し、h,j,lは同期保護回路3から出力される
信号dに相当し、信号h,jは信号cが論理
「1」で信号bが論理「0」になることが1回あ
れば出力され、信号gは信号cが論理「1」で信
号bが論理「1」になることが1回あれば出力さ
れ、信号lは信号cが論理「1」信号bが論理
「0」という状態がNF回連続発生すれば出力さ
れ、信号iは信号cが論理「1」信号bが論理
「1」という状態がNB回連続発生すれば出力さ
れ、信号kは信号lが出力される場合を除くすべ
ての場合に出力される。
Figure 3 shows the synchronization protection circuit 3 and control circuit 4 in Figure 2.
A diagram showing three-state operation controlled by and,
h, g, i, j, k, l indicate the respective signals, h, j, l correspond to the signal d output from the synchronization protection circuit 3, and the signals h, j indicate that the signal c is logic "1". If signal b becomes logic "0" once, signal g is output, signal g is output if signal c becomes logic "1" and signal b becomes logic "1" once, and signal l is output when the state where signal c is logic "1" and signal b is logic "0" occurs N F times in succession, and the signal i is output when the state where signal c is logic "1" and signal b is logic "1" is N B The signal k is output if it occurs continuously twice, and the signal k is output in all cases except when the signal l is output.

ところで、PCM信号等ではデータ信号中から
同期信号102と同一のビツトパターンの部分を
完全に除去しておくことが困難であり、このよう
なビツトパターンがフレーム周期で繰返す場合が
あり、このような疑似同期パターンに同期して、
後方保護状態から前方保護状態に入ることがあ
る。
By the way, in PCM signals, etc., it is difficult to completely remove the part of the bit pattern that is the same as the synchronization signal 102 from the data signal, and such a bit pattern may repeat in the frame period. In sync with the pseudo sync pattern,
The vehicle may enter the forward protection state from the rear protection state.

このような疑似同期を防止するため、符号誤り
制御信号103が利用されていた。第4図は従来
の装置の他の例を示すブロツク図であつて、第2
図と同一符号は同一又は相当部分を示し、6は割
算回路である。この割算回路6は符号誤り制御信
号103を生成する時に用いた特性多項式によつ
て入力Nビツトに対し2を法とする割算を施しそ
の剰余が0となるか否かをチエツクするためのも
ので、一般的には符号検定回路ということができ
る。7はアンドゲート、mはシフトレジスタ1か
ら割算回路6に入力されるNビツトの信号、nは
符号検定を行うタイミング信号、oは割算回路6
の出力で、符号誤りがない場合論理「1」とな
り、符号誤りがある場合論理「0」となる。すな
わち、疑似同期の場合は信号mのNビツトの符号
が第1図に示す1フレームのNビツトとはなら
ず、前のフレームの後方ビツトと後のフレームの
前方ビツトが連結されたNビツトとなるので、一
般的には割算回路の出力である信号oが論理
「0」になる確率が多い。第2図の場合は信号b
の論理によつて同期信号が検出されたと見做した
が、第4図の場合は信号bと信号oとの論理積に
よつて同期信号が検出されたと見做すので疑似同
期の機会を減少することができる。しかし、信号
mのビツトパターンを割算してその剰余が偶然に
0になる機会は相当多く、したがつて、疑似同期
により信号bが論理「1」となり、信号oが偶然
に論理「1」となり、誤つて前方保護状態に入る
ことがあり、これを防止するためにはNBを相当
大きく設定しなければならない。NBを大きく設
定しておくとその間には信号oが論理「0」とな
る時点が発生して、誤つて前方保護状態に入るこ
とを防止する。
In order to prevent such pseudo synchronization, a code error control signal 103 has been used. FIG. 4 is a block diagram showing another example of the conventional device.
The same reference numerals as in the figure indicate the same or corresponding parts, and 6 is a division circuit. This division circuit 6 performs division modulo 2 on the input N bits using the characteristic polynomial used when generating the code error control signal 103, and checks whether the remainder becomes 0 or not. It can generally be called a sign verification circuit. 7 is an AND gate, m is an N-bit signal input from the shift register 1 to the division circuit 6, n is a timing signal for performing sign verification, and o is the division circuit 6
If there is no code error, the output becomes logic "1", and if there is a code error, it becomes logic "0". In other words, in the case of pseudo synchronization, the sign of the N bits of the signal m is not the N bits of one frame shown in Figure 1, but is the N bits that are the concatenation of the rear bits of the previous frame and the front bits of the subsequent frame. Therefore, there is generally a high probability that the signal o, which is the output of the divider circuit, will be logic "0". In the case of Figure 2, signal b
However, in the case of Fig. 4, it is assumed that the synchronization signal is detected by the logical product of signal b and signal o, reducing the chance of false synchronization. can do. However, when dividing the bit pattern of signal m, there are many chances that the remainder becomes 0 by chance. Therefore, due to pseudo synchronization, signal b becomes logic "1" and signal o becomes logic "1" by chance. Therefore, the forward protection state may be entered by mistake, and to prevent this, N B must be set considerably large. If N B is set to a large value, there will be a point in time during which the signal o becomes logic "0", thereby preventing erroneous entry into the forward protection state.

また、正確に同期がとれている状態においても
信号が論理「0」になる場合も発生する。それ
は、伝送路の雑音等によつて符号誤りが発生する
ためであつてこのような事態を予期して符号誤り
制御信号103が付加されていてそれによつて符
号誤りを検出しその誤りを修正するのであるが、
前方保護状態においてこのような符号誤りが発生
して、誤つてハンチング状態に入ることを防止す
るためにはNFを大きくしておかねばならない。
このため、第4図の回路では、誤同期検出時間が
長くなるという欠点があつた。
Further, even in a state where accurate synchronization is achieved, the signal may become logic "0". This is because code errors occur due to noise in the transmission path, etc. In anticipation of such a situation, a code error control signal 103 is added to detect code errors and correct the errors. However,
In order to prevent such a code error from occurring in the forward protection state and erroneously entering the hunting state, N F must be set large.
For this reason, the circuit shown in FIG. 4 has the disadvantage that it takes a long time to detect false synchronization.

〔発明の概要〕[Summary of the invention]

この発明は上記のような従来のものの欠点を除
去するためになされたもので、この発明では、同
期パターン検出回路による同期保護回路の他に符
号誤り検出回路による同期保護回路を設け、ハン
チング状態から後方保護状態を経て前方保護状態
に入る動作は同期パターン検出回路の出力により
制御し、誤つて前方保護状態にある状態からの脱
出制御に対し符号誤り検出回路の出力をも用いる
ようにしたものである。
This invention was made to eliminate the drawbacks of the conventional ones as described above.In this invention, in addition to a synchronization protection circuit using a synchronization pattern detection circuit, a synchronization protection circuit using a code error detection circuit is provided to prevent hunting from occurring. The operation of entering the forward protection state after passing through the backward protection state is controlled by the output of the synchronization pattern detection circuit, and the output of the code error detection circuit is also used to control escape from the forward protection state by mistake. be.

〔発明の実施例〕[Embodiments of the invention]

以下この発明の実施例を図面について説明す
る。第5図はこの発明の一実施例を示すブロツク
図で、第4図と同一符号は同一又は相当部分を示
し、8は割算回路3の出力による同期保護回路、
9はこの発明に用いられる制御回路、10はフレ
ームカウンタである。またpは同期保護回路8の
動作タイミング信号、qは同期外れ状態を示す信
号、rはフレームカウンタ10に対するロード信
号、sはフレームカウンタ5の内容を示す信号で
あり、信号fと同じ信号である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 5 is a block diagram showing an embodiment of the present invention, in which the same reference numerals as in FIG.
9 is a control circuit used in the present invention, and 10 is a frame counter. Further, p is an operation timing signal of the synchronization protection circuit 8, q is a signal indicating an out-of-synchronization state, r is a load signal for the frame counter 10, and s is a signal indicating the contents of the frame counter 5, which is the same signal as the signal f. .

第6図は第5図の同期保護回路3,8と制御回
路9とによつて制御される3状態の動作を示す図
であつて、第3図と同一記号は同一又は相当信号
を意味し、uは第5図の信号qに相当し、tは信
号uが出力される以外の場合に出力される信号、
信号vは信号kとtとの論理積信号で信号rに相
当するロード信号、信号xは前方保護状態を保持
する信号である。
FIG. 6 is a diagram showing the operation in three states controlled by the synchronization protection circuits 3 and 8 and the control circuit 9 in FIG. 5, and the same symbols as in FIG. 3 mean the same or equivalent signals. , u corresponds to the signal q in FIG. 5, t is a signal output in cases other than when the signal u is output,
Signal v is an AND signal of signals k and t and is a load signal corresponding to signal r, and signal x is a signal that maintains the forward protection state.

第6図は、制御対象が3状態のうちのどの状態
にあるかが制御回路9内に記憶されていることを
表している。ただ、ハンチング状態と後方保護状
態とでは制御回路9の制御動作に本質的な相違は
ないので、制御回路9としては制御対象が前方保
護状態にあるか否かを記憶する1ビツトのメモリ
を持つておれば制御可能である。このメモリを仮
に前方保護状態メモリと称し、このメモリがセツ
トされておれば前方保護状態にあり、リセツトさ
れておれば前方保護状態にないことを示す。
FIG. 6 shows that the control circuit 9 stores which of the three states the controlled object is in. However, since there is no essential difference in the control operation of the control circuit 9 between the hunting state and the rear protection state, the control circuit 9 has a 1-bit memory that stores whether or not the object to be controlled is in the forward protection state. It can be controlled if the This memory is tentatively referred to as a forward protection state memory, and if this memory is set, it is in the forward protection state, and if it is reset, it indicates that it is not in the forward protection state.

第6図が表す意味を前方保護状態メモリに関し
て言えば、前方保護状態メモリは初期化の時点
と、信号l、信号uとによつてリセツトされ、信
号iによりリセツトされることを表している。
Regarding the forward protection state memory, what is meant by FIG. 6 is that the forward protection state memory is reset at the time of initialization, by the signal 1, by the signal u, and by the signal i.

ハンチング状態から後方保護状態を経て前方保
護状態に入るまでの動作及びh,j,lの信号に
よつてハンチング状態に移る動作は、第5図の回
路においても第2図の回路と同様である。前方保
護状態に入り、題記保護回路8からも符号誤りが
検出されていない場合は信号rによつてフレーム
カウンタ5の内容sをフレームカウンタ10にロ
ードし、フレームカウンタ10からフレームパル
スを出力する。制御回路9では、フレームカウン
タ5の内容fが0の時点でタイミングパルスpを
出力し、同期保護回路8ではその時点の信号oの
論理を記憶し、M回中Me回(MeMで、M及び
Meは任意に設定できる)以上の論理「0」が存
在すると、それは疑似同期であると判定して信号
qを出力する。制御回路9は信号qにより信号e
(第6図の信号uに相当)を出力し、フレームカ
ウンタ5をリセツトしてハンチング状態に入り、
以下同期保護回路8の出力には関係なく、第2図
におけると同様な動作を行い、前方保護状態に入
ると第6図の信号kを出力する。このとき、信号
tが出ておれば、フレームカウンタ5の内容がフ
レームカウンタ10にロードされる。すなわち、
ハンチングを行うフレームカウンタ5とフレーム
パルスを出力するフレームカウンタ10とは独立
しているので、誤つてハンチングに入つたとして
もフレームカウンタ10の出力パルスは乱される
ことなく、其後、前方保護状態に入つてフレーム
カウンタ5の内容がフレームカウンタ10にロー
ドさるれ時点で両カウンタの内容が一致している
ので、誤つてハンチングに入つたことの影響は端
子FPにはあらわれない。また、疑似同期により
信号b(信号cが論理「1」の時点での)が連続
して論理「1」になる場合では信号oがM個中
ME個以上論理「0」となり、疑似同期から早く
脱出することができる。
The operation from the hunting state to the rear protection state to the front protection state and the operation of changing to the hunting state by the h, j, and l signals are the same in the circuit of FIG. 5 as in the circuit of FIG. 2. . When the forward protection state is entered and no code error is detected by the title protection circuit 8, the content s of the frame counter 5 is loaded into the frame counter 10 by the signal r, and the frame counter 10 outputs a frame pulse. The control circuit 9 outputs the timing pulse p when the content f of the frame counter 5 is 0, and the synchronization protection circuit 8 stores the logic of the signal o at that time and outputs the timing pulse p out of M times (MeM, M and
(Me can be arbitrarily set) If a logic 0 is present, it is determined that it is pseudo synchronization and a signal q is output. The control circuit 9 outputs a signal e based on the signal q.
(corresponding to signal u in Fig. 6), resets the frame counter 5, and enters the hunting state.
Thereafter, the same operation as in FIG. 2 is performed regardless of the output of the synchronization protection circuit 8, and when the forward protection state is entered, the signal k shown in FIG. 6 is output. At this time, if the signal t is output, the contents of the frame counter 5 are loaded into the frame counter 10. That is,
Since the frame counter 5 that performs hunting and the frame counter 10 that outputs frame pulses are independent, even if hunting is entered by mistake, the output pulses of the frame counter 10 will not be disturbed and the forward protection state will be maintained. Since the contents of both counters match at the time when the frame counter 5 is loaded into the frame counter 10, the effect of erroneously entering hunting does not appear on the terminal FP. In addition, when signal b (at the time when signal c is logic "1") becomes logic "1" continuously due to pseudo synchronization, signal o out of M
M E values or more become logic "0", and it is possible to quickly escape from the pseudo synchronization.

なお、同期信号102はフレーム100のどの
位置に配置してもよく、フレーム100中に分散
配置してもよい。
Note that the synchronization signal 102 may be placed at any position in the frame 100, or may be distributed throughout the frame 100.

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

以上のようにこの発明によれば、疑似同期から
早く脱出することができ、かつ誤つてハンチング
に入つてもその影響を受けないで同期状態を保持
することができる。
As described above, according to the present invention, it is possible to quickly escape from pseudo synchronization, and even if hunting is accidentally entered, the synchronization state can be maintained without being affected by it.

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

第1図は1フレームの構成を示すフオーマツト
図、第2図は従来の回路の一例を示すブロツク
図、第3図は第2図の回路によつて制御される3
状態の動作を示す図、第4図は従来の回路の他の
例を示すブロツク図、第5図はこの発明の一実施
例を示すブロツク図、第6図は第5図の回路によ
つて制御される3状態の動作を示す図である。 1……シフトレジスタ、2……同期パターン検
出回路、3,8……それぞれ同期保護回路、5…
…第1のフレームカウンタ、6……割算回路、9
……制御回路、10……第2のフレームカウン
タ。尚、各図中同一符号は同一又は相当部分を示
す。
Fig. 1 is a format diagram showing the structure of one frame, Fig. 2 is a block diagram showing an example of a conventional circuit, and Fig. 3 is a three-dimensional circuit that is controlled by the circuit shown in Fig. 2.
4 is a block diagram showing another example of the conventional circuit, FIG. 5 is a block diagram showing an embodiment of the present invention, and FIG. 6 is a diagram showing the circuit of FIG. 5. It is a figure which shows operation|movement of three controlled states. 1...Shift register, 2...Synchronization pattern detection circuit, 3, 8...Synchronization protection circuit, respectively, 5...
...First frame counter, 6...Division circuit, 9
...Control circuit, 10...Second frame counter. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 1 信号フレームごとに、特定のビツトパターン
を有する同期信号と、符号誤りを制御するための
符号誤り制御信号とが含まれるデイジタル信号、
このデイジタル信号の複数のフレームが連続して
送信される場合の受信信号からフレーム同期パル
スを抽出するフレーム同期回路において、 上記受信信号のビツト周期に等しいクロツク周
期を有するクロツク信号を発生する手段、 上記デイジタル信号の1フレームのビツト数を
Nとするとき、上記クロツク信号を入力して入力
したクロツク信号のパルス数を計数するそれぞれ
N進の第1及び第2のフレームカウンタ、 上記クロツク信号により上記受信信号を順次直
列にシフトレジスタに配列する手段、 上記第1のフレームカウンタの計数値が0であ
るすべてのクロツク時点において、上記シフトレ
ジスタに配列される連続したNビツトについて、
上記符号誤り制御信号に対応して定められる符号
検定を行い符号誤りが検出された場合論理「0」
の信号を、然らざる場合論理「1」の信号を出力
する符号検定回路、 上記第1のフレームカウンタの計数値が0であ
るすべてのクロツク時点において、上記シフトレ
ジスタに配列される上記連続したNビツト中の同
期信号に対応する部分のビツトパターンを上記特
定のビツトパターンと比較し、比較が一致した場
合論理「1」の信号を、然らざる場合論理「0」
の信号を出力する同期パターン検出回路、 前方保護状態にあるか否かを示す1ビツトのメ
モリを備え、初期化の時点においてこのメモリを
リセツトし、このメモリがリセツト状態にあると
き、上記同期パターン検出回路から論理「0」の
信号が出力されるたびに上記第1のフレームカウ
ンタをリセツトしてその計数値を0とし、上記同
期パターン検出回路から論理「1」の出力がNB
回連続した時上記符号検定回路の出力が論理
「1」であれば上記メモリをセツトし且つこのと
きの上記第1のフレームカウンタの内容を上記第
2のフレームカウンタにロードし、このメモリが
セツトされた状態にあるときは上記同期パターン
検出回路から論理「0」の出力がNF回連続した
とき、又は上記符号検定回路のM回の出力中論理
「0」の出力がME回以上存在するときだけ上記第
1のフレームカウンタをリセツトし、且つ上記メ
モリをリセツトする制御回路、(但しNB、NF
M、MEは設計によつて定める整数)、 上記第2のフレームカウンタのオーバフローパ
ルスを上記フレーム同期パルスとして出力する手
段、 を備えたことを特徴とするフレーム同期回路。
[Claims] 1. A digital signal including, for each signal frame, a synchronization signal having a specific bit pattern and a code error control signal for controlling code errors;
In a frame synchronization circuit for extracting a frame synchronization pulse from a received signal when a plurality of frames of the digital signal are transmitted continuously, means for generating a clock signal having a clock period equal to the bit period of the received signal; When the number of bits in one frame of the digital signal is N, N-ary first and second frame counters each input the clock signal and count the number of pulses of the input clock signal; means for arranging signals in series in a shift register, for N consecutive bits to be arranged in the shift register at every clock instant when the count value of the first frame counter is 0;
Logic "0" when a code error is detected by performing code verification determined in accordance with the above code error control signal.
a sign verification circuit that outputs a logic "1" signal when the signal is not equal to "1"; The bit pattern of the part corresponding to the synchronization signal among the N bits is compared with the above specific bit pattern, and if the comparison matches, a logic "1" signal is set, and if not, a logic "0" signal is set.
A synchronization pattern detection circuit that outputs a signal of Each time a logic "0" signal is output from the detection circuit, the first frame counter is reset to make its count value 0, and the logic "1" output from the synchronization pattern detection circuit is N B
If the output of the sign verification circuit is logic "1" when the number of consecutive times is consecutive, the memory is set, and the contents of the first frame counter at this time are loaded into the second frame counter, and this memory is set. When the above-mentioned synchronization pattern detection circuit outputs a logic "0" consecutively N F times, or the above-mentioned sign verification circuit outputs a logic "0" M times or more during the M outputs. a control circuit that resets the first frame counter and resets the memory only when N B , N F ,
M, ME are integers determined by design); and means for outputting an overflow pulse of the second frame counter as the frame synchronization pulse.
JP59072152A 1984-04-11 1984-04-11 Frame synchronizing circuit Granted JPS60214655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59072152A JPS60214655A (en) 1984-04-11 1984-04-11 Frame synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59072152A JPS60214655A (en) 1984-04-11 1984-04-11 Frame synchronizing circuit

Publications (2)

Publication Number Publication Date
JPS60214655A JPS60214655A (en) 1985-10-26
JPH0314250B2 true JPH0314250B2 (en) 1991-02-26

Family

ID=13480994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59072152A Granted JPS60214655A (en) 1984-04-11 1984-04-11 Frame synchronizing circuit

Country Status (1)

Country Link
JP (1) JPS60214655A (en)

Also Published As

Publication number Publication date
JPS60214655A (en) 1985-10-26

Similar Documents

Publication Publication Date Title
US4920535A (en) Demultiplexer system
US3961311A (en) Circuit arrangement for correcting slip errors in receiver of cyclic binary codes
CA1212723A (en) System for transmitting digital information signals
US3938086A (en) Circuit arrangement for correcting slip errors in pcm receivers
JPH0314250B2 (en)
JP2967748B2 (en) ATM cell synchronization circuit
JPS585543B2 (en) frame synchronizer
JP3412927B2 (en) Frame synchronization circuit
US5463631A (en) Error pulse width expanding circuit
RU1777245C (en) Error detector for digital data transmission channel
GB2103053A (en) Improvements relating to transmission of data in blocks
JP2967703B2 (en) Sync detection circuit
JP3290331B2 (en) Block synchronization processing circuit
JP2948894B2 (en) Frame synchronization circuit
JPS63116537A (en) Synchronization protecting circuit
KR0120533B1 (en) Multiplex analog component
SU1591019A1 (en) Device for checking and restoring data by modulo two
JP2849952B2 (en) Frame synchronization circuit
JPH0630479B2 (en) Frame synchronization method
US3437996A (en) Error correcting circuit
RU2043652C1 (en) Device for interface between computer and communication channel
JP2591850B2 (en) Frame synchronization circuit
JPS63107330A (en) Synchronization protection circuit for frame synchronization device
JPH0528931B2 (en)
JPH05130172A (en) Code word extraction device