[go: up one dir, main page]

JPH0614016A - Timing extract device - Google Patents

Timing extract device

Info

Publication number
JPH0614016A
JPH0614016A JP4166196A JP16619692A JPH0614016A JP H0614016 A JPH0614016 A JP H0614016A JP 4166196 A JP4166196 A JP 4166196A JP 16619692 A JP16619692 A JP 16619692A JP H0614016 A JPH0614016 A JP H0614016A
Authority
JP
Japan
Prior art keywords
clock pulse
timing
phase
reference clock
circuit
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
JP4166196A
Other languages
Japanese (ja)
Inventor
Satoru Nakamura
了 中村
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP4166196A priority Critical patent/JPH0614016A/en
Publication of JPH0614016A publication Critical patent/JPH0614016A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To reduce the cost by adopting a digital circuit for each section so as to prevent the effect of external environment and simplifying the configuration. CONSTITUTION:A timing of reception data S is fed to a phase comparator circuit 12, in which the timing signal is compared with a clock pulse QD fed from a 1/16 frequency division counter 16, and the result is fed to a phase adjustment circuit 17. When the reference clock pulse K2, that is, the timing of the clock pulse QD is led, a count stop signal EP is fed to the counter 16, then the phase of the clock pulse QD is delayed by a prescribed quantity. When the timing of the reference clock pulse K2 is lagged, an inverting signal H is fed to a selector 15 and the count of the clock pulse K4 being the reference of the clock pulse QD is quickened. Then the phase of the clock pulse QD is led. Each section consists of a digital circuit and the external effect is prevented.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データの伝送装置に適
用して好適なタイミング抽出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timing extraction device suitable for application to a data transmission device.

【0002】[0002]

【発明の背景】例えばデータの受信装置においては、受
信したデータのタイミングに合わせて各部を作動させる
ことにより、受信データを正確に処理することが可能に
なる。言い換えれば、各部が受信データのタイミングと
は無関係に作動すると、送信側で送信したデータとは違
ったデータになってしまうことになる。
BACKGROUND OF THE INVENTION In a data receiving apparatus, for example, it is possible to accurately process received data by operating each unit at the timing of received data. In other words, if each unit operates regardless of the timing of the received data, the data will be different from the data transmitted on the transmission side.

【0003】そのため、データの受信装置には、図4に
示すようなタイミング抽出装置が設けられているのが普
通である。このタイミング抽出装置は受信データSのタ
イミングを検出し、このタイミングに対応する基準クロ
ックパルスK2を生成してこれを各部に供給するように
なっている。この基準クロックパルスK2に同期して各
部が動作することによって、受信データSが正確に処理
される。なお、受信データSはタイミング成分を含むも
ので、次に説明するようなCMI(Coded MarkInversio
n)符号やDMI(Different Mark Inversion)符号な
どが用いられる。
Therefore, a data receiving device is usually provided with a timing extracting device as shown in FIG. This timing extracting device detects the timing of the received data S, generates a reference clock pulse K2 corresponding to this timing, and supplies this to each unit. The reception data S is accurately processed by operating each unit in synchronization with the reference clock pulse K2. The received data S includes a timing component, and the CMI (Coded Mark Inversio) as described below is used.
n) code or DMI (Differential Mark Inversion) code is used.

【0004】ここで、CMI符号及びDMI符号につい
て説明する。いま、図5(a)に示すように周波数f0
のクロックに同期して、同図(b)に示すようなNRZ
方式のオジリジナルデータがある場合、これをCMI符
号に変換すると同図(d)に示すようなデータとなる。
すなわちCMI符号においては、クロック周波数は同図
(c)に示すように2f0となり、オリジナルデータが
「0」のときはこれを「01」に変換し、オリジナルデ
ータが「1」のときはこれを「00」と「11」に交互
に変換するものである。
Here, the CMI code and the DMI code will be described. Now, as shown in FIG. 5A, the frequency f0
NRZ as shown in FIG.
When there is original data of the method, when this is converted into a CMI code, it becomes data as shown in FIG.
That is, in the CMI code, the clock frequency is 2f0 as shown in FIG. 7C, and when the original data is "0", it is converted to "01", and when the original data is "1", this is converted. It is converted into "00" and "11" alternately.

【0005】同図(e)はDMI符号を示す。このDM
I符号のクロック周波数もCMI符号と同様に2f0で
ある。そして、オリジナルデータが「0」でこれがデー
タ「1」の前後にあるときは「01」もしくは「10」
に交互に変換し、オリジナルデータに「0」が連続する
場合は「01」もしくは「10」を連続する。さらにオ
リジナルデータが「1」のときはこれを「00」と「1
1」に交互に変換するものである。CMI符号およびD
MI符号では、オリジナルデータに「0」又は「1」が
連続する場合でも、タイミング情報を保持することが可
能になる。
FIG. 1E shows a DMI code. This DM
The clock frequency of the I code is 2f0 as in the CMI code. When the original data is "0" and it is before and after the data "1", it is "01" or "10".
When the original data is continuously "0", "01" or "10" is continuously converted. Furthermore, if the original data is "1", change it to "00" and "1".
It is converted into 1 "alternately. CMI code and D
The MI code makes it possible to retain timing information even when "0" or "1" continues in the original data.

【0006】さて、図4に示すタイミング抽出装置にタ
イミング成分を有する受信データS(図6(a))が入
力すると、これがモノマルチ1に供給される。モノマル
チ1は受信データSの両側のエッジ(立ち上がり及び立
ち下がり)でトリガされ、ここから受信データSの2倍
の周波数成分を持つクロックパルスK1(図6(b))
が出力される。
When the reception data S (FIG. 6A) having a timing component is input to the timing extraction device shown in FIG. 4, this is supplied to the monomulti 1. The mono-multi 1 is triggered by the edges (rising edge and falling edge) of both sides of the received data S, and from there, a clock pulse K1 having a frequency component twice that of the received data S (FIG. 6 (b)).
Is output.

【0007】このクロックパルスK1のタイミングでタ
ンク回路2が共振し、これによって正弦波の信号(図6
(c))が発生する。タンク回路2としては、水晶振動
子やLC回路などが用いられる。タンク回路2の出力は
コンパレータ3に供給され、ここで基準クロックパルス
K2(図6(d))に変換されて各部に供給される。
The tank circuit 2 resonates at the timing of the clock pulse K1, and as a result, a sine wave signal (see FIG. 6) is generated.
(C)) occurs. A crystal oscillator, an LC circuit, or the like is used as the tank circuit 2. The output of the tank circuit 2 is supplied to the comparator 3, where it is converted into a reference clock pulse K2 (FIG. 6 (d)) and supplied to each unit.

【0008】このようにして生成された基準クロックパ
ルスK2が受信データSのタイミングと合わないとき、
すなわち受信データSが正常に処理されないときは、モ
ノマルチ1から出力されるクロックパルスK1のパルス
幅bを調整して両者のタイミングを合わせるのが普通で
ある。
When the reference clock pulse K2 thus generated does not match the timing of the received data S,
That is, when the received data S is not processed normally, it is usual to adjust the pulse width b of the clock pulse K1 output from the monomulti 1 to match the timings of both.

【0009】例えば、基準クロックパルスK2のタイミ
ングが受信データSより遅れている場合は、モノマルチ
1から出力されるクロックパルスK1のパルス幅bを小
さくする。これでタンク回路2の出力信号の位相が早く
なり、これによって基準クロックパルスK2の位相が早
くなるので、受信データSのタイミングに合わせること
が可能になる。逆に、基準クロックパルスK2のタイミ
ングが受信データSより早い場合は、モノマルチ1の出
力信号のパルス幅bを大きくすればよい。
For example, when the timing of the reference clock pulse K2 is behind the received data S, the pulse width b of the clock pulse K1 output from the monomulti 1 is reduced. As a result, the phase of the output signal of the tank circuit 2 is advanced, which causes the phase of the reference clock pulse K2 to be advanced, so that it is possible to match the timing of the received data S. On the contrary, when the timing of the reference clock pulse K2 is earlier than the received data S, the pulse width b of the output signal of the monomulti 1 may be increased.

【0010】[0010]

【発明が解決しようとする課題】上述のタイミング抽出
装置では、アナログ回路が用いられているのでノイズや
温度の影響を受けやすく、また、回路規模が大きくなる
という問題がある。さらにタンク回路2に水晶振動子を
用いた場合は、周波数精度は良いが高価になるという問
題があり、LC回路を用いた場合は周波数精度が悪くな
るという問題がある。
Since the above-mentioned timing extraction device uses an analog circuit, it is susceptible to noise and temperature, and the circuit scale becomes large. Further, when the crystal oscillator is used for the tank circuit 2, there is a problem that the frequency accuracy is good but it is expensive, and when the LC circuit is used, the frequency accuracy is deteriorated.

