JPH03139934A - Clock generation circuit for demodulating cmi data - Google Patents

Clock generation circuit for demodulating cmi data

Info

Publication number
JPH03139934A
JPH03139934A JP1278249A JP27824989A JPH03139934A JP H03139934 A JPH03139934 A JP H03139934A JP 1278249 A JP1278249 A JP 1278249A JP 27824989 A JP27824989 A JP 27824989A JP H03139934 A JPH03139934 A JP H03139934A
Authority
JP
Japan
Prior art keywords
clock
data
phase difference
timing
signal
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
JP1278249A
Other languages
Japanese (ja)
Inventor
Hideaki Mikami
英明 三上
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 JP1278249A priority Critical patent/JPH03139934A/en
Publication of JPH03139934A publication Critical patent/JPH03139934A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To automatically and optimumly set up phase relation between data and a clock by detecting a phase difference between a selected delay clock and an oscillation clock, and when the phase difference reaches a prescribed value, outputting the delay clock as the following data modulating timing clock. CONSTITUTION:A phase comparator 11 compares the phases between a selected delay clock 110 outputted from a multiplexer 9 and an oscillation clock 102, generates a phase difference signal 111 corresponding to the phase difference and a DC component comparator 12 compares the DC component of the signal 111 with the DC component of the clock 102, and when both the components coincide with each other, generates a coincidence detecting signal 112. A register 13 enters and holds the current value 108 of a counter 8 selected by the 2nd selector 7 in response to the signal 112. The stored contents 107 are inputted to the other input of the 2nd selector 7, and in a normal operation mode, the contents 107 stored in the register are outputted as the selection signal of the multiplexer 9. Consequently, the timing relation between data and clocks is made almost optimum in a CMI decoer 10.

Description

【発明の詳細な説明】 技術分野 本発明はCMIデータ復号用クロック発生回路に関し、
特にCMIデータから抽出されたデータ復号用のタイミ
ングクロックを用いてCMIデータを復号するCMIデ
ータ復号回路におけるクロック発生回路に関するもので
ある。
[Detailed Description of the Invention] Technical Field The present invention relates to a clock generation circuit for CMI data decoding;
In particular, the present invention relates to a clock generation circuit in a CMI data decoding circuit that decodes CMI data using a timing clock for data decoding extracted from CMI data.

従来技術 CMIデータ復号回路であるCMIデーコダでは、人力
されたCMIデータからデータ復号用にクロック信号を
抽出し、この抽出クロックを用いてCMIデータのデコ
ードを行っている。
A CMI decoder, which is a conventional CMI data decoding circuit, extracts a clock signal for data decoding from manually inputted CMI data, and decodes the CMI data using this extracted clock.

この場合、データ復号用タイミングクロックと復号され
るべきデータとの位相差は最適値がπ/2ラジアンであ
り、よってこの最適位相差となるように当該位相差を、
虎整する必要がある。従来では、この調整を人手により
行っており、その方法を第3図の回路を用いて説明する
In this case, the optimum value of the phase difference between the timing clock for data decoding and the data to be decoded is π/2 radians, and therefore, the phase difference is adjusted to the optimum phase difference.
It is necessary to calm down. Conventionally, this adjustment has been done manually, and the method will be explained using the circuit shown in FIG.

周波数fOのCMIデータはCMIデコーダ1()にお
いてデコー ドされる。この場合、タイミング抽出回路
4により、データから抽出された周波if口のクロック
104からデコード用のタイミングクロック110が生
成される。
CMI data at frequency fO is decoded by CMI decoder 1 ( ). In this case, the timing extraction circuit 4 generates a timing clock 110 for decoding from the frequency IF clock 104 extracted from the data.

そのために、遅延回路6が設けられており、この遅延回
路6によりmぽ類(rnは2以上の整数)の遅延を抽出
クロック104に与えて、m本の遅延クロック109が
発生される。この01木の遅延クロック109を択一的
に導出すべくマルチプレクサ9とスイッチ15とが設け
られており、この選択クロックllOがデコード用タイ
ミングクロックとされている。
For this purpose, a delay circuit 6 is provided, and this delay circuit 6 applies a delay of m (rn is an integer of 2 or more) to the extracted clock 104 to generate m delayed clocks 109. A multiplexer 9 and a switch 15 are provided to selectively derive the delayed clock 109 of this 01 tree, and this selected clock 110 is used as a decoding timing clock.

