JPH08139715A - Frame synchronizing communication system - Google Patents

Frame synchronizing communication system

Info

Publication number
JPH08139715A
JPH08139715A JP6280272A JP28027294A JPH08139715A JP H08139715 A JPH08139715 A JP H08139715A JP 6280272 A JP6280272 A JP 6280272A JP 28027294 A JP28027294 A JP 28027294A JP H08139715 A JPH08139715 A JP H08139715A
Authority
JP
Japan
Prior art keywords
code
frame
frame synchronization
information
bits
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
JP6280272A
Other languages
Japanese (ja)
Other versions
JP3416860B2 (en
Inventor
Yukio Sakata
幸夫 坂田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP28027294A priority Critical patent/JP3416860B2/en
Publication of JPH08139715A publication Critical patent/JPH08139715A/en
Application granted granted Critical
Publication of JP3416860B2 publication Critical patent/JP3416860B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: To detect a correct frame synchronizing position at the receiver side by disposing the latter half of a frame synchronizing code between the digital data at nearly even intervals for generation of the frame information. CONSTITUTION: An FSC(frame synchronizing code) includes both codes 0000 and 1111 of 4 bits respectively, i.e., a code 00001111 of 8 bits. Then the first half code 00001 of the FSC consists of the head bits of both codes 0000 and 1111 and is disposed at the head of the frame information. The remainder codes 111 are defined as the latter half code of the FSC and scattered with every bit between the digital data at nearly even intervals. A frame synchronization detecting circuit collates the received signal with the FSC which is previously set in a data register 1 via a shift register 2, an EXOR 3, an inverter 5 and AND gate 5 to detect the timing where the FSC is acquired as a correct code. Thus a correct frame synchronizing position can be detected at the receiver side.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデジタルデータとフレー
ム同期用符号とよりなるフレーム情報を、1回線を使用
し直列に所定速度で送受信するフレーム同期通信方法に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization communication method for transmitting and receiving frame information consisting of digital data and a frame synchronization code in series at a predetermined speed using one line.

【0002】[0002]

【従来の技術】図4は従来のフレーム同期通信方法のフ
レームフォーマット例を示す図であり、従来の1回線を
使用し、直列にデジタルデータを送信する場合の一般的
なフレームフォーマットの例を示している。図4におい
て、Aの部分はフレーム同期用の符号を入れてある期間
で、Bの部分はデジタルデータを入れてある期間であ
る。図4におけるフレーム同期用の符号には、特定のパ
ターン符号が使用される。そして受信側では、この特定
のパターン符号を検出する機能をもち、この符号を検出
したとき、1フレームの先頭であると判定し、次のデー
タを順次読み取っていく。但し、この方法では、データ
の内容がフレーム同期用の特定パターン符号と一致した
場合、フレーム同期信号と誤るため、通常以下の方法が
とられている。
2. Description of the Related Art FIG. 4 is a diagram showing an example of a frame format of a conventional frame synchronous communication method, showing an example of a general frame format for transmitting digital data serially using one conventional line. ing. In FIG. 4, part A is a period in which a code for frame synchronization is inserted, and part B is a period in which digital data is inserted. A specific pattern code is used as the code for frame synchronization in FIG. The receiving side has a function of detecting this specific pattern code, and when this code is detected, it is determined to be the beginning of one frame, and the next data is sequentially read. However, in this method, when the content of the data matches the specific pattern code for frame synchronization, it is mistaken as a frame synchronization signal, and therefore the following method is usually adopted.

【0003】第1の方法としては、あらかじめデータの
内容がフレーム同期用の符号と一致しないようにデータ
の内容に制限を加えるか、または別の内容に変える処理
を行う。第2の方法としては、フレーム同期用の符号が
周期性をもっていることから、毎フレームの同じ時期
に、フレーム同期用の特定パターン符号が来ているかど
うかを判定し、時期がずれていればフレーム同期用の符
号ではないと判断する機能をもつ。このようにして送信
側の信号に同期した信号を受信することが可能である。
As a first method, the content of the data is restricted in advance so that the content of the data does not match the code for frame synchronization, or the content is changed to another content. As a second method, since the code for frame synchronization has a periodicity, it is judged whether or not the specific pattern code for frame synchronization has arrived at the same time of each frame, and if the time is shifted, the frame It has a function to judge that it is not a code for synchronization. In this way, it is possible to receive a signal synchronized with the signal on the transmitting side.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、以上述
べた方法のうち、第1の方法において、入力データをフ
レーム同期用の符号と一致しないようにデータに制限を
加えることは汎用性が無く、データの内容を変えるにも
余分な回路が必要になるという問題があった。また第2
の方法において、入力データが1フレーム毎にランダム
に変化するデータであればよいが、入力データが固定的
であり、フレーム同期用の特定パターン符号と同じ場合
は、毎フレーム同じ時期にフレーム同期用の符号と同じ
データが来るため、フレーム同期用符号の周期性からフ
レーム同期用符号を判断する回路は誤動作してしまうと
いう欠点があった。
However, in the first method of the above-mentioned methods, it is not versatile to limit the data so that the input data does not match the code for frame synchronization. There was a problem that an extra circuit was needed to change the contents of. Also the second
In the above method, if the input data is data that changes randomly for each frame, but if the input data is fixed and is the same as the specific pattern code for frame synchronization, it is used for frame synchronization at the same time for each frame. Since the same data as the above code comes, the circuit that determines the frame synchronization code from the periodicity of the frame synchronization code malfunctions.

【0005】[0005]

【課題を解決するための手段】本発明に係るフレーム同
期通信方法は、デジタルデータとフレーム同期用符号と
よりなるフレーム情報を直列に所定速度で送受信するフ
レーム同期通信方法において、前記フレーム同期用符号
を前半の符号と後半の符号とにより構成し、前記フレー
ム情報の先頭に前記フレーム同期用符号の前半の符号
を、その次にデジタルデータをそれぞれ配置し、前記フ
レーム同期用符号の後半の符号を1ビット又は複数ビッ
トずつ前記配置されたデジタルデータの間にほぼ均等の
間隔で分散して配置し、前記フレーム情報を構成するこ
とにより、受信側で正しいフレーム同期位置の検出を可
能とするものである。
A frame synchronization communication method according to the present invention is a frame synchronization communication method for transmitting and receiving frame information consisting of digital data and a frame synchronization code in series at a predetermined speed. Is composed of a first half code and a second half code, the first half code of the frame synchronization code is arranged at the beginning of the frame information, and then digital data is arranged respectively, and the latter half code of the frame synchronization code is arranged. By arranging one bit or a plurality of bits at a substantially even interval between the arranged digital data and arranging the frame information, it is possible to detect the correct frame synchronization position on the receiving side. is there.

【0006】[0006]

【作用】本発明においては、デジタルデータとフレーム
同期用符号とよりなるフレーム情報を直列に所定速度で
送受信するフレーム同期通信方法において、前記フレー
ム同期用符号を前半の符号と後半の符号とにより構成
し、前記フレーム情報の先頭に前記フレーム同期用符号
の前半の符号を、その次にデジタルデータをそれぞれ配
置し、前記フレーム同期用符号の後半の符号を1ビット
又は複数ビットずつ前記配置されたデジタルデータの間
にほぼ均等の間隔で分散して配置し、前記フレーム情報
を構成するようにしたので、受信情報から、上記のよう
に構成及び配置されたフレーム同期用符号が、すべての
配置位置において正しい符号として得られるタイミング
が正しいフレーム同期位置として検出され、正常な受信
が可能となる。
According to the present invention, in a frame synchronization communication method for transmitting and receiving frame information consisting of digital data and a frame synchronization code in series at a predetermined speed, the frame synchronization code is composed of a first half code and a second half code. Then, the first half code of the frame synchronization code and then the digital data are respectively arranged at the head of the frame information, and the latter half code of the frame synchronization code is arranged by 1 bit or a plurality of bits. Since the frame information is configured by arranging the data at substantially equal intervals between the data, the frame synchronization code configured and arranged as described above is determined from the received information at all positions. The timing obtained as the correct code is detected as the correct frame synchronization position, and normal reception is possible.

【0007】[0007]

【実施例】【Example】

実施例1.図1は本発明のフレーム同期通信方法の第1
のフレームフォーマット例を示す図であり、図の上部の
横一行にフレーム情報の構成例を示し、図の下部のマト
リックスに受信側におけるフレーム情報の同期ずれの例
を示している。最初に本実施例1におけるフレーム同期
用符号の構成とその配置について説明する。この例にお
けるフレーム同期用符号は、4ビットの0の連続する第
1の符号0000と、4ビットで第1の符号と符号が逆
の1が連続する第2の符号1111とを含む合計8ビッ
トの00001111とした。またデータは25ビット
とし、合計33ビットのフレーム情報とした。
Example 1. FIG. 1 shows a first frame synchronization communication method according to the present invention.
FIG. 4 is a diagram showing an example of the frame format of FIG. 1, one horizontal line in the upper part of the drawing shows a configuration example of frame information, and a matrix in the lower part of the drawing shows an example of synchronization deviation of frame information on the receiving side. First, the configuration and arrangement of the frame synchronization code in the first embodiment will be described. The code for frame synchronization in this example has a total of 8 bits including a first code 0000 of 4 bits of consecutive 0s and a second code 1111 of 4 bits of consecutive 1s with opposite signs to the first code. Of 00001111. Further, the data is 25 bits, and the frame information is 33 bits in total.

【0008】次に、前記第1の符号0000と第2の符
号の先頭の1ビットの1により、フレーム同期用符号の
前半の符号00001を構成し、これをフレーム情報の
先頭に配置し、その後にデジタルデータを配置した。次
に、前記第2の符号から先頭の1ビットを除いた符号1
11によりフレーム同期用符号の後半の符号とし、この
後半の符号を1ビットずつ前記配置されたデジタルデー
タの間にほぼ均等の間隔で(この例ではデジタルデータ
が7ビット毎に)、分散して配置した。このようにして
構成されたフレーム情報の例が図1の上部の横一列に示
されており、ここでフレーム同期用の符号は0又は1で
示した位置に配置され、データは*印で示す位置に配置
されている。
Next, the first code 0000 and the leading 1-bit 1 of the second code form a first half code 00001 of the frame synchronization code, which is placed at the beginning of the frame information, and thereafter. The digital data was placed in. Next, a code 1 obtained by removing the leading 1 bit from the second code
11 designates the latter half of the frame synchronization code, and the latter half of the code is dispersed bit by bit at substantially equal intervals (in this example, every 7 bits of digital data) between the arranged digital data. I placed it. An example of the frame information configured in this way is shown in a horizontal row in the upper part of FIG. 1, in which the code for frame synchronization is arranged at the position indicated by 0 or 1, and the data is indicated by *. It is located in a position.

【0009】また図1の下部のマトリックスにおいて、
縦位置No.1の横方向のフレーム情報は、上部に分離
して示された1フレーム情報とすべてのビット情報が一
致しており、これは受信信号の同期が合っている正しい
状態を示している。そして縦位置No.2からNo.3
3までの横方向の各フレーム情報は、1フレームの情報
が、順次1ビットずつ右側にシフトして(即ち同期がず
れて)、正しくない状態を示している。
In the matrix at the bottom of FIG. 1,
Vertical position No. In the horizontal frame information of 1, all the bit information matches the one frame information shown separately in the upper part, which indicates the correct state in which the received signals are synchronized. And the vertical position No. 2 to No. Three
As for each horizontal frame information up to 3, the information of one frame is shifted to the right one bit by one bit in sequence (that is, the synchronization is deviated) and shows an incorrect state.

【0010】ここで、No.1の同期が合っているフレ
ーム情報と、No.2〜No.33までの同期がずれて
いるフレーム情報とを1ビットずつ比較してみと、同期
が合っているフレーム同期用符号のいずれかの位置の情
報(0又は1)と同期がずれているフレーム内の情報
(0又は1)とが一致している箇所があったとしても、
図の太枠で示すように、No.1の同期が合っているフ
レーム同期用符号のいずれかの1ビットは、その他の同
期がずれているフレーム内の情報と必ず不一致になる。
そしてこの1ビットの不一致により、No.2〜No.
33のフレーム情報は、すべて同期ずれであることがわ
かる。従って図1のようにフレーム同期用符号を構成し
配置しておくと、送信される*印のデータはどのような
情報であっても、受信側において、フレーム同期用符号
の各位置における情報がすべて正しい情報として得られ
るタイミングを検出すれば、フレーム同期位置を誤るこ
となく正常な受信が可能となる。
Here, No. No. 1 frame information in synchronization with No. 1 frame information. 2 to No. When comparing up to 33 pieces of out-of-sync frame information one bit at a time, it shows that in-frames out of sync with information (0 or 1) at any position of the in-sync frame synchronization code Even if there is a part where the information (0 or 1) matches,
As indicated by the thick frame in the figure, No. Any one bit of the frame synchronization code with which the synchronization of 1 is matched always becomes inconsistent with the other information in the frame where the synchronization is deviated.
Due to this 1-bit mismatch, No. 2 to No.
It can be seen that the 33 pieces of frame information are all out of synchronization. Therefore, if the frame synchronization code is constructed and arranged as shown in FIG. 1, no matter what information the transmitted * mark data has, the information at each position of the frame synchronization code is received on the receiving side. If all the timings that are obtained as correct information are detected, normal reception can be performed without erroneous frame synchronization positions.

【0011】図2は本発明のフレーム同期信号検出回路
の一例を示す図である。図2において、1はデータレジ
スタであり、この例では図1の1フレーム内における8
ビットのフレーム同期用符号00001111があらじ
めレジスタ内に設定されている。2は33ビットのシフ
トレジスタであり、入力端から受信信号を入力し、1フ
レーム分の情報を保持した後に、出力端から出力する。
3は排他的論理和ゲート(以下EXORと書す)であ
り、2つの入力信号が等しいときに0を出力し、入力信
号が等しくないときに1を出力する。4はインバータで
あり、入力信号の1と0を反転して出力する。5はAN
Dゲートであり、8つの入力信号がすべて1のときに出
力が1となる。
FIG. 2 is a diagram showing an example of the frame synchronization signal detection circuit of the present invention. In FIG. 2, 1 is a data register, and in this example, 8 in one frame of FIG.
The bit frame synchronization code 00001111 is set in the random register. Reference numeral 2 denotes a 33-bit shift register, which receives a received signal from the input end, holds information for one frame, and then outputs the information from the output end.
Reference numeral 3 is an exclusive OR gate (hereinafter referred to as EXOR), which outputs 0 when two input signals are equal and outputs 1 when the input signals are not equal. Reference numeral 4 is an inverter, which inverts 1 and 0 of the input signal and outputs the inverted signal. 5 is AN
It is a D gate, and its output becomes 1 when all eight input signals are 1.

【0012】図2の回路においては、図1のフレーム同
期符号とデータを含むフレームフォーマットの情報が送
信され、受信側では、この受信信号をシフトレジスタ2
の入力端から入力する。そして同期クック信号により1
ビットずつ入力情報を右側にシフトしてゆき、出力端か
ら出力する。上記の情報シフトの過程において、正しい
同期位置の場合に、シフトレジスタ2内のフレーム同期
用符号の存在すべき位置(図2のハッチングで示された
位置)にある情報と、データレジスタ1に設定された同
期用符号がすべて一致したタイミングが検出される。
In the circuit of FIG. 2, frame format information including the frame sync code and data of FIG. 1 is transmitted, and the reception side shifts this received signal.
Input from the input end of. And 1 by the synchronous cook signal
The input information is shifted to the right bit by bit and output from the output end. In the above information shift process, in the case of the correct synchronization position, the information at the position where the frame synchronization code should exist in the shift register 2 (the position shown by hatching in FIG. 2) and the data register 1 are set. The timing at which all the generated synchronization codes match is detected.

【0013】即ち8個のEXOR3に入力される2つの
入力信号がすべて等しいときには、EXOR3の出力は
すべて0になり、8個のインバータ4の出力はすべて1
になり、ANDゲート5の出力も1となる。そしてこの
ANDゲート5の出力が同期検出信号として用いられ
る。従って図2の回路を用いることにより正しいフレー
ム同期位置が検出され、正常な受信が可能となる。
That is, when all the two input signals input to the eight EXOR3 are equal, the outputs of the EXOR3 are all 0, and the outputs of the eight inverters 4 are all 1.
And the output of the AND gate 5 also becomes 1. The output of the AND gate 5 is used as the sync detection signal. Therefore, by using the circuit of FIG. 2, a correct frame synchronization position can be detected and normal reception can be performed.

【0014】実施例2.図1の第1のフレームフォーマ
ット例においては、万一、回線に雑音等が混入し、フレ
ーム同期用符号の内容が8ビットの内1ビット変えられ
てしまい、さらに他のビットで偶然にデータがフレーム
同期用符号と同じ場合には、フレーム同期用信号と誤る
ことがある。図3は本発明のフレーム同期通信方法の第
2のフレームフォーマット例を示す図であり、図1のフ
レームフォーマット例における雑音混入により同期用符
号と誤る場合の可能性をさらに低減させ得るように、フ
レーム同期用符号のビット数を増加させたフレームフォ
ーマット例を示している。
Example 2. In the first frame format example of FIG. 1, by chance noise or the like is mixed in the line, the content of the frame synchronization code is changed by 1 bit out of 8 bits, and data is accidentally changed by another bit. If it is the same as the frame synchronization code, it may be mistaken for a frame synchronization signal. FIG. 3 is a diagram showing a second frame format example of the frame synchronous communication method of the present invention. In order to further reduce the possibility of being mistaken as a synchronization code due to noise mixing in the frame format example of FIG. The example of the frame format which increased the bit number of the code for frame synchronization is shown.

【0015】最初に本実施例2におけるフレーム同期用
符号の構成とその配置について説明する。この例におけ
るフレーム同期用符号は、6ビットの0の連続する第1
の符号000000と、6ビットで第1の符号と符号が
逆の1が連続する第2の符号111111とを含む合計
12ビットの000000111111とした。またデ
ータは25ビットとし、合計37ビットのフレーム情報
とした。次に、前記第1の符号000000と第2の符
号の先頭の1ビットの1により、フレーム同期用符号の
前半の符号0000001を構成し、これをフレーム情
報の先頭に配置し、その次にデジタルデータを配置し
た。
First, the structure and arrangement of the frame synchronization code in the second embodiment will be described. The code for frame synchronization in this example is the first consecutive 6-bit 0s.
And the second code 111111 in which 6 is the first code and the opposite code is 1 in sequence, and a total of 12 bits is 00000011111. Further, the data is 25 bits, and a total of 37 bits of frame information is used. Next, the first code 000000 and the first 1 bit 1 of the second code form a first half code 0000001 of the frame synchronization code, which is placed at the head of the frame information, and then digitally. Arranged the data.

【0016】次に、前記第2の符号から先頭の1ビット
を除いた符号11111によりフレーム同期用符号の後
半の符号とし、この後半の符号を1ビットずつ前記配置
されたデジタルデータの間にほぼ均等の間隔で(この例
ではデジタルデータが5ビット毎に)、分散して配置し
た。このようにして構成されたフレーム情報の例が図3
の上部の横一列に示されており、ここでフレーム同期用
の符号は0又は1で示した位置に配置され、データは*
印で示す位置に配置されている。
Next, a code 11111 obtained by removing the leading 1 bit from the second code is used as a latter half code of the frame synchronization code, and the latter half code is almost 1 bit at a time between the arranged digital data. The data are arranged at even intervals (in this example, every 5 bits of digital data). An example of frame information configured in this way is shown in FIG.
Are shown in a horizontal row at the top of the frame, where the code for frame synchronization is placed at the position indicated by 0 or 1, and the data is *
It is arranged at the position indicated by the mark.

【0017】また図3の下部のマトリックにおいて、縦
位置No.1の横方向のフレーム情報は、上部に分離し
て示された1フレーム情報とすべてのビット情報が一致
しており、これは受信信号の同期が合っている正しい状
態を示している。そして縦位置No.2からNo.37
までの横方向の各フレーム情報は、1フレームの情報が
1ビットずつ右側にシフトして(即ち同期がずれて)、
正しくない状態を示している。
In the matrix at the bottom of FIG. In the horizontal frame information of 1, all the bit information matches the one frame information shown separately in the upper part, which indicates the correct state in which the received signals are synchronized. And the vertical position No. 2 to No. 37
In the horizontal frame information up to, the information of one frame is shifted to the right by 1 bit (that is, the synchronization is shifted),
Indicates an incorrect state.

【0018】ここでNo.1の同期が合っているフレー
ム情報と、No.2〜No.37までの同期がずれてい
るフレーム情報とを1ビットずつ比較してみると、同期
が合っているフレーム同期用符号のいずれかの位置の情
報(0又は1)と同期がずれているフレーム内の情報
(0又は1)とが一致している箇所があったとしても、
図の太枠で示すように、No.1の同期が合っているフ
レーム同期用符号のいずれかの2ビットは、その他の同
期がずれているフレーム内の情報と必ず不一致になる。
そしてこのいずれかのビットの不一致により、No.2
〜No.37のフレーム情報は、すべて同期ずれである
ことがわかる。即ち、受信側において、フレーム情報の
受信時に、1フレーム内で、フレーム同期用符号の特定
位置における2ビットの情報が、同時に誤って受信され
る確率はきわめて低い。従ってかりにフレーム同期用符
号の1ビットが誤って受信されたとしても、残りの1ビ
ットが正しく受信されれば、この1ビットの不一致によ
り同期ずれは検出される。
Here, No. No. 1 frame information in synchronization with No. 1 frame information. 2 to No. Comparing the frame information up to 37 with the out-of-sync frame by bit, the information (0 or 1) at any position of the in-frame sync code is out of sync with the frame information. Even if there is a part where the information (0 or 1) matches,
As indicated by the thick frame in the figure, No. One of the two bits of the frame synchronization code that is in synchronization with 1 is always inconsistent with the other information in the frame that is out of synchronization.
Then, due to the mismatch of any one of these bits, No. Two
-No. It can be seen that all the 37 frame information is out of synchronization. That is, on the receiving side, at the time of receiving the frame information, the probability that the 2-bit information at the specific position of the frame synchronization code is simultaneously received in one frame is extremely low. Therefore, even if one bit of the frame synchronization code is erroneously received, if the remaining one bit is correctly received, the synchronization shift is detected due to the mismatch of the one bit.

【0019】従って図3のようにフレーム同期用符号を
構成し配置しておくと送信される*印のデータはどのよ
うな情報であっても、受信側において、フレーム同期用
符号の各位置における情報がすべて正しい情報として得
られるタイミングを検出すれば、フレーム同期位置を誤
ることなく正常な受信が可能となり、信頼性の高い、フ
レーム同期通信方法が実現できる。また通常1フレーム
内で、2ビットも誤るような回線品質の悪い通信回線で
は、データそのものも誤るため、本発明が適用されるこ
とはほとんどない。
Therefore, no matter what kind of information the * -marked data transmitted when the frame synchronization code is constructed and arranged as shown in FIG. 3, at the receiving side at each position of the frame synchronization code. If the timing at which all information is obtained as correct information is detected, normal reception can be performed without erroneous frame synchronization positions, and a highly reliable frame synchronization communication method can be realized. Further, in a communication line having a poor line quality such that normally two bits are erroneous in one frame, the data itself is erroneous, so that the present invention is hardly applied.

【0020】なお実施例1におけるフレーム同期用符号
00001111の代りに、1と0とを反転させた符号
11110000を用いても、同様に実施例2における
フレーム同期用符号000000111111の代りに
反転符号111111000000を用いても、全く同
様に動作する。また実施例1,2におけるフレーム同期
用符号のビット数は、8ビットと12ビットで、いずれ
も偶数であるが、本発明はこれに限定されるものではな
く、偶数でも奇数でも任意のビット数でよい。
Even if a code 11110000 in which 1 and 0 are inverted is used instead of the frame synchronization code 00001111 in the first embodiment, an inversion code 111111000000 is similarly used instead of the frame synchronization code 000000111111 in the second embodiment. When used, it works exactly the same. The number of bits of the frame synchronization code in the first and second embodiments is 8 bits and 12 bits, both of which are even numbers, but the present invention is not limited to this, and any number of bits, even or odd numbers, can be used. Good.

【0021】また実施例1,2において、フレーム同期
用符号の後半の符号111,11111を1ビットずつ
デジタルデータが7ビット毎、5ビット毎の等しい間隔
となるように分散して配置した例を示したが、本発明は
これに限定されるものではない。例えば、後半の符号の
ビット数が十分にあれば、複数ビットずつ分散配置する
ようにしてもよい。ただ、フレーム同期用符号のビット
数を増加させると、同期位置検出の信頼性が向上する反
面、フレーム内のデータのビット数が減少するという不
利な面もあるので、フレーム内のデータのビット数に応
じて効率の良いフレーム同期用符号のビット数を設定す
るようにすればよい。
In the first and second embodiments, the latter half of the frame synchronization codes 111 and 11111 are distributed by one bit so that the digital data is distributed every 7 bits and at equal intervals of 5 bits. Although shown, the invention is not so limited. For example, if the number of bits of the latter half of the code is sufficient, a plurality of bits may be dispersed and arranged. However, increasing the number of bits of the frame synchronization code improves the reliability of the synchronization position detection, but also has the disadvantage of decreasing the number of bits of the data in the frame, so the number of bits of the data in the frame The number of bits of the efficient frame synchronization code may be set according to the above.

【0022】また1フレーム内のデジタルデータのビッ
ト数によっては、フレーム同期用符号の後半の符号を、
所定ビットずつデジタルデータが等間隔となるように分
散配置できない場合もある。例えばデジタルデータの7
ビット毎の間隔で分散配置してゆくと、最後が6ビット
や5ビットになる場合もある。従って必ずしも等間隔で
なくともよく、ほぼ均等の間隔になればよい。
Depending on the number of bits of digital data in one frame, the latter half of the frame synchronization code may be
In some cases, it may not be possible to disperse the digital data such that the predetermined bits of digital data are evenly spaced. For example, digital data 7
When the bits are distributed and arranged at intervals of each bit, the end may be 6 bits or 5 bits. Therefore, the intervals are not necessarily equal, and it is sufficient that the intervals are substantially equal.

【0023】[0023]

【発明の効果】以上のように本発明によれば、デジタル
データとフレーム同期用符号とよりなるフレーム情報を
直列に所定速度で送受信するフレーム同期通信方法にお
いて、前記フレーム同期用符号を前半の符号と後半の符
号とにより構成し、前記フレーム情報の先頭に前記フレ
ーム同期用符号の前半の符号を、その次にデジタルデー
タをそれぞれ配置し、前記フレーム同期用符号の後半の
符号を1ビット又は複数ビットずつ前記配置されたデジ
タルデータの間にほぼ均等の間隔で分散して配置し、前
記フレーム情報を構成するようにしたので、受信情報か
ら、上記のように構成及び配置されたフレーム同期用符
号が、すべての配置位置において正しい符号として得ら
れるタイミングを検出することにより、受信側で正しい
フレーム同期位置の検出が可能となる。
As described above, according to the present invention, in the frame synchronization communication method for transmitting and receiving the frame information composed of the digital data and the frame synchronization code serially at a predetermined speed, the frame synchronization code is the first half code. And the latter half code, the first half code of the frame synchronization code is arranged at the beginning of the frame information, and the digital data is arranged next to the first half code, and the latter half code of the frame synchronization code is 1 bit or more. Since the frame information is configured by arranging the bits at a substantially even interval between the digital data arranged, the frame synchronization code configured and arranged as described above from the received information. However, by detecting the timing that is obtained as the correct code at all the arrangement positions, the correct frame synchronization position on the receiving side is detected. Detection is possible.

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

【図1】本発明のフレーム同期通信方法の第1のフレー
ムフォーマット例を示す図である。
FIG. 1 is a diagram showing a first frame format example of a frame synchronous communication method of the present invention.

【図2】本発明のフレーム同期信号検出回路の一例を示
す図である。
FIG. 2 is a diagram showing an example of a frame synchronization signal detection circuit of the present invention.

【図3】本発明のフレーム同期通信方法の第2のフレー
ムフォーマット例を示す図である。
FIG. 3 is a diagram showing a second frame format example of the frame synchronous communication method of the present invention.

【図4】従来のフレーム同期通信方法のフレームフォー
マット例を示す図である。
FIG. 4 is a diagram showing an example of a frame format of a conventional frame synchronous communication method.

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

1 データレジスタ 2 シフトレジスタ 3 EXOR 4 インバータ 5 ANDゲート 1 Data Register 2 Shift Register 3 EXOR 4 Inverter 5 AND Gate

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 デジタルデータとフレーム同期用符号と
よりなるフレーム情報を直列に所定速度で送受信するフ
レーム同期通信方法において、 前記フレーム同期用符号を前半の符号と後半の符号とに
より構成し、 前記フレーム情報の先頭に前記フレーム同期用符号の前
半の符号を、その次にデジタルデータをそれぞれ配置
し、 前記フレーム同期用符号の後半の符号を1ビット又は複
数ビットずつ前記配置されたデジタルデータの間にほぼ
均等の間隔で分散して配置し、 前記フレーム情報を構成することにより、受信側で正し
いフレーム同期位置の検出を可能とすることを特徴とす
るフレーム同期通信方法。
1. A frame synchronization communication method for serially transmitting and receiving frame information composed of digital data and a frame synchronization code at a predetermined speed, wherein the frame synchronization code is composed of a first half code and a second half code, The first half code of the frame synchronization code is arranged at the beginning of the frame information, and the digital data is arranged next to the first half code, and the latter half code of the frame synchronization code is arranged by 1 bit or a plurality of bits between the arranged digital data. A frame synchronization communication method, wherein the frame information is arranged at substantially equal intervals and the frame information is configured so that a correct frame synchronization position can be detected on the receiving side.
【請求項2】 前記フレーム同期用符号は、任意ビット
数の0又は1の連続する第1の符号と、任意ビット数で
前記第1の符号と符号が逆の1又は0の連続する第2の
符号とを含み、 前記第1の符号と前記第2の符号の先頭の1ビットとに
より前記フレーム同期用符号の前半の符号を構成し、 前記第2の符号から先頭の1ビットを除いた符号により
前記フレーム同期用符号の後半の符号を構成することを
特徴とする請求項1記載のフレーム同期通信方法。
2. The frame synchronization code comprises a first code of 0 or 1 having an arbitrary number of bits and a second code of 1 or 0 having a code opposite to the first code by an arbitrary number of bits. The first half bit of the frame synchronization code is formed by the first code and the first 1 bit of the second code, and the first 1 bit is removed from the second code. 2. The frame synchronization communication method according to claim 1, wherein the code configures the latter half of the frame synchronization code.
【請求項3】 前記フレーム同期用符号の前半の符号を
00001又は11110とし、後半の符号を111又
は000とした請求項1記載のフレーム同期通信方法。
3. The frame synchronization communication method according to claim 1, wherein the first half code of the frame synchronization code is 00001 or 11110 and the second half code is 111 or 000.
【請求項4】 前記フレーム同期用符号の前半符号を0
000001又は1111110とし、後半の符号を1
1111又は00000とした請求項1記載のフレーム
同期通信方法。
4. The first half code of the frame synchronization code is 0
000001 or 1111110, and the latter half code is 1
The frame synchronous communication method according to claim 1, wherein the frame synchronous communication method is 1111 or 00000.
JP28027294A 1994-11-15 1994-11-15 Frame synchronous communication method Expired - Fee Related JP3416860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28027294A JP3416860B2 (en) 1994-11-15 1994-11-15 Frame synchronous communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28027294A JP3416860B2 (en) 1994-11-15 1994-11-15 Frame synchronous communication method

Publications (2)

Publication Number Publication Date
JPH08139715A true JPH08139715A (en) 1996-05-31
JP3416860B2 JP3416860B2 (en) 2003-06-16

Family

ID=17622686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28027294A Expired - Fee Related JP3416860B2 (en) 1994-11-15 1994-11-15 Frame synchronous communication method

Country Status (1)

Country Link
JP (1) JP3416860B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114372016A (en) * 2021-12-27 2022-04-19 安徽大学 Asynchronous serial communication method based on frame synchronous code plus modulation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114372016A (en) * 2021-12-27 2022-04-19 安徽大学 Asynchronous serial communication method based on frame synchronous code plus modulation
CN114372016B (en) * 2021-12-27 2023-09-29 安徽大学 Asynchronous serial communication method based on frame synchronization code modulation

Also Published As

Publication number Publication date
JP3416860B2 (en) 2003-06-16

Similar Documents

Publication Publication Date Title
US4004100A (en) Group frame synchronization system
US4514719A (en) Data transmission system utilizing power line of 3-phase alternating current
EP0424619B1 (en) Still image video telephone transmission system
GB2187366A (en) Synchronizing signal decoding
JP3416860B2 (en) Frame synchronous communication method
JP2746741B2 (en) Field decision circuit
JP2967649B2 (en) Receive synchronization circuit
JPS5952586B2 (en) synchronous circuit
JPS6323437A (en) Synchronous detecting circuit
JP3290331B2 (en) Block synchronization processing circuit
JPS61218240A (en) Frame synchronizing system
JP3157536B2 (en) Multi-frame detection circuit
JPS5836865B2 (en) Data transmission system and its receiving circuit
JP2982320B2 (en) Synchronous signal extraction circuit
JPH07135497A (en) Frame synchronization pattern detector
JPH0712164B2 (en) Frame synchronizer
JPS63116537A (en) Synchronization protecting circuit
JPH06284122A (en) Synchronizing word detection system
JPH04291848A (en) Synchronizing pattern detection circuit
JPS61205040A (en) Detector for frame synchronization
JPH0879229A (en) Synchronous data transmission system
JPS62147832A (en) Frame synchronization method
JPH04311178A (en) Synchronizing signal extracting circuit
JPH04369984A (en) Sync generation method
JP2000215616A (en) Data demodulation apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees