JP2000124886A - Method and device for detecting multiframe synchronism - Google Patents

Method and device for detecting multiframe synchronism

Info

Publication number
JP2000124886A
JP2000124886A JP10292039A JP29203998A JP2000124886A JP 2000124886 A JP2000124886 A JP 2000124886A JP 10292039 A JP10292039 A JP 10292039A JP 29203998 A JP29203998 A JP 29203998A JP 2000124886 A JP2000124886 A JP 2000124886A
Authority
JP
Japan
Prior art keywords
frame
bit
synchronization
timing
detected
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
JP10292039A
Other languages
Japanese (ja)
Other versions
JP3978898B2 (en
Inventor
Yoshiaki Murakami
善章 村上
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP29203998A priority Critical patent/JP3978898B2/en
Publication of JP2000124886A publication Critical patent/JP2000124886A/en
Application granted granted Critical
Publication of JP3978898B2 publication Critical patent/JP3978898B2/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

PROBLEM TO BE SOLVED: To detect the synchronism of multiframe speedily without requiring a large capacity memory. SOLUTION: When HDLC pattern data are detected twice by a specified pattern comparing part 26 at the same time interval as the transmission cycle of frames, the bit of the next bit clock timing is decided as being the frame bit of each frame. Then, rather than having the bit information of multiframe as a whole fetched into a memory circuit 32 only the bit information which is decided as being the frame bit is fetched and based on the fetched contents, the timing at the head of multiframe is detected. Hence, the storage capacity of a storage device for storing bit stream signals can be reduced and the circuit scale of the device can be miniaturized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、シリアルデータ
伝送に用いられるマルチフレームの同期を検出するマル
チフレーム同期検出方法及び装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a method and an apparatus for detecting the synchronization of a multi-frame used for serial data transmission.

【0002】[0002]

【従来の技術】従来より、シリアル伝送に用いられるマ
ルチフレームとして、一定数の連続したフレームから構
成され、その1フレームを構成するビット列中の先頭に
1ビットのフレームビット(「Fビット」ともいう。)
が付加されたものが知られている。
2. Description of the Related Art Conventionally, a multi-frame used for serial transmission is composed of a fixed number of continuous frames, and a 1-bit frame bit (also referred to as an "F bit") is placed at the beginning of a bit string constituting one frame. .)
Are known.

【0003】例えば、ISDNの1次群インターフェー
スのうち、ITU−T.I.431に規定された1.5
44Mbpsインターフェースでは、マルチフレームの
構成は次の様に規定されている。すなわち、1フレーム
は、図7(c)に示す様に、1ビットのフレームビット
と24個のタイムスロット(8ビット)から構成され、
1フレーム全体のビット数は193ビットである。そし
て、24フレームで、1つのマルチフレームを構成する
ことが規定されている(図7(a)、(b)参照)。
For example, of the primary group interfaces of ISDN, ITU-T. I. 1.5 as defined in 431
In the 44 Mbps interface, the configuration of the multi-frame is defined as follows. That is, one frame is composed of one frame bit and 24 time slots (8 bits) as shown in FIG.
The number of bits in one entire frame is 193 bits. It is defined that one multi-frame is composed of 24 frames (see FIGS. 7A and 7B).

【0004】1マルチフレームには24個のフレームビ
ットが含まれることとなるが、それらは各々用途が規定
されている。図8に示す様に、e1〜e6で示されるフ
レームビットは、CRC−6(Cyclic Redu
ndancy Checking−6)手順による受信
側での伝送誤り検出のために用いられ、DLで示される
フレームビットは、主に故障切り分けのための保守情報
等を伝達するために使用される。そして、第4フレーム
から4つ毎のフレーム、即ち第4、第8、第12、第1
6、第20および第24フレームのフレームビットは、
FAS(Frame Alignment Signa
l)と呼ばれ、マルチフレームの同期検出を行うための
ビットであり、順に「0」、「0」、「1」、「0」、
「1」、「1」という様に格納される。つまり6ビット
のFASには「001011」のパターンが格納されて
いる。
[0004] One multi-frame includes 24 frame bits, each of which has a defined use. As shown in FIG. 8, the frame bits indicated by e1 to e6 are CRC-6 (Cyclic Redu).
The frame bit indicated by the DL is mainly used for transmitting maintenance information and the like for fault isolation, which is used for detecting a transmission error on the receiving side according to the danency checking-6) procedure. Then, every fourth frame from the fourth frame, that is, the fourth, eighth, twelfth, and first frames
The frame bits of the sixth, twentieth and twenty-fourth frames are
FAS (Frame Alignment Signa)
l) are bits for performing multi-frame synchronization detection, and are sequentially “0”, “0”, “1”, “0”,
"1", "1", etc. are stored. That is, the pattern of “001011” is stored in the 6-bit FAS.

【0005】このFASを利用すれば、次の様にしてマ
ルチフレームの同期検出、即ちマルチフレームの先頭タ
イミングの検出を行うことができる。即ち、FASは4
フレーム毎のフレームビットであるので、順次伝送され
てくるシリアルデータのビット情報を4フレームの伝送
時間に相当する時間間隔(即ち、4フレーム分のビット
間隔)で抽出して、「001011」のパターン(以
下、同期パターンという。)と一致するか否かを調べ
る。一致すれば、その一致したタイミングに基いて、マ
ルチフレームの先頭タイミングを検出できる。そして、
一致しない場合にはビット情報の抽出タイミングを1ビ
ット分ずつずらして、同期パターンと一致するか否かを
調べるという動作を行い、そこで一致すれば、その一致
タイミングに基いて、マルチフレームの先頭タイミング
を検出する。
Using this FAS, it is possible to detect the synchronization of a multi-frame, that is, to detect the start timing of the multi-frame, as follows. That is, FAS is 4
Since it is a frame bit for each frame, bit information of serial data sequentially transmitted is extracted at a time interval corresponding to a transmission time of four frames (that is, a bit interval of four frames), and a pattern of “001011” is extracted. (Hereinafter referred to as a synchronization pattern). If they match, the head timing of the multiframe can be detected based on the matching timing. And
If they do not match, the operation of shifting the bit information extraction timing by one bit and checking whether they match the synchronization pattern is performed, and if they match, the start timing of the multiframe is determined based on the matching timing. Is detected.

【0006】この様にすれば、マルチフレームの同期検
出を行うことができるが、同期パターンを構成するビッ
ト情報が格納されているビットは、4フレームに含まれ
るビット数の内の1ビットだけであるので、上述の方法
では、検出時間が最大(1マルチフレームの伝送時間)
+(4フレーム分のビット数)×(アクセス時間)と長
くなってしまう。そこで、短時間でマルチフレームの同
期検出を行うために、次のような方法が考えられる。
In this way, the multi-frame synchronization can be detected. However, the bit storing the bit information constituting the synchronization pattern is only one bit out of the number of bits included in the four frames. Therefore, in the above method, the detection time is the maximum (transmission time of one multiframe).
+ (Number of bits for 4 frames) × (access time). In order to detect the synchronization of a multi-frame in a short time, the following method can be considered.

【0007】即ち、まず、伝送されてきたシリアルデー
タから、1マルチフレーム分のデータを読み込む。そし
て、読み込んだビット列の先頭から、772(=193
×4:即ち4フレーム分のビット数)ビットの間隔で1
ビットずつ(即ち6ビット)抽出し、その抽出したビッ
ト情報が同期パターンと一致するか否か比較する。一致
していなければ、抽出するビット位置を1つずつずらし
て、再び同期パターンとの比較を繰り返す。そして、同
期パターンが検出されれば、マルチフレームの先頭の、
格納したビット列内でのビット位置を算出でき、先頭の
タイミングを求めることができる。
That is, first, one multi-frame data is read from the transmitted serial data. Then, from the head of the read bit string, 772 (= 193)
× 4: the number of bits for four frames) 1 at bit intervals
Each bit (that is, 6 bits) is extracted, and it is compared whether or not the extracted bit information matches the synchronization pattern. If they do not match, the bit positions to be extracted are shifted one by one, and the comparison with the synchronization pattern is repeated again. Then, if a synchronization pattern is detected,
The bit position in the stored bit string can be calculated, and the leading timing can be obtained.