【0011】そこでこの発明は、上述したような課題を
解決したものであって、ディジタル回路だけで簡単に構
成可能であり、外部環境の影響を防止可能なタイミング
抽出装置を提案するものである。
Therefore, the present invention solves the above-mentioned problems, and proposes a timing extraction device which can be easily constructed only by a digital circuit and which can prevent the influence of the external environment.

【0012】[0012]

【課題を解決するための手段】上述の課題を解決するた
め本発明においては、入力データのタイミングを検出す
るタイミング検出手段と、このタイミングに対応する基
準クロックパルスの発生手段と、入力データと基準クロ
ックパルスの位相を比較する位相比較手段と、位相比較
手段の比較結果に基づいて、基準クロックパルスの位相
を調整する位相調整手段を備えたことを特徴とするもの
である。
In order to solve the above problems, in the present invention, timing detecting means for detecting the timing of input data, means for generating a reference clock pulse corresponding to this timing, input data and a reference. The present invention is characterized by including phase comparison means for comparing the phases of clock pulses and phase adjustment means for adjusting the phase of the reference clock pulse based on the comparison result of the phase comparison means.

【0013】[0013]

【作用】図1において、入力した受信データS(S1,
S2)(図2)は位相比較回路12に供給される。一方
クロックジェネレータ13で生成されたクロックパルス
K3が排他的論理和回路14A,14Bに供給され、こ
こで互いに位相が0.5クロックだけずれているマスタ
ークロックパルスMCLK(A)と反転マスタークロッ
クパルスMCLK(B)が発生し、これがセレクタ15
に供給される。
In FIG. 1, the input received data S (S1, S1,
S2) (FIG. 2) is supplied to the phase comparison circuit 12. On the other hand, the clock pulse K3 generated by the clock generator 13 is supplied to the exclusive OR circuits 14A and 14B, where the master clock pulse MCLK (A) and the inverted master clock pulse MCLK are out of phase with each other by 0.5 clock. (B) occurs, and this is the selector 15
Is supplied to.

【0014】セレクタ15では最初マスタークロックパ
ルスMCLK(A)が選択され、クロックパルスK4と
して16分周カウンタ16に供給される。そして、0〜
15クロックまでカウントされる。これを基にして、順
次周期を2倍にしたクロックパルスQA〜QDが生成さ
れ、これが位相比較回路12に供給される。クロックパ
ルスQDが基準クロックパルスK2として用いられる。
The selector 15 first selects the master clock pulse MCLK (A) and supplies it to the 16-frequency division counter 16 as a clock pulse K4. And 0-
Counts up to 15 clocks. Based on this, clock pulses QA to QD whose cycle is sequentially doubled are generated and supplied to the phase comparison circuit 12. The clock pulse QD is used as the reference clock pulse K2.

【0015】位相比較回路12では、クロックパルスQ
A〜QDに基づいて位相ずれ量判定区分−D〜+Dが設
定され、受信データS(S1,S2)の立ち上がりがど
の区分にあるかが検出される。そして、検出された区分
(A〜D)とその符号(+か−)が位相調整回路17に
供給され、ここで、図3に示すような区分に対応して設
定された調整量分だけ調整される。すなわち、符号が
「−」の場合は反転信号Hが発生しこれがセレクタ15
に供給される。また、符号が「+」の場合はカウンタス
トップ信号EPが発生し、これが16分周カウンタ16
に供給される。
In the phase comparison circuit 12, the clock pulse Q
Phase shift amount determination sections -D to + D are set based on A to QD, and which section the rising edge of the reception data S (S1, S2) is in is detected. Then, the detected divisions (A to D) and their signs (+ or −) are supplied to the phase adjusting circuit 17, where the adjustment is performed by the adjustment amount set corresponding to the divisions as shown in FIG. To be done. That is, when the sign is "-", the inverted signal H is generated and this is the selector 15
Is supplied to. When the sign is "+", the counter stop signal EP is generated, and this is the 16 frequency division counter 16
Is supplied to.