この場合、データとタイミングクロックとの関係はπ/
2ラジアンの位相差を有するように設定されるのが最適
であり、よって調整者はこの位相関係をオシロスコープ
を観測しつつスイッチ15を順次切換え、上記最適位相
差になったときの遅延クロックをタイミングクロック1
10としているのである。
In this case, the relationship between data and timing clock is π/
It is optimal to set the phase difference to have a phase difference of 2 radians. Therefore, the adjuster monitors this phase relationship using an oscilloscope and sequentially switches the switches 15, and sets the delay clock timing when the optimum phase difference is reached. clock 1
It is set at 10.

この様に従来技術では、データとタロツクとの位相タイ
ミングの、訝整を人手により行っているので、時間と手
間がかかり、また正確性に欠けるという欠点がある。
As described above, in the conventional technology, the phase timing between the data and the tarokku is manually adjusted, which is time-consuming and labor-intensive, and has the disadvantage of lacking accuracy.

発明の目的 そこで、本発明はかかる従来技術の欠点を解消すべくな
されたものであり、その1−1的とするところは、自動
的にデータとクロックとの位1rl関係を最適に設定す
ることがIIJ能なCMIデーク復号用のクロック発生
回路を171 共することにある。
Purpose of the Invention The present invention has been made to eliminate the drawbacks of the prior art, and its 1-1 objective is to automatically set the order 1rl relationship between data and clock to an optimum level. The purpose is to share a clock generation circuit for CMI data decoding which is capable of CMI decoding.

発明の構成 本発明によれば、CMIデータから抽出されたデータ復
号用のタイミングクロックを用いて前記CM!データを
復号するCM!データ復号回路におけるクロック発生回
路であって、前記タイミングクロックと同一の周波数を
有するクロックを発振する発振手段と、この発振クロッ
クにλIしてm種類(mは2以」二の整数)の遅延を与
えてm本の遅延クロックを発生する遅延手段と、このm
木の遅延クロックを所定周期で順次択一的に導出する選
択手段と、この選択された遅延クロックと前記発振クロ
ックとの位相差が予め設定された所定値になったことを
検出する位)0差検出手段と、この検出手段の検出タイ
ミングに応答してそのとき選択されている遅延クロック
を以後データ復号用のタイミングクロックとして出力す
る手段とを含むことを特徴とするクロック発生回路がi
Wられる。
Structure of the Invention According to the present invention, the CM! CM that decodes data! The clock generation circuit in the data decoding circuit includes oscillation means for oscillating a clock having the same frequency as the timing clock, and m types of delays (m is an integer of 2 or more) by adding λI to the oscillation clock. a delay means for generating m delay clocks by giving m delay clocks;
selection means for selectively deriving wooden delayed clocks sequentially at a predetermined period; and detecting that the phase difference between the selected delayed clock and the oscillation clock has reached a preset predetermined value. A clock generation circuit is characterized in that it includes a difference detection means and a means for outputting a delay clock selected at that time as a timing clock for data decoding in response to the detection timing of the detection means.
W is beaten.

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

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