【0008】このとき、FAS以外の部分からビット情
報の抽出した場合であっても、偶然、同期パターンと一
致する可能性があり、その時には誤ったビット位置をマ
ルチフレームの先頭として算出してしまうことになるの
で、そうした誤りの発生を抑制するためには、数マルチ
フレーム分のビット情報を読込んでおき、同期パターン
が数マルチフレームに亘って同じ位置に連続して検出さ
れるかどうかを判断すればよい。
At this time, even if bit information is extracted from a portion other than the FAS, there is a possibility that the bit pattern coincides with the synchronization pattern. At that time, an erroneous bit position is calculated as the head of the multiframe. Therefore, in order to suppress the occurrence of such an error, the bit information for several multi-frames is read, and it is determined whether or not the synchronization pattern is continuously detected at the same position over several multi-frames. do it.

【0009】[0009]

【発明が解決しようとする課題】しかし、マルチフレー
ムの同期検出を速やかに行うには、多くのデータ量を必
要とし、そして誤った同期検出の発生を抑制するために
は、更に多くのデータ量が必要となる。そのため、マル
チフレームの同期検出回路においては、それをデータを
読み込むための大きなメモリ資源が必要となり、マルチ
フレーム同期検出を行うための装置全体の規模が大きく
なるという問題が生じる。
However, a large amount of data is required to quickly detect the synchronization of a multi-frame, and a large amount of data is required to suppress the occurrence of erroneous synchronization detection. Is required. Therefore, in the multi-frame synchronization detection circuit, a large memory resource for reading the data is required, which causes a problem that the scale of the entire apparatus for performing the multi-frame synchronization detection becomes large.

【0010】本発明は、上記問題に鑑みなされたもので
あり、大容量のメモリを必要とすることなく、速やかに
マルチフレームの同期検出可能なマルチフレーム同期検
出方法及び装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide a multi-frame synchronization detection method and apparatus capable of quickly detecting multi-frame synchronization without requiring a large-capacity memory. And

【0011】[0011]

【課題を解決するための手段及び発明の効果】上記課題
を解決するためになされた請求項1記載のマルチフレー
ム同期検出方法においては、マルチフレームが用いられ
たシリアルデータの中から特定パターンデータを検出
し、特定パターンデータが検出されると、その検出タイ
ミングに基づき、後続のフレームの先頭ビットを順次読
込む。そして、その読込んだ先頭ビットの内、n個置き
のm個の先頭ビットが同期パターンに一致すると、その
一致したタイミングに基づき、マルチフレームの先頭タ
イミングを検出する。
According to a first aspect of the present invention, there is provided a multi-frame synchronization detecting method comprising the steps of: transmitting a specific pattern data from serial data using a multi-frame; When the specific pattern data is detected, the leading bits of the subsequent frames are sequentially read based on the detection timing. Then, when every nth m bits of the read head bits match the synchronization pattern, the head timing of the multi-frame is detected based on the matched timing.

【0012】すなわち、従来は、シリアルデータから、
少なくとも1マルチフレーム分のビット情報を読込んで
おき、読込んだデータから単純に一定ビット間隔毎のビ
ット情報を抽出して、同期検出パターンを検出するよう
にしていたことから、マルチフレーム全体のビット情報
を格納可能な記憶手段が必要であった。そこで、本発明
では、シリアルデータからビット情報を読み込む前に、
まず特定パターンデータを検出するようにする。制御信
号がない場合において、特定パターンは、フレーム内の
予め定められた特定位置にあるから、その検出タイミン
グに基づいて、後続のフレームの先頭のビット位置(即
ち先頭タイミング)を導出できる。つまり、特定パター
ンデータの検出タイミングに基いて、後続のフレームの
先頭ビットだけを読込み、その読込んだ先頭ビットの中
から同期検出パターンを検出して、マルチフレームの先
頭のタイミングを検出するのである。
That is, conventionally, from serial data,
Bit information of at least one multi-frame is read, and bit information at a constant bit interval is simply extracted from the read data to detect a synchronization detection pattern. Storage means capable of storing information was required. Therefore, in the present invention, before reading the bit information from the serial data,
First, specific pattern data is detected. In the case where there is no control signal, the specific pattern is at a predetermined specific position in the frame, so that the leading bit position (ie, the leading timing) of the subsequent frame can be derived based on the detection timing. That is, based on the detection timing of the specific pattern data, only the first bit of the subsequent frame is read, the synchronization detection pattern is detected from the read first bit, and the first timing of the multi-frame is detected. .

【0013】従って、本発明のマルチフレーム同期検出
方法によれば、マルチフレーム全体のビット情報を読込
むのではなく、各フレームの先頭ビットのみを読込み、
その読込んだビット情報の中から、同期パターンを検出
し、更にマルチフレームの同期検出を行うようにしてい
ることから、読込むべきビット情報が少なく、それを格
納するための記憶容量が小さくて良いので、マルチフレ
ームの同期検出を行うための装置の規模を抑えることが
できる。
Therefore, according to the multi-frame synchronization detecting method of the present invention, instead of reading the bit information of the entire multi-frame, only the first bit of each frame is read.
Since the synchronization pattern is detected from the read bit information and the multi-frame synchronization is detected, the bit information to be read is small, and the storage capacity for storing the bit information is small. Since it is good, it is possible to suppress the scale of an apparatus for performing multi-frame synchronization detection.

【0014】さて、先頭ビットを選択的に読込むことが
できるのは、特定パターンデータが各フレーム内の予め
定められた特定位置にあるからであるが、その所定の位
置以外にも、偶然、特定パターンデータと同じパターン
が現れる可能性がある。その場合には、先頭ビットでな
いビットを、先頭ビットとして格納してしまうこととな
り、誤った同期検出をしてしまう可能性がある。
The reason why the first bit can be selectively read is that the specific pattern data is located at a predetermined specific position in each frame. The same pattern as the specific pattern data may appear. In this case, a bit other than the first bit is stored as the first bit, and there is a possibility that an incorrect synchronization is detected.

【0015】そこで、請求項2に記載の様に、先頭ビッ
トの読み込みは、特定パターンデータが、フレームの送
信周期と同じ時間間隔で複数検出されたときに行うよう
にすればよく、この様にすれば、誤った同期検出をして
しまう可能性を抑制できる。すなわち、特定パターンデ
ータはフレーム内の特定位置にあるから、真の特定パタ
ーンデータであればフレームの送信周期と同じ時間間隔
で検出されるはずであり、一方、偽の特定パターンデー
タであれば、フレームの送信周期と同じ時間間隔で検出
される可能性は低い。従って、請求項2記載の様にすれ
ば、より確実に先頭ビットの取り込みができ、その結
果、信頼性の高い同期検出をすることができる。
Therefore, as described in the second aspect, the reading of the leading bit may be performed when a plurality of specific pattern data are detected at the same time interval as the frame transmission cycle. Then, the possibility of erroneous synchronization detection can be suppressed. That is, since the specific pattern data is located at a specific position in the frame, if it is true specific pattern data, it should be detected at the same time interval as the transmission cycle of the frame. It is unlikely to be detected at the same time interval as the frame transmission cycle. Therefore, according to the second aspect, the leading bit can be more reliably captured, and as a result, highly reliable synchronization detection can be performed.

【0016】こうしたマルチフレーム同期検出方法は、
請求項3に記載のマルチフレーム同期検出装置により実
現できる。即ち、請求項3記載のマルチフレーム同期検
出装置においては、特定パターン検出手段が、シリアル
データの中から特定パターンデータを検出し、読込手段
が、特定パターン検出手段による特定パターンデータの
検出タイミングに基づき、後続のフレームの先頭ビット
を順次読込む。そして、先頭タイミング検出手段が、読
込手段に読込まれた先頭ビットの内、n個置きのm個の
先頭ビットが同期パターンに一致すると、その一致した
タイミングに基づき、マルチフレームの先頭タイミング
を検出する。
Such a multi-frame synchronization detecting method is as follows.
This can be realized by the multi-frame synchronization detecting device according to the third aspect. That is, in the multi-frame synchronization detecting device according to the third aspect, the specific pattern detecting means detects the specific pattern data from the serial data, and the reading means detects the specific pattern data based on the detection timing of the specific pattern data by the specific pattern detecting means. , And sequentially reads the first bit of the subsequent frame. Then, when every nth m bits of the leading bits read by the reading means match the synchronization pattern, the leading timing detecting means detects the leading timing of the multi-frame based on the matched timing. .