【0016】セレクタ15に反転信号Hが1回入力され
ると、クロックパルスK4のカウントが0.5クロック
分だけ早くなり、これによって基準クロックパルスK2
の位相が0.5クロック分だけ早くなる。同様に反転信
号が2回入力されると、基準クロックパルスK2が1ク
ロック分だけ早くなる。
When the inverted signal H is input to the selector 15 once, the count of the clock pulse K4 is advanced by 0.5 clocks, which causes the reference clock pulse K2.
The phase of is advanced by 0.5 clock. Similarly, when the inverted signal is input twice, the reference clock pulse K2 is advanced by one clock.

【0017】また、16分周カウンタ16にカウントス
トップ信号EPが1回入力すると、クロックパルスK4
のカウントが1クロック分だけ停止される。これによっ
て、基準クロックパルスK2が1クロック分だけ遅くな
る。このような調整処理を繰り返して行なうことによ
り、基準クロックパルスK2のタイミングを受信データ
S(S1,S2)に合わせることが可能になる。
When the count stop signal EP is input to the 16-frequency division counter 16 once, the clock pulse K4
Counting is stopped for one clock. As a result, the reference clock pulse K2 is delayed by one clock. By repeating such adjustment processing, it becomes possible to match the timing of the reference clock pulse K2 with the received data S (S1, S2).

【0018】[0018]

【実施例】続いて、本発明に係るタイミング抽出装置の
一実施例について、図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the timing extraction device according to the present invention will be described in detail with reference to the drawings.

【0019】図1は本発明によるタイミング抽出装置の
構成を示し、図2は各信号のタイミングを示す。図1に
おいて、タイミング成分を有するDMI符号やCMI符
号などの受信データS1(図2(h))もしくは受信デ
ータS2(図2(k))は位相比較回路12に入力さ
れ、ここで例えば受信データS1,S2の立ち上がりを
検出することによって、タイミングが検出される。
FIG. 1 shows the structure of a timing extraction device according to the present invention, and FIG. 2 shows the timing of each signal. In FIG. 1, received data S1 (FIG. 2 (h)) or received data S2 (FIG. 2 (k)) such as a DMI code or CMI code having a timing component is input to a phase comparison circuit 12, where, for example, received data is received. The timing is detected by detecting the rising edges of S1 and S2.

【0020】一方受信データS1,S2のタイミングに
対応する基準クロックパルスK2(図2(f))が次の
ような手順で生成される。すなわち、クロックジェネレ
ータ13でクロックパルスK3が発生し、これが排他的
論理和回路14A,14Bに入力される。一方の排他的
論理和回路14Aには電源VCCから「ハイ」の信号が
入力され、これによって、クロックパルスK3と逆位相
のマスタークロックパルスMCLK(A)(図2
(a))が生成される。
On the other hand, the reference clock pulse K2 (FIG. 2 (f)) corresponding to the timing of the reception data S1 and S2 is generated by the following procedure. That is, the clock pulse K3 is generated in the clock generator 13, and this is input to the exclusive OR circuits 14A and 14B. A "high" signal is input from the power supply VCC to the exclusive-OR circuit 14A, which causes the master clock pulse MCLK (A) having the opposite phase to the clock pulse K3 (see FIG. 2).
(A)) is generated.

【0021】もう一方の排他的論理和回路14Bにはア
ースすなわち「ロー」の信号が入力され、これによっ
て、クロックパルスK3と同一位相の反転マスタークロ
ックパルスMCLK(B)(図2(b))が生成され
る。つまり、マスタークロックパルスMCLK(A)と
反転マスタークロックパルスMCLK(B)は、互いに
0.5クロック分だけ位相がずれている。
A ground or "low" signal is input to the other exclusive-OR circuit 14B, which causes an inverted master clock pulse MCLK (B) having the same phase as the clock pulse K3 (FIG. 2 (b)). Is generated. That is, the master clock pulse MCLK (A) and the inverted master clock pulse MCLK (B) are out of phase with each other by 0.5 clock.

【0022】マスタークロックパルスMCLK(A)お
よび反転マスタークロックパルスMCLK(B)はセレ
クタ15に供給され、最初はマスタークロックパルスM
CLK(A)が選択される。そしてセレクタ15からク
ロックパルスK4として出力される。このクロックパル
スK4は16分周カウンタ16に供給され、ここで0〜
15クロックまでカウントされる。この16分周カウン
タ16では、クロックパルスK4の周期を順次2倍にす
ることによって、クロックパルスQA〜QD(図2
(c)〜(f))が生成される。そして、最終段のクロ
ックパルスQDが基準クロックパルスK2として用いら
れる。
The master clock pulse MCLK (A) and the inverted master clock pulse MCLK (B) are supplied to the selector 15, and the master clock pulse M is initially supplied.
CLK (A) is selected. Then, the selector 15 outputs the clock pulse K4. This clock pulse K4 is supplied to the 16-frequency division counter 16, where 0 to
Counts up to 15 clocks. The 16-frequency division counter 16 sequentially doubles the cycle of the clock pulse K4 to generate clock pulses QA to QD (see FIG. 2).
(C) to (f) are generated. Then, the clock pulse QD at the final stage is used as the reference clock pulse K2.

