JPH0479633A - Frame synchronization circuit - Google Patents

Frame synchronization circuit

Info

Publication number
JPH0479633A
JPH0479633A JP2192949A JP19294990A JPH0479633A JP H0479633 A JPH0479633 A JP H0479633A JP 2192949 A JP2192949 A JP 2192949A JP 19294990 A JP19294990 A JP 19294990A JP H0479633 A JPH0479633 A JP H0479633A
Authority
JP
Japan
Prior art keywords
circuit
frame
output
signal
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2192949A
Other languages
Japanese (ja)
Other versions
JP2591850B2 (en
Inventor
Yoshitaka Sakamoto
坂元 義孝
Jun Yamamoto
潤 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
NEC Corp
Original Assignee
NEC Corp
NEC AccessTechnica 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 NEC Corp, NEC AccessTechnica Ltd filed Critical NEC Corp
Priority to JP2192949A priority Critical patent/JP2591850B2/en
Publication of JPH0479633A publication Critical patent/JPH0479633A/en
Application granted granted Critical
Publication of JP2591850B2 publication Critical patent/JP2591850B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To properly count frame pulse errors and to monitor the state of frame pulses by invalidating the output of a memory inputoutput comparator circuit by means of an OR circuit and only monitoring the output of a received- signal comparator circuit when the frame pulses are monitored in a synchronized state. CONSTITUTION:The synchronized state of frames is monitored by shifting to a synchronized state by setting a signal (i) indicating the synchronized/non- synchronized state of frames to '1' and comparing frame pulse retrieving pulses (h) with frame pulse comparing output signals (d) at regular intervals. At the time of monitoring, frame pulse comparing output signals (b) from an OR circuit 8 are held in '1' and the same signals as frame pulse comparing output signals (c) become the signals (d). The signals (c) are a compared output between the input signal (a) of a memory circuit 1 and the output signal (e) of a frame counter. The signal (e) is a signal which is inverted to '1' or '0' at every frame and is synchronous to frame signals. Therefore, the signals (c) become '1' when receiving pulse signals are properly received and '0' when the pulse signals are improperly received.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はフレーム構成をもつシリアル信号中のフレーム
符号に同期するフレーム同期回路に係り、特に、同期引
込み時間を短縮するために複数フレーム区間について同
時にフレームパルスを検出するフレーム同期回路に関す
るものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a frame synchronization circuit that synchronizes to a frame code in a serial signal having a frame structure, and particularly relates to a frame synchronization circuit that synchronizes with a frame code in a serial signal having a frame structure. This invention relates to a frame synchronization circuit that simultaneously detects frame pulses.

〔従来の技術〕[Conventional technology]

フレーム構成された信号例を第2図に示す。 An example of a frame-structured signal is shown in FIG.

この第2図において、F、Fはフレーム符号であシ、D
1〜Dnはデータ信号である。この7レ一ム符号F、F
は、例えばrlJ 、 rOJの繰ル返しパターンであ
る。そして、受信側ではこのフレーム符号の′位置を特
定し同期させることによシデータ信号とフレーム符号を
分離化する。
In this Figure 2, F and F are frame codes, and D
1 to Dn are data signals. This 7-lem code F, F
is, for example, a repeating pattern of rlJ and rOJ. Then, on the receiving side, the data signal and frame code are separated by specifying and synchronizing the position of the frame code.

従来のフレーム同期回路の一例を第3図に示し説明する
An example of a conventional frame synchronization circuit is shown in FIG. 3 and will be described.

この第3図において、11.12は縦続接続されたメモ
リ回路、13はこのメモリ回路11の出力と受信信号で
あるメモリ回路の入力信号aを入力とする排他的論理和
回路、14はメモリ回路11の出力とメモリ回路12の
出力を入力とする排他的論理和回路、15はこの排他的
論理和回路14の出力と排他的論理和回路13の出力を
入力とする論理積回路、16はフレーム同期カウンタ回
路、17はこのフレーム同期カウンタ回路16からの7
v−ムパルス検索パルスCと論理fft回路15!シの
フレームパルス比較出力信号すを入力とする論理積回路
、18はこの論理積回路15からのフレームパルス検出
信号dを計数するカウンタ、19は論理積回路15から
のフレームパルス比較出力信号すを入力とする否定回路
、20はこの否定回路19の出力とフレーム同期カウン
タ16からのフレームパルス検索パルスCを入力とする
論理積回路、21はフレームエラー検出信号eを計数す
るカウンタ、22はフレームエラー検出信号eとカウン
タ21の出力を入力とする論理積回路で、この論理積回
路22の出力はカウンタ18に導入されるように構成さ
れている。23はカウンタ18の出力によってセットさ
れ、カウンタ21の出力によってリセットされるR/S
フリップフロップ回路で、とのR/Sフリップフロップ
回路23の出力はフレーム同期カウンタ回路16に導入
されると共に同期/非同期状態を示す監視出力信号fを
外部に送出するように構成されている。
In FIG. 3, 11 and 12 are cascade-connected memory circuits, 13 is an exclusive OR circuit which receives the output of this memory circuit 11 and the input signal a of the memory circuit which is a received signal, and 14 is a memory circuit. 15 is an AND circuit that receives the output of exclusive OR circuit 14 and the output of exclusive OR circuit 13; 16 is a frame; Synchronous counter circuit 17 is 7 from this frame synchronized counter circuit 16
v-m pulse search pulse C and logic fft circuit 15! 18 is a counter that counts the frame pulse detection signal d from the AND circuit 15; 19 is a counter that receives the frame pulse comparison output signal d from the AND circuit 15; 20 is an AND circuit that receives the output of this NOT circuit 19 and the frame pulse search pulse C from the frame synchronization counter 16; 21 is a counter that counts frame error detection signals e; 22 is a frame error circuit; It is an AND circuit that receives the detection signal e and the output of the counter 21 as input, and is configured so that the output of the AND circuit 22 is introduced into the counter 18 . 23 is an R/S which is set by the output of the counter 18 and reset by the output of the counter 21.
The output of the R/S flip-flop circuit 23 is introduced into a frame synchronization counter circuit 16, and is configured to output a monitoring output signal f indicating a synchronous/asynchronous state to the outside.

そして、フレーム符号を見つけるためには1フレ一ム間
隔でrlJ 、 rOJを繰シ返す符号を監視し特定で
きるが、検索に時間を要する。
In order to find a frame code, a code that repeats rlJ and rOJ at one frame interval can be monitored and identified, but the search takes time.

したがって、この第3図に示すように、1フレーム長ま
たはそれ以上のフレーム長のメモリ回路11.12によ
シ信号を遅延させ、このメモリ回路11.12の各入出
力を排他的論理和回路12゜13の比較回路で比較し、
この比較回路の出力信号からフレーム符号の位置を検索
することによシ等化的に複数フレームに亘って同時に検
索し、短時間で同期させるようになっていた。
Therefore, as shown in FIG. 3, the signal is delayed by a memory circuit 11.12 having a frame length of one frame or more, and each input/output of this memory circuit 11.12 is connected to an exclusive OR circuit. Compare with 12°13 comparison circuit,
By searching for the position of the frame code from the output signal of this comparison circuit, the search can be performed simultaneously over a plurality of frames in an equalizing manner, and synchronization can be achieved in a short time.

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

この従来のフレーム同期回路では、フレームパルスに符
号誤シが発生した場合に、その前、稜のフレームパルス
との比較結果が不一致となるため、連続シてフレームパ
ルスエラーとなシ、フレームw@bが拡大して計数され
るという課題があった。
In this conventional frame synchronization circuit, when a code error occurs in a frame pulse, the comparison result with the previous edge frame pulse becomes inconsistent, so no consecutive frame pulse errors occur, and the frame w@ There was a problem that b was enlarged and counted.

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

本発明のフレーム同期回路は、フレーム構成をもつシリ
アル信号中のフレーム符号に同期するフレーム同期回路
で、フレーム長と同じ符号長のメモリ回路と、このメモ
リ回路の入、出力符号を比較照合する回路を有するフレ
ーム同期回路において、上記メモリ回路の入力信号とフ
レーム同期カウンタ回路の出力を比較する第1の比較回
路と、上記メモリ回路の入出力信号を比較する第2の比
較回路と、この第2の比較回路からの出力と同期状態監
視回路の出力を入力とする論理回路と、上記第1の比較
回路の出力と上記論理回路の出力を入力とする論理積回
路を備えるものである。
The frame synchronization circuit of the present invention is a frame synchronization circuit that synchronizes with a frame code in a serial signal having a frame structure, and is a circuit that compares and matches the input and output codes of this memory circuit with a memory circuit whose code length is the same as the frame length. a first comparison circuit that compares the input signal of the memory circuit and the output of the frame synchronization counter circuit; a second comparison circuit that compares the input/output signal of the memory circuit; The first comparison circuit has an output from the first comparison circuit and the output from the synchronization state monitoring circuit as inputs, and an AND circuit receives the output from the first comparison circuit and the logic circuit as inputs.

〔作用〕[Effect]

本発明においては、同期状態でフレームパルス監視時に
メモリ入出力比較回路の出力を論理和回路で無効とし、
受信信号比較回路の出力のみを監視する。
In the present invention, when monitoring frame pulses in a synchronous state, the output of the memory input/output comparison circuit is disabled by an OR circuit,
Only the output of the received signal comparison circuit is monitored.

〔実施例〕〔Example〕

以下、図面に基づき本発明の案施例を詳細に脱明する。 Hereinafter, embodiments of the present invention will be explained in detail based on the drawings.

第1図は本発明によるフレーム同期回路の一実施例を示
す回路ブロック図である。
FIG. 1 is a circuit block diagram showing one embodiment of a frame synchronization circuit according to the present invention.

この第1図において、1,2はフレーム長と同じ符号長
のメモリ回路、3はフレーム同期カウンタ回路、4は受
信信号であるメモリ回路の入力信号aとフレーム同期カ
ウンタ回路3からのフレームカウンタ出力信号eを入力
とする排他的論理和回路で、この排他的論理和回路4は
メモリ回路1の入力信号とフレーム同期カウンタ回路3
の出力を比較する比較回路を構成している5はメモリ回
路1の出力と受信信号であるメモリ回路の入力信号aを
入力とする排他的論理和回路、6はメモリ回路1,2の
各出力を入力とする排他的論理和回路で、これらはメモ
リ回路1,2の各入出力信号を比較する比較回路を構成
している。7はこの比較回路である排他的論理和回路5
.6の各出力を入力とする論理積回路、8はこの論理積
回路Tの出力である排他的論理和回路5,6からなる比
較回路からの出力と同期状態監視回路の出力を入力とす
る論理回路である論理和回路、9は排他的論理和回路4
からなる比較回路のフレームパルス比較出力信号Cと論
理和回路8からなる論理回路の出力のフレームパルス比
較出力信号すを入力とする論理積回路である。
In FIG. 1, 1 and 2 are memory circuits with the same code length as the frame length, 3 is a frame synchronization counter circuit, and 4 is the input signal a of the memory circuit, which is a received signal, and the frame counter output from the frame synchronization counter circuit 3. This exclusive OR circuit 4 receives the signal e as an input, and the exclusive OR circuit 4 receives the input signal of the memory circuit 1 and the frame synchronization counter circuit 3.
5 constitutes a comparison circuit that compares the outputs of the memory circuit 1, and 6 is an exclusive OR circuit which receives the output of the memory circuit 1 and the input signal a of the memory circuit, which is the received signal, and 6 is the respective output of the memory circuits 1 and 2. is an exclusive OR circuit which receives as input, and constitutes a comparison circuit that compares each input/output signal of memory circuits 1 and 2. 7 is an exclusive OR circuit 5 which is this comparison circuit.
.. 6 is an AND circuit which receives each output as input, and 8 is a logic whose inputs are the output from the comparison circuit consisting of exclusive OR circuits 5 and 6, which are the outputs of this AND circuit T, and the output of the synchronization state monitoring circuit. OR circuit which is a circuit, 9 is exclusive OR circuit 4
This is an AND circuit which receives as inputs the frame pulse comparison output signal C of the comparison circuit consisting of the comparator circuit 8 and the frame pulse comparison output signal S output from the logic circuit consisting of the OR circuit 8.

10は論理積回路9からのフレームパルス比較出力信号
dとフレーム同期カウンタ回路3よシのフレームパルス
検索パルスhを入力とする論理積回路、11は論理積回
路9からのフレームパルス比較出力信号dを入力とする
否定回路、12は論理積回路10のフレームパルス検出
信号fを計数するカウンタ、13はフレーム同期カウン
タ回路3からのフレームパルス検索パルスhと否定回路
11の出力を入力とする論理積回路、14はこの論理積
回路13の出力とフレーム同期カウンタ回路3の出力で
あるフレームエラー検出信号gを計数するカウンタ、1
5はこのカウンタ14の出力とフレームエラー検出信号
gを入力とする論理積回路、16はカウンタ12の出力
によってセットされ、カウンタ14の出力によってリセ
ットされるR/Sフリップフロップ回路で、これらは同
期状態監視回路17を構成している。
10 is an AND circuit which receives the frame pulse comparison output signal d from the AND circuit 9 and the frame pulse search pulse h from the frame synchronization counter circuit 3; 11 is the frame pulse comparison output signal d from the AND circuit 9; 12 is a counter that counts the frame pulse detection signal f of the AND circuit 10; 13 is an AND circuit that receives the frame pulse search pulse h from the frame synchronization counter circuit 3 and the output of the NOT circuit 11 as input; A circuit 14 is a counter 1 that counts the output of the AND circuit 13 and the frame error detection signal g which is the output of the frame synchronization counter circuit 3.
5 is an AND circuit that receives the output of this counter 14 and the frame error detection signal g, and 16 is an R/S flip-flop circuit that is set by the output of the counter 12 and reset by the output of the counter 14, and these are synchronized. A state monitoring circuit 17 is configured.

そして、R/Sフリップフロップ回路16の出力はフレ
ーム同期カウンタ回路3に導入され、また、同期状態監
視回路17の出力は論理和回路8に導かれると共にフレ
ーム同期/非同期状態を示す監視出力信号iとして外部
に送出されるように構成されている。
The output of the R/S flip-flop circuit 16 is introduced to the frame synchronization counter circuit 3, and the output of the synchronization state monitoring circuit 17 is led to the OR circuit 8, and a monitoring output signal i indicating the frame synchronization/asynchronous state It is configured to be sent externally as

つぎにこの第1図に示す実施例の動作を説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained.

まず、フレームパルス検索時、フレーム同期/非同期状
態を示す監視出力信号lは「0」レベルとなシ、フレー
ム同期カウンタ回路3は1ビツトシフトし、排他的論理
和回路4,5.6の出力がすべて一致するビットを検索
する。検索されたビットから1フレーム後のビット位置
のフレームパルス比較出力信号dをフレームパルス検索
パルスhで監視する。そして、フレームパルス検出信号
fでフレームパルスが検出された場合はさらに1フレー
ム後のビットを監視する。フレームエラー検出信号gで
フレームエラーが検出された場合に社、1ビツトシフト
しながら次のフレームパルスと思われるビットを検索す
る。
First, when searching for a frame pulse, the monitoring output signal l indicating the frame synchronization/asynchronous state is not at the "0" level, the frame synchronization counter circuit 3 is shifted by 1 bit, and the outputs of the exclusive OR circuits 4, 5.6 are Find all matching bits. A frame pulse comparison output signal d at a bit position one frame after the searched bit is monitored using a frame pulse search pulse h. If a frame pulse is detected in the frame pulse detection signal f, the bits one frame later are further monitored. When a frame error is detected in the frame error detection signal g, a bit that is considered to be the next frame pulse is searched for while shifting by one bit.

つぎに、連続してフレームパルスが検出され、フレーム
パルスが検出されたと見做されカウンタ12がフルカウ
ントした場合にはR/Sフリップフロップ回路16をセ
ットし、フレーム同期/非同期状態を示す信号1を「1
」にし同期状態に移行し、一定間隔でフレームパルス検
索パルスhとフレームパルス比較出力信号dを比較し同
期状態を監視する。
Next, when frame pulses are detected continuously and the counter 12 counts up to a full count due to the frame pulses being detected, the R/S flip-flop circuit 16 is set to generate a signal 1 indicating the frame synchronization/asynchronous state. "1
'', the synchronization state is entered, and the synchronization state is monitored by comparing the frame pulse search pulse h and the frame pulse comparison output signal d at regular intervals.

この場合、論理和回路8からのフレームパルス比較出力
信号すは「1」にホールドされ、フレームパルス比較出
力信号dはフレームパルス比較出力信号Cと同じ信号が
現われる。
In this case, the frame pulse comparison output signal S from the OR circuit 8 is held at "1", and the same signal as the frame pulse comparison output signal C appears as the frame pulse comparison output signal d.

そして、フレームパルス比較出力信号Cは受信信号であ
るメモリ回路1の入力信号aと7レ一ムカウンタ出力信
号eとの比較出力であシ、このフレームカウンタ出力信
号eはフレーム毎に「1」。
The frame pulse comparison output signal C is a comparison output of the received signal input signal a of the memory circuit 1 and the 7-frame counter output signal e, and this frame counter output signal e is "1" for each frame.

「0」が反転する信号であ夛、フレーム信号と同期して
いるとする。
It is assumed that the signal is an inverted "0" signal and is synchronized with the frame signal.

したがって、フレームパルス比較出力信号Cには、受信
パルス符号が正しく受信されfc場合は「1」、正しく
ない場合には「0」になる。そして、フレームパルスが
エラーした場合には1回だけエラーパルスがカウントさ
れ、次のフレームパルスがエラーパルスとしてカウント
されない。
Therefore, the frame pulse comparison output signal C becomes "1" if the received pulse code is correctly received fc, and becomes "0" if it is incorrect. If a frame pulse causes an error, the error pulse is counted only once, and the next frame pulse is not counted as an error pulse.

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

以上説明したように本発明は、同期状態でフレームパル
ス監視時にメモリ入出力比較回路の出力を論理和回路で
無効とし、受信信号比較回路の出力のみを監視するよう
にしたので、フレームパルス符号がエラーした場合に前
後のフレームパルスがエラーパルスと見做され、拡大さ
れてカウントされることがなくな夛、正しくフレームパ
ルスエラーをカウントし、状態監視を行うことができる
効果がある。
As explained above, in the present invention, when frame pulses are monitored in a synchronous state, the output of the memory input/output comparison circuit is disabled by the OR circuit, and only the output of the received signal comparison circuit is monitored, so that the frame pulse code is In the event of an error, the frame pulses before and after are regarded as error pulses and are not magnified and counted. This has the effect of correctly counting frame pulse errors and monitoring the status.

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

第1図は本発明によるフレーム同期回路の一実施例を示
す回路ブロック図、第2図はフレーム構成された信号例
を示す説8A図、第3図は従来の7レ一ム同期回路の一
例を示す回路ブロック図である。 1.2−−・・メモリ回路、3−−−eフレーム同期カ
ウンタ回路、4〜6・拳・Φ排他的論理和回路(比較回
路)、8・・・・論理和回路(論理回路)、9・拳・−
論理積回路、17・−〇・同期状態監視回路。 特許出願人  日本電気株式会社 静岡日本電気株式会社 代 理 人 山 月 政 樹
FIG. 1 is a circuit block diagram showing an embodiment of a frame synchronization circuit according to the present invention, FIG. 2 is a diagram 8A showing an example of a frame-structured signal, and FIG. 3 is an example of a conventional 7-frame synchronization circuit. It is a circuit block diagram showing. 1.2--Memory circuit, 3--e frame synchronization counter circuit, 4 to 6, fist/Φ exclusive OR circuit (comparison circuit), 8...OR circuit (logic circuit), 9.Fist・-
AND circuit, 17・−〇・Synchronization state monitoring circuit. Patent applicant: NEC Corporation Shizuoka NEC Corporation Agent Masaki Yamazuki

Claims (1)

【特許請求の範囲】[Claims] フレーム構成をもつシリアル信号中のフレーム符号に同
期するフレーム同期回路で、フレーム長と同じ符号長の
メモリ回路と、このメモリ回路の入、出力符号を比較照
合する回路を有するフレーム同期回路において、前記メ
モリ回路の入力信号とフレーム同期カウンタ回路の出力
を比較する第1の比較回路と、前記メモリ回路の入出力
信号を比較する第2の比較回路と、この第2の比較回路
からの出力と同期状態監視回路の出力を入力とする論理
回路と、前記第1の比較回路の出力と前記論理回路の出
力を入力とする論理積回路を備えることを特徴とするフ
レーム同期回路。
A frame synchronization circuit that synchronizes with a frame code in a serial signal having a frame structure, and has a memory circuit having a code length that is the same as the frame length, and a circuit that compares and matches the input and output codes of this memory circuit. A first comparison circuit that compares the input signal of the memory circuit and the output of the frame synchronization counter circuit, a second comparison circuit that compares the input/output signal of the memory circuit, and synchronization with the output from the second comparison circuit. A frame synchronization circuit comprising: a logic circuit that receives the output of the state monitoring circuit; and an AND circuit that receives the output of the first comparison circuit and the output of the logic circuit.
JP2192949A 1990-07-23 1990-07-23 Frame synchronization circuit Expired - Lifetime JP2591850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2192949A JP2591850B2 (en) 1990-07-23 1990-07-23 Frame synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2192949A JP2591850B2 (en) 1990-07-23 1990-07-23 Frame synchronization circuit

Publications (2)

Publication Number Publication Date
JPH0479633A true JPH0479633A (en) 1992-03-13
JP2591850B2 JP2591850B2 (en) 1997-03-19

Family

ID=16299698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2192949A Expired - Lifetime JP2591850B2 (en) 1990-07-23 1990-07-23 Frame synchronization circuit

Country Status (1)

Country Link
JP (1) JP2591850B2 (en)

Also Published As

Publication number Publication date
JP2591850B2 (en) 1997-03-19

Similar Documents

Publication Publication Date Title
JP2578334B2 (en) Digital transmission method
US4214270A (en) Digital vertical sync signal separator
Kessels Two designs of a fault-tolerant clocking system
JPH0479633A (en) Frame synchronization circuit
US4941161A (en) Detection of digital signal error rates
WO1993013597A1 (en) Digital frequency detection circuit
JP3412927B2 (en) Frame synchronization circuit
US20030072328A1 (en) Framing data in a control circuit
JP2690640B2 (en) Missing clock detection circuit
JP2990094B2 (en) Frame synchronization circuit
JP2617538B2 (en) Frame synchronization circuit
JP2897404B2 (en) Data transmission apparatus and method
JPS62213337A (en) Frame synchronizing protection system
SU836803A1 (en) Device for preventing errors in received discrete information
PL169485B1 (en) Method and device for radio transmission of digital data streams PL
KR0135335B1 (en) Alarm display signal (AIS) detection circuit in DS3 communication system
JP2857810B2 (en) Clock transfer circuit for asynchronous data
JPH0983503A (en) Frame synchronizer
JPH05114898A (en) Frame synchronizing circuit for digital transmission system
JPH04207832A (en) Synchronization detecting system
JPH02260933A (en) Pseudo synchronization detection system
JPS59161144A (en) Frame synchronizing circuit
JPS62120139A (en) Frame synchronization circuit
JP2003018137A (en) Asynchronous detector circuit
JPS6276337A (en) Frame synchronizing circuit