【0017】従って、請求項3に記載のマルチフレーム
同期検出装置によれば、請求項1に記載のマルチフレー
ム同期検出方法によりマルチフレームの同期検出を行う
ので、マルチフレームを速やかに検出するために必要な
データの記憶量が少なくてよく、装置規模の拡大を抑制
できる。
Therefore, according to the multi-frame synchronization detecting device according to the third aspect, the multi-frame synchronization detection is performed by the multi-frame synchronization detecting method according to the first aspect. The storage amount of necessary data may be small, and expansion of the device scale can be suppressed.

【0018】そして、請求項4に記載の様に、読込手段
を、特定パターン検出手段により特定パターンデータが
フレームの送信周期と同じ時間間隔で複数検出されたと
きに、先頭ビットの読込みを行うよう構成すれば、請求
項2に記載のマルチフレーム同期検出方法を実現して、
信頼性の高い同期検出をすることができる。
According to a fourth aspect of the present invention, the reading means reads the first bit when a plurality of specific pattern data are detected by the specific pattern detecting means at the same time interval as the frame transmission cycle. With this configuration, the multi-frame synchronization detection method according to claim 2 is realized,
Reliable synchronization detection can be performed.

【0019】[0019]

【発明の実施の形態】以下に、本発明の一実施例を図面
と共に説明する。図1は、一実施例としてのマルチフレ
ーム同期検出装置の全体的構成を示す図である。このマ
ルチフレーム同期検出装置は、ISDNの1次群インタ
ーフェースのうち1.544Mbpsインターフェース
にて規定された構成のマルチフレームを用いて生成され
たシリアルデータを受信し、その受信したシリアルデー
タの中からマルチフレームの先頭タイミングを検出する
ための装置である。尚、この図では、通信網側からのデ
ータを受信する受信側についてのみ示すものであり、送
信側については省略している。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an overall configuration of a multi-frame synchronization detection device as one embodiment. This multi-frame synchronization detection device receives serial data generated using a multi-frame having a configuration defined by a 1.544 Mbps interface among primary group interfaces of ISDN, and performs multi-frame processing from the received serial data. This is a device for detecting the head timing of a frame. In this figure, only the receiving side that receives data from the communication network side is shown, and the transmitting side is omitted.

【0020】また、マルチフレームの構成のうち、従来
の技術の欄にて行った部分についての説明は省略する
が、上記インターフェースでは、マルチフレームの構成
に関して、更に次の様な規定がある。すなわち、このイ
ンターフェースでは、各フレームの第24タイムスロッ
トには機器の制御情報等を入れることが規定されている
が、伝送すべき制御情報がない状態(例えば、通信端末
側と通信網側との同期がとられていない場合等)におい
ては、第24タイムスロットには、”0111111
0”(HDLCパターンデータ)というパターンデータ
を入れるよう定められている。
In the multi-frame configuration, the description of the portion performed in the section of the prior art will be omitted, but the above interface further defines the following for the multi-frame configuration. That is, in this interface, although it is specified that control information and the like of the device are to be inserted in the 24th time slot of each frame, there is no control information to be transmitted (for example, the communication terminal side and the communication network side). In the case where synchronization is not established, etc.), “0111111” is set in the 24th time slot.
0 "(HDLC pattern data).

【0021】さて、図1に示す様に、マルチフレーム同
期検出装置には、受信部2、同期検出部4、同期判定部
6、CRCチェック部8、チャネル分解部10およびク
ロック発生部12が設けられている。受信部2は、2線
のメタリック平衡対を介して通信網側から伝送されてく
る、「0」、「+1」および「−1」の3値からなるB
8ZS符号形式の信号を、「0」および「1」の2値か
らなる信号(以下、「ビットストリーム信号」という)
に変換する。
As shown in FIG. 1, the multi-frame synchronization detecting device includes a receiving unit 2, a synchronization detecting unit 4, a synchronization determining unit 6, a CRC checking unit 8, a channel decomposing unit 10, and a clock generating unit 12. Have been. The receiving unit 2 has three values of “0”, “+1”, and “−1” transmitted from the communication network side via a two-wire metallic balanced pair.
The signal of the 8ZS code format is converted into a binary signal of “0” and “1” (hereinafter, referred to as “bit stream signal”).
Convert to

【0022】同期検出部4は、後に詳述する様に、その
ビットストリーム信号に含まれるFASと同期パターン
との比較によって、同期パターンを検出するものであ
る。同期検出部4による検出結果は、同期判定部6にて
正しいかどうか判断される。すなわち、同期判定部6
は、同期検出部4から同期パターンを検出した旨の情報
を受けると、その検出タイミングに基いてマルチフレー
ム同期信号(以下、単に「同期信号」という。)を発生
して、CRCチェック部8に出力する。
As will be described in detail later, the synchronization detector 4 detects a synchronization pattern by comparing the FAS included in the bit stream signal with the synchronization pattern. The detection result by the synchronization detection unit 4 is judged by the synchronization judgment unit 6 to be correct. That is, the synchronization determination unit 6
Receives information indicating that a synchronization pattern has been detected from the synchronization detection unit 4, generates a multi-frame synchronization signal (hereinafter, simply referred to as a “synchronization signal”) based on the detection timing, and sends it to the CRC check unit 8. Output.

【0023】そしてCRCチェック部8では、同期判定
部6からの同期信号に同期して、ビットストリーム信号
に対してCRCチェック(即ち、CRC−6手順による
伝送誤り検出)を行い、CRCチェックにより伝送誤り
が検出されなければ、その旨の情報を同期判定部6に転
送する。CRCチェックにより伝送誤りが検出されなか
ったことは、同期判定部6からCRCチェック部8に出
力された同期信号が正しいものであることを意味する。
つまり、CRCチェック部8は、伝送誤りの有無を検査
するだけでなく、同期検出部4の同期検出の結果が正し
いかどうかを判断し、擬似同期を防止する。
The CRC check unit 8 performs a CRC check on the bit stream signal (ie, detects a transmission error by the CRC-6 procedure) in synchronization with the synchronization signal from the synchronization determination unit 6, and transmits the bit stream signal by the CRC check. If no error is detected, information to that effect is transferred to the synchronization determination unit 6. The fact that no transmission error is detected by the CRC check means that the synchronization signal output from the synchronization determination unit 6 to the CRC check unit 8 is correct.
That is, the CRC check unit 8 not only checks for the presence or absence of a transmission error, but also determines whether or not the result of synchronization detection by the synchronization detection unit 4 is correct, thereby preventing pseudo synchronization.

【0024】同期判定部6は、伝送誤りが検出されなか
った旨の情報をCRCチェック部8から受けると、マル
チフレームの同期が確立されたと判定し、同期信号をチ
ャネル分解部10に対して出力する。チャネル分解部1
0では、同期判定部6からの同期信号に基き、CRCチ
ェック部8を通過したビットストリーム信号を、フレー
ムビットおよび第1〜第24のタイムスロットに分解し
て、図示しない通信端末装置に伝送する。
Upon receiving information from the CRC checking section 8 that no transmission error has been detected, the synchronization determining section 6 determines that multi-frame synchronization has been established, and outputs a synchronization signal to the channel decomposing section 10. I do. Channel decomposition unit 1
At 0, the bit stream signal that has passed through the CRC check unit 8 is decomposed into frame bits and first to twenty-fourth time slots based on the synchronization signal from the synchronization determination unit 6 and transmitted to a communication terminal device (not shown). .

【0025】なお、クロック発生部12は、B8ZS符
号形式の受信信号から、ビットストリーム信号の1ビッ
ト幅の周期のクロック信号(以下、「ビットクロック信
号」)を抽出し、上記各部に転送している。次に、同期
検出部4および同期判定部6について、図2と共に説明
する。図2に示す様に、同期検出部4は、8ビットのシ
リアル/パラレル変換部22(S/P変換部)、特定パ
ターン記憶部24、特定パターン比較部26、第1シフ
トレジスタ28、メモリ回路32、第2シフトレジス
タ、同期パターン比較部およびサイクルカウンタ38、
同期検出制御部40を備えている。これら各部には、ク
ロック発生部12にて発生されたビットクロック信号が
入力されている。
The clock generator 12 extracts a 1-bit cycle clock signal (hereinafter, "bit clock signal") of the bit stream signal from the received signal in the B8ZS code format, and transfers it to each of the above units. I have. Next, the synchronization detection unit 4 and the synchronization determination unit 6 will be described with reference to FIG. As shown in FIG. 2, the synchronization detection unit 4 includes an 8-bit serial / parallel conversion unit 22 (S / P conversion unit), a specific pattern storage unit 24, a specific pattern comparison unit 26, a first shift register 28, a memory circuit 32, a second shift register, a synchronous pattern comparing unit and a cycle counter 38,
A synchronization detection control unit 40 is provided. A bit clock signal generated by the clock generator 12 is input to each of these units.

