JPH0211020A - Phase synchronizing circuit - Google Patents

Phase synchronizing circuit

Info

Publication number
JPH0211020A
JPH0211020A JP63159228A JP15922888A JPH0211020A JP H0211020 A JPH0211020 A JP H0211020A JP 63159228 A JP63159228 A JP 63159228A JP 15922888 A JP15922888 A JP 15922888A JP H0211020 A JPH0211020 A JP H0211020A
Authority
JP
Japan
Prior art keywords
phase
signal
circuit
input terminal
phase difference
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
JP63159228A
Other languages
Japanese (ja)
Inventor
Hiroshi Ito
寛 伊藤
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 JP63159228A priority Critical patent/JPH0211020A/en
Publication of JPH0211020A publication Critical patent/JPH0211020A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

PURPOSE:To scarcely cause out of phase by comparing a signal with a signal wide in phase range, when many out of phase occur in accordance with the number of times of out of phase in comparing with a signal having plural different phase ranges, thus selecting a signal. CONSTITUTION:The circuit provides phase difference detecting means 9 and 10 to detect plural phase differences, means 11 and 12 to select and set the phase difference detecting means corresponding to the phase difference detected by the phase difference detecting means 9 and 10 and a means 8 to correct an output phase corresponding to the input phase. The selection is executed so as to compare a signal with a signal having plural different phase ranges and compare the signal with a signal having a wide phase range when the out of phase becomes larger in accordance with the number of times of out of phase. Thus, the phase synchronization error becomes smaller, then the out of phase scarcely occurs.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は位相同期回路に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to a phase locked circuit.

〔従来の技術〕[Conventional technology]

従来の位相同期回路の一例を第2図に示し説明する。 An example of a conventional phase locked circuit is shown in FIG. 2 and will be described.

図において、21はクロック入力端子、22は位相同期
入力端子、23は位相同期出力端子、24は比較位相入
力端子である。25は位相同期発振回路、26はカウン
タ回路、27は位相同期入力端子22からの信号と比較
位相入力端子24よシの信号を入力とするゲート回路で
、このゲート回路27の出力はカラ/り回路26のリセ
ット入力に供給されるように構成されている。
In the figure, 21 is a clock input terminal, 22 is a phase synchronization input terminal, 23 is a phase synchronization output terminal, and 24 is a comparison phase input terminal. 25 is a phase synchronized oscillation circuit, 26 is a counter circuit, and 27 is a gate circuit which receives the signal from the phase synchronization input terminal 22 and the signal from the comparison phase input terminal 24. The output of this gate circuit 27 is a color/color signal. It is configured to be supplied to a reset input of circuit 26.

第3図は第1図および第2図の動作説明に供するタイム
チャートで、(凰)は信号PINを示したものであり、
(b)は信号人力Gz、(e)は信号人力G1、(d)
は信号POUTを示したものである。そして、Wl。
FIG. 3 is a time chart for explaining the operation of FIGS. 1 and 2, and (凰) indicates the signal PIN.
(b) is signal human power Gz, (e) is signal human power G1, (d)
indicates the signal POUT. And Wl.

W2は時間幅(位相範囲)を示す。W2 indicates time width (phase range).

つぎに第2図に示す位相同期回路の動作を第3図を参照
して説明する。
Next, the operation of the phase locked circuit shown in FIG. 2 will be explained with reference to FIG. 3.