【0023】クロックパルスQA〜QDは位相比較回路
12に供給され、ここで受信データS1,S2に対して
位相がどの程度ずれているかを判断するため、位相ずれ
量判定区分(図2(g))が設定される。本例では、位
相ずれ量判定区分として、区分−Dから区分+Dまで合
計7区分が設定されている。
The clock pulses QA to QD are supplied to the phase comparison circuit 12, and here, in order to determine how much the phase shifts with respect to the received data S1 and S2, a phase shift amount determination section (FIG. 2 (g)). ) Is set. In this example, as the phase shift amount determination category, a total of 7 categories from category -D to category + D are set.

【0024】すなわち、区分−DはクロックパルスK4
の第0〜第1クロック、区分−Cは第2〜第4クロッ
ク、区分−Bは第5〜第6クロック、区分Aは第7〜第
8クロックというように設定されている。ここで、符号
が「−」(マイナス)の場合は基準クロックパルスK2
が受信データSより遅れていることを表し、符号が
「+」(プラス)の場合は基準クロックパルスK2が受
信データSより進んでいることを表している。
That is, section-D is for clock pulse K4.
0th to 1st clock, section-C is set to 2nd to 4th clocks, section-B is set to 5th to 6th clocks, section A is set to 7th to 8th clocks. Here, when the sign is "-" (minus), the reference clock pulse K2
Indicates that it is behind the received data S, and that the sign is "+" (plus) indicates that the reference clock pulse K2 is ahead of the received data S.

【0025】このようにして検出された、位相ずれ量判
定区分(A〜D)とその符号(+か−)が位相調整回路
17に供給され、ここで基準クロックパスルスK2のタ
イミングを受信データS1,S2と合わせるような調整
が行なわれる。ここでは、入力された区分−D〜+Dに
対応させて、図3に示すような位相調整が行なわれる。
The phase shift amount judgment sections (A to D) and their signs (+ or −) thus detected are supplied to the phase adjusting circuit 17, where the timing of the reference clock pulse K2 is received data. Adjustments are made to match S1 and S2. Here, the phase adjustment as shown in FIG. 3 is performed corresponding to the input sections -D to + D.

【0026】すなわち、区分Aが入力された場合は位相
の調整量を「0」とし、そのままの状態を維持する。区
分Bが入力された場合は位相の調整量を「0.5」クロ
ックとし、区分Cが入力された場合は位相の調整量を
「1.0」クロックとし、区分Dが入力されたときは位
相の調整量を「1.5」クロックとする。これらの調整
量は符号が「+」の場合は遅らせる方向に調整され、符
号が「−」の場合は進ませる方向に調整される。
That is, when the section A is input, the phase adjustment amount is set to "0" and the state is maintained as it is. When the section B is input, the phase adjustment amount is set to "0.5" clock, when the section C is input, the phase adjustment amount is set to "1.0" clock, and when the section D is input. The amount of phase adjustment is "1.5" clock. These adjustment amounts are adjusted in the delay direction when the sign is "+", and adjusted in the advance direction when the sign is "-".

【0027】そのため、受信データS1のように位相ず
れ量判定区分(−B)の符号が「−」の場合は位相調整
回路17から反転信号Hが送出され、これがセレクタ1
5に供給される。そして、セレクタ15では反転信号H
が1回入力すると、マスタークロックパルスMCLK
(A)に代えて反転マスタークロックパルスMCLK
(B)が選択され、これがクロックパルスK4として出
力されるようになる。
Therefore, when the sign of the phase shift amount judgment section (-B) is "-" like the received data S1, the phase adjustment circuit 17 sends the inverted signal H, which is the selector 1.
5 is supplied. Then, in the selector 15, the inverted signal H
Input once, master clock pulse MCLK
Inversion master clock pulse MCLK instead of (A)
(B) is selected, and this is output as the clock pulse K4.

