JPH0351137B2 - - Google Patents

Info

Publication number
JPH0351137B2
JPH0351137B2 JP8980483A JP8980483A JPH0351137B2 JP H0351137 B2 JPH0351137 B2 JP H0351137B2 JP 8980483 A JP8980483 A JP 8980483A JP 8980483 A JP8980483 A JP 8980483A JP H0351137 B2 JPH0351137 B2 JP H0351137B2
Authority
JP
Japan
Prior art keywords
pulse
periodic pulse
periodic
detecting
output
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
Application number
JP8980483A
Other languages
Japanese (ja)
Other versions
JPS59215115A (en
Inventor
Hirohisa Karibe
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP8980483A priority Critical patent/JPS59215115A/en
Publication of JPS59215115A publication Critical patent/JPS59215115A/en
Publication of JPH0351137B2 publication Critical patent/JPH0351137B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明は2つの互いに非同期なクロツク系の周
期パルスの前後関係に変化のあつたことを検出と
する位相差検出回路に係り、特に該2つの互いに
非同期なクロツク系の周期パルスの位相の前後関
係が頻繁に入れかわる時にも、適度な頻度で検出
できるようにした位相差検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a phase difference detection circuit that detects a change in the sequential relationship between two periodic pulses of a clock system that are asynchronous to each other, and particularly relates to The present invention relates to a phase difference detection circuit capable of detecting at an appropriate frequency even when the phase relationship of periodic pulses of two mutually asynchronous clock systems frequently changes.

(2) 技術の背景 PCM通信方式のように、発呼者からの信号の
サンプリング周期パルスと被呼者からの信号のサ
ンプリング周期パルスは、非同期である場合、こ
れらの送受信信号を一つのパルス信号処理回路で
処理するようなとき、両周期パルスの発生時期の
前後関係が入れ換わつたことを知り、信号処理を
行うことが必要になることがある。例えば第1パ
ルス入力のとき第1信号処理を開始し、その終了
後、第2パルス入力に対する信号処理に切り換え
るようにしているとき、第2パルスが第1パルス
の信号処理直後に到来したときその処理を遅らせ
る回路を動作させるようなことである。
(2) Background of the technology When the sampling period pulse of the signal from the calling party and the sampling period pulse of the signal from the called party are asynchronous, as in the PCM communication system, these transmitted and received signals are combined into one pulse signal. When processing in a processing circuit, it may be necessary to perform signal processing upon knowing that the timing of the generation of both periodic pulses has been reversed. For example, if the first signal processing is started when the first pulse is input and then switched to the signal processing for the second pulse input after the first pulse input, when the second pulse arrives immediately after the signal processing of the first pulse, It's like running a circuit that delays processing.

(3) 従来技術と問題点 上記システムにおいて、従来は単一段のフリツ
プフロツプを使用して、2つの互いに非同期なク
ロツク系の同期パルスの前後関係に変化のあつた
ことを検出していた。すなわちフリツプフロツプ
は一方のパルスをクロツク入力として、その立上
り時に、他方の入力端子が“1”または“0”で
あるとき、出力側に所定の“1”または“0”を
得ることができるから、一方のパルスの基準位相
に対し他方のパルスの前後(パルス立上り時刻の
前後)を検出することができた。しかし両パルス
の周期が殆ど等しいとき両者の位相差は極めて小
さいから、パルス立上り時刻の前後がほとんど一
致ししていて、その差が僅か変化するのみで、2
つの互いに非同期なクロツク系の同期パルスの前
後関係が入れ換わつたと判定され、それを繰り返
すことがある。そのため前述のような信号処理を
行う回路で、処理を遅らせる回路の切り換えを毎
回行う必要が生じ、非同期による処理の切り換え
をうまく行えなくなるという欠点があつた。
(3) Prior Art and Problems In the above system, conventionally a single-stage flip-flop was used to detect a change in the order of synchronization pulses of two mutually asynchronous clock systems. In other words, when a flip-flop receives one pulse as a clock input and the other input terminal is "1" or "0" at the rising edge of the clock, a predetermined "1" or "0" can be obtained on the output side. It was possible to detect the timing before and after the reference phase of one pulse (before and after the pulse rise time) of the other pulse. However, when the periods of both pulses are almost equal, the phase difference between them is extremely small, so the pulse rise times are almost the same, and the difference changes only slightly, resulting in 2
It is determined that the synchronization pulses of two mutually asynchronous clock systems have been swapped, and this may be repeated. Therefore, in the circuit that performs the above-mentioned signal processing, it is necessary to switch the circuit that delays the processing every time, and there is a drawback that it is difficult to switch the processing properly due to asynchronous processing.

(4) 発明の目的 本発明の目的は前述の欠点を改善し、2つの互
いに非同期なクロツク系のパルスの位相差変化を
比較的簡易な回路構成で、該2つの互いに非同期
なクロツク系のパルスの前後関係が頻繁に入れ換
わるときにも適度な頻度で切り替わりが検出でき
る回路を提供することにある。
(4) Object of the Invention The object of the present invention is to improve the above-mentioned drawbacks, and to change the phase difference between the two mutually asynchronous clock system pulses using a relatively simple circuit configuration. An object of the present invention is to provide a circuit capable of detecting switching at an appropriate frequency even when the front and back relationships of objects are frequently switched.

(5) 発明の構成 前述の目的を達成するための本発明の構成は、
第1周期パルスと、該第1周期パルスと非同期で
且つ周期の類似した第2周期パルスとの二つのパ
ルスにつき、第1周期パルスに対する第2周期パ
ルスの位相差の進み遅れの入れ代わりを検出する
回路において、該第1周期パルスを遅延させる遅
延部DL1,DL2と、該第1周期パルスの中に該
第2周期パルスの有無を検出する第1の検出手段
FF4と、1ビツト前の該第1周期パルスの中に
該第2周期パルスの有無を検出する第2の検出手
段FF3と、該第1の検出手段の出力と該第2の
検出手段の出力を比較し該第1周期パルス内に該
第2周期パルスの無いことを検出する第1のゲー
ト手段LG2と、遅延部DL1,DL2の遅延出力
のパルスの中に、該第2周期パルスの有無を検出
する第3の検出手段FF2と、1ビツト前の該遅
延出力のパルスの中に該第2周期パルスの有無を
検出する第4の検出手段FF1と、該第3の検出
手段の出力と該第4の検出手段の出力を比較し該
遅延パルス内に該第2周期パルスの無く、1ビツ
ト前の該遅延パルス内に該第2周期パルスの有る
ことを検出する第2のゲート手段LG1と、該第
1のゲート手段と該第2のゲート手段出力の和よ
り進み遅れの入れ代わり検出信号を出力する手段
を設けたことを特徴とするものである。
(5) Structure of the invention The structure of the present invention to achieve the above-mentioned object is as follows:
For two pulses: a first periodic pulse and a second periodic pulse that is asynchronous with the first periodic pulse and has a similar period, detecting an exchange of lead and lag in the phase difference of the second periodic pulse with respect to the first periodic pulse. The circuit includes delay units DL1 and DL2 that delay the first periodic pulse, and a first detection means that detects the presence or absence of the second periodic pulse in the first periodic pulse.
FF4, second detection means FF3 for detecting the presence or absence of the second periodic pulse in the first periodic pulse one bit before, the output of the first detection means and the output of the second detection means. a first gate means LG2 which compares and detects the absence of the second periodic pulse within the first periodic pulse; and presence or absence of the second periodic pulse in the delayed output pulses of the delay units DL1 and DL2. a third detecting means FF2 for detecting the second periodic pulse; a fourth detecting means FF1 for detecting the presence or absence of the second periodic pulse in the pulse of the delayed output one bit before; and an output of the third detecting means. a second gate means LG1 that compares the output of the fourth detection means and detects that the second periodic pulse is absent in the delayed pulse and that the second periodic pulse is present in the delayed pulse one bit earlier; The present invention is characterized by further comprising means for outputting a lead/lag interchange detection signal from the sum of the outputs of the first gate means and the second gate means.

(6) 発明の実施例 第1図は本発明の一実施例を示すブロツク構成
図で、端子T1に第1のクロツク系に同期したパ
ルスを入力し、これを基準パルスとし、第1遅延
回路DL1だけ遅延させ第一周期パルスP1とす
る。P2は第2周期パルスで、第1クロツク系と
は非同期な第2のクロツク系に同期し且つ第1周
期パルスと周期の類似したものである。第2図は
第1図の動作を示すタイムチヤートである。第1
周期パルスP1と第2周期パルスP2を第2図に
示すように入力する。また第1図において、DL
1とDL2は第1周期パルスを遅延させる遅延部
である。FF4は第1周期パルスの中に第2周期
パルスの有無を検出するものである。FF3は1
ビツト前の第1周期パルスの中に、第2周期パル
スの有無を検出するものである。LG2はFF4と
FF3の出力を比較し、第1周期パルス内に第2
周期パルスの有り、1ビツト前の第1周期パルス
内に第2周期パルスの無いことを検出するゲート
である。
(6) Embodiment of the Invention FIG. 1 is a block configuration diagram showing an embodiment of the invention, in which a pulse synchronized with the first clock system is inputted to the terminal T1, this is used as a reference pulse, and the first delay circuit is The first periodic pulse P1 is delayed by DL1. P2 is a second periodic pulse, which is synchronized with a second clock system that is asynchronous with the first clock system and has a similar period to the first periodic pulse. FIG. 2 is a time chart showing the operation of FIG. 1. 1st
A periodic pulse P1 and a second periodic pulse P2 are input as shown in FIG. Also, in Figure 1, DL
1 and DL2 are delay units that delay the first periodic pulse. FF4 detects the presence or absence of the second periodic pulse in the first periodic pulse. FF3 is 1
This detects the presence or absence of a second periodic pulse in the first periodic pulse before the bit. LG2 and FF4
The output of FF3 is compared, and the second pulse is detected within the first cycle pulse.
This gate detects the presence of a periodic pulse and the absence of a second periodic pulse within the first periodic pulse one bit before.

FF2はDL2の遅延出力のパルスの中に、第2
周期パルスの有無を検出するものである。FF1
は1ビツト前の遅延出力の遅延出力のパルスの中
に、第2周期パルスの有無を検出するものであ
る。FF2とFF1の出力を比較し、遅延パルス内
に第2周期パルスの無く、1ビツト前の遅延パル
ス内に該第2周期パルスの有ることを検出するも
のである。
FF2 contains the second pulse in the delayed output pulse of DL2.
This detects the presence or absence of periodic pulses. FF1
is to detect the presence or absence of a second periodic pulse among the pulses of the delayed output of the delayed output one bit before. The outputs of FF2 and FF1 are compared, and it is detected that there is no second periodic pulse within the delayed pulse and that the second periodic pulse is present within the delayed pulse one bit earlier.

LG3及びMMは、LG1とLG2の和より進み
遅れの入れ代わり検出信号を出力するものであ
る。第2図においてD1,D2と示す矢印は動作
検出位置を示す時刻で、第1のクロツク系の基準
パルスT1の立上り時刻を検出位置D2とする。
そのためD2とパルスP1とは、遅延回路DL1
の遅延時間の差がある。検出位置D1はパルスP
1より更に遅延回路DL2の遅延時間だけ遅れた
位置としている。D1,D2に発生するパルスを
フリツプフロツプFF1〜FF4のクロツク端子C
に入力させると、クロツク端子Cの入力の立上り
時における入力端子Dの状態で各フリツプフロツ
プFFの出力Qの出力が定まる。FF1,FF3は
FF2,FF4と比較しそれぞれクロツクパルス1
周期後の状況を保持している。第2図に示すよう
にD1の検出位置のうち時刻t1ではパルスP2
は“1”と、t2では“0”となるから、論理演
算回路LG1より、“1”が出力される。次に論理
演算回路LG1とLG2との論理和より進み遅れの
入れ代わり検出信号を出力する手段としての論理
演算回路LG3と単安定マルチバイブレータMM
に印加すると、検出端子DTに出力が得られる。
パルスP2の状態が時刻t1において“1”、t
2において“0”であると、検出端子DTの出力
がt1において“L”、t2において“H”を出
力するので、その場合はD1という検出位置にお
けるP1,P2の位相差があつて、その時先→後
と符号変わりしたことを示す。FF1,FF2の回
路は、位相関係の変化がこの逆となつたときは、
検出信号“H”を発生しない。第3図に示すタイ
ムチヤートは第2図のタイムチヤートの時刻t1
とt2の関係が入れ代わつた状態を時刻t3とt
4に示している。時刻t3,t4において入れ換
わりが検出されている。すなわちFF3,FF4の
動作は検出位置D2を基準として、そのときパル
スP2発生が後→先の変化を起こしたとき検出で
きる。この検出出力は論理演算回路LG2,LG3
を介し単安定マルチバイブレータMMの出力とし
て端子DTに得られる。
LG3 and MM output a replacement detection signal that is ahead or behind the sum of LG1 and LG2. In FIG. 2, arrows D1 and D2 indicate times indicating motion detection positions, and the rise time of the reference pulse T1 of the first clock system is defined as the detection position D2.
Therefore, D2 and pulse P1 are connected to delay circuit DL1.
There is a difference in delay time. Detection position D1 is pulse P
The position is further delayed from 1 by the delay time of the delay circuit DL2. The pulses generated at D1 and D2 are sent to the clock terminals C of flip-flops FF1 to FF4.
, the output Q of each flip-flop FF is determined by the state of the input terminal D when the input to the clock terminal C rises. FF1 and FF3 are
Compared to FF2 and FF4, each clock pulse is 1
The status after the cycle is maintained. As shown in FIG. 2, at time t1 of the detection position of D1, the pulse P2
is "1" and "0" at t2, so "1" is output from the logic operation circuit LG1. Next, a logic operation circuit LG3 and a monostable multivibrator MM are used as means for outputting a lead/lag interchange detection signal from the logical sum of logic operation circuits LG1 and LG2.
An output is obtained at the detection terminal DT.
The state of pulse P2 is “1” at time t1, t
2, the output of the detection terminal DT is "L" at t1 and "H" at t2. In that case, there is a phase difference between P1 and P2 at the detection position D1. Indicates that the sign has changed from forward to backward. For the FF1 and FF2 circuits, when the change in phase relationship is reversed,
Detection signal "H" is not generated. The time chart shown in Figure 3 is the time t1 of the time chart in Figure 2.
The state in which the relationship between and t2 is swapped is called time t3 and t
4. Swapping is detected at times t3 and t4. That is, the operations of FF3 and FF4 can be detected when the generation of pulse P2 changes from the rear to the front, using the detection position D2 as a reference. This detection output is from logic operation circuits LG2 and LG3.
is obtained through terminal DT as the output of monostable multivibrator MM.

(7) 発明の効果 このようにして本発明によると、検出位置を一
方の信号の立上りのような特定位相の前後2個所
に設けているので、そのとき変化状況が先→後の
場合と後→先の場合とを判断する回路の出力の有
無で区別して検出できることから、比較すべき両
パルスの発生時刻が近接しているときも、入れ換
わり検出が頻度高くなることがないようになつて
いる。
(7) Effects of the Invention As described above, according to the present invention, since the detection positions are provided at two locations before and after a specific phase such as the rising edge of one signal, it is possible to detect whether the state of change is first → later or later. → Since the detection can be done by distinguishing between the previous case and the presence or absence of the output of the circuit that judges it, even when the generation times of the two pulses to be compared are close to each other, the frequency of switching detection does not increase. There is.

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

第1図は本発明の一実施例を示すブロツク構成
図、第2図,第3図は第1図の動作タイムチヤー
トである。 DL1,DL2…遅延回路、FF1〜FF4…フリ
ツプフロツプ、LG1〜LG3…論理演算回路、
MM…単安定マルチバイブレータ。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIGS. 2 and 3 are operation time charts of FIG. 1. DL1, DL2...Delay circuit, FF1-FF4...Flip-flop, LG1-LG3...Logic operation circuit,
MM…Monostable multivibrator.

Claims (1)

【特許請求の範囲】 1 第1周期パルスと、該第1周期パルスと非同
期で且つ周期の類似した第2周期パルスとの二つ
のパルスにつき、第1周期パルスに対する第2周
期パルスの位相差の進み遅れの入れ代わりを検出
する回路において、 該第1周期パルスを遅延させる遅延部DL1,
DL2と、 該第1周期パルスの中に該第2周期パルスの有
無を検出する第1の検出手段FF4と、 1ビツト前の該第1周期パルスの中に、該第2
周期パルスの有無を検出する第2の検出手段FF
3と、 該第1の検出手段の出力と該第2の検出手段の
出力を比較し、該第1周期パルス内に該第2周期
パルスの有り、1ビツト前の該第1周期パルス内
に該第2周期パルスの無いことを検出する第1の
ゲート手段LG2と、 遅延部DL1,DL2の遅延出力のパルスの中
に、該第2周期パルスの有無を検出する第3の検
出手段FF2と、 1ビツト前の該遅延出力のパルスの中に、該第
2周期パルスの有無を検出する第4の検出手段
FF1と、 該第3の検出手段の出力と該第4の検出手段の
出力を比較し、該遅延パルス内に該第2周期パル
スの無く、1ビツト前の該遅延パルス内に該第2
周期パルスの有ることを検出する第2のゲート手
段LG1と、 該第1のゲート手段と該第2のゲート手段出力
の和より進み遅れの入れ代わり検出信号を出力す
る手段LG3,MMを設けたこと を特徴とする位相差検出回路。
[Claims] 1 Regarding two pulses: a first periodic pulse and a second periodic pulse that is asynchronous with the first periodic pulse and has a similar period, the phase difference of the second periodic pulse with respect to the first periodic pulse. In the circuit that detects the replacement of lead and lag, a delay unit DL1, which delays the first periodic pulse;
DL2; first detection means FF4 for detecting the presence or absence of the second periodic pulse in the first periodic pulse;
Second detection means FF for detecting the presence or absence of periodic pulses
3, the output of the first detecting means and the output of the second detecting means are compared, and it is determined whether the second periodic pulse is present within the first periodic pulse or within the first periodic pulse one bit before. a first gate means LG2 for detecting the absence of the second periodic pulse; and a third detection means FF2 for detecting the presence or absence of the second periodic pulse among the delayed output pulses of the delay units DL1 and DL2. , fourth detection means for detecting the presence or absence of the second periodic pulse in the pulse of the delayed output one bit earlier;
FF1, the output of the third detection means and the output of the fourth detection means are compared, and it is determined that there is no second periodic pulse within the delayed pulse and there is no second periodic pulse within the delayed pulse one bit earlier.
A second gate means LG1 for detecting the presence of a periodic pulse, and means LG3 and MM for outputting a lead/lag interchange detection signal from the sum of the outputs of the first gate means and the second gate means are provided. A phase difference detection circuit featuring:
JP8980483A 1983-05-20 1983-05-20 Phase difference detecting circuit Granted JPS59215115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8980483A JPS59215115A (en) 1983-05-20 1983-05-20 Phase difference detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8980483A JPS59215115A (en) 1983-05-20 1983-05-20 Phase difference detecting circuit

Publications (2)

Publication Number Publication Date
JPS59215115A JPS59215115A (en) 1984-12-05
JPH0351137B2 true JPH0351137B2 (en) 1991-08-05

Family

ID=13980900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8980483A Granted JPS59215115A (en) 1983-05-20 1983-05-20 Phase difference detecting circuit

Country Status (1)

Country Link
JP (1) JPS59215115A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0771057B2 (en) * 1990-02-28 1995-07-31 松下電器産業株式会社 Frame synchronization method for digital mobile radio

Also Published As

Publication number Publication date
JPS59215115A (en) 1984-12-05

Similar Documents

Publication Publication Date Title
KR880009520A (en) Digital data memory system
JPH07114348B2 (en) Logic circuit
JP3524577B2 (en) Dynamic clock switching circuit
EP0769783B1 (en) Synchronous semiconductor memory capable of saving a latency with a reduced circuit scale
US4636656A (en) Circuit for selectively extending a cycle of a clock signal
JP3560793B2 (en) Data transfer method
EP0379279A2 (en) Data transmission synchroniser
JPH0351137B2 (en)
US6031396A (en) Circuit for synchronizing asynchronous inputs using dual edge logic design
JPH04233014A (en) Clock generating circuit of multiple-chip computer system
KR0182703B1 (en) Frame synchronous generation switch between processor and device
JP2556169B2 (en) Clock switching circuit
JPH08125644A (en) Clock synchronization circuit
JPH01208791A (en) Semiconductor storage circuit
JP2862926B2 (en) Frame synchronization protection circuit
JP2000353939A (en) Clock signal synchronous flip flop circuit
JP2620170B2 (en) Signal loss detection circuit
SU1128376A1 (en) Device for synchronizing pulses
JPH0738544A (en) Clock changing circuit
JPH0344212A (en) Logical path multiplex system
JPS63200639A (en) Frame aligner
JPS61110253A (en) Synchronising circuit
JPH04321314A (en) Selection circuit
JPH0336812A (en) Synchronizing circuit
JPS60125011A (en) Master slave type flip-flop circuit