【0026】S/P変換部22は、ビットクロック信号
に同期して、受信部2からシリアルに伝送されてくるビ
ットストリーム信号を取込むと共にシフトさせ、8ビッ
トのデータとしてパラレルに出力する。一方、特定パタ
ーン記憶部24には、特定パターンデータとしてのHD
LCパターンデータ「01111110」が格納されて
いる。特定パターン比較部26は、S/P変換部22に
より出力される8ビットのビット列と、特定パターン記
憶部24に格納されたHDLCパターンデータとを比較
し、全8ビットが一致しているときには「1」を出力
し、一致していないときには「0」を出力する。
The S / P converter 22 takes in and shifts the bit stream signal transmitted serially from the receiver 2 in synchronization with the bit clock signal, and shifts the bit stream signal to output it in parallel as 8-bit data. On the other hand, the specific pattern storage unit 24 stores HD as specific pattern data.
LC pattern data “01111110” is stored. The specific pattern comparison unit 26 compares the 8-bit bit string output from the S / P conversion unit 22 with the HDLC pattern data stored in the specific pattern storage unit 24, and when all eight bits match, “ "1" is output, and if they do not match, "0" is output.

【0027】第1シフトレジスタ28は、「(1フレー
ム分のビット数)+1」のビット数(即ち、193+1
=194ビット)のシフトレジスタであり、ビットクロ
ック信号に同期して特定パターン比較部26からの出力
を取込むと共にシフトさせ、最下位ビットおよび最上位
ビットの値を出力する。即ち、第1シフトレジスタ28
は、HDLCパターンデータが、2つの連続するフレー
ム内の同じ位置に検出されたかどうか(即ちHDLCパ
ターンデータがフレームの送信周期と同じ時間間隔で2
回検出されたかどうか)を判断するためのものであり、
検出された場合には、最下位ビットおよび最上位ビット
の値として、共に「1」を出力することとなる。
The first shift register 28 stores the number of bits of “(number of bits for one frame) +1” (that is, 193 + 1).
= 194 bits), which takes in and shifts the output from the specific pattern comparing section 26 in synchronization with the bit clock signal, and outputs the values of the least significant bit and the most significant bit. That is, the first shift register 28
Is whether the HDLC pattern data is detected at the same position in two consecutive frames (that is, if the HDLC pattern data is detected at the same time interval as the frame transmission cycle).
Times have been detected).
If detected, both "1" are output as the values of the least significant bit and the most significant bit.

【0028】なお、以上説明したS/P変換部22、特
定パターン比較部26、特定パターン記憶部24および
第1シフトレジスタ28が、シリアルデータの中から特
定パターンデータを検出する特定パターン検出手段とし
て機能する。さてメモリ回路32は、シリアルデータの
中から、フレームの先頭ビットを順次読込む読込手段の
一部として機能するものであり、図3(a)に示す様
に、4×6ビットのメモリアレイとして構成されてい
る。メモリ回路32は、外部から書込信号と共にアドレ
スCaddおよびビット番号Cnが指定されると、その
指定されたビットに、ビットストリーム信号を格納す
る。外部から読出信号と共にアドレスCaddを指定さ
れると、その指定されたアドレスに格納された6ビット
のビット列をパラレルに出力する。なお、ビット番号C
nが小さいほど上位ビットである。
The S / P converter 22, specific pattern comparator 26, specific pattern storage 24, and first shift register 28 described above serve as specific pattern detection means for detecting specific pattern data from serial data. Function. The memory circuit 32 functions as a part of reading means for sequentially reading the first bit of the frame from the serial data. As shown in FIG. 3A, the memory circuit 32 has a 4 × 6 bit memory array. It is configured. When the address Cadd and the bit number Cn are specified together with the write signal from the outside, the memory circuit 32 stores the bit stream signal in the specified bit. When an address Cadd is specified together with a read signal from the outside, a 6-bit bit string stored at the specified address is output in parallel. Note that bit number C
The smaller the value of n, the higher the bit.

【0029】第2シフトレジスタ34は、同期パターン
の1つである「001011」が予め格納された6ビッ
トのシフトレジスタであって、最上位ビットと最下位ビ
ットとが接続されたもの(所謂、循環レジスタ)であ
る。第2シフトレジスタ34は、内部にてビットクロッ
ク信号の6倍のクロック信号を発生しており、ビットク
ロック信号の6倍のクロックタイミングで、同期パター
ン「001011」を循環してシフトさせると共に6ビ
ットのビット列をパラレルに出力する。即ち、第2シフ
トレジスタ34は、ビットクロック信号の1周期の間に
「001011」、「100101」、「11001
0」、「011001」、「101100」、「010
110」の6つの同期パターン(夫々、「同期パターン
A」〜「同期パターンF」とする)のビット列を順次出
力する。
The second shift register 34 is a 6-bit shift register in which "001011", which is one of the synchronization patterns, is stored in advance, in which the most significant bit and the least significant bit are connected (a so-called "shift"). Circular register). The second shift register 34 internally generates a clock signal that is six times the bit clock signal, and circulates and shifts the synchronization pattern “001011” at a clock timing that is six times the bit clock signal, and generates 6 bits. Are output in parallel. That is, the second shift register 34 outputs “001011”, “100101”, and “11001” during one cycle of the bit clock signal.
0 "," 011001 "," 101100 "," 010 "
The bit strings of the six sync patterns of “110” (hereinafter, “sync pattern A” to “sync pattern F”, respectively) are sequentially output.

【0030】サイクルカウンタ38は、第2シフトレジ
スタ34のシフトタイミングに同期して、「0」〜
「5」の間でカウントを繰り返す(即ち、その値Csi
ftを「0」から1ずつ増加させ、「5」の後「0」に
戻す)。従って、サイクルカウンタ38の値Csift
が取り得る「0」〜「5」は、夫々「同期パターンA」
〜「同期パターンF」に対応する。
The cycle counter 38 synchronizes with the shift timing of the second shift register 34 from “0” to “0”.
The count is repeated between “5” (that is, the value Csi
ft is incremented by 1 from “0” and returned to “0” after “5”). Therefore, the value Cshift of the cycle counter 38
"0" to "5" that can be taken are "synchronization pattern A", respectively.
~ "Synchronization pattern F".

【0031】同期パターン比較部36は、メモリ回路3
2から出力された6ビット長のビット列と、第2シフト
レジスタ34から出力された6ビット長のビット列(即
ちパターンA〜Fの同期パターン)とを比較し、その比
較結果として、全6ビットが一致しているときには
「1」を出力し、一致していないときには「0」を出力
する。
The synchronization pattern comparing section 36 is a memory circuit 3
2 is compared with the 6-bit bit string output from the second shift register 34 (that is, the synchronization pattern of the patterns A to F). As a result of the comparison, all 6 bits are compared. If they match, "1" is output, and if they do not match, "0" is output.

【0032】さて、同期判定部6には、ビットクロック
信号に同期して動作するビット位置カウンタ6aが設け
られている。ビット位置カウンタ6aは、1マルチフレ
ームのビット数(4632)を計数するためのダウンカ
ウンタであり、「0」〜「4631」の間でダウンカウ
ントを繰り返し(即ち、その値を「0」から1ずつ減少
させ、「0」の後「4631」に戻す)、その値が
「0」となる毎に、マルチフレームデータの先頭のタイ
ミングを示す同期パルスを出力する。
The synchronization determination section 6 is provided with a bit position counter 6a that operates in synchronization with the bit clock signal. The bit position counter 6a is a down counter for counting the number of bits (4632) of one multi-frame, and repeatedly counts down from "0" to "4631" (that is, the value is changed from "0" to 1). Each time the value becomes "0", a synchronization pulse indicating the start timing of the multi-frame data is output.