【0028】このときマスタークロックパルスMCLK
(A)と反転マスタークロックパルスMCLK(B)は
0.5クロックだけ周期がずれているから、これが反転
した瞬間の16分周カウンタ16におけるカウントは、
図2(j)に示すように0.5クロック分だけ早くな
る。さらにもう1回、すなわち合計2回反転信号Hが入
力すると、反転マスタークロックパルスMCLK(B)
に代えてマスタークロックパルスMCLK(A)が選択
されて出力されるようになる。
At this time, the master clock pulse MCLK
Since (A) and the inverted master clock pulse MCLK (B) have a cycle difference of 0.5 clocks, the count in the 16-division counter 16 at the moment when this is inverted is:
As shown in FIG. 2 (j), it is advanced by 0.5 clocks. When the inverted signal H is input one more time, that is, twice in total, the inverted master clock pulse MCLK (B) is input.
Instead, the master clock pulse MCLK (A) is selected and output.

【0029】このときには、16分周カウンタ16での
カウントは1.0クロック分だけ早くなることが分か
る。同様に反転信号Hを3回送出すれば、クロックパル
スK4のカウントが1.5クロック分だけ早くなる。し
たがって、受信データS1に対して遅れていた基準クロ
ックパルスK2を所定量だけ早くすることが可能にな
る。
At this time, it can be seen that the counting by the 16 frequency division counter 16 is advanced by 1.0 clock. Similarly, if the inverted signal H is transmitted three times, the count of the clock pulse K4 is advanced by 1.5 clocks. Therefore, it becomes possible to advance the reference clock pulse K2, which was delayed with respect to the received data S1, by a predetermined amount.

【0030】これとは逆に、受信データS2(図2
(k))のように位相ずれ量判定区分(+C)の符号が
「+」のとき、すなわち基準クロックパルスK2が受信
データS2より進んでいるときは、位相調整回路17で
カウントストップ信号EP(イネーブルストップ信号、
図2(l))が発生し、これが16分周カウンタ16に
供給される。これによって、図2(m)に示すごとく1
6分周カウンタ16のカウント動作が1クロック分だけ
停止される。したがって、基準クロックパルスK2が1
クロック分だけ遅れることになる。
On the contrary, the received data S2 (see FIG.
As shown in (k)), when the sign of the phase shift amount determination category (+ C) is “+”, that is, when the reference clock pulse K2 is ahead of the received data S2, the phase adjustment circuit 17 causes the count stop signal EP ( Enable stop signal,
2 (l)) occurs, and this is supplied to the 16-frequency division counter 16. As a result, as shown in FIG.
The counting operation of the divide-by-6 counter 16 is stopped for one clock. Therefore, the reference clock pulse K2 is 1
It will be delayed by the clock.

【0031】同様に、カウントストップ信号EPが2回
入力すると、基準クロックパルスK2が2クロック分だ
け遅れることになる。なお、16分周カウンタ16での
カウントを0.5クロック分だけ停止させる場合、すな
わち基準クロックパルスK2を0.5クロック分だけ遅
らせる場合は、上述と同様にセレクタ15に反転信号H
を1回入力し、カウントストップ信号EPを16分周カ
ウンタ16に1回入力すれば良い。基準クロックパルス
K2を1.5クロック分だけ遅らせる場合は、セレクタ
15に反転信号Hを3回入力すると共に、16分周カウ
ンタ16にカウントストップ信号EPを3回入力するこ
とになる。
Similarly, when the count stop signal EP is input twice, the reference clock pulse K2 is delayed by 2 clocks. When the counting by the 16 frequency division counter 16 is stopped by 0.5 clocks, that is, when the reference clock pulse K2 is delayed by 0.5 clocks, the inverted signal H is sent to the selector 15 in the same manner as described above.
Should be input once, and the count stop signal EP should be input to the 16-frequency division counter 16 once. When the reference clock pulse K2 is delayed by 1.5 clocks, the inversion signal H is input to the selector 15 three times and the count stop signal EP is input to the 16 frequency division counter 16 three times.

【0032】このようにして、16分周カウンタ16で
発生する基準クロックパルスK2すなわちクロックパル
スQDの位相を調整することによって、基準クロックパ
ルスK2のタイミングを受信データS(S1,S2)に
近ずけることが可能になる。なお、本例では最大1.5
クロック分の調整なので、1回の調整で基準クロックパ
ルスK2と受信データS(S1,S2)のタイミングが
合わないときは、同様な方法で位相の調整が行なわれ
る。また、受信データS(S1,S2)のタイミングは
常時変化する可能性があるので、この位相調整は継続的
に行なわれる。
In this way, by adjusting the phase of the reference clock pulse K2, that is, the clock pulse QD generated by the 16-frequency division counter 16, the timing of the reference clock pulse K2 is kept close to the reception data S (S1, S2). It becomes possible to kick. In this example, the maximum is 1.5.
Since the adjustment is for clocks, when the timings of the reference clock pulse K2 and the received data S (S1, S2) do not match in one adjustment, the phase is adjusted by the same method. Further, since the timing of the reception data S (S1, S2) may always change, this phase adjustment is continuously performed.

【0033】このようにして生成された基準クロックパ
ルスK2はフリップフロップ回路18に供給され、ここ
で基準クロックパルスK2のタイミングで受信データS
(S1,S2)が取り込まれ、これが各部に供給され
る。なお、本例では位相調整回路17に同期保護回路1
9が接続されており、ここで受信データS(S1,S
2)が位相ずれ量判定区分のうち区分−Dと区分+Dを
行き来するような場合は、基準クロックパルスK2と受
信データS(S1,S2)とのずれ量が大きく、データ
が欠損している可能性があると判断してこの回数がカウ
ントされる。
The reference clock pulse K2 thus generated is supplied to the flip-flop circuit 18, where the received data S is received at the timing of the reference clock pulse K2.
(S1, S2) is taken in and supplied to each part. In this example, the phase adjustment circuit 17 is connected to the synchronization protection circuit 1
9 is connected, and the reception data S (S1, S
When 2) moves back and forth between the division −D and the division + D of the phase shift amount determination divisions, the deviation amount between the reference clock pulse K2 and the reception data S (S1, S2) is large and the data is missing. This number is counted when it is determined that there is a possibility.

【0034】そして、所定回数以上カウントされた場合
は、同期外れ信号が各部に供給され、これによってその
データを採用するか或いは捨てるかが判断される。この
とき、例えばアラーム20を鳴らして警報を発生するこ
とも可能である。また、本例では基準クロックパルスK
2の生成手段として16分周カウンタ16を用いたが、
これに代えて例えば8分周カウンタや32分周カウンタ
を用いることもできる。
Then, when the predetermined number of times is counted, the out-of-sync signal is supplied to each section, and it is determined whether the data is adopted or discarded. At this time, for example, the alarm 20 may be sounded to generate an alarm. Further, in this example, the reference clock pulse K
Although the 16-frequency division counter 16 is used as the generation means of 2,
Instead of this, for example, a divide-by-8 counter or a divide-by-32 counter may be used.

【0035】[0035]

【発明の効果】以上説明したように本発明は、入力デー
タのタイミングを検出するタイミング検出手段と、この
タイミングに対応する基準クロックパルスの発生手段
と、入力データと基準クロックパルスの位相を比較する
位相比較手段と、位相比較手段の比較結果に基づいて、
基準クロックパルスの位相を調整する位相調整手段を備
えたものである。
As described above, according to the present invention, the timing detecting means for detecting the timing of the input data, the generating means of the reference clock pulse corresponding to this timing, and the phase of the input data and the reference clock pulse are compared. Based on the comparison result of the phase comparison means and the phase comparison means,
It is provided with a phase adjusting means for adjusting the phase of the reference clock pulse.

【0036】したがって本発明によれば、各部をディジ
タル化することが可能であり、これによって外部環境の
影響を防止可能になる。また、各部を簡単に構成するこ
とが可能であり、これによってコストダウンを図ること
が可能になるなどの効果がある。
Therefore, according to the present invention, it is possible to digitize each part, and thereby prevent the influence of the external environment. In addition, each part can be easily configured, which has the effect of reducing costs.

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

【図1】本発明に係わるタイミング抽出装置の構成図で
ある。
FIG. 1 is a block diagram of a timing extraction device according to the present invention.

【図2】本発明におけるタイミング抽出装置の各信号の
タイミングを説明する説明図である。
FIG. 2 is an explanatory diagram illustrating the timing of each signal of the timing extraction device according to the present invention.

【図3】位相ずれ量判定区分における位相調整量の一例
を説明する説明図である。
FIG. 3 is an explanatory diagram illustrating an example of a phase adjustment amount in a phase shift amount determination section.

【図4】従来のタイミング抽出装置の構成図である。FIG. 4 is a configuration diagram of a conventional timing extraction device.

【図5】CMI符号およびDMI符号を説明する説明図
である。
FIG. 5 is an explanatory diagram illustrating a CMI code and a DMI code.

【図6】従来のタイミング抽出装置における各信号のタ
イミングを説明する説明図である。
FIG. 6 is an explanatory diagram for explaining the timing of each signal in the conventional timing extraction device.

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

1 モノマルチ 2 タンク回路 3 コンパレータ 12 位相比較回路 13 クロックジェネレータ 14A,14B 排他的論理和回路 15 セレクタ 16 16分周カウンタ 17 位相調整回路 18 フリップフロップ回路 19 同期保護回路 20 アラーム 1 Mono-multi 2 Tank circuit 3 Comparator 12 Phase comparison circuit 13 Clock generator 14A, 14B Exclusive OR circuit 15 Selector 16 16 Frequency divider counter 17 Phase adjustment circuit 18 Flip-flop circuit 19 Synchronization protection circuit 20 Alarm

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力データのタイミングを検出するタイ
ミング検出手段と、 上記タイミングに対応する基準クロックパルスの発生手
段と、 上記入力データと上記基準クロックパルスの位相を比較
する位相比較手段と、 上記位相比較手段の比較結果に基づいて、上記基準クロ
ックパルスの位相を調整する位相調整手段を備えたこと
を特徴とするタイミング抽出装置。
1. A timing detecting means for detecting the timing of input data, a generating means for generating a reference clock pulse corresponding to the timing, a phase comparing means for comparing the phases of the input data and the reference clock pulse, and the phase. A timing extraction device comprising phase adjustment means for adjusting the phase of the reference clock pulse based on the comparison result of the comparison means.
JP4166196A 1992-06-24 1992-06-24 Timing extract device Pending JPH0614016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4166196A JPH0614016A (en) 1992-06-24 1992-06-24 Timing extract device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4166196A JPH0614016A (en) 1992-06-24 1992-06-24 Timing extract device

Publications (1)

Publication Number Publication Date
JPH0614016A true JPH0614016A (en) 1994-01-21

Family

ID=15826874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4166196A Pending JPH0614016A (en) 1992-06-24 1992-06-24 Timing extract device

Country Status (1)

Country Link
JP (1) JPH0614016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006339858A (en) * 2005-05-31 2006-12-14 Toshiba Corp Data sampling circuit and semiconductor integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006339858A (en) * 2005-05-31 2006-12-14 Toshiba Corp Data sampling circuit and semiconductor integrated circuit
JP4607666B2 (en) * 2005-05-31 2011-01-05 株式会社東芝 Data sampling circuit and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
EP0370528A3 (en) Serial clock generating circuit
JPH08307250A (en) Digital pll
CN100547933C (en) Be used for the synchronous system and method for clock signal
JPH0614016A (en) Timing extract device
US9509491B2 (en) Data reception apparatus and method of determining identical-value bit length in received bit string
JPH01205237A (en) Synchronous function failure detection
JPH0748725B2 (en) Frame synchronization circuit
SE9301327L (en) Reference signal composed of clock signal and synchronization signal, synchronization device and method, etc. reference signal
FI65152B (en) DIFFERENTIAL SYNCHRONIZATION FOR AVAILABLE SYNCHRONIZATION
JPH0644756B2 (en) Synchronous clock generation circuit
US7359468B2 (en) Apparatus for synchronizing clock and data between two domains having unknown but coherent phase
US4327442A (en) Clock recovery device
KR100224578B1 (en) Method and apparatus for timing recovery using a digital phase locked loop
JPH0770996B2 (en) Method and apparatus for converting a write clock with a gear to a read clock without a gear.
JP3037209B2 (en) Phase difference detection circuit
JPH0646115Y2 (en) Frame sync signal detection circuit
US6859912B2 (en) Method and circuit arrangement for clock recovery
KR950002305B1 (en) Synchronous clock generation circuit by received data
JP2658126B2 (en) Input frequency generator
JP2776325B2 (en) Duty measurement circuit
RU1826077C (en) Device for generation of time marks
JPH08204692A (en) Clock timing extract method for transmission signal
JPH0616619B2 (en) Out-of-sync detection circuit
JPS60247343A (en) Synchronizing clock generating circuit
JPS605702A (en) Atc signal discriminator

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040601

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040810