図において、発振器1はCMIデータと同一周波数fO
のクロックを発振する発振器であり、イニシャライズパ
ルス発生器2はクロック位相、凋整指示時に発生される
イニシャライズ信号によってトリガされイニシャライズ
パルス1(11を発生する。
In the figure, oscillator 1 has the same frequency fO as the CMI data.
The initializing pulse generator 2 is triggered by the clock phase and the initializing signal generated at the time of the decay instruction, and generates the initializing pulse 1 (11).

このイニシャライズパルス101によりRSフリップフ
ロップ(FF)14がセットされ、イニシャライズモー
ド(すなわち、クロック位相1.1整モード)となる。
The RS flip-flop (FF) 14 is set by this initialization pulse 101, and enters the initialization mode (that is, the clock phase 1.1 adjustment mode).

このFF14によるイニシャライズモードは科目4に応
答して、第1及び第2のセレクタ3及び7、レジスタ1
3が制御されている。第1−のセレクタ3はCMIデー
タと発振器1の発振クロック102とのいずれかを選択
するものであり、イニシャライズモード時には発振クロ
ック102を選択する。
Initialization mode by this FF14 responds to item 4, first and second selectors 3 and 7, register 1.
3 is controlled. The first selector 3 selects either the CMI data or the oscillation clock 102 of the oscillator 1, and selects the oscillation clock 102 in the initialization mode.

第2のセレクタ7はカウンタ8の出力とレジスタ13の
出力とのいrれかを選択するものであり、イニシャライ
ズモード時にはカウンタ8の出力を選択する。
The second selector 7 selects either the output of the counter 8 or the output of the register 13, and selects the output of the counter 8 in the initialization mode.

分周回路5はタイミング抽出回路4の出力クロック10
4を1/nに分周するものであり、(1/fO)Xn>
τ(τは直流成分比較回路12の積分器の時定数)に選
択され、この分周出力[05によリカウンタ8がカウン
トアツプされる。
The frequency dividing circuit 5 is the output clock 10 of the timing extraction circuit 4.
4 to 1/n, (1/fO)Xn>
τ (τ is the time constant of the integrator of the DC component comparison circuit 12), and the recounter 8 is counted up by this frequency-divided output [05.

イニシャライズモード時には、第2のセレクタ7はカウ
ンタ8の値を選択]7てマルチプレクサ9の選択信号と
しているので、カウンタ8の内容が初期幀“0゛からカ
ウントアツプされる毎に、マルチプレクサ9はデイレイ
回路6の出力クロックIIOの選択を順次切換える。
In the initialization mode, the second selector 7 selects the value of the counter 8 and uses it as the selection signal for the multiplexer 9. Therefore, each time the content of the counter 8 is counted up from the initial value "0", the multiplexer 9 is The selection of the output clock IIO of the circuit 6 is sequentially switched.

位I11比較回路]1はこのマルチプレクサ9の選択遅
延クロック110と発振クロック102との位相比較を
行い、その位相差に応じた位相差信号illを発生する
。直流成分比較回路12はこの位ト11差信号111の
直流成分と、発振クロック102の直流成分とを比較し
、両者が一致したときに一致険出信号112を発生する
Comparing circuit I11] 1 compares the phases of the selected delayed clock 110 of the multiplexer 9 and the oscillation clock 102, and generates a phase difference signal ill corresponding to the phase difference. The DC component comparison circuit 12 compares the DC component of the difference signal 111 with the DC component of the oscillation clock 102, and generates a match signal 112 when the two match.

レジスタ13はこの一致険出信号112の発生に応答し
て第2のセレクタ7により選択されているカウンタ8の
その時の値10Bを取込み、以降これを保持する。この
レジスタ8の保持内容[07は第2のセレクタ7の他人
力となり、通常動作モード時には、このレジスタ保持内
容107がマルチプレクサ9の選択信号となる。
In response to the occurrence of the coincidence signal 112, the register 13 takes in the current value 10B of the counter 8 selected by the second selector 7, and holds this value thereafter. The content [07 held in this register 8 becomes the input of the second selector 7, and in the normal operation mode, the content held in this register 107 becomes the selection signal of the multiplexer 9.

カウンタ8のキャリイ出力113によりFF14がリセ
ットされ、よってこのQ出力114により、第1及び第
2のセレクタ3及び7が通常モードに切換ってCM!デ
ータ及びレジスタ13の出力107を夫々出力すると)
1.に、カウンタ8がリセットされ、以降通常動作モー
ドとなる。この通常動作モード時には、CMIデータは
CMIデコーダ1(]へ人力され、マルチプレクサ9か
らのタイミングクロックllOによりデコードされるこ
とになる。
The carry output 113 of the counter 8 resets the FF 14, and the Q output 114 causes the first and second selectors 3 and 7 to switch to the normal mode and CM! When outputting data and output 107 of register 13 respectively)
1. Then, the counter 8 is reset, and the normal operation mode is entered from then on. In this normal operation mode, CMI data is manually input to the CMI decoder 1 ( ) and decoded by the timing clock IO from the multiplexer 9 .

第2図は第1図のブロックの動作を示す各部信号の波形
を示すタイミングクロックである。イニシャライズ信号
が入ると、イニシャライズパルス発生回路2はワンショ
ットのイニシャライズパルス101を発生ずる。FF1
4はイニシャライズパルス101でイニシャライズモー
ドにセットされる(ハイレベル出力)。
FIG. 2 is a timing clock showing the waveforms of various signals indicating the operation of the blocks shown in FIG. When the initialization signal is input, the initialization pulse generation circuit 2 generates a one-shot initialization pulse 101. FF1
4 is set to the initialization mode by the initialization pulse 101 (high level output).