【0033】同期判定部6は、同期パターン比較部36
からの比較結果として「1」が出力されると、後に詳述
する様に、同期検出制御部40が指定したビット番号C
nおよびサイクルカウンタ38の値Csiftとに基い
て、マルチフレームの先頭のタイミングを算出する。そ
して、その算出したタイミングで、ビット位置カウンタ
6aの値が0となるよう、ビット位置カウンタ6aをセ
ットすることにより、ビット位置カウンタ6aに、マル
チフレーム同期信号を出力させる。
The synchronization determining unit 6 includes a synchronization pattern comparing unit 36
When "1" is output as a comparison result from the synchronization detection control unit 40, the bit number C
Based on n and the value Cshift of the cycle counter 38, the head timing of the multiframe is calculated. Then, the bit position counter 6a is set so that the value of the bit position counter 6a becomes 0 at the calculated timing, thereby causing the bit position counter 6a to output a multi-frame synchronization signal.

【0034】この様に構成されたマルチフレーム同期検
出装置において、同期検出制御部40は、図4、5に示
す処理によりメモリ回路の入出力制御を行う。図4は、
クロック発生部12にて発生されるビットクロック信号
に同期して起動されるビットクロック同期処理である。
In the multi-frame synchronization detecting device thus configured, the synchronization detection control section 40 controls the input / output of the memory circuit by the processing shown in FIGS. FIG.
This is a bit clock synchronization process started in synchronization with a bit clock signal generated by the clock generation unit 12.

【0035】このビットクロック同期処理が起動される
と、まず、現在、同期外れの状態であるか否かを判断す
る(ステップ10。以下「ステップ」を単に「S」と記
す)。同期外れかどうかは、CRCチェック部8にて伝
送誤りが検出されたかどうかにより判断する。同期外れ
の状態でない(伝送誤りが未検出)と判断すると(S1
0:NO)、直ちにビットクロック同期処理を終了する
が、同期外れの状態である(伝送誤りが検出された)と
判断した場合には(S10:YES)、HDLCパター
ンデータが2フレーム連続して検出されたどうか(即
ち、HDLCパターンデータがフレームの送信周期と同
じ時間間隔で2回検出されたかどうか)を判断する(S
20)。この判断は、第1シフトレジスタ28の出力
(最上位ビットおよび最下位ビットの値)により行う。
上述の様に、第1シフトレジスタ28の最上位ビットお
よび最下位ビットの値が共に「1」であることは、連続
する2フレームの同じビット位置にHDLCパターンデ
ータが検出されたことを示すからである。
When the bit clock synchronization process is started, first, it is determined whether or not it is out of synchronization (step 10; hereinafter, "step" is simply referred to as "S"). Whether the synchronization is lost or not is determined based on whether or not a transmission error is detected by the CRC check unit 8. If it is determined that the state is not out of synchronization (a transmission error has not been detected) (S1)
0: NO), the bit clock synchronization processing is immediately terminated, but if it is determined that the state is out of synchronization (a transmission error has been detected) (S10: YES), the HDLC pattern data continues for two consecutive frames. It is determined whether or not HDLC pattern data has been detected (ie, whether or not HDLC pattern data has been detected twice at the same time interval as the frame transmission period) (S
20). This determination is made based on the output (the value of the most significant bit and the least significant bit) of the first shift register 28.
As described above, the fact that the values of both the most significant bit and the least significant bit of the first shift register 28 are “1” indicates that the HDLC pattern data has been detected at the same bit position in two consecutive frames. It is.

【0036】HDLCパターンデータが連続して検出さ
れたと判断しなかった場合(S20:NO)には直ちに
S30に移行するが、HDLCパターンデータが連続し
て検出されたと判断した場合(S20:YES)には、
カウンタCout=「1」とした後(S25)、S30
に移行する。ここで、カウンタCoutは、同期検出制
御部40内部にて定義され、1フレーム分のビット数
(193)を計数することを目的として「0」〜「19
2」の値をとるカウンタであり、本マルチフレーム同期
検出回路起動の際に、その最大値である「192」がセ
ットされる。
If it is not determined that the HDLC pattern data has been continuously detected (S20: NO), the process immediately proceeds to S30, but if it is determined that the HDLC pattern data has been continuously detected (S20: YES). In
After setting the counter Cout = “1” (S25), S30
Move to Here, the counter Cout is defined inside the synchronization detection control unit 40, and is set to “0” to “19” for the purpose of counting the number of bits (193) for one frame.
The counter takes a value of "2", and the maximum value "192" is set when the multi-frame synchronization detection circuit is activated.

【0037】S30では、カウンタCout=「0」で
あるか否かを判断する。カウンタCout=「0」でな
い場合(S30:NO)には、直ちにS40に移行する
が、カウンタCout=「0」である場合(S30:Y
ES)には、次に説明するビットストリーム抽出処理を
起動し、その処理の終了後、上記S40の処理を行う。
In S30, it is determined whether or not the counter Cout = "0". If the counter Cout is not "0" (S30: NO), the process immediately proceeds to S40, but if the counter Cout is "0" (S30: Y).
ES), the bit stream extraction process described below is started, and after the process is completed, the process of S40 is performed.

【0038】信号抽出転送処理が起動されると、まず、
メモリ回路32に書込信号を入力すると共にアドレスC
addおよびビット番号Cnを指定して、その時メモリ
回路32に転送されてきたビットストリーム信号の1ビ
ットを、その指定した位置に格納させる(S110)。
次に、読出信号の入力と共にアドレスCaddを指定し
て、そのS110にて書込まれたビットを含むアドレス
Caddの6ビットのビット列を同期パターン比較部3
6に転送させる(S120)。ここで、アドレスCad
dおよびビット番号Cnは、同期検出制御部40内部に
て定義されたカウンタであり、本マルチフレーム同期検
出装置が起動された際に、共に「0」に初期化されてい
る。
When the signal extraction and transfer process is started, first,
A write signal is input to the memory circuit 32 and the address C
The add and the bit number Cn are designated, and one bit of the bit stream signal transferred to the memory circuit 32 at that time is stored in the designated position (S110).
Next, the address Cadd is designated together with the input of the read signal, and the 6-bit bit string of the address Cadd including the bit written in S110 is synchronized with the synchronous pattern comparison unit 3.
6 (S120). Here, the address Cad
The d and the bit number Cn are counters defined inside the synchronization detection control unit 40, and are both initialized to “0” when the multi-frame synchronization detection device is started.

【0039】S120の後、アドレスCaddを「1」
増加させ(S130)、その結果アドレスCaddが4
以上になったか否か判断する(S140)。アドレスC
addが4未満であると判断した場合(S140:N
O)には、直ちに信号抽出転送処理を終了するが、4以
上であると判断した場合(S140:YES)には、ア
ドレスCaddを「0」に戻す(S150)。つまり、
S130〜S150の処理により、アドレスCadd
は、順次「0」〜「3」の値をとることとなる。
After S120, the address Cadd is set to “1”.
(S130), and as a result, the address Cadd becomes 4
It is determined whether or not the above has been achieved (S140). Address C
When it is determined that add is less than 4 (S140: N
In O), the signal extraction and transfer process is immediately terminated, but if it is determined that the number is 4 or more (S140: YES), the address Cadd is returned to “0” (S150). That is,
By the processing of S130 to S150, the address Cadd
Take values from “0” to “3” sequentially.

【0040】S150の終了後、更に、ビット番号Cn
を「1」増加させ(S160)、その結果ビット番号C
nが6以上になったか否か判断する(S170)。ビッ
ト番号Cnが6未満であると判断した場合(S170:
NO)には、直ちに信号抽出転送処理を終了するが、6
以上であると判断した場合(S170:YES)には、
ビット番号Cnを「0」に戻す(S180)。つまり、
S130〜S150の処理により、アドレスCadd
は、順次「0」〜「3」の値をとることとなる。
After the end of S150, the bit number Cn
Is increased by “1” (S160), and as a result, the bit number C
It is determined whether or not n is 6 or more (S170). When it is determined that the bit number Cn is less than 6 (S170:
(NO), the signal extraction / transfer processing is immediately terminated.
If it is determined that this is the case (S170: YES),
The bit number Cn is returned to “0” (S180). That is,
By the processing of S130 to S150, the address Cadd
Take values from “0” to “3” sequentially.

【0041】さて、S30或いはS35の終了後、カウ
ンタCoutの値を「1」減らして(S40)、その結
果カウンタCoutの値が「−1」以下となったか否か
を判断する(SS50)。カウンタCoutの値が「−
1」以下でない場合(S50)には、ビットクロック同
期処理を直ちに終了するが、「−1」以下である場合に
は、カウンタCoutの値を「192」とした(S5
5)後に終了する。
After the end of S30 or S35, the value of the counter Cout is reduced by "1" (S40), and it is determined whether or not the value of the counter Cout has become "-1" or less as a result (SS50). When the value of the counter Cout is "-
If it is not equal to or less than "1" (S50), the bit clock synchronization process is immediately terminated. If it is equal to or less than "-1", the value of the counter Cout is set to "192" (S5).
5) End later.

