Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2802143B2 - Bit synchronization circuit - Google Patents
[go: Go Back, main page]

JP2802143B2 - Bit synchronization circuit - Google Patents

Bit synchronization circuit

Info

Publication number
JP2802143B2
JP2802143B2 JP2110093A JP11009390A JP2802143B2 JP 2802143 B2 JP2802143 B2 JP 2802143B2 JP 2110093 A JP2110093 A JP 2110093A JP 11009390 A JP11009390 A JP 11009390A JP 2802143 B2 JP2802143 B2 JP 2802143B2
Authority
JP
Japan
Prior art keywords
synchronization signal
data
bit
circuit
frame synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2110093A
Other languages
Japanese (ja)
Other versions
JPH0410725A (en
Inventor
道男 藤井
Original Assignee
日立通信システム株式会社
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 日立通信システム株式会社 filed Critical 日立通信システム株式会社
Priority to JP2110093A priority Critical patent/JP2802143B2/en
Publication of JPH0410725A publication Critical patent/JPH0410725A/en
Application granted granted Critical
Publication of JP2802143B2 publication Critical patent/JP2802143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は2つの装置間でデータのシリアル伝送を行う
際に、送信側装置におけるビット同期信号の周波数と受
信側装置におけるビット同期信号の周波数が異なる場
合、受信したデータを受信側装置のビット同期信号に同
期して出力するビット同期回路にかかり、特に1ビット
のデータ幅を狭くする必要性をなくし、かつ受信した信
号に同期はずれが発生した場合、誤ったデータの出力を
防止し、上記同期はずれを回復するのに好適なビット同
期回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a method of transmitting data serially between two devices, the frequency of a bit synchronization signal in a transmitting device and the frequency of a bit synchronization signal in a receiving device. If the data is different, it is applied to the bit synchronization circuit that outputs the received data in synchronization with the bit synchronization signal of the receiving device, eliminating the need to narrow the data width of one bit in particular, and causing the received signal to lose synchronization. In this case, the present invention relates to a bit synchronization circuit suitable for preventing output of erroneous data and recovering the above-mentioned loss of synchronization.

〔従来の技術〕[Conventional technology]

従来技術においては、特開昭63−100844号公報に開示
されているように、上流側の伝送局の変化に起因するデ
ータの過不足をFIFOメモリによって吸収し、FIFOメモリ
から読み出された情報に含まれるエンドフラグ(フレー
ム同期ビット)を検出して、入力信号の1フレーム毎に
FIFOメモリをリセットしていた。
In the prior art, as disclosed in Japanese Patent Application Laid-Open No. 63-100844, an excess or deficiency of data caused by a change in an upstream transmission station is absorbed by a FIFO memory, and information read from the FIFO memory is read. And detects the end flag (frame synchronization bit) included in the
The FIFO memory was reset.

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

上記した従来技術においては、FIFOメモリから読み出
されたエンドフラグを検出する必要があった。しかし、
エンドフラグは読み出し側のデータとして必要な情報で
はなく、一定のフレーム間隔にエンドフラグをデータと
て挿入すると、その分だけビット同期信号の周波数を高
くする必要が生じ、1ビットのデータ幅が狭くなるとい
う問題点があった。
In the related art described above, it is necessary to detect the end flag read from the FIFO memory. But,
The end flag is not information necessary as data on the read side. If the end flag is inserted as data at a fixed frame interval, it is necessary to increase the frequency of the bit synchronization signal by that amount, and the data width of one bit becomes narrow. There was a problem of becoming.

また、上記した従来技術においては、同期はずれが発
生して、FIFOメモリからのデータの読み出しタイミング
がずれた場合、誤ったデータが出力されてしまうという
問題点があった。
Further, in the above-described related art, there is a problem that, when synchronization is lost and data read timing from the FIFO memory is shifted, erroneous data is output.

本発明は上記した従来技術の問題点に鑑みなされたも
ので、1ビットのデータ幅を狭くすることなく、かつ同
期はずれが発生した場合、FIFOメモリから誤ったデータ
が読み出されるのを防止し、上記同期はずれを回復する
ことが可能なビット同期回路を提供することを目的とし
ている。
The present invention has been made in view of the above-described problems of the related art, and does not reduce the data width of 1 bit, and when losing synchronization occurs, prevents erroneous data from being read from the FIFO memory, It is an object of the present invention to provide a bit synchronization circuit capable of recovering from the above-mentioned loss of synchronization.

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

本発明のビット同期回路は、相手装置からシリアル伝
送されたデータを自装置のFIFOメモリを格納し、自装置
のビット同期信号に同期したタイミングでFIFOメモリか
ら読み出すものであり、特に送信されたデータを受け
て、該データに同期したビット同期信号と該データのフ
レームに同期したフレーム同期信号を形成して出力する
同期信号抽出回路と、上記ビット同期信号を計数し、計
数開始から所定のビット数の計数が終了するまでの期間
にわたって疑似フレーム同期信号を出力する疑似フレー
ム同期信号発生回路と、上記フレーム同期信号と疑似フ
レーム同期信号とを比較し、両者が一致しなかった場合
にリセット信号をFIFOメモリと疑似フレーム同期信号発
生回路に出力するリセット信号発生回路とから構成され
ていることを特徴としている。
The bit synchronization circuit of the present invention stores the data serially transmitted from the partner device in the FIFO memory of the own device and reads out the data from the FIFO memory at a timing synchronized with the bit synchronization signal of the own device. And a synchronizing signal extracting circuit for forming and outputting a bit synchronizing signal synchronized with the data and a frame synchronizing signal synchronized with the frame of the data, and counting the bit synchronizing signal. The pseudo-frame synchronization signal generating circuit that outputs the pseudo-frame synchronization signal over the period until the counting is completed, and the above-mentioned frame synchronization signal and the pseudo-frame synchronization signal are compared. A memory and a reset signal generation circuit for outputting to the pseudo frame synchronization signal generation circuit. .

〔作用〕[Action]

本発明によれば、入力データから形成されるフレーム
同期信号とビット同期信号から形成される疑似フレーム
同期信号とが、比較される。そして、両者が不一致の場
合、同期はずれが生じたと判定され、FIFOメモリがリセ
ットされる。
According to the present invention, a frame synchronization signal formed from input data is compared with a pseudo frame synchronization signal formed from a bit synchronization signal. If they do not match, it is determined that synchronization has been lost, and the FIFO memory is reset.

すなわち、本発明によれば、エンドフラグをFIFOメモ
リに格納して読み出す必要がないため、1ビットのデー
タ幅を狭くする必要がない。また、同期はずれが発生し
た場合、FIFOメモリがリセットされるため、FIFOメモリ
から誤ったデータが読み出されるのが防止でき、かつ上
記同期はずれを自動的に回復することが可能になる。
That is, according to the present invention, since it is not necessary to store and read the end flag in the FIFO memory, it is not necessary to reduce the data width of one bit. Further, when an out-of-synchronization occurs, the FIFO memory is reset, so that erroneous data can be prevented from being read from the FIFO memory, and the out-of-synchronization can be automatically recovered.

〔実施例〕 以下、添付の図面に示す実施例により、さらに詳細に
本発明について説明する。
EXAMPLES Hereinafter, the present invention will be described in more detail with reference to examples shown in the accompanying drawings.

第1図は本発明のビット同期回路の一実施例を示すブ
ロック図であり、FIFOメモリ1と同期信号抽出回路2と
疑似フレーム同期信号発生回路3とリセット信号発生回
路4とから構成されている。この実施例のビット同期回
路は、相手局が決定した送信タイミングによって送信さ
れた入力データ5を、自局のビット同期信号11に同期し
たタイミングのデータ10に変換して出力するものであ
る。すなわち、FIFOメモリ1が相手局と自局のビット同
期差による入出力データの過不足を調節する働きをす
る。
FIG. 1 is a block diagram showing an embodiment of a bit synchronization circuit according to the present invention, which comprises a FIFO memory 1, a synchronization signal extraction circuit 2, a pseudo frame synchronization signal generation circuit 3, and a reset signal generation circuit 4. . The bit synchronization circuit of this embodiment converts the input data 5 transmitted at the transmission timing determined by the partner station into data 10 at a timing synchronized with the bit synchronization signal 11 of the own station, and outputs the data. That is, the FIFO memory 1 functions to adjust the excess / deficiency of input / output data due to the bit synchronization difference between the partner station and the own station.

第2図は第1図に示す実施例の動作の一例を示すタイ
ムチャートであり、以下第2図を参照しながら第1図に
示す実施例の動作について説明する。第1図に示すよう
に、入力データ5はFIFOメモリ1に入力されて格納され
ると共に、同期信号抽出回路2に入力される。同期信号
抽出回路2はPLL回路等を含んで構成され、入力データ
からビット同期信号6を抽出する。すなわち、第2図に
示す例では、入力データ6はデータa〜hから構成さ
れ、データhの後には入力データ5が終了したことを示
すフレーム同期ビットEが付加されている。同期信号抽
出回路2は入力データ5を受けて、上記データa〜hに
同期したビット同期信号6を形成出力し、また入力デー
タaに同期してフレーム同期信号7を立ち上げ、フレー
ム同期ビットEに同期してフレーム同期信号7立ち下げ
る。
FIG. 2 is a time chart showing an example of the operation of the embodiment shown in FIG. 1. The operation of the embodiment shown in FIG. 1 will be described below with reference to FIG. As shown in FIG. 1, the input data 5 is input to and stored in the FIFO memory 1 and is also input to the synchronization signal extraction circuit 2. The synchronization signal extraction circuit 2 includes a PLL circuit and the like, and extracts a bit synchronization signal 6 from input data. That is, in the example shown in FIG. 2, the input data 6 is composed of data a to h, and after the data h, a frame synchronization bit E indicating that the input data 5 is completed is added. The synchronizing signal extracting circuit 2 receives the input data 5, forms and outputs a bit synchronizing signal 6 synchronized with the data a to h, raises a frame synchronizing signal 7 in synchronism with the input data a, The frame synchronization signal 7 falls in synchronism with.

同期信号抽出回路2から出力されるビット同期信号6
は、疑似フレーム同期信号発生回路3とFIFOメモリ1に
入力される。このうち、FIFOメモリ1に入力されるビッ
ト同期信号6は、FIFOメモリ1の入力側ポートのクロッ
クとして用いられ、これにより入力データ5の取込みタ
イミングが指定される。疑似フレーム同期信号発生回路
3は入力されるビット同期信号6を受けて、疑似フレー
ム同期信号8を形成出力する。疑似フレーム同期信号発
生回路3はあらかじめ入力データの1フレームを構成す
るビット数を確認しており(第2図の例では、8ビッ
ト)、最初のビット同期信号に同期して疑似フレーム同
期信号8を立ち上げ、所定の数のビット分だけビット同
期信号6が入力されたとき疑似フレーム同期信号8を立
ち下げる。
Bit synchronization signal 6 output from synchronization signal extraction circuit 2
Is input to the pseudo frame synchronization signal generating circuit 3 and the FIFO memory 1. Among these, the bit synchronization signal 6 input to the FIFO memory 1 is used as a clock of the input side port of the FIFO memory 1, thereby designating the timing of taking in the input data 5. The pseudo frame synchronization signal generating circuit 3 receives the input bit synchronization signal 6 and forms and outputs a pseudo frame synchronization signal 8. The pseudo frame synchronizing signal generating circuit 3 previously confirms the number of bits constituting one frame of the input data (8 bits in the example of FIG. 2), and synchronizes the pseudo frame synchronizing signal 8 with the first bit synchronizing signal. Is raised, and the pseudo frame synchronization signal 8 falls when the bit synchronization signal 6 is inputted for a predetermined number of bits.

リセット信号発生回路4は、排他的論理和回路等から
構成され、同期信号抽出回路2から出力されるフレーム
同期信号7と疑似フレーム同期信号発生回路3から出力
された疑似フレーム同期信号8とを比較し、両者が一致
した場合には正常と判定してリセット信号9を出力せ
ず、両者が不一致の場合に限って異常と判定してリセッ
ト信号9を出力する回路である。第2図はフレーム同期
信号7と疑似フレーム同期信号8とが完全に一致し、リ
セット信号発生回路4がリセット信号9に出力しない例
を示している。この場合には、図示するように、ビット
同期信号6のタイミングでFIFOメモリ1に格納された入
力データ5(データa〜h)は、自局のビット同期信号
11に同期したタイミングで出力データ10として読み出さ
れる。すなわち、リセット信号発生回路4は、入力デー
タ(フレーム)の同期はずれの有無を検出し、同期はず
れが生じた場合に限って異常と判定してリセット信号9
を出力し、FIFOメモリ1と疑似フレーム同期信号発生回
路3をリセットするものである。
The reset signal generation circuit 4 is composed of an exclusive OR circuit or the like, and compares the frame synchronization signal 7 output from the synchronization signal extraction circuit 2 with the pseudo frame synchronization signal 8 output from the pseudo frame synchronization signal generation circuit 3. However, when both match, it is determined that the circuit is normal and does not output the reset signal 9, and only when the two do not match is determined to be abnormal and outputs the reset signal 9. FIG. 2 shows an example in which the frame synchronization signal 7 and the pseudo frame synchronization signal 8 completely match, and the reset signal generation circuit 4 does not output the reset signal 9. In this case, as shown in the figure, the input data 5 (data a to h) stored in the FIFO memory 1 at the timing of the bit synchronization signal 6
The data is read as output data 10 at a timing synchronized with 11. That is, the reset signal generation circuit 4 detects whether or not the input data (frame) is out of synchronization.
And resets the FIFO memory 1 and the pseudo frame synchronization signal generating circuit 3.

第3図及び第4図は、同期信号抽出回路2から出力さ
れるフレーム同期信号7と疑似フレーム同期信号発生回
路3から出力された疑似フレーム同期信号8とを比較し
た結果、両者が不一致であり、同期はずれがあると判定
され、リセット信号9が出力された場合を示している。
FIGS. 3 and 4 show a comparison between the frame synchronization signal 7 output from the synchronization signal extraction circuit 2 and the pseudo frame synchronization signal 8 output from the pseudo frame synchronization signal generation circuit 3, and they are inconsistent. , Is determined to be out of synchronization, and the reset signal 9 is output.

第3図は、同期信号抽出回路2において形成されたビ
ット同期信号6に欠落(1ビット)が生じ、その結果疑
似フレーム同期信号8が長くなった場合を示している。
この場合には、疑似フレーム同期信号発生回路3はリセ
ット信号発生回路4から出力されるリセット信号9によ
ってリセットされ、その結果疑似フレーム同期信号8が
立ち下がる。
FIG. 3 shows a case where the bit synchronizing signal 6 formed in the synchronizing signal extracting circuit 2 is missing (one bit), and as a result, the pseudo frame synchronizing signal 8 becomes longer.
In this case, the pseudo frame synchronization signal generation circuit 3 is reset by the reset signal 9 output from the reset signal generation circuit 4, and as a result, the pseudo frame synchronization signal 8 falls.

第4図は、同期信号抽出回路2において形成されたビ
ット同期信号6が1ビットだけ多かった場合を示し、そ
の結果疑似フレーム同期信号8がデータhのタイミング
ではなく、データgのタイミングにおいて立ち下がった
場合(疑似フレーム同期信号8が短くなった場合)を示
している。
FIG. 4 shows a case where the bit synchronization signal 6 formed in the synchronization signal extraction circuit 2 is larger by one bit. As a result, the pseudo frame synchronization signal 8 falls not at the timing of the data h but at the timing of the data g. (When the pseudo frame synchronization signal 8 is shortened).

第3図と第4図に示すように、1フレーム内のビット
同期信号6の数が規定値と異なる場合、フレーム同期信
号7と疑似フレーム同期信号8を比較すると、両信号の
立ち下がりのタイミングが異なってくる。本実施例は、
この立ち下がりのタイミングの差をリセット信号発生回
路4によって検出し、リセット信号9をFIFOメモリ1に
出力し、相手局からの入力信号が再び受信されるまでFI
FOメモリ1をリセット状態に保持するものである。これ
によって、FIFOメモリ1から出力データ10として誤った
データが出力されることが防止される。
As shown in FIGS. 3 and 4, when the number of bit synchronization signals 6 in one frame is different from the specified value, comparing the frame synchronization signal 7 with the pseudo frame synchronization signal 8, the falling timings of both signals are compared. Will be different. In this embodiment,
The difference between the falling timings is detected by the reset signal generation circuit 4, and a reset signal 9 is output to the FIFO memory 1. The reset signal 9 is output until the input signal from the partner station is received again.
The FO memory 1 is held in a reset state. This prevents erroneous data from being output as the output data 10 from the FIFO memory 1.

第3図及び第4図において、次の入力データ5が相手
局から入力されると、同期信号抽出回路2がリセット信
号9を出力し、リット信号発生回路4をリセットする。
これによって、リセット信号発生回路4はリセット信号
9を立ち下げる。したがって、FIFOメモリ1のリセット
状態が解除され、次の入力データ5の格納が開始され
る。
3 and 4, when the next input data 5 is input from the partner station, the synchronization signal extraction circuit 2 outputs a reset signal 9 and resets the lit signal generation circuit 4.
As a result, the reset signal generation circuit 4 causes the reset signal 9 to fall. Therefore, the reset state of the FIFO memory 1 is released, and the storage of the next input data 5 is started.

〔発明の効果〕〔The invention's effect〕

本発明によれば、1ビットのデータ幅を狭くすること
なく、かつ同期はずれが発生した場合、FIFOメモリから
誤ったデータが読み出されるのを防止し、上記同期はず
れを回復することが可能なビット同期回路を提供するが
できる。
According to the present invention, it is possible to prevent erroneous data from being read from the FIFO memory when the out-of-synchronization occurs without reducing the data width of one bit, and to recover the out-of-synchronism. A synchronization circuit can be provided.

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

第1図は本発明のビット同期回路の一実施例を示すブロ
ック図、第2図及び第3図及び第4図は第1図に示す実
施例の動作例を示すタイムチャートである。 1……FIFOメモリ、2……同期信号抽出回路、3……疑
似フレーム同期信号発生回路、4……リセット信号発生
回路。
FIG. 1 is a block diagram showing an embodiment of a bit synchronization circuit according to the present invention, and FIGS. 2, 3, and 4 are time charts showing an operation example of the embodiment shown in FIG. 1 ... FIFO memory, 2 ... Synchronous signal extraction circuit, 3 ... Pseudo frame synchronization signal generation circuit, 4 ... Reset signal generation circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】相手装置からシリアル伝送されたデータを
自装置のFIFOメモリに格納し、自装置のビット同期信号
に同期したタイミングでFIFOメモリから読み出すビット
同期回路において、 送信されたデータを受けて、該データに同期したビット
同期信号と該データのフレームに同期したフレーム同期
信号を形成して出力する同期信号抽出回路と、上記ビッ
ト同期信号を計数し、計数開始から所定のビット数の計
数が終了するまでの期間にわたって疑似フレーム同期信
号を出力する疑似フレーム同期信号発生回路と、上記フ
レーム同期信号と疑似フレーム同期信号とを比較し、両
者が一致しなかった場合にリセット信号をFIFOメモリと
疑似フレーム同期信号発生回路に出力するリセット信号
発生回路とから構成されていることを特徴とするビット
同期回路。
1. A bit synchronization circuit for storing data serially transmitted from a partner device in a FIFO memory of the device and reading the data from the FIFO memory at a timing synchronized with a bit synchronization signal of the device. A synchronization signal extraction circuit that forms and outputs a bit synchronization signal synchronized with the data and a frame synchronization signal synchronized with the frame of the data, and counts the bit synchronization signal, and counts a predetermined number of bits from the start of counting. A pseudo-frame synchronization signal generating circuit that outputs a pseudo-frame synchronization signal over the period up to the end is compared with the above-described frame synchronization signal and the pseudo-frame synchronization signal. A reset signal generation circuit for outputting to the frame synchronization signal generation circuit. Period circuit.
JP2110093A 1990-04-27 1990-04-27 Bit synchronization circuit Expired - Fee Related JP2802143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2110093A JP2802143B2 (en) 1990-04-27 1990-04-27 Bit synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2110093A JP2802143B2 (en) 1990-04-27 1990-04-27 Bit synchronization circuit

Publications (2)

Publication Number Publication Date
JPH0410725A JPH0410725A (en) 1992-01-14
JP2802143B2 true JP2802143B2 (en) 1998-09-24

Family

ID=14526852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2110093A Expired - Fee Related JP2802143B2 (en) 1990-04-27 1990-04-27 Bit synchronization circuit

Country Status (1)

Country Link
JP (1) JP2802143B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3195274B2 (en) 1997-06-16 2001-08-06 埼玉日本電気株式会社 TDMA audio information reading device

Also Published As

Publication number Publication date
JPH0410725A (en) 1992-01-14

Similar Documents

Publication Publication Date Title
US5077761A (en) Elastic buffer circuit
JP2802143B2 (en) Bit synchronization circuit
US5274452A (en) Horizontal synchronizing signal separator
JPH0453366A (en) Horizontal synchronization signal separation device
JP2616408B2 (en) Pointer replacement circuit
JPH1065660A (en) Frame synchronous circuit
JP2963821B2 (en) Bit buffer circuit
JP3364943B2 (en) Clock skew correction circuit
JP2821290B2 (en) PCM terminal device with frame aligner circuit and frame aligner method
JPS62140529A (en) Asynchronous data converting circuit
JP2976732B2 (en) Synchronous optical multiplexer
JP2672737B2 (en) Control method of multi-frame synchronization circuit
JPS5937752A (en) Frame synchronization system
JP2605051B2 (en) Communication device
JPH08204693A (en) Frame synchronizing circuit
JPH06252906A (en) Synchronous control method
JPH01269336A (en) Start-stop synchronization system data transmission system
JPH04276935A (en) Asynchronous data synchronizing transmitter
JP2760323B2 (en) ATM cell format conversion circuit
JPH04263531A (en) Digital radio transmission system
JP2833593B2 (en) Multi-frame synchronizer
JPH0821923B2 (en) Synchronous circuit
JPH0220937A (en) Synchronous detecting circuit
JPH08331189A (en) Clock phase synchronization circuit
JPH0542070B2 (en)

Legal Events

Date Code Title Description
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

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080710

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090710

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees