[go: up one dir, main page]

JPH03165133A - Phase adjustment circuit - Google Patents

Phase adjustment circuit

Info

Publication number
JPH03165133A
JPH03165133A JP1303073A JP30307389A JPH03165133A JP H03165133 A JPH03165133 A JP H03165133A JP 1303073 A JP1303073 A JP 1303073A JP 30307389 A JP30307389 A JP 30307389A JP H03165133 A JPH03165133 A JP H03165133A
Authority
JP
Japan
Prior art keywords
clock
circuit
communication interface
interface control
flip
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.)
Pending
Application number
JP1303073A
Other languages
Japanese (ja)
Inventor
Motoyuki Ishikawa
石川 元行
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1303073A priority Critical patent/JPH03165133A/en
Publication of JPH03165133A publication Critical patent/JPH03165133A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To realize phase adjustment circuit with low cost and simple circuit constitution by controlling the supply of an input clock fed to a communication interface control circuit so as to match the phase of a master clock and the transmission clock. CONSTITUTION:A transmission clock TCK outputted from a communication interface control circuit 11 is set to a flip-flop 13 in the falling timing of a master clock MCK. When a phase difference between the transmission clock TCK and the master clock MCK is within a half period, an output signal OK of level 1 is outputted from the flip-flop 13. In this case, a gate signal GATE of level 1 is outputted from a flip-flop 14. Thus, a clock CLK twice the master clock MCK is fed from an AND gate 15 as the input clock CK, and as a result, the communication interface control circuit 11 keeps outputting the transmission clock TCK in phase with the master clock MCK. Thus, the phase adjustment circuit with simple constitution and low cost is realized.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は位相調整回路に関し、特にマスタクロックの
所定倍の入力クロックを所定分周して送信クロックを生
成する通信インターフェース制御回路を備えた中継装置
においてそのマスタクロックと送信クロックとを同期さ
せる位相調整回路に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a phase adjustment circuit, and particularly to a communication interface control that generates a transmission clock by dividing an input clock, which is a predetermined multiple of a master clock, by a predetermined frequency. The present invention relates to a phase adjustment circuit that synchronizes a master clock and a transmission clock in a relay device equipped with the circuit.

(従来の技術) 一般に、通信システムで使用される中継装置には、複数
の通信インターフェース制御回路が設けられている。こ
れら通信インターフェース制御回路はそれぞれLSI化
されており、共通のマスタクロックの例えば2逓倍の入
力クロックを受信し、それを2分周して送信クロックを
生成する。
(Prior Art) Generally, a relay device used in a communication system is provided with a plurality of communication interface control circuits. Each of these communication interface control circuits is implemented as an LSI, and receives an input clock that is, for example, double the common master clock, and divides the frequency by two to generate a transmission clock.

これら通信インターフェース制御回路から発生される送
信クロックはそれぞれ位相が一致していることが望まし
いが、実際には、各々のLSI内部の遅延時間の異なり
等によって各送信クロックの位相は異なっている。この
ため、中継装置内では、各通信インターフェース制御回
路の送信クロックをマスタクロッに同期させるための位
相調整回路が必要である。
Although it is desirable that the transmission clocks generated from these communication interface control circuits have the same phase, in reality, the phases of the transmission clocks differ due to differences in delay time inside each LSI. Therefore, within the relay device, a phase adjustment circuit is required to synchronize the transmission clock of each communication interface control circuit with the master clock.