【0042】つまり、ビットクロック同期処理及び信号
抽出転送処理によれば、例えば次の様な処理が行われ
る。即ち、HDLCパターンデータが、フレームの送信
周期と同周期(即ち、同じ時間間隔)で検出される(S
20:YES)と、カウンタCoutに「1」を格納し
(S25)た後、その値を「1」減らした(即ち、
「0」とする)後(S40)、一旦ビットクロック処理
は終了される。そして、次のビットクロック信号のタイ
ミングで、再びビットクロック処理が起動された際に
は、カウンタCoutは「0」であるので、S30にて
YESと判断され、信号抽出転送処理が起動される(S
35)こととなる。従って、HDLCパターンデータが
フレームの送信周期と同じ時間間隔で2回検出される
と、次のビットクロック信号のタイミングにおいて、ビ
ットストリーム信号のビット情報がメモリ回路32に格
納されると共に、同期パターン比較部36にて、同期パ
ターンの検出が行われるのである。
That is, according to the bit clock synchronization processing and the signal extraction transfer processing, for example, the following processing is performed. That is, the HDLC pattern data is detected at the same period (ie, at the same time interval) as the frame transmission period (S
20: YES), “1” is stored in the counter Cout (S25), and the value is reduced by “1” (ie,
After that, the bit clock processing is temporarily terminated (S40). Then, when the bit clock processing is started again at the timing of the next bit clock signal, the counter Cout is "0", so that YES is determined in S30, and the signal extraction transfer processing is started ( S
35) Therefore, when the HDLC pattern data is detected twice at the same time interval as the frame transmission cycle, the bit information of the bit stream signal is stored in the memory circuit 32 at the timing of the next bit clock signal, and the synchronization pattern comparison is performed. In the section 36, the detection of the synchronization pattern is performed.

【0043】また、HDLCパターンデータの検出・未
検出に関わらず、カウンタCoutの値は「0」〜「1
92」の間でダウンカウントされており、「0」となる
毎に信号抽出転送処理が起動される。従って、少なくと
も2つのHDLCパターンデータが、フレームの周期と
同じ時間間隔で検出されたと一旦判断されれば、その
後、仮に現れなくなったとしても後続のフレームのフレ
ームビットはメモリ回路32に格納されると共に、同期
パターンとの比較が同期パターン比較部36にて行われ
ることとなる。
The value of the counter Cout is "0" to "1" regardless of whether the HDLC pattern data is detected or not.
The signal extraction and transfer process is started every time the count value becomes "0". Therefore, once it is determined that at least two HDLC pattern data have been detected at the same time interval as the frame period, the frame bits of the subsequent frames are stored in the memory circuit 32 even if they no longer appear. , And the synchronization pattern are compared by the synchronization pattern comparison unit 36.

【0044】なお、以上説明したビットクロック同期処
理、信号抽出転送処理を実行する同期検出制御部はメモ
リ回路32と共に、特定パターン検出手段により前記特
定パターンデータが、フレームの送信周期と同じ時間間
隔で複数検出されたときに、先頭ビットの順次読込みを
行う読込手段として機能する。
The synchronization detection control unit for executing the bit clock synchronization processing and the signal extraction and transfer processing described above, together with the memory circuit 32, uses the specific pattern detection means so that the specific pattern data is transmitted at the same time interval as the frame transmission cycle. It functions as reading means for sequentially reading the first bit when a plurality of bits are detected.

【0045】同期検出制御部40により上記処理が行わ
れた結果、同期パターン比較部36から、比較結果とし
て「1」が出力されると、同期判定部6では、図6に示
す同期信号設定処理が行われる。すなわち、同期検出制
御部40が指定したビット番号Cnおよびサイクルカウ
ンタ38の値Csiftとに基いて、現在のタイミング
を算出する(S210)。例えば、サイクルカウンタ3
8の値Csiftが「5」であった場合、メモリ回路3
2の何れかのアドレスCaddに、同期パターンF「0
10110」の形で格納されていること、即ちビット番
号「0」〜「5」に、順に第8、第12、第16、第2
0、第24及び第4フレームのフレームビットが格納さ
れていることが分かる。そして、同期検出制御部40に
より指定されたビット番号Cnが、例えば「2」であれ
ば、メモリ回路32に格納された第16フレームのフレ
ームビットであることが分かる。即ち、現在のタイミン
グが第16フレームの先頭のタイミングであることが分
かるのである。これを例示したのが図3(b)であり、
「F1」〜「F24」は夫々第1〜第24フレームのフ
レームビットを示す。
As a result of the above processing performed by the synchronization detection control section 40, when the synchronization pattern comparison section 36 outputs "1" as a comparison result, the synchronization determination section 6 causes the synchronization signal setting processing shown in FIG. Is performed. That is, the current timing is calculated based on the bit number Cn designated by the synchronization detection control unit 40 and the value Cshift of the cycle counter 38 (S210). For example, cycle counter 3
If the value Cshift of 8 is “5”, the memory circuit 3
2, the synchronization pattern F “0” is assigned to any of the addresses Cadd.
10110 ”, that is, the bit numbers“ 0 ”to“ 5 ”are sequentially stored in the eighth, twelfth, sixteenth, and second bit numbers.
It can be seen that frame bits 0, 24, and 4 are stored. If the bit number Cn specified by the synchronization detection control unit 40 is, for example, “2”, it is understood that the bit number is the frame bit of the 16th frame stored in the memory circuit 32. That is, it can be seen that the current timing is the head timing of the 16th frame. FIG. 3B illustrates this.
“F1” to “F24” indicate frame bits of the first to 24th frames, respectively.

【0046】こうして算出された現在のタイミングに基
いて、何ビット後(即ち何ビットクロック後)が、マル
チフレームの先頭のタイミングであるかを算出して、ビ
ット位置カウンタ6aの値をセットする(S220)。
例えば、第16フレームのフレームビットであると算出
した場合には、マルチフレームの先頭のタイミングは、
1737(=9×193)ビット後であると算出し、ビ
ット位置カウンタ6aに「1737」を設定する。ここ
で、「9」とは、次のマルチフレームの第1フレーム
が、9フレーム後であることによる。S220の後、当
該同期信号設定処理を終了する。こうして、同期信号設
定処理の後、マルチフレームの先頭のタイミングの同期
信号が、ビット位置カウンタ6aから発生されることと
なる。つまり、同期判定部6は、読込まれた先頭ビット
の内、n個置きのm個の先頭ビットが同期パターンに一
致すると、その一致したタイミングに基づき、マルチフ
レームの先頭タイミングを検出する先頭タイミング検出
手段として機能する。
Based on the current timing thus calculated, how many bits later (ie, how many clocks after) is the start timing of the multiframe, and the value of the bit position counter 6a is set ( S220).
For example, if it is calculated that the frame bit is the 16th frame, the timing at the beginning of the multiframe is
It is calculated that it is 1737 (= 9 × 193) bits later, and “1737” is set in the bit position counter 6a. Here, “9” means that the first frame of the next multiframe is nine frames later. After S220, the synchronization signal setting process ends. Thus, after the synchronization signal setting processing, the synchronization signal at the head timing of the multi-frame is generated from the bit position counter 6a. That is, if every nth m bits of the read start bits match the synchronization pattern, the synchronization determination unit 6 detects the start timing of the multiframe based on the matched timing. Functions as a means.

【0047】なお、同期判定部6は、ビット位置カウン
タ6aに発生させた同期信号に基いて、まず、CRCチ
ェック部8に出力してCRCチェックを行わせる。そし
て、CRCチェックにより伝送誤りが検出されなけれ
ば、マルチフレームの同期が確立されたと判定し、同期
信号をチャネル分解部10や、通信端末側に出力させ
る。
The synchronization determining unit 6 first outputs to the CRC checking unit 8 to perform a CRC check based on the synchronization signal generated by the bit position counter 6a. If no transmission error is detected by the CRC check, it is determined that multiframe synchronization has been established, and a synchronization signal is output to the channel decomposing unit 10 or the communication terminal side.

【0048】以上の様に、本実施例のマルチフレーム同
期検出装置においては、上記インターフェースで規定さ
れた構成のマルチフレームの特徴、すなわち、伝送すべ
き制御情報がない状態においては、第24タイムスロッ
トには、HDLCパターンデータが入れられるという特
徴に着目し、HDLCパターンデータを検出すると、次
のビットクロックタイミングのビットを、各フレームの
フレームビットと判断する。そして、メモリ回路32
に、マルチフレーム全体のビット情報を取込むのではな
く、そのフレームビットと判断したビットのみを取り込
み、その取込んだ内容に基いて、マルチフレームの先頭
のタイミングを検出するようにしている。そのため、ビ
ットストリーム信号(シリアルデータ)を記憶するため
のメモリ回路32の記憶容量が少なくてよく、装置の回
路規模を小型化することができる。
As described above, in the multiframe synchronization detecting apparatus according to the present embodiment, the characteristics of the multiframe having the configuration defined by the above-mentioned interface, that is, in the state where there is no control information to be transmitted, the 24th time slot Pays attention to the feature that the HDLC pattern data can be inserted into, and when the HDLC pattern data is detected, the bit of the next bit clock timing is determined to be the frame bit of each frame. Then, the memory circuit 32
Instead of taking in the bit information of the entire multi-frame, only the bits determined to be the frame bits are taken in, and the leading timing of the multi-frame is detected based on the taken-in contents. Therefore, the storage capacity of the memory circuit 32 for storing the bit stream signal (serial data) may be small, and the circuit scale of the device can be reduced.

【0049】また、HDLCパターンデータが連続する
2フレームの同じ位置に検出されると(即ち、HDLC
パターンデータがフレームの送信周期と同じ時間間隔で
2回検出されると)、その検出タイミングに基いて、メ
モリ回路32に後続のフレームの先頭ビットを読込むよ
うにしているので、より確実にフレームビットの取り込
みができ、その結果、より信頼性の高い同期検出をする
ことができる。
When HDLC pattern data is detected at the same position in two consecutive frames (that is, when HDLC pattern data is detected).
When the pattern data is detected twice at the same time interval as the transmission period of the frame), the first bit of the subsequent frame is read into the memory circuit 32 based on the detection timing, so that the frame bit can be captured more reliably. As a result, more reliable synchronization detection can be performed.