いま、位相同期入力端子22にはクロック入力端子21
に加わるクロック信号に同期した信号PxN(第3 (
1(a)参照)が印加されるものとし、また、カウンタ
回路26はゲート回路27の出力がrLJのときリセッ
トされ、位相同期出力端子23よシ信号POυT(第3
図(d)参照)を出力するものとする。また、クロック
入力端子21に加わるクロック入力C1は位相同期発振
回路25の出力クロックC2と同期しているものとする
Now, the clock input terminal 21 is connected to the phase synchronization input terminal 22.
A signal PxN (third (
1(a)) is applied, and the counter circuit 26 is reset when the output of the gate circuit 27 is rLJ, and the phase synchronization output terminal 23 receives the signal POυT (third
(see figure (d)). It is also assumed that the clock input C1 applied to the clock input terminal 21 is synchronized with the output clock C2 of the phase synchronized oscillation circuit 25.

このとき、位相同期入力端子22よシ信号PINが入力
され、ゲート回路27の比較位相入力端子24がrLJ
のとき出力はrHJのtまでカウンタ回路26はリセッ
トされ表い。そして、ゲート回路2Tの比較位相入力端
子24がrHJのときには第3図に示す時刻tにてゲー
ト回路2Tの出力がrLJとなシ、カウンタ回路26は
リセットされ、位相同期出力端子23よ多信号poo’
rが出力される。すなわち、信号PINと信号pott
iは時刻tK同期化して動作するようになる。ここで、
比較位相入力端子24の信号入力Gl (第3図(c)
参照)はカウンタ回路26と同期して動作しておシ、カ
ウンタ回路26がリセットされると同時に時間幅(位相
範囲)WlでrLJとなるようになっている。
At this time, the phase synchronization input terminal 22 receives the signal PIN, and the comparison phase input terminal 24 of the gate circuit 27 outputs rLJ.
When , the counter circuit 26 is reset until the output reaches t of rHJ. When the comparison phase input terminal 24 of the gate circuit 2T is rHJ, the output of the gate circuit 2T becomes rLJ at time t shown in FIG. poo'
r is output. That is, the signal PIN and the signal pot
i comes to operate in synchronization with time tK. here,
Signal input Gl of comparison phase input terminal 24 (Fig. 3(c)
(see) operates in synchronization with the counter circuit 26, and at the same time as the counter circuit 26 is reset, the time width (phase range) Wl becomes rLJ.

そして、位相同期入力端子22よシ周期的に信号P!翼
が加わってもゲート回路27の比較位相入力端子24が
rLJと表るため、カウンタ回路26はリセットされな
い。そして、位相同期発振回路25のクロック人力C1
と出力クロックC2との位相関係がずれて比較位相入力
端子24が[HJになシ、信号PINが位相同期入力端
子22に加わるときカウンタ回路26がリセットされる
。このようにして、信号PINと信号potr’rは位
相同期する。
Then, the phase synchronization input terminal 22 periodically receives the signal P! Even if the wing is added, the comparison phase input terminal 24 of the gate circuit 27 appears as rLJ, so the counter circuit 26 is not reset. Then, the clock C1 of the phase synchronized oscillation circuit 25 is
When the phase relationship between the output clock C2 and the output clock C2 is shifted and the comparison phase input terminal 24 becomes [HJ], the counter circuit 26 is reset when the signal PIN is applied to the phase synchronization input terminal 22. In this way, the signal PIN and the signal potr'r are phase synchronized.

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

上述した従来の位相同期回路では、ゲート回路2Tの比
較位相入力端子24に印加する信号人力G1がrLJと
なる時間幅(位相範囲)Wtが大きいと、信号PINと
信号POUTの位相同期関係の誤差が大きくなシ、時間
幅(位相範囲)Wsが小さいと、信号PINと信号PO
TJTの位相同期が外れやすいという課題があった。
In the conventional phase synchronization circuit described above, if the time width (phase range) Wt in which the signal input G1 applied to the comparison phase input terminal 24 of the gate circuit 2T becomes rLJ is large, an error in the phase synchronization relationship between the signal PIN and the signal POUT occurs. When the time width (phase range) Ws is large and the time width (phase range) Ws is small, the signal PIN and the signal PO
There was a problem that the TJT phase synchronization was easily lost.

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

本発明の位相同期回路は、複数の位相差を検出する位相
差検出手段と、この位相差検出手段により検出した位相
差に対応してその位相差検出手段を選択設定する手段と
、入力位相に対応して出力位相を修正する手段を備えて
なるものである。
The phase synchronized circuit of the present invention includes a phase difference detection means for detecting a plurality of phase differences, a means for selecting and setting the phase difference detection means in accordance with the phase difference detected by the phase difference detection means, and a means for selecting and setting the phase difference detection means in accordance with the phase difference detected by the phase difference detection means. It comprises means for correspondingly correcting the output phase.

〔作用〕[Effect]

本発明においては、複数の異なる位相範囲を持つ信号と
比較し、位相同期の外れた回数に応じて、位相同期外れ
が多いときは広い位相範囲を持つ信号と比較するように
選択する。
In the present invention, signals having a plurality of different phase ranges are compared, and depending on the number of times out of phase synchronization, when there are many out of phase synchronization, a signal having a wide phase range is selected for comparison.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明による位相同期回路の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a phase locked circuit according to the present invention.

図において、1はクロック入力端子、2は位相同期入力
端子、3は位相同期出力端子、4はリセット入力端子、
5,6は比較位相入力端子である。
In the figure, 1 is a clock input terminal, 2 is a phase synchronization input terminal, 3 is a phase synchronization output terminal, 4 is a reset input terminal,
5 and 6 are comparison phase input terminals.

Tは位相同期発振回路、8はカウンタ回路である。9は
位相同期入力端子2からの信号と比較位相入力端子5よ
シの信号を入力とするゲート回路、10は位相同期入力
端子2からの信号と比較位相入力端子6よシの信号を入
力とするゲート回路で、これらは複数の位相差を検出す
る位相差検出手段を構成している。11はセレクタ回路
、12はカウンタ回路で、これらは位相差検出手段によ
り検出した位相差に対応してその位相差検出手段を選択
設定する手段を構成している。そして、カウンタ回路8
は入力位相に対応して出力位相を修正する手段を構成し
ている。
T is a phase synchronized oscillation circuit, and 8 is a counter circuit. Reference numeral 9 denotes a gate circuit which receives the signal from the phase synchronization input terminal 2 and the signal from the comparison phase input terminal 5, and 10 receives the signal from the phase synchronization input terminal 2 and the signal from the comparison phase input terminal 6. These gate circuits constitute phase difference detection means for detecting a plurality of phase differences. 11 is a selector circuit, and 12 is a counter circuit, which constitute means for selecting and setting the phase difference detecting means in response to the phase difference detected by the phase difference detecting means. And counter circuit 8
constitutes means for correcting the output phase in accordance with the input phase.

つぎにこの第1図に示す実施例の動作を第3図を参照し
て説明する。
Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIG. 3.

まず、ゲート回路9,10の各比較位相入力端子5,6
にはそれぞれ信号人力G1+ G2 (第3図(a) 
、 (b)参照)が加わっている。そして、この信号人
力G1+G2はカウンタ回路8と同期して動いておシ、
第3図に示す時刻tKカウンタ回路8をリセットすると
、信号入力G1.G2が同時にそれぞれ時間幅(位相範
囲) Wl + W2でrLJとなるものとする。また
、カウンタ回路12はセレクタ回路11の出力をクロッ
ク入力とし、セレクタ回路11よシ出力がある毎にこの
カウンタ回路12はカウントアツプする。セレクタ回路
11はカウンタ回路12のカウント数に応じて端子Ao
 tたは端子A1を選択し、カウント数が数値M以下の
とき端子Ao  、カウント数が数値M以上のときには
端子AIをそれぞれ選択する。そして、カウンタ回路1
2は周期T毎にリセット入力端子4よりリセット信号が
入力されリセットされるものとする。
First, each comparison phase input terminal 5, 6 of gate circuit 9, 10
are respectively signal human power G1 + G2 (Fig. 3 (a)
, see (b)) has been added. This signal input G1+G2 operates in synchronization with the counter circuit 8.
When the time tK counter circuit 8 shown in FIG. 3 is reset, the signal input G1. Assume that G2 simultaneously becomes rLJ with time width (phase range) Wl + W2. Further, the counter circuit 12 uses the output of the selector circuit 11 as a clock input, and the counter circuit 12 counts up every time there is an output from the selector circuit 11. The selector circuit 11 selects the terminal Ao according to the count number of the counter circuit 12.
t or terminal A1 is selected, and when the count number is less than or equal to the numerical value M, the terminal Ao is selected, and when the counted number is greater than or equal to the numerical value M, the terminal AI is selected. And counter circuit 1
2 is reset by inputting a reset signal from the reset input terminal 4 every cycle T.

つぎに、位相同期入力端子2に信号PxN(#$3図(
、)参照)が入力され、ゲート回路9,10の比較位相
入力端子5,6がrHJのとき、ゲート回路9の出力は
セレクタ回路11が端子AOを選択するためカウンタ回
路12がカウントアツプする。
Next, the signal PxN (#$3 figure (
, )) is input, and when the comparison phase input terminals 5 and 6 of the gate circuits 9 and 10 are rHJ, the output of the gate circuit 9 causes the selector circuit 11 to select the terminal AO, so that the counter circuit 12 counts up.

このとき、カウンタ回路8が同時にリセットされ、同期
出力端子3よシ信号POUT (第3図(d)参照)が
出力され、信号PXNと信号POtlTは位相同期する
。また、カウンタ回路8がリセットされると同時に比較
位相入力端子5が「L」となシ、同一周期で信号prs
が加わった場合、その信号PrNが位相範囲(時間幅)
WI以下ではゲート回路9よシ出力がないためカウンタ
回路12はカウントアツプしない。
At this time, the counter circuit 8 is reset at the same time, the signal POUT (see FIG. 3(d)) is outputted from the synchronous output terminal 3, and the signal PXN and the signal POtlT are phase synchronized. Also, at the same time as the counter circuit 8 is reset, the comparison phase input terminal 5 becomes "L", and the signal prs is output at the same period.
is added, the signal PrN has a phase range (time width)
Below WI, there is no output from the gate circuit 9, so the counter circuit 12 does not count up.

つぎに、信号pzsが位相範囲(時間幅)W1以上にな
υ周期T内において数値Mカウントすると、カウンタ回
路8がリセットされると同時に、セレクタ回路11は端
子AIを選択する。そして、ゲート回路10の比較位相
入力端子60位相範囲(時間幅)WlはWl)Wlとな
るため、位相同期発振回路Tの安定度が同じならば端子
A、を選択し走力が位相同期外れを起こしK<くなる。
Next, when the signal pzs exceeds the phase range (time width) W1 and counts M within the υ period T, the counter circuit 8 is reset and at the same time the selector circuit 11 selects the terminal AI. Then, since the phase range (time width) Wl of the comparison phase input terminal 60 of the gate circuit 10 becomes Wl)Wl, if the stability of the phase synchronized oscillation circuit T is the same, terminal A is selected and the running force is out of phase synchronization. and becomes K<.

そして、セレクタ回路11は周期T内に発生する位相同
期外れが数値M以上または数値M以下によυ位相範囲(
時間幅)Wt−*たはWlを選択して、信号PINと信
号pou’rが位相同期して動作する。
Then, the selector circuit 11 determines whether the phase synchronization that occurs within the period T is within the υ phase range (
By selecting Wt-* or Wl (time width), the signal PIN and the signal pou'r operate in phase synchronization.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、複数の異なる位相範囲を
持つ信号と比較し、位相同期の外れた回数に応じて、位
相同期外れが大きいときは広い位相範囲を持つ信号と比
較するように選択することによυ、位相同期誤差が小さ
く、位相同期が外れK<<できる効果がある。
As explained above, the present invention compares signals having a plurality of different phase ranges, and selects signals having a wide phase range when the phase synchronization is large depending on the number of times the phase synchronization is lost. By doing so, there is an effect that the phase synchronization error is small and the phase synchronization can be lost and K<<.

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

第1図は本発明による位相同期回路の一実飽例を示すブ
ロック図、第2図は従来の位相同期回路の一例を示すブ
ロック図、第3図は第1図および第2図の動作説明に供
するタイムチャートである。 7・・・・位相同期発振回路、8・・・・カウンタ回路
、9,10・・・・ゲート回路、11・・・・セレクタ
回路、12・・・・カウンタ回路。
FIG. 1 is a block diagram showing an example of a phase-locked circuit according to the present invention, FIG. 2 is a block diagram showing an example of a conventional phase-locked circuit, and FIG. 3 is an explanation of the operation of FIGS. 1 and 2. This is a time chart for the 7... Phase synchronized oscillation circuit, 8... Counter circuit, 9, 10... Gate circuit, 11... Selector circuit, 12... Counter circuit.

Claims (1)

【特許請求の範囲】[Claims] 複数の位相差を検出する位相差検出手段と、この位相差
検出手段により検出した位相差に対応して該位相差検出
手段を選択設定する手段と、入力位相に対応して出力位
相を修正する手段を備えてなることを特徴とする位相同
期回路。
Phase difference detection means for detecting a plurality of phase differences; means for selecting and setting the phase difference detection means in accordance with the phase difference detected by the phase difference detection means; and means for correcting the output phase in accordance with the input phase. A phase synchronized circuit comprising: means.
JP63159228A 1988-06-29 1988-06-29 Phase synchronizing circuit Pending JPH0211020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63159228A JPH0211020A (en) 1988-06-29 1988-06-29 Phase synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63159228A JPH0211020A (en) 1988-06-29 1988-06-29 Phase synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH0211020A true JPH0211020A (en) 1990-01-16

Family

ID=15689138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63159228A Pending JPH0211020A (en) 1988-06-29 1988-06-29 Phase synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH0211020A (en)

Similar Documents

Publication Publication Date Title
JPH0211020A (en) Phase synchronizing circuit
US5239546A (en) Data multiplexing device
KR100187695B1 (en) Edge detection circuit for detecting edge of input signal without erroneous detection
JPH0370314A (en) Clock interrupt detection circuit
JP2748724B2 (en) Integrated circuit
JP2620170B2 (en) Signal loss detection circuit
JPH04363914A (en) Synchronization clock generator
JP2617575B2 (en) Data rate conversion circuit
JPH0787625B2 (en) Clock signal selection circuit
JP2606665Y2 (en) Electronic circuit
JPH0260229A (en) Phase synchronizing circuit
JP2532413B2 (en) Counter device
JP2575221B2 (en) PLL circuit
JPH03258055A (en) System selection control circuit
JP3025702B2 (en) Lock detection circuit
SU1136145A1 (en) Polyfunctional logic module
JPH03195152A (en) Data interruption detecting circuit
JPH02290322A (en) Clock signal switching circuit
JPS6257051A (en) Mutual synchronizing system for multiplex system
JPS6333096A (en) Clock selection circuit
JPS61109323A (en) Phase locked oscillator
JPH0540916U (en) Processor
JPS62104336A (en) Automatic phase adjusting device
JPH0150141B2 (en)
JPH057895B2 (en)