従来、位相調整回路としては、PLL回路が一般に良く
使用されている。このPLL回路にはディジタルPLL
回路とアナログPLL回路があり、どちらも位F[I調
整を精度良く行うことができる利点を有している。しか
し、ディジタルPLL回路とアナログPLL回路のどち
らも、その構成が複雑であり、例えば、ディジタルPL
L回路においては高周波クロックが必要であり、またア
ナログPLL回路では100回路の複雑な回路膜31“
が必要となる。このため、PLL回路を使用して位相調
整回路を構成した場合には、その構成が複雑になると共
に、高コストとなる欠点がある。
Conventionally, PLL circuits are commonly used as phase adjustment circuits. This PLL circuit has a digital PLL
There are two types of circuits: analog PLL circuits and analog PLL circuits, both of which have the advantage of being able to accurately adjust the position F[I. However, both digital PLL circuits and analog PLL circuits have complicated configurations.
The L circuit requires a high frequency clock, and the analog PLL circuit requires a complex circuit film with 100 circuits.
Is required. For this reason, when a phase adjustment circuit is configured using a PLL circuit, the configuration becomes complicated and the cost becomes high.

(発明が解決しようとする課題) 従来では、位相調整回路としてPLL回路を利用してお
り、その構成が複雑になると共に、高コストとなる欠点
があった。
(Problems to be Solved by the Invention) Conventionally, a PLL circuit has been used as a phase adjustment circuit, which has the drawbacks of complicated configuration and high cost.

この発明はこの様な点に鑑みなされたもので、簡+1t
な回路構成で低コストの位相調整回路を提供する事を目
的とする。
This invention was made in view of these points, and it is easy to use +1t.
The purpose of this invention is to provide a low-cost phase adjustment circuit with a simple circuit configuration.

[発明の構成コ (課題を解決するための手段) この発明による位相調整回路は、マスタクロックの所定
倍の入力クロックが供給され、その入力クロックを所定
分周してマスタクロックに同期した送信クロックを生成
する通信インターフェース制御回路と、この通信インタ
ーフェース制御回路で生成された送信クロックと前記マ
スタクロックとの位相を比較し、その位相差が半周切分
以上の時に所定の検出信号を発生する位相差検出手段と
、この位相差検出手段から発生される検出信号に応答し
て、前記入力クロックが前記通信インターフェース制御
回路に供給されるのを前記入力クロックの1クロック分
の期間禁止するクロック供給制御手段とを具備し、入力
クロックの供給を制御することによって前記マスタクロ
ックと送信クロックの位相を合わせることを特徴とする
[Structure of the Invention (Means for Solving the Problems) The phase adjustment circuit according to the present invention is provided with an input clock that is a predetermined times the master clock, divides the input clock by a predetermined frequency, and generates a transmission clock that is synchronized with the master clock. A communication interface control circuit that generates a communication interface control circuit, and a phase difference that compares the phases of the transmission clock generated by the communication interface control circuit and the master clock, and generates a predetermined detection signal when the phase difference is equal to or more than half a cycle. detection means; and clock supply control means for inhibiting the input clock from being supplied to the communication interface control circuit for a period of one clock of the input clock in response to a detection signal generated from the phase difference detection means. The master clock and the transmission clock are matched in phase by controlling supply of an input clock.

(作用) この位相調整回路においては、送信クロックとマスタク
ロックとの#枇位相差が半周切分以上の時に検出信号が
発生される。この検出信号が発生された時は、入力クロ
ックが通信インターフェース1、す陣回路に供給される
のがその入力クロックの1クロック分の期間禁止される
。このため、通信インターフェース1111 御回路の
分周動作は入力クロックの1パルス分実行されないので
、送信クロックの位相はその半周期分遅延される。これ
によって、送信クロックとマスタクロックとの位相差が
合わせられる。この様に、この位相調整回路においては
、入力クロックの供給を制御することによってマスタク
ロックと送信クロックの位相を合わせる構成であるので
、100回路や高周波クロックを必要としない。したが
って、簡単な構成で低コストの位相調整回路を実現でき
る。
(Function) In this phase adjustment circuit, a detection signal is generated when the phase difference between the transmission clock and the master clock is equal to or more than half a cycle. When this detection signal is generated, the input clock is prohibited from being supplied to the communication interface 1 and the line circuit for a period of one clock of the input clock. For this reason, the frequency division operation of the communication interface 1111 control circuit is not performed by one pulse of the input clock, so the phase of the transmission clock is delayed by half the period. As a result, the phase difference between the transmission clock and the master clock is matched. In this way, this phase adjustment circuit has a configuration in which the phases of the master clock and the transmission clock are matched by controlling the supply of the input clock, so that 100 circuits and high frequency clocks are not required. Therefore, a low-cost phase adjustment circuit can be realized with a simple configuration.

(実施例) 以下、図面を参照してこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図にはこの発明の第1実施例の位相調整回路が示さ
れている。この位相調整回路は、マスタクロックMCK
と通信インターフェース制御回路11の送信クロックT
CKとの位相を合わせるためのものであり、逓倍回路1
2、フリップフロップ13゜14、ANDゲート15、
インバータ18.17を備えている。
FIG. 1 shows a phase adjustment circuit according to a first embodiment of the present invention. This phase adjustment circuit uses master clock MCK
and the transmission clock T of the communication interface control circuit 11
This is to match the phase with CK, and the multiplier circuit 1
2, flip-flop 13°14, AND gate 15,
It is equipped with an inverter 18.17.

マスタクロックMCKは、インバータ18によって反転
されてフリップフロップ13のクロック入力端子Cに供
給されると共に、逓倍回路12に供給される。逓倍回路
12は、マスククロックMCKを所定逓倍し、それをク
ロックCLKとして発生するものである。逓倍回路12
の逓倍比は、通信インターフェース制御回路itの分周
比に対応するように決められている。例えば、通信イン
ターフェース制御回路11が入力クロックCKを2分周
して送信クロックTCKを発生する場合には、逓倍回路
12による逓倍比は2逓倍に設定される。
Master clock MCK is inverted by inverter 18 and supplied to clock input terminal C of flip-flop 13 and also supplied to multiplier circuit 12 . The multiplier circuit 12 multiplies the mask clock MCK by a predetermined value and generates it as a clock CLK. Multiplier circuit 12
The multiplication ratio of is determined to correspond to the frequency division ratio of the communication interface control circuit it. For example, when the communication interface control circuit 11 frequency-divides the input clock CK by two to generate the transmission clock TCK, the multiplication ratio by the multiplier circuit 12 is set to two.

逓倍回路12によって2逓倍されたマスタクロックMC
Kは、クロックCLKとしてANDゲート15の一方の
入力に供給される。また、そのクロックCLKは、イン
バータ17で反転された後、゛フリップフロップ14の
クロック入力端子Cに供給される。
Master clock MC doubled by multiplier circuit 12
K is supplied to one input of AND gate 15 as clock CLK. Further, the clock CLK is inverted by the inverter 17 and then supplied to the clock input terminal C of the flip-flop 14.

フリップフロップ13は、通信インターフェース制御回
路■1からの送信クロックTCKとマスククロックMC
Kの位相を比較するためのものであり、そのデータ入力
端子りには送信クロックTCKが供給され、クロック入
力端子CにはマスククロックMCIが反転されて供給さ
れる。フリップフロップ13のQ出力は、フリップフロ
ップ14のデータ入力端子りに出力信・号OKとして供
給される。すなわち、フリップフロップI3は、送信ク
ロックTCKとマスタクロックMCIの位相差が半周期
以内の場合には“12レベルの出力信号OKを発生し、
その位相差が半周期以上の場合には、“0”レベルの出
力信号OKを発生する。
The flip-flop 13 receives the transmission clock TCK and mask clock MC from the communication interface control circuit 1.
The transmission clock TCK is supplied to its data input terminal, and the inverted mask clock MCI is supplied to its clock input terminal C. The Q output of the flip-flop 13 is supplied to the data input terminal of the flip-flop 14 as an output signal OK signal. That is, when the phase difference between the transmission clock TCK and the master clock MCI is within half a cycle, the flip-flop I3 generates a "12 level output signal OK,"
If the phase difference is more than half a cycle, an output signal OK of "0" level is generated.

フリップフロップ14は、フリップフロップ13の位相
比較結果に応じたゲート信号GATEを発生するもので
あり、そのクロック入力端子Cには逓倍回路12からの
クロックCLKが反転されて供給される。フリップフロ
ップ14のQ出力はゲート信号GATEとしてANDゲ
ート15の他方の入力に供給され、またゲート信号GA
TEは反転された状態でフリップフロップ13のセット
入力端子Sに供給される。フリップフロップ】3の出力
信号OKは、セット入力端子Sに“1”が供給された時
に“12にセットされる。したがって、フリップ70ツ
ブ14は、出力信号OKが11#レベルの時は常時“1
″レベルのゲート信号GATEを発生し、出力信号OK
が“0ルベルの時はクロックCLKの1周期分の期間“
0”レベルとなるゲート信号GATEを発生する。
The flip-flop 14 generates a gate signal GATE according to the phase comparison result of the flip-flop 13, and the clock CLK from the multiplier circuit 12 is inverted and supplied to its clock input terminal C. The Q output of the flip-flop 14 is supplied as the gate signal GATE to the other input of the AND gate 15, and is also supplied as the gate signal GA.
TE is supplied to the set input terminal S of the flip-flop 13 in an inverted state. The output signal OK of flip-flop 3 is set to ``12'' when ``1'' is supplied to the set input terminal S. Therefore, the output signal OK of flip-flop 70 is always set to ``12'' when the output signal OK is at the 11# level. 1
” level gate signal GATE is generated and the output signal is OK.
When is “0 level, the period is one cycle of clock CLK”
A gate signal GATE having a 0'' level is generated.

ANDゲート15は、ゲート信号GATEが″1#レベ
ルの時にクロックCLKを入力クロックCKとして通信
インターフェース制御回路11に供給し、ゲート信号G
ATEが“0”レベルの時には通信インターフェース制
御回路11への入力クロックCKの供給を禁止する。
The AND gate 15 supplies the clock CLK as the input clock CK to the communication interface control circuit 11 when the gate signal GATE is at the "1# level", and outputs the gate signal G to the communication interface control circuit 11.
When ATE is at the "0" level, supply of the input clock CK to the communication interface control circuit 11 is prohibited.

通信インターフェース制御回路11はLS、I化されて
構成されおり、入力クロックCKを例えば2分周して送
信クロックTCKを発生する。
The communication interface control circuit 11 is configured as an LS and an I, and generates a transmission clock TCK by dividing the input clock CK by two, for example.

次に、この位相調整回路の動作を説明する。Next, the operation of this phase adjustment circuit will be explained.

通信インターフェース制御回路11から出力される送信
クロックTCKは、マスタクロックMCKの立ち下がり
タイミングでフリップフロップ13にセットされる。フ
リップフロップ13では、送信クロックTCKとマスタ
クロックMCKの位相差が半周期以内の場合には“1°
レベルの出力信号OKが出力される。この時、フリップ
フロップ14からも“1”レベルのゲート信号GATE
が出力される。したがって、ANDゲート15からは、
マスタクロックMCKの2倍のクロックCLKが入力ク
ロックCKとして供給される。この結果、通信インター
フェース制御回路目は、マスククロックM CIと同相
の送信クロックTCKを出力し続ける。
The transmission clock TCK output from the communication interface control circuit 11 is set in the flip-flop 13 at the falling timing of the master clock MCK. In the flip-flop 13, if the phase difference between the transmission clock TCK and the master clock MCK is within half a cycle,
A level output signal OK is output. At this time, the gate signal GATE of "1" level is also output from the flip-flop 14.
is output. Therefore, from the AND gate 15,
A clock CLK twice the master clock MCK is supplied as the input clock CK. As a result, the communication interface control circuit continues to output the transmission clock TCK that is in phase with the mask clock MCI.

一方、第2図のタイミングチャートに示されているよう
に、マスタクロックMCKと送信クロックTCKの位相
差が半周期以上あり、それらクロックが逆相の場合には
、フリップフロップ13の出力信号OKは“0”になる
。フリップフロップ14では、クロックCLKの立ち下
がり時に出力信号OKの値“0”がセットされ、ゲート
信号GATEは“0“となる。そして、その“0ルベル
のゲート信号GATEによってフリップフロップ13は
セットされ、出力信号OKは“1”に戻される。したが
って、フリップフロップI4では、クロックCLKの立
ち下がりから次ぎの立ち下がりまでの1クロック期間“
Omとなるゲート信号GATEが発生される。この結果
、入力クロックCKはクロックCLKの1パルス抜けた
状態の信号となり、それが通信インターフェース制御回
路11に供給される。これにより、通信インターフェー
ス制rBlili回路11の分周タイミングが遅延され
、送信クロックTCKはクロックCLKの1周期分遅れ
て変化される。結果として、マスタクロックMCIと同
)口の送信クロックTCKが得られる。
On the other hand, as shown in the timing chart of FIG. 2, if the phase difference between the master clock MCK and the transmission clock TCK is more than half a period and these clocks are in opposite phases, the output signal OK of the flip-flop 13 is becomes “0”. In the flip-flop 14, the value of the output signal OK is set to "0" at the falling edge of the clock CLK, and the gate signal GATE becomes "0". Then, the flip-flop 13 is set by the gate signal GATE of "0 level", and the output signal OK is returned to "1". period"
A gate signal GATE of Om is generated. As a result, the input clock CK becomes a signal with one pulse missing from the clock CLK, and this is supplied to the communication interface control circuit 11. As a result, the frequency division timing of the communication interface rBlili circuit 11 is delayed, and the transmission clock TCK is changed with a delay of one cycle of the clock CLK. As a result, the same transmission clock TCK as the master clock MCI is obtained.

この様に、この実施例においては、通信インターフェー
ス制御回路llへの入力クロックの供給を制御すること
によって、マスタクロックと送信クロックの位相を合わ
せる構成であるので、vCO回路や高周波クロックを必
要としない。したがって、フリップフロップを使用した
簡単な構成で低コストの位相調整回路を実現できる。
In this way, in this embodiment, the phase of the master clock and the transmission clock are matched by controlling the supply of the input clock to the communication interface control circuit ll, so a vCO circuit or a high-frequency clock is not required. . Therefore, a low-cost phase adjustment circuit can be realized with a simple configuration using flip-flops.

第3図には、第1図の位相調整回路の変形例が示されて
いる。ここでは、マスタクロックM CKの代わりにそ
の2倍のクロックMCK’が使用されている。そのクロ
ックMCK’ は、クロックCLKとして直接ANDゲ
ート15の一方の入力に供給されると共に、分周回路2
0で2分周された後にインバータ16の入力に供給され
る。この様な構成においても、第1図の回路と同様にし
て、通信インターフェース制御回路11への入力クロ・
ツクの供給を制御でき、位相調整を行うことができる。
FIG. 3 shows a modification of the phase adjustment circuit shown in FIG. 1. In FIG. Here, a clock MCK' twice that of the master clock MCK is used instead of the master clock MCK. The clock MCK' is directly supplied to one input of the AND gate 15 as the clock CLK, and is also supplied to the frequency dividing circuit 2.
The frequency is divided by 2 by 0 and then supplied to the input of the inverter 16. Even in such a configuration, the input clock signal to the communication interface control circuit 11 is controlled in the same way as the circuit shown in FIG.
The supply of light can be controlled and the phase can be adjusted.

[発明の効果] 以上のように、この発明によれば、vCO回路や高周波
クロックを使用せずに位相調整を実行できるようになり
、簡単な構成で低コストの位相調整回路が提供される。
[Effects of the Invention] As described above, according to the present invention, phase adjustment can be performed without using a vCO circuit or a high-frequency clock, and a low-cost phase adjustment circuit with a simple configuration is provided.

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

第1図はこの発明の一実施例に係わる位相調整回路を示
す回路図、第2図は第1図に示した位を口調整量路の動
作を説明するタイミングチャート、第3図は第1図に示
した位相調整回路の変形例を示す回路図である。 11・・・通信インターフェース制御回路、12・・・
逓倍回路、13.14・・・フリップフロップ、15・
・・ANDゲート、16. 17・・・インバータ。
FIG. 1 is a circuit diagram showing a phase adjustment circuit according to an embodiment of the present invention, FIG. 2 is a timing chart illustrating the operation of the phase adjustment path shown in FIG. FIG. 3 is a circuit diagram showing a modification of the phase adjustment circuit shown in the figure. 11... Communication interface control circuit, 12...
Multiplier circuit, 13.14...Flip-flop, 15.
...AND gate, 16. 17...Inverter.

Claims (1)

【特許請求の範囲】[Claims] マスタクロックの所定倍の入力クロックが供給され、そ
の入力クロックを所定分周してマスタクロックに同期し
た送信クロックを生成する通信インターフェース制御回
路と、この通信インターフェース制御回路で生成された
送信クロックと前記マスタクロックとの位相を比較し、
その位相差が半周期分以上の時に所定の検出信号を発生
する位相差検出手段と、この位相差検出手段から発生さ
れる検出信号に応答して、前記入力クロックが前記通信
インターフェース制御回路に供給されるのを前記入力ク
ロックの1クロック分の期間禁止するクロック供給制御
手段とを具備し、入力クロックの供給を制御することに
よって前記マスタクロックと送信クロックの位相を合わ
せることを特徴とする位相調整回路。
A communication interface control circuit is supplied with an input clock that is a predetermined times the master clock, and divides the input clock by a predetermined frequency to generate a transmission clock synchronized with the master clock; Compare the phase with the master clock,
phase difference detection means that generates a predetermined detection signal when the phase difference is equal to or more than half a period; and in response to the detection signal generated from the phase difference detection means, the input clock is supplied to the communication interface control circuit. clock supply control means for prohibiting the input clock from being transmitted for a period of one clock of the input clock, and adjusting the phases of the master clock and the transmission clock by controlling the supply of the input clock. circuit.
JP1303073A 1989-11-24 1989-11-24 Phase adjustment circuit Pending JPH03165133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1303073A JPH03165133A (en) 1989-11-24 1989-11-24 Phase adjustment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1303073A JPH03165133A (en) 1989-11-24 1989-11-24 Phase adjustment circuit

Publications (1)

Publication Number Publication Date
JPH03165133A true JPH03165133A (en) 1991-07-17

Family

ID=17916569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1303073A Pending JPH03165133A (en) 1989-11-24 1989-11-24 Phase adjustment circuit

Country Status (1)

Country Link
JP (1) JPH03165133A (en)

Similar Documents

Publication Publication Date Title
US5506878A (en) Programmable clock having programmable delay and duty cycle based on a user-supplied reference clock
JP2001320273A (en) Delay synchronizing loop circuit and delay synchronizing method
JPH0715322A (en) Integrated circuit with clock matching circuit and method for matching of clock output signal generated by oscillator with reference clock signal
KR900008178B1 (en) Phase synchronous system
USRE38045E1 (en) Data compensation/resynchronization circuit for phase lock loops
KR20160033381A (en) Multi-channel delay locked loop
JPH0519329B2 (en)
US6798266B1 (en) Universal clock generator using delay lock loop
US6967536B2 (en) Phase-locked loop circuit reducing steady state phase error
US20040146071A1 (en) Method and system for clock synchronization of semiconductor devices
WO1997004327A1 (en) Semiconductor tester synchronized with external clock
KR100480925B1 (en) Apparatus for maintaining duty ratio of Delay Locked Loop Circuit
JPH03165133A (en) Phase adjustment circuit
US4354164A (en) Digital phase lock loop for TIM frequency
KR20040100713A (en) Sub-system using clock signals having different frequency for commend/address bus and data bus
KR20010026746A (en) PLL Circuit having DLL mode
JPH07120941B2 (en) Digital PLL circuit
JP2665257B2 (en) Clock transfer circuit
KR0162461B1 (en) Full width digital PL for low frequencies
JP2979811B2 (en) Clock output circuit
JPH1056381A (en) Phase-locked loop circuit
JP2970296B2 (en) Data multiplexing circuit
JPH04290307A (en) Phase synchronized oscillation circuit
KR0152707B1 (en) Apparatus for arranging phase between data and other clocks
JP2571146B2 (en) Digital tape recorder synchronization system