【0050】また従来は、誤った同期検出の発生を抑制
するためには、メモリ回路32を数マルチフレーム分の
ビット情報を格納なものとする必要があったが、HDL
Cパターンデータが、フレームの送信周期と同じ時間間
隔で2回検出されたかどうかを判断するようにすれば良
い。フレームの送信周期と同じ時間間隔で2回検出され
たかどうかを判断するには、第1シフトレジスタ28の
記憶可能なビット数は「(1フレームのビット数)+1
ビット」あれば良く、大容量の記憶手段を必要とせず
に、誤った同期検出の発生を抑制することができる。
Conventionally, in order to suppress occurrence of erroneous synchronization detection, the memory circuit 32 had to store bit information for several multi-frames.
It may be determined whether the C pattern data has been detected twice at the same time interval as the frame transmission cycle. In order to determine whether or not detection has been performed twice at the same time interval as the frame transmission cycle, the number of bits that can be stored in the first shift register 28 is “(the number of bits in one frame) +1.
Bits only suffice, and the occurrence of erroneous synchronization detection can be suppressed without requiring large-capacity storage means.

【0051】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定される物ではなく、種々
の態様を取ることができる。例えば、上記実施例では、
第1シフトレジスタ28を「(1フレームのビット数)
+1ビット」のものとして説明したが、これに限られる
ものではなく、例えば、第1シフトレジスタ28のビッ
ト数を「(2フレームのビット数)+1ビット」として
もよい。この場合、最下位ビット(第1ビット)、中央
のビット(第194ビット)及び最上位ビット(第38
5ビット)が全て「1」であるかどうか(即ち、3フレ
ーム連続して同じ位置にHDLCパターンデータが検出
されたかどうか)を判断して、全て「1」であるとき
に、所定のタイミングでメモリ回路32にビットストリ
ーム信号を格納するようにすれば、更に正確にフレーム
ビットを抽出でき、同期検出の信頼性を高めることがで
きる。
As described above, one embodiment of the present invention has been described. However, the present invention is not limited to the above-described embodiment, and can take various aspects. For example, in the above embodiment,
The first shift register 28 is set to "(bit number of one frame)
Although the description has been made with reference to “+1 bit”, the present invention is not limited to this. For example, the number of bits of the first shift register 28 may be “(the number of bits of two frames) +1 bit”. In this case, the least significant bit (first bit), the middle bit (194th bit) and the most significant bit (38th bit)
5 bits) are all “1” (that is, whether HDLC pattern data is detected at the same position for three consecutive frames), and when all are “1”, at a predetermined timing. If the bit stream signal is stored in the memory circuit 32, the frame bits can be extracted more accurately, and the reliability of the synchronization detection can be improved.

【0052】また、上記実施例のマルチフレーム同期検
出装置は、特定パターンデータとしてのHDLCパター
ンデータが各フレームの最後に含むよう構成されたマル
チフレームの同期検出を行うものとし、特定パターンデ
ータを検出した次のビットクロックタイミングで、ビッ
トストリーム信号をメモリ回路32に格納するものとし
て説明したが、これに限られるものではない。特定パタ
ーンデータのフレーム内での位置が規定されていれば、
その位置と先頭ビットであるフレームビットの位置関係
から、特定パターンデータが検出されたタイミング(即
ち、特定パターンデータが検出された位置)に基いて、
フレームビットを読込むようにすればよい。
Further, the multi-frame synchronization detecting apparatus of the above embodiment detects the synchronization of a multi-frame configured so that the HDLC pattern data as the specific pattern data is included at the end of each frame, and detects the specific pattern data. Although it has been described that the bit stream signal is stored in the memory circuit 32 at the next bit clock timing, the present invention is not limited to this. If the position of the specific pattern data in the frame is specified,
From the positional relationship between the position and the frame bit which is the leading bit, based on the timing at which the specific pattern data is detected (that is, the position at which the specific pattern data is detected),
What is necessary is just to read a frame bit.

【0053】また、上記実施例のマルチフレーム同期検
出装置は、「n個置きのフレームの先頭ビットに、mビ
ットの同期パターンを構成するビットデータが設定され
たマルチフレーム」として、「4個置きのフレームの先
頭ビットに、6ビットの同期パターンを構成するビット
データが設定されたマルチフレーム」の同期検出を行う
ものとして説明したが、これに限られるものではない。
Further, the multi-frame synchronization detecting apparatus of the above-described embodiment uses “every four frames as a multi-frame in which bit data constituting an m-bit synchronization pattern is set at the head bit of every nth frame”. It has been described that the synchronization detection of the "multi-frame in which the bit data constituting the 6-bit synchronization pattern is set in the first bit of the frame" is performed, but the present invention is not limited to this.

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

【図1】 一実施例のマルチフレーム同期検出装置の全
体的構成を示すブロック図である。
FIG. 1 is a block diagram illustrating an overall configuration of a multi-frame synchronization detection device according to an embodiment.

【図2】 同期検出部及び同期判定部を詳細に示す説明
図である。
FIG. 2 is an explanatory diagram showing a synchronization detection unit and a synchronization determination unit in detail.

【図3】 メモリ回路の構成を示す説明図である。FIG. 3 is an explanatory diagram illustrating a configuration of a memory circuit.

【図4】 実施例のマルチフレーム同期検出装置にて実
行されるビットクロック同期処理を示すフローチャート
である。
FIG. 4 is a flowchart illustrating a bit clock synchronization process performed by the multi-frame synchronization detection device according to the embodiment;

【図5】 同じく信号抽出転送処理を示すフローチャー
トである。
FIG. 5 is a flowchart showing a signal extraction and transfer process.

【図6】 同じく同期信号設定処理を示すフローチャー
トである。
FIG. 6 is a flowchart showing a synchronization signal setting process.

【図7】 マルチフレームの構成を示す説明図である。FIG. 7 is an explanatory diagram showing a configuration of a multi-frame.

【図8】 各フレームビットの割当てを示す説明図であ
る。
FIG. 8 is an explanatory diagram showing the assignment of each frame bit.

【符号の説明】[Explanation of symbols]