第1のセIノクタ3はイニシャライズモード時には周波
数foで発振する発振クロック102を選択して出力す
るから、タイミング抽出回路4はこのfOの抽出りlコ
ック[04を出力し、これがデイレイ回路6によってr
naりの遅延がqえられ、m木の遅延クロック109と
して出力される。
Since the first selector 3 selects and outputs the oscillation clock 102 that oscillates at the frequency fo in the initialization mode, the timing extraction circuit 4 outputs the extraction l cock [04 of this fO, which is processed by the delay circuit 6. r
q of na delays are obtained and output as an m-tree delay clock 109.

カウンタ8はイニシャライズモード時に分周クロックl
口5の数をmまでカウントアツプして、カウントデータ
106を出力する。第2のセレクタ7はイニシャライズ
モードにおいてはカウントデータ106を選択し7、第
2のセレクタ出力信号108として出力しているので、
マルチプレクサ9の出力である選択クロック110は分
周クロック[05の1周期(n / f O[scc]
 )毎に切換えられる。これによって、第1のセレクタ
3の出力信号103と選択クロック110との位相差を
、カウンタ8がカウントアツプするに従って、ステップ
式に変化させることができる。
Counter 8 uses the divided clock l in the initialization mode.
The number of ports 5 is counted up to m, and count data 106 is output. In the initialization mode, the second selector 7 selects the count data 106 and outputs it as the second selector output signal 108.
The selection clock 110, which is the output of the multiplexer 9, is one period of the frequency divided clock [05 (n/f O[scc]
) can be switched every time. Thereby, the phase difference between the output signal 103 of the first selector 3 and the selection clock 110 can be changed stepwise as the counter 8 counts up.

位相比較回路11は第1のセレクタ3の出力13号10
3と選択クロック1.10のCMIデータの切れ[1か
ら選択クロック110の立上り(又は立下り)までの位
相差に相当するパルス幅の位相差パルスtitを出力す
る。
The phase comparator circuit 11 receives the output 13 of the first selector 3.
A phase difference pulse tit with a pulse width corresponding to the phase difference between the CMI data break [1 and the rising (or falling) of the selected clock 110 and the selected clock 110 is output.

直流成分比較回路12は積分器(時定数τ)とコンパレ
ータによって構成されており、位[[1差パルスIII
のDCレベルと第1のセレクタ3の出力信号103のD
Cレベルの1/2とを比較することによって、位相策パ
ルスIHのデユーティ比が1/4の点を境[1として、
出力である直流成分比較信号112を変化させる。この
変化点が所望の位#lI差π/2のとき生じるので、直
流成分比較信号112の変化のタイミングでレジスタ1
3にカウントデータtoeを保持しておく。
The DC component comparison circuit 12 is composed of an integrator (time constant τ) and a comparator.
DC level of the output signal 103 of the first selector 3
By comparing with 1/2 of the C level, the duty ratio of the phase strategy pulse IH reaches the boundary [1] where the duty ratio is 1/4.
The output DC component comparison signal 112 is changed. This point of change occurs when the desired order #lI difference is π/2, so at the timing of the change in the DC component comparison signal 112, the register 1
3 holds the count data toe.

カウンタ8はm個カウントするとキャリイバルス113
を出ツノし、FF 14をリセットし、通常動作モード
に切換える。通常動作モードに切換ゎると、第2のセレ
クタ7はレジスタ13に保持されたデータを選択するの
で、マルチプレクサ9は第1のセレクタ3の出力信号1
03と選択クロック110との位tII差がπ/2近辺
である様な遅延クロックを出力することになる。また5
通常動作モードでは、第1のセレクタ3はCMIデータ
を選択して出力するため、C〜IIデコーダ1oでは、
データとクロックのタイミング関係がほぼ最適となる(
データとクロックの位1目差−π/2が最適)。
When the counter 8 counts m pieces, the carry value is 113.
Exit, reset FF 14, and switch to normal operation mode. When switching to the normal operation mode, the second selector 7 selects the data held in the register 13, so the multiplexer 9 selects the output signal 1 of the first selector 3.
03 and the selected clock 110, the delay clock is output such that the difference in order tII is approximately π/2. Also 5
In the normal operation mode, the first selector 3 selects and outputs CMI data, so in the C to II decoder 1o,
The timing relationship between data and clock is almost optimal (
(The optimum difference between data and clock is -π/2.)

発明の効果 以」二説明したように、本発明によれば、タイミング抽
出したクロックの遅1ffiを最適値に自動設定するこ
とにより、従来オシロスコープ等でデー夕とタロツクの
位を1差を人手で合せていた作業が不要となり、単にイ
ニシャライズ信号を人力するだけで簡単にできるという
効果がある。
Effects of the Invention As explained in 2, according to the present invention, by automatically setting the delay 1ffi of the timing extracted clock to the optimum value, it is possible to manually calculate the 1 difference between the data and the tarok using an oscilloscope or the like. This eliminates the need to do the matching work, and has the advantage that it can be easily done by simply inputting the initialization signal manually.

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

第1図は本発明の実施例のブロック図、第2図は本発明
の実施例の動作を示すタイミングチャート、第3図は従
来技術を説明するブロック図である。 主要部分の符号の説明 1・・・・・・発振器 6・・・・・・デイレイ回路 9・・・・・・マルチプレクサ 10・・・・・・CMIデコーダ 11・・・・・・位相比較回路 12・・・・・・直流成分比較回路 13・・・・・・レジスタ
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a timing chart showing the operation of the embodiment of the present invention, and FIG. 3 is a block diagram explaining a conventional technique. Explanation of symbols of main parts 1... Oscillator 6... Delay circuit 9... Multiplexer 10... CMI decoder 11... Phase comparison circuit 12...DC component comparison circuit 13...Register

Claims (1)

【特許請求の範囲】[Claims] (1)CMIデータから抽出されたデータ復号用のタイ
ミングクロックを用いて前記CMIデータを復号するC
MIデータ復号回路におけるクロック発生回路であって
、前記タイミングクロックと同一の周波数を有するクロ
ックを発振する発振手段と、この発振クロックに対して
m種類(mは2以上の整数)の遅延を与えてm本の遅延
クロックを発生する遅延手段と、このm本の遅延クロッ
クを所定周期で順次択一的に導出する選択手段と、この
選択された遅延クロックと前記発振クロックとの位相差
が予め設定された所定値になったことを検出する位相差
検出手段と、この検出手段の検出タイミングに応答して
そのとき選択されている遅延クロックを以後データ復号
用のタイミングクロックとして出力する手段とを含むこ
とを特徴とするクロック発生回路。
(1) A C that decodes the CMI data using a timing clock for data decoding extracted from the CMI data.
A clock generation circuit in the MI data decoding circuit, comprising oscillation means for oscillating a clock having the same frequency as the timing clock, and m types of delays (m is an integer of 2 or more) for the oscillation clock. a delay means for generating m delayed clocks; a selection means for selectively deriving the m delayed clocks sequentially at a predetermined period; and a phase difference between the selected delayed clock and the oscillation clock is set in advance. phase difference detection means for detecting that a predetermined value has been reached; and means for outputting the currently selected delay clock as a timing clock for data decoding in response to the detection timing of the detection means. A clock generation circuit characterized by:
JP1278249A 1989-10-25 1989-10-25 Clock generation circuit for demodulating cmi data Pending JPH03139934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1278249A JPH03139934A (en) 1989-10-25 1989-10-25 Clock generation circuit for demodulating cmi data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1278249A JPH03139934A (en) 1989-10-25 1989-10-25 Clock generation circuit for demodulating cmi data

Publications (1)

Publication Number Publication Date
JPH03139934A true JPH03139934A (en) 1991-06-14

Family

ID=17594701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1278249A Pending JPH03139934A (en) 1989-10-25 1989-10-25 Clock generation circuit for demodulating cmi data

Country Status (1)

Country Link
JP (1) JPH03139934A (en)

Similar Documents

Publication Publication Date Title
CA1210159A (en) Multiple redundant clock system comprising a number of mutually synchronizing clocks, and clock circuit for use in such a clock system
US4005479A (en) Phase locked circuits
KR100313255B1 (en) Combinational delay circuit for a digital frequency multiplier
JPH04103240A (en) Pattern synchronizing circuit
JPH01273451A (en) Duplicated clock synchronizing system
JPH1114714A (en) Semiconductor testing device
JP2001244812A (en) Clock switching method and clock switching device
KR0182699B1 (en) Phase-locked loop binary tracking method
SU1626382A1 (en) Digital phase locked loop
JPH04268841A (en) Mutual synchronization device
RU1800599C (en) Pulse signal device
KR970005112Y1 (en) Phase synchronizer
JP2655165B2 (en) Synchronization method of synchronous inverter, synchronous signal generation circuit and synchronous inverter device
JPH088892A (en) Phase control circuit
SU1211821A1 (en) Program time relay
JP2807337B2 (en) Drive circuit for CCD image sensor
JPH0126596B2 (en)
KR100291387B1 (en) How to Synchronize Asynchronous Bus Termination Signals
SU1126965A1 (en) Device for detecting and recording instable faults
JP2665257B2 (en) Clock transfer circuit
JPH0512461A (en) Clock supply circuit
JPH066211A (en) Reference oscillator and its control method
JPH0567967A (en) Clock generator
JPS63299613A (en) Digital phase locked loop circuit
KR960024920A (en) Apparatus and Method for Stopping Microprocessor Clocks