JPH05336064A - Signal synchronizing circuit - Google Patents

Signal synchronizing circuit

Info

Publication number
JPH05336064A
JPH05336064A JP4142554A JP14255492A JPH05336064A JP H05336064 A JPH05336064 A JP H05336064A JP 4142554 A JP4142554 A JP 4142554A JP 14255492 A JP14255492 A JP 14255492A JP H05336064 A JPH05336064 A JP H05336064A
Authority
JP
Japan
Prior art keywords
clock
pulse
data
circuit
timing
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
JP4142554A
Other languages
Japanese (ja)
Other versions
JP2929837B2 (en
Inventor
Shu Yoshida
周 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4142554A priority Critical patent/JP2929837B2/en
Publication of JPH05336064A publication Critical patent/JPH05336064A/en
Application granted granted Critical
Publication of JP2929837B2 publication Critical patent/JP2929837B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To stably transmit data between devices by automatically preventing the rise point of a clock from approaching the change point of input data. CONSTITUTION:A pulse generating circuit 1 generates two different timing pulses B1 and B2 for the acquisition of data A. A flip flop circuit 3 generates a select signal (b) and the signal the inverse of (b) for switching between pulses B1 and B2. AND circuits 6 and 7 and an OR circuit 8 select one of pulses B1 and B2 by these signals (b) and the inverse of (b) to generate a latch pulse Y. A flip flop circuit 2 discriminates whether the change point of data A approaches the timing of data sampling (latch pulse Y) or not; and if it approaches this timing, the output (select signal) (b) of the flip flop circuit 2 is inverted to shift the timing of the pulse Y by a half clock.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は自装置のクロックと入力
データとを同期させる信号同期回路に関し、特に網同期
装置(DCS)のタイミングから上記クロックを得る装
置用の信号同期回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal synchronizing circuit for synchronizing a clock of its own device with input data, and more particularly to a signal synchronizing circuit for a device for obtaining the clock from the timing of a network synchronizer (DCS).

【0002】[0002]

【従来の技術】DCSからタイミングを得ている装置の
従来動作について、図4のシステム構成図,図5に示す
図4の装置におけるクロックの位相関係図、および図6
(a),(b)に示す図4の装置におけるデータおよび
クロックのタイムチャート図を併せ参照して説明する。
2. Description of the Related Art Regarding the conventional operation of a device that obtains timing from DCS, FIG. 4 is a system configuration diagram, FIG. 5 is a phase diagram of clocks in the device of FIG.
Description will be given with reference to the time charts of data and clocks in the apparatus of FIG. 4 shown in FIGS.

【0003】A装置42およびB装置43は、DCS4
1から正確に同じ周波数のクロックタイミングを得て信
号処理動作を行っているが、装置間でお互いのクロック
AとBとの位相関係はわからない。
Device A 42 and device B 43 are DCS 4
Although the signal processing operation is performed by accurately obtaining clock timings of the same frequency from 1, the mutual phase relationship between the clocks A and B is unknown between the devices.

【0004】すなわち、地理的に離れたA装置42およ
びB装置43とは、双方ともDCS41からタイミング
を得、それぞれの装置内のクロック作成部421および
431によりDCS41からのタイミングに同期したク
ロックAおよびクロックBを作成し、これらのクロック
AおよびBを基準に動作している。しかし、これらクロ
ックAとクロックBとがともに同じ周波数であったとし
ても、クロックAの変化点とクロックBの変化点との時
間差dは不明である。つまり、クロックAとBとの間に
任意の時間差dを取り得る(図5参照)。なお、A装置
42,B装置43ともにDCS41を基準に動作してい
ることから、時間差dの値は、通常にはA装置42およ
び43を立ち上げるときに決定され、装置立ち上げ以降
には変化しない。
That is, the A device 42 and the B device 43, which are geographically distant from each other, both obtain timing from the DCS 41, and clock generators 421 and 431 in the respective devices synchronize the clock A and the clock A from the DCS 41. A clock B is created and the clocks A and B are used as a reference. However, even if both the clock A and the clock B have the same frequency, the time difference d between the changing point of the clock A and the changing point of the clock B is unknown. That is, an arbitrary time difference d can be taken between the clocks A and B (see FIG. 5). Since both the A device 42 and the B device 43 operate with the DCS 41 as a reference, the value of the time difference d is normally determined when the A devices 42 and 43 are started up, and changes after the device is started up. do not do.

【0005】上記のような2つの装置間でデータ伝送を
行うとき、たとえばA装置42からB装置43に対して
データAを送信し、B装置43でデータAをB装置43
のクロックBの立ち上がりでとらえようとすると、デー
タAの変化点がちょうどクロックBの立ち上がりに重な
ってしまう場合が起り得る。すると、B装置43では、
データAの受信において、同じビットを2回受信した
り、ビットがとんだりして不安定な受信をすることにな
る。すなわち、図6(a)図ではクロックBの立ち上り
点はクロックAの立ち上がり点から離れているので、安
定した出力データBが得られているが、図6(b)では
クロックBの立ち上がり点がクロックAの立ち上がり点
に極めて接近しているため、ちょうどデータAの変化点
をとらえることになり、出力データBが不安定となって
いる。
When data transmission is performed between the two devices as described above, for example, the data A is transmitted from the device A 42 to the device B 43, and the device A transfers the data A to the device B 43.
If it is attempted to catch the rising edge of the clock B, the change point of the data A may coincide with the rising edge of the clock B. Then, in the B device 43,
In the reception of the data A, the same bit is received twice or the bit is skipped, resulting in unstable reception. That is, in FIG. 6A, the rising point of the clock B is distant from the rising point of the clock A, so stable output data B is obtained, but in FIG. 6B, the rising point of the clock B is Since it is extremely close to the rising point of the clock A, the change point of the data A is just caught, and the output data B is unstable.

【0006】[0006]

【発明が解決しようとする課題】従って本発明の目的
は、クロックの位相関係が互いに不明な装置間でデータ
伝送を行う場合に、自装置クロックの立ち上がり点が入
力データの変化点に接近するのを防止するように自装置
クロックの位相を自動的に調整し、装置間に安定したデ
ータ伝送を可能にする信号同期装置を提供することにあ
る。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to make the rising point of the own device clock approach the change point of the input data when transmitting data between devices whose clock phase relationships are unknown to each other. It is an object of the present invention to provide a signal synchronizer that automatically adjusts the phase of the clock of its own device to prevent the above, and enables stable data transmission between the devices.

【0007】[0007]

【課題を解決するための手段】本発明の信号同期回路
は、入力された第1のクロックの立ち上がり点から一定
時間だけアクティブとなる第1のパルスおよび前記第1
のクロックの立ち下がり点から一定時間だけアクティブ
となる第2のパルスを生ずるパルス作成回路と、選択信
号の制御によって前記第1および第2のパルスのいずれ
か一方を選択してラッチパルスを生ずるパルス選択回路
と、前記第1のクロックに等しい周波数の第2のクロッ
クと前記ラッチパルスとを入力し前記ラッチパルスが前
記第2のクロックの立ち上がり点に接近していることを
検出すると出力する前記選択信号の種類を切り替えるラ
ッチパルス切替回路とを備えている。
The signal synchronizing circuit of the present invention includes a first pulse and a first pulse which are active for a fixed time from a rising point of an input first clock.
Pulse generating circuit for generating a second pulse that is active for a fixed time from the trailing edge of the clock, and a pulse for generating a latch pulse by selecting one of the first and second pulses by controlling a selection signal. The selection circuit, the second clock having the same frequency as the first clock, and the latch pulse are input, and the selection is output when it is detected that the latch pulse is close to the rising point of the second clock. And a latch pulse switching circuit for switching the type of signal.

【0008】すなわち、第2の装置において第1の装置
からのデータをラッチするとき、上記信号同期回路は、
上記ラッチパルスによって上記データをラッチしようと
する瞬間が上記データの変化点に接近しているかどうか
を監視し、もしそうならばラッチするタイミングを半ク
ロックずらすことにより、上述したような不安定なデー
タ受信動作が生ずるのを避けている。
That is, when the data from the first device is latched in the second device, the signal synchronizing circuit is
By monitoring whether or not the moment of trying to latch the data by the latch pulse is close to the change point of the data, and if so, by shifting the latch timing by half a clock, the unstable data as described above can be obtained. Avoid receiving operations.

【0009】[0009]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0010】図1は本発明の一実施例のブロック図であ
り、この信号同期回路を図4のB装置43に適用してい
る。図2および図3はこの図1の実施例の動作を説明す
るタイミング図である。
FIG. 1 is a block diagram of an embodiment of the present invention, and this signal synchronizing circuit is applied to the B device 43 of FIG. 2 and 3 are timing charts for explaining the operation of the embodiment shown in FIG.

【0011】この信号同期回路において、パルス作成回
路1は、クロックBを入力し、このクロックBの立ち上
がりに同期したパルスB1および立ち下がりに同期した
パルスB2を作成する(図1,2参照)。AND回路
6,7およびOR回路8は、フリップフロップ回路(F
/F)3の出力b(および反転b)の状態に応じ、これ
らパルスB1およびB2のいずれか一方を選択し、パル
スYを生じる(図1ないし図3参照)。パルスYは、F
/F5のクロック入力端Cに供給されてF/F5のデー
タ入力端Dに入力されるデータAのラッチに使用される
ほか、F/F2のデータ入力端Dにも接続される。F/
F2のクロック入力端CにはクロックAが接続される。
F/F2の出力端Qは遅延回路4を介してF/F3のク
ロック入力端Cに接続される。
In this signal synchronizing circuit, the pulse creating circuit 1 inputs a clock B and creates a pulse B1 synchronized with the rising edge of the clock B and a pulse B2 synchronized with the falling edge (see FIGS. 1 and 2). The AND circuits 6 and 7 and the OR circuit 8 are flip-flop circuits (F
One of these pulses B1 and B2 is selected in accordance with the state of the output b (and inversion b) of the / F) 3 to generate the pulse Y (see FIGS. 1 to 3). Pulse Y is F
It is used to latch the data A supplied to the clock input terminal C of / F5 and input to the data input terminal D of F / F5, and is also connected to the data input terminal D of F / F2. F /
The clock A is connected to the clock input terminal C of F2.
The output terminal Q of the F / F2 is connected to the clock input terminal C of the F / F3 via the delay circuit 4.

【0012】この信号同期回路の初期状態においては、
パルスB2がF/F3の出力bにより選択されている。
パルスYの立ち上がりがクロックAの立ち上がり点から
離れていれば、パルスYはデータAを安定してとらえる
ことができるのでそのままで問題ない(図示せず)。こ
のとき、F/F2の出力aは常時”L”である。しかし
運悪くパルスYの立ち上がりがクロックAの立ち上がり
に接近した状態となっていると(図3参照)、上述した
とおり、このままではデータBとして安定した出力は得
られない。
In the initial state of this signal synchronizing circuit,
The pulse B2 is selected by the output b of the F / F3.
If the rising edge of the pulse Y is far from the rising edge of the clock A, the pulse Y can stably capture the data A, and therefore there is no problem as it is (not shown). At this time, the output a of the F / F2 is always "L". However, if the rising edge of the pulse Y is unfortunately close to the rising edge of the clock A (see FIG. 3), as described above, a stable output as the data B cannot be obtained.

【0013】そこで、本回路においては、F/F2がク
ロックAの立ち上がり点付近においてパルスYがアクテ
ィブ”H”となっていることを検出すると、F/F2の
出力aは一度”H”となる。この変化は遅延回路4を通
ってF/F3に伝達され、F/F3の出力bが反転す
る。すると、これまではパルスYとしてパルスB2が選
択されていたのが、パルスB1が選択され、パルスYは
クロックB1の立ち上がりでアクティブとなり、半クロ
ックずれた点でデータAをとらえるようになる。以後は
データBは安定した出力となる。F/F2の出力aは、
F/F3が反転した時点で”L”に戻る。
Therefore, in this circuit, when the F / F2 detects that the pulse Y is active "H" near the rising point of the clock A, the output a of the F / F2 once becomes "H". .. This change is transmitted to the F / F 3 through the delay circuit 4, and the output b of the F / F 3 is inverted. Then, the pulse B2 has been selected as the pulse Y until now, but the pulse B1 is selected, the pulse Y becomes active at the rising edge of the clock B1, and the data A is captured at a point shifted by a half clock. After that, the data B becomes a stable output. The output a of F / F2 is
When F / F3 is reversed, it returns to "L".

【0014】[0014]

【発明の効果】以上説明したように本発明の同期安定回
路は、互いにクロック位相関係のわからない2装置間に
おいてデータ伝送を行う際に、入力データを自装置のク
ロックによってラッチしようとする瞬間が上記入力デー
タの変化点に接近しているかどうかを監視し、もし両者
が接近しているならば入力データをラッチするタイミン
グを半クロックずらすことにより、安定にデータ伝送を
行うことが可能になるという効果がある。
As described above, in the synchronization stabilizing circuit of the present invention, when data is transmitted between two devices whose clock phase relationships are unknown, the moment when the input data is to be latched by the clock of the device itself is the above-mentioned. The effect that it becomes possible to perform stable data transmission by monitoring whether the change point of the input data is approaching and if both are approaching, shifting the timing of latching the input data by half a clock There is.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】実施例におけるパルスB1およびB2のタイミ
ング図である。
FIG. 2 is a timing diagram of pulses B1 and B2 in the embodiment.

【図3】実施例におけるパルスB1とB2の切り替えを
説明するタイミング図である。
FIG. 3 is a timing diagram illustrating switching between pulses B1 and B2 in the embodiment.

【図4】本発明の信号同期回路を適用すべき装置を含む
システム構成図である。
FIG. 4 is a system configuration diagram including a device to which the signal synchronization circuit of the present invention is applied.

【図5】図4の構成において、従来技術による2つの装
置が作成するクロックAおよびBの相互の位相関係を示
す図である。
5 is a diagram showing a mutual phase relationship between clocks A and B created by two devices according to the related art in the configuration of FIG.

【図6】図4の装置におけるデータおよびクロックのタ
イムチャート図である。(a)図はクロックAとBの立
ち上がり点が離れている場合、(b)図はクロックAと
Bの立ち上がり点が接近している場合を示している。
FIG. 6 is a time chart diagram of data and clocks in the apparatus of FIG. 9A shows the case where the rising points of the clocks A and B are separated, and FIG. 9B shows the case where the rising points of the clocks A and B are close to each other.

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

1 パルス作成回路 2,3,5 フリップフロップ回路(F/F) 4 遅延回路 6,7 AND回路 8 OR回路 41 網同期回路(DCS) 42 A装置 43 B装置 421,431 クロック作成部 1 pulse creation circuit 2, 3, 5 flip-flop circuit (F / F) 4 delay circuit 6, 7 AND circuit 8 OR circuit 41 network synchronization circuit (DCS) 42 A device 43 B device 421, 431 clock creation unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された第1のクロックの立ち上がり
点から一定時間だけアクティブとなる第1のパルスおよ
び前記第1のクロックの立ち下がり点から一定時間だけ
アクティブとなる第2のパルスを生ずるパルス作成回路
と、 選択信号の制御によって前記第1および第2のパルスの
いずれか一方を選択してラッチパルスを生ずるパルス選
択回路と、 前記第1のクロックに等しい周波数の第2のクロックと
前記ラッチパルスとを入力し、前記ラッチパルスが前記
第2のクロックの立ち上がり点に接近していることを検
出すると、出力する前記選択信号の種類を切り替えるラ
ッチパルス切替回路とを備えることを特徴とする信号同
期回路。
1. A pulse for generating a first pulse that is active for a certain period of time from a rising point of an input first clock and a second pulse that is active for a certain period of time from a falling point of the first clock. A creating circuit, a pulse selecting circuit for selecting one of the first and second pulses to generate a latch pulse by controlling a selecting signal, a second clock having a frequency equal to the first clock, and the latch And a latch pulse switching circuit that switches the type of the selection signal to be output when it detects that the latch pulse is approaching the rising point of the second clock. Synchronous circuit.
JP4142554A 1992-06-03 1992-06-03 Signal synchronization circuit Expired - Lifetime JP2929837B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4142554A JP2929837B2 (en) 1992-06-03 1992-06-03 Signal synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4142554A JP2929837B2 (en) 1992-06-03 1992-06-03 Signal synchronization circuit

Publications (2)

Publication Number Publication Date
JPH05336064A true JPH05336064A (en) 1993-12-17
JP2929837B2 JP2929837B2 (en) 1999-08-03

Family

ID=15318046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4142554A Expired - Lifetime JP2929837B2 (en) 1992-06-03 1992-06-03 Signal synchronization circuit

Country Status (1)

Country Link
JP (1) JP2929837B2 (en)

Also Published As

Publication number Publication date
JP2929837B2 (en) 1999-08-03

Similar Documents

Publication Publication Date Title
US5528198A (en) Clock signal extraction apparatus using VCO having plurality of selectable phase shifted outputs
US4573173A (en) Clock synchronization device in data transmission system
JPH09214475A (en) Data transfer method for integrated circuit and its device
EP1336270B1 (en) An arrangement for capturing data
JP2003134096A (en) Data extraction circuit
EP0666662A1 (en) Serial data clock receiver circuit and method therefor
JPH05336064A (en) Signal synchronizing circuit
JP3253514B2 (en) Clock generation circuit in PLL circuit
JPS59221045A (en) Timing control system of data transmission and reception
JPS6172443A (en) Synchronizing system of digital multiplex transmission system
JPS60254939A (en) Phase aligning circuit
KR20000008814A (en) Phase synchronization device and method thereof
JPH08237104A (en) Bit phase detection circuit and bit phase synchronization circuit
JPS62235838A (en) Data reception control system
JPH03203427A (en) Phase synchronizing clock generating circuit
JPH05102952A (en) Clock switching circuit for digital transmission device
JP2556169B2 (en) Clock switching circuit
JPH08330932A (en) Synchronous circuit controller
JPH08237235A (en) Digital communication system
JPH1168726A (en) Clock changeover circuit
JPS60254938A (en) Phase aligning circuit
JPS5967730A (en) Pll circuit
JPS6380636A (en) System and circuit for data transmission
JPS6152043A (en) Synchronizing system of digital multiplex transmission system
JPH05327676A (en) Asynchronizing signal synchronization circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990420