2…受信部、4…同期検出部、6…同期判定部、6a…
ビット位置カウンタ、22…S/P変換部、22…シリ
アル/パラレル変換部、24…特定パターン記憶部、2
6…特定パターン比較部、28…第1シフトレジスタ、
32…メモリ回路、34…第2シフトレジスタ、36…
同期パターン比較部、38…サイクルカウンタ、40…
同期検出制御部。
2 ... receiving unit, 4 ... synchronization detecting unit, 6 ... synchronization determining unit, 6a ...
Bit position counter, 22 S / P converter, 22 serial / parallel converter, 24 specific pattern storage unit, 2
6 specific pattern comparing section 28 first shift register
32 memory circuit, 34 second shift register, 36
Synchronization pattern comparison unit, 38: cycle counter, 40:
Synchronization detection control unit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 一定長のビット列からなり該ビット列の
特定位置に特定パターンデータが設定されたフレーム
を、m×n個、時系列順に並べてなるマルチフレームで
あって、前記m×n個のフレームの内、n個置きのフレ
ームの先頭ビットに、mビットの同期パターンを構成す
るビットデータが設定され、データ受信時に前記同期パ
ターンを検出することにより当該マルチフレームの先頭
タイミングを検出できるように構成されたマルチフレー
ムを用いて生成されたシリアルデータを受信し、該受信
したシリアルデータの中から前記マルチフレームの先頭
タイミングを検出するマルチフレーム同期検出方法であ
って、 前記シリアルデータの中から前記特定パターンデータを
検出し、 前記特定パターンデータが検出されると、該検出タイミ
ングに基づき、後続のフレームの先頭ビットを順次読込
み、 該読込んだ先頭ビットの内、n個置きのm個の先頭ビッ
トが前記同期パターンに一致すると、その一致したタイ
ミングに基づき、前記マルチフレームの先頭タイミング
を検出することを特徴とするマルチフレーム同期検出方
法。
1. A multi-frame in which m × n frames composed of a bit string of a fixed length and having specific pattern data set at a specific position of the bit string are arranged in chronological order, wherein the m × n frames Of the n-th frame, bit data constituting an m-bit synchronization pattern is set in the first bit, and the first timing of the multiframe can be detected by detecting the synchronization pattern when data is received. A multi-frame synchronization detection method of receiving serial data generated using the obtained multi-frame and detecting a start timing of the multi-frame from the received serial data, wherein the identification is performed from the serial data. When the pattern data is detected, and the specific pattern data is detected, Then, the head bits of the subsequent frame are sequentially read, and if every mth leading bit of the read n bits matches the synchronization pattern, the head of the multi-frame is read based on the matching timing. A multi-frame synchronization detection method comprising detecting timing.
【請求項2】 請求項1に記載のマルチフレーム同期検
出方法において、 前記先頭ビットの読み込みは、前記特定パターンデータ
が前記フレームの送信周期と同じ時間間隔で複数検出さ
れたときに行うことを特徴とするマルチフレーム同期検
出方法。
2. The multi-frame synchronization detection method according to claim 1, wherein the reading of the first bit is performed when a plurality of the specific pattern data are detected at the same time interval as a transmission cycle of the frame. Multi-frame synchronization detection method.
【請求項3】 一定長のビット列からなり該ビット列の
特定位置に特定パターンデータが設定されたフレーム
を、m×n個、時系列順に並べてなるマルチフレームで
あって、前記m×n個のフレームの内、n個置きのフレ
ームの先頭ビットに、mビットの同期パターンを構成す
るビットデータが設定され、データ受信時に前記同期パ
ターンを検出することにより当該マルチフレームの先頭
タイミングを検出できるように構成されたマルチフレー
ムを用いて生成されたシリアルデータを受信し、該受信
したシリアルデータの中から前記マルチフレームの先頭
タイミングを検出するマルチフレーム同期検出装置であ
って、 前記シリアルデータの中から前記特定パターンデータを
検出する特定パターン検出手段と、 該特定パターン検出手段により前記特定パターンデータ
が検出されると、該検出タイミングに基づき、後続のフ
レームの先頭ビットを順次読込む読込手段と、 該読込まれた先頭ビットの内、n個置きのm個の先頭ビ
ットが前記同期パターンに一致すると、その一致したタ
イミングに基づき、前記マルチフレームの先頭タイミン
グを検出する先頭タイミング検出手段と、 を備えたことを特徴とするマルチフレーム同期検出装
置。
3. A multi-frame in which a specific pattern data is set at a specific position of a bit string of a fixed length in a m × n number of frames in a time-series order, wherein the m × n frames Of the n-th frame, bit data constituting an m-bit synchronization pattern is set in the first bit, and the first timing of the multiframe can be detected by detecting the synchronization pattern when data is received. A multi-frame synchronization detection device for receiving serial data generated using the generated multi-frame, and detecting a start timing of the multi-frame from the received serial data, wherein the identification is performed from the serial data. A specific pattern detecting means for detecting pattern data, and the specific pattern detecting means When the specific pattern data is detected, reading means for sequentially reading the leading bits of the subsequent frame based on the detection timing, and every n leading m bits among the read leading bits are synchronized with the synchronous bits. A multi-frame synchronization detecting device, comprising: when the pattern matches, a head timing detecting means for detecting a head timing of the multi-frame based on the matched timing.
【請求項4】 請求項3に記載のマルチフレーム同期検
出装置において、 前記読込手段は、前記先頭ビットの読込みを、前記特定
パターン検出手段により前記特定パターンデータが前記
フレームの送信周期と同じ時間間隔で複数検出されたと
きに行うことを特徴とするマルチフレーム同期検出装
置。
4. The multi-frame synchronization detecting device according to claim 3, wherein said reading means reads said first bit by means of said specific pattern detecting means so that said specific pattern data has a time interval equal to a transmission cycle of said frame. A multi-frame synchronization detecting device, which is performed when a plurality of frames are detected.
JP29203998A 1998-10-14 1998-10-14 Multiframe synchronization detection method and apparatus Expired - Lifetime JP3978898B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29203998A JP3978898B2 (en) 1998-10-14 1998-10-14 Multiframe synchronization detection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29203998A JP3978898B2 (en) 1998-10-14 1998-10-14 Multiframe synchronization detection method and apparatus

Publications (2)

Publication Number Publication Date
JP2000124886A true JP2000124886A (en) 2000-04-28
JP3978898B2 JP3978898B2 (en) 2007-09-19

Family

ID=17776751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29203998A Expired - Lifetime JP3978898B2 (en) 1998-10-14 1998-10-14 Multiframe synchronization detection method and apparatus

Country Status (1)

Country Link
JP (1) JP3978898B2 (en)

Also Published As

Publication number Publication date
JP3978898B2 (en) 2007-09-19

Similar Documents

Publication Publication Date Title
EP0405761B1 (en) System for synchronizing data frames in a serial bit stream
US5757869A (en) Apparatus and method for detecting frame synchronization pattern/word in bit-stuffed digital data frame
JPS6359294B2 (en)
EP0405760B1 (en) System for synchronizing data frame groups in a serial bit stream
JP3439649B2 (en) Path trace check method and apparatus
EP0735709B1 (en) Synchronizing circuit for use in a digital audio signal compressing/expanding system
US5301195A (en) Circuit for multiframe synchronization
JP4012907B2 (en) Asynchronous transmission method and circuit thereof
EP0530030B1 (en) Circuit for detecting a synchronizing signal in frame synchronized data transmission
US4583221A (en) Synchronization system for key telephone system
JP3978898B2 (en) Multiframe synchronization detection method and apparatus
US6625240B1 (en) Byte alignment/frame synchronization apparatus
JP3048504B2 (en) Signal detection circuit and frame synchronization circuit
JP2873059B2 (en) Pattern synchronization circuit for wireless communication system
JPH08125649A (en) Frame synchronization detection system
JP3010634B2 (en) Frame synchronous multiplex processing
JP3157536B2 (en) Multi-frame detection circuit
JP2001257665A (en) Data transmitting system
JP4441648B2 (en) Frame synchronization circuit
JP2990094B2 (en) Frame synchronization circuit
JPH0758971B2 (en) Communication control device
JPH098795A (en) Frame synchronizing method and communication equipment
JP3623764B2 (en) Terminal adapter
JPH0279631A (en) Frame synchronizing circuit
JP2001127744A (en) Device and method for start-stop synchronous data communication

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070605

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070618

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120706

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term