JPH06101726B2 - Clock synchronization circuit - Google Patents
Clock synchronization circuitInfo
- Publication number
- JPH06101726B2 JPH06101726B2 JP61023136A JP2313686A JPH06101726B2 JP H06101726 B2 JPH06101726 B2 JP H06101726B2 JP 61023136 A JP61023136 A JP 61023136A JP 2313686 A JP2313686 A JP 2313686A JP H06101726 B2 JPH06101726 B2 JP H06101726B2
- Authority
- JP
- Japan
- Prior art keywords
- clock
- switch
- interval
- circuit
- data
- 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 - Lifetime
Links
- 238000005070 sampling Methods 0.000 claims description 3
- 238000004080 punching Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 8
- 230000002194 synthesizing effect Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はクロック同期回路に関し、特にディジタルデー
タ伝送の復調時におけるクロック同期回路に関する。The present invention relates to a clock synchronization circuit, and more particularly to a clock synchronization circuit during demodulation of digital data transmission.
ディジタルデータ伝送のクロック同期には、タンク回路
等が専ら用いられているが、同期の際受信側で送信デー
タを再生するためには、送信側と同一のクロックが必要
となる。このため同一クロックが受信側で再生される様
に、データを送信する前にクロック同期用の参照データ
を一定時間送信するのが一般的である。Although a tank circuit or the like is exclusively used for clock synchronization of digital data transmission, the same clock as that of the transmission side is required for reproducing the transmission data on the reception side at the time of synchronization. Therefore, it is common to transmit reference data for clock synchronization for a certain period of time before transmitting data so that the same clock is reproduced on the receiving side.
上述した従来のクロック同期においては、クロック同期
用の参照データを一定時間送信し、受信側でクロックが
準備された後はじめてデータが送出されることになる。
送信側がクロック同期用の参照データを送出する時間は
全く情報伝送から見れば無駄時間であるのでこれは短い
ほど良いと言うことになる。つまり従来は無駄な参照デ
ータを送信するという問題点があった。In the above-described conventional clock synchronization, the reference data for clock synchronization is transmitted for a fixed time, and the data is transmitted only after the clock is prepared on the receiving side.
The time taken for the transmitting side to send out the reference data for clock synchronization is a dead time from the viewpoint of information transmission. Therefore, the shorter the time, the better. That is, conventionally, there is a problem that useless reference data is transmitted.
本発明の目的は、無駄情報とも言うべき送信側からの参
照データを受けることなしにクロック同期を可能とする
クロック同期回路を提供することにある。An object of the present invention is to provide a clock synchronization circuit that enables clock synchronization without receiving reference data from the transmission side, which is also called waste information.
本発明のクロック同期回路は、間隔Tbで送信されたデー
タの信号波形を間隔Tsでサンプルした離散信号を入力し
て前記信号波形を復元する内挿フィルタと、復元された
信号波形から抽出したクロック信号で前記復元された信
号波形を打ちぬくことにより復調データを出力するクロ
ック制御回路と、前記間隔TsでサンプルされたN個の前
記離散信号を記憶しその記憶した値を逆の順に出力する
記憶回路と、前記内挿フィルタ入力を前記離散信号入力
から前記記憶回路出力に接続変更するスイッチと、第1
ステップで前記離散信号を前記内挿フィルタに入力する
と共に前記記憶回路にN個入力したのち前記スイッチを
前記記憶回路出力に切り換え該スイッチによる切換え時
にN個目のサンプルタイミングと復調データ出力タイミ
ングの差Ψに間隔N・Tsを加えた値を間隔Tbを法として
除して得られた値を初期位相差として出力する初期位相
差推定器と、前記スイッチによる切換え時に前記内挿フ
ィルタに前記初期位相差推定器によって推定された初期
位相差を与える制御回路とを備え、前記スイッチ切換え
後の第2ステップで復調されたデータを前記クロック制
御回路から出力している。The clock synchronization circuit of the present invention is an interpolation filter that restores the signal waveform by inputting a discrete signal obtained by sampling the signal waveform of the data transmitted at the interval Tb at the interval Ts, and a clock extracted from the restored signal waveform. A clock control circuit that outputs demodulated data by punching the restored signal waveform with a signal, and a memory that stores the N discrete signals sampled at the interval Ts and outputs the stored values in reverse order. A circuit and a switch for changing the connection of the interpolation filter input from the discrete signal input to the storage circuit output;
In step, the discrete signal is inputted to the interpolation filter and N pieces are inputted to the memory circuit, and then the switch is switched to the memory circuit output. At the time of switching by the switch, the difference between the Nth sample timing and the demodulated data output timing. An initial phase difference estimator which outputs a value obtained by dividing the value obtained by adding the interval N · Ts to Ψ modulo the interval Tb as an initial phase difference, and the initial position in the interpolation filter when switching by the switch. And a control circuit for giving the initial phase difference estimated by the phase difference estimator, and the data demodulated in the second step after the switch change is output from the clock control circuit.
第1図は本発明の構成を説明するためのブロック図であ
る。初めスイッチ4は41側に倒れており、端子100より
のTs同期のサンプル値を入力すると、この入力サンプル
値は記憶回路3に格納される。サンプル値は逐次内挿フ
ィルタ1に入力され、その出力端子300にはサンプル以
前の信号波形が再生される。この信号波形はクロック制
御回路2に加えられてクロック同期がとられる。この出
力は端子400より出力されるが、初め位相が合っていな
いため送信されたデータは忠実には再現されない。クロ
ック制御回路2によりクロック同期を完成させるに十分
なサンプル数N個のサンプル値を入力した後、スイッチ
4は端子42側に切り換えられ、内挿フィルタ1は、記憶
回路3から格納した値を入力順に順次入力する。この
時、最後に内挿されクロック同期した復調データとスイ
ッチ4の切換え後の復調データは、クロック初期位相差
及びクロック周波数差により位相が連続していないた
め、クロック同期が完成しているにもかかわらず、切換
え後同期がはずれてしまう。クロック周波数差が無視で
きる場合、例えば、クロック精度が非常に良いとか、デ
ータ長が短い場合などにはクロック初期位相差のみが問
題となる。クロック初期位相差はクロック周波数差の指
定が困難であるのに比べて、データ長が既知の時は簡単
に指定できる。FIG. 1 is a block diagram for explaining the configuration of the present invention. Initially, the switch 4 is tilted to the 41 side, and when a Ts-synchronized sample value is input from the terminal 100, this input sample value is stored in the memory circuit 3. The sampled value is input to the successive interpolation filter 1, and the signal waveform before sampling is reproduced at the output terminal 300 thereof. This signal waveform is applied to the clock control circuit 2 to synchronize the clock. Although this output is output from the terminal 400, the transmitted data cannot be faithfully reproduced because the phase is not aligned at first. After inputting N sample values sufficient for clock synchronization to be completed by the clock control circuit 2, the switch 4 is switched to the terminal 42 side, and the interpolation filter 1 inputs the value stored from the storage circuit 3. Enter in sequence. At this time, since the demodulated data that is finally interpolated and clock-synchronized and the demodulated data after switching by the switch 4 do not have continuous phases due to the clock initial phase difference and the clock frequency difference, clock synchronization is completed. Nevertheless, the synchronization will be lost after switching. If the clock frequency difference can be ignored, for example, if the clock accuracy is very good or the data length is short, then only the clock initial phase difference becomes a problem. It is difficult to specify the clock frequency difference as the clock initial phase difference, but it can be easily specified when the data length is known.
今間隔Tbの送信データを間隔TsでN個サンプルした時、
N個目でのN個目のサンプル時点と、それによる復調デ
ータまでの時間差をΨとすると、クロック初期位相差
(すなわち1個目のサンプル時点と1個目の復調データ
との時間差)Φは次の式で表わされる。When N pieces of transmission data at the interval Tb are sampled at the interval Ts,
Letting Ψ be the time difference between the Nth sample time at the Nth time and the demodulated data due to it, Φ is the clock initial phase difference (that is, the time difference between the first sample time and the first demodulated data). It is expressed by the following formula.
Φ=modTb(N・Ts+Y) …(1) (1)式のmodx(y)は、yはxで割った時の余りを表
わす法(モジュロー)である。ここでN,Ts,Tbは既知で
あり、ΨはN個目のサンプル値を入力してから復調デー
タまでの時間差であるので簡単に求めることができる。
この演算を行う部分が初期位相差推定器5である。従っ
て、スイッチ4切換え後の復調データ出力時に(1)式
で計算した位相差を補う様に制御回路6により内挿フィ
ルタの位相を変えることによって、スイッチ4切換え後
の第2ステップでは第1ステップとの位相が連続とな
り、クロック位相の合った送信データが完全に復調され
ることになる。Φ = modTb (N · Ts + Y) (1) The modx (y) in the equation (1) is a method (modulo) that represents the remainder when y is divided by x. Here, N, Ts, and Tb are known, and Ψ is the time difference from the input of the Nth sample value to the demodulation data, so it can be easily obtained.
The part that performs this calculation is the initial phase difference estimator 5. Therefore, by changing the phase of the interpolation filter by the control circuit 6 so as to compensate the phase difference calculated by the equation (1) at the time of outputting the demodulated data after the switch 4 is switched, the first step in the second step after the switch 4 is switched. The phases of and become continuous, and the transmission data with the matched clock phase are completely demodulated.
次に、本発明について第2図,〜第5図を参照して詳細
に説明する。Next, the present invention will be described in detail with reference to FIGS.
第2図は本発明のクロック同期回路の一実施例を示すブ
ロック図である。本実施例に用いる内挿フィルタ1の構
成としては、特願昭60−002388号明細書記載の内挿フィ
ルタがある。FIG. 2 is a block diagram showing an embodiment of the clock synchronizing circuit of the present invention. As a configuration of the interpolation filter 1 used in this embodiment, there is an interpolation filter described in Japanese Patent Application No. 60-002388.
第3図は第2図における内挿フィルタの一例を示すブロ
ック図、第4図は第3図における基本内挿フィルタの一
例を示すブロック図である。FIG. 3 is a block diagram showing an example of the interpolation filter in FIG. 2, and FIG. 4 is a block diagram showing an example of the basic interpolation filter in FIG.
第3図において、内挿フィルタ1は端子200の入力多値
ディジタルサンプル値を各値に分配する入力回路60と、
第4図に示す基本内挿フィルタ50,〜57と、各基本内挿
フィルタ50,〜57の出力を合成する合成回路70とから成
る。In FIG. 3, the interpolation filter 1 includes an input circuit 60 for distributing the input multilevel digital sample value of the terminal 200 to each value,
The basic interpolation filters 50, 57 shown in FIG. 4 and a synthesizing circuit 70 for synthesizing the outputs of the basic interpolation filters 50, 57 are shown.
又、クロック制御回路2には例えば特願昭58−057529号
明細書記載のクロック位相制御回路等種々の方式があ
る。さらに、記憶回路3はファーストイン・ファースト
アウト・メモリ(以下FIFO)で構成することができる。
初期位相推定器5は切換え信号1001がオンの後、クロッ
ク信号1002までの時間(位相差に値する)Ψを求め、
(1)式の演算を行う。制御回路6はクロック初期位相
差Φの値1003を入力してから次のクロック信号1002を入
力するまでの間、端子700を通して第4図に示すシフト
レジスタ85及び2進カウンタ86をクリアする。そして初
期位相差を補うための制御信号を発生させる。制御信号
はA,Bの2種類あり、 A=modTs(Φ) …(3) である。(2)式のint(x)はxを越えない最大の整
数を示す。The clock control circuit 2 may be of various types such as the clock phase control circuit described in Japanese Patent Application No. 58-057529. Further, the memory circuit 3 can be configured by a first-in first-out memory (hereinafter referred to as FIFO).
The initial phase estimator 5 obtains the time (corresponding to the phase difference) Ψ until the clock signal 1002 after the switching signal 1001 is turned on,
Equation (1) is calculated. The control circuit 6 clears the shift register 85 and the binary counter 86 shown in FIG. 4 through the terminal 700 between the input of the value 1003 of the clock initial phase difference Φ and the input of the next clock signal 1002. Then, a control signal for compensating for the initial phase difference is generated. There are two types of control signals, A and B, A = modTs (Φ) (3) The int (x) in the equation (2) indicates the maximum integer that does not exceed x.
次に、(2),(3)式について第5図を用いて説明す
る。第5図は第2図における切換え時の制御信号発生の
様子を示す図で、前記間隔Ts<Tbの時、サンプル値は1
シンボル間に1個ないしは2個以上サンプルされる。第
1ステップでサンプル値aNまでを入力し、クロック位相
の合った復調データSmを出力したとする。この時のサン
プル値aNと復調データSmとの位相差(時間差)がΨであ
る。ここでスイッチ4(第2図に図示)を端子41側から
端子42側に切り換える。又、初期位相差推定器5によ
り、(1)式の演算を行う。演算の結果の初期位相差Φ
は第5図に示した値となる。この初期位相差Φは最初の
サンプル値a1からの初期位相差である。しかし内挿フィ
ルタ1の内の2進カウンタ86(第4図に図示)のアドレ
スは間隔Tsの法(モジュロー)で動作している。従っ
て、Φ>Tsの場合、この内挿フィルタではTs以上の位相
差は作れない。しかしΦ>Tsの場合(2)式で求められ
るサンプル値数Bだけサンプル値をシフトレジスタ87
(第4図に図示)に取り込めば、第5図に示したA式で
求められる位相差で表わせる。つまり、 Φ=B・Ts+A …(4) となる。この様に、初期位相差を(4)式の様に表わす
ことによりクリアを解除し、このBの数だけ前記シフト
レジスタ87をシフトし、前記2進カウンタ86をAの値に
セットすることにより、復調データSm出力の後、間隔Tb
時間後にはクロック位相同期のまま復調データS1が得ら
れる。Next, formulas (2) and (3) will be described with reference to FIG. FIG. 5 is a diagram showing how control signals are generated at the time of switching in FIG. 2, and when the interval Ts <Tb, the sample value is 1
One or more samples are sampled between symbols. It is assumed that in the first step, up to the sample value a N is input and the demodulated data Sm in which the clock phase matches is output. The phase difference (time difference) between the sampled value a N and the demodulated data Sm at this time is Ψ. Here, the switch 4 (illustrated in FIG. 2) is switched from the terminal 41 side to the terminal 42 side. Further, the initial phase difference estimator 5 calculates the equation (1). Initial phase difference Φ of the calculation result
Is the value shown in FIG. This initial phase difference Φ is the initial phase difference from the first sample value a 1 . However, the address of the binary counter 86 (shown in FIG. 4) in the interpolation filter 1 is operating modulo of the interval Ts. Therefore, when Φ> Ts, this interpolation filter cannot create a phase difference of Ts or more. However, in the case of Φ> Ts, the shift register 87 shifts the sample values by the number of sample values B calculated by the equation (2).
If it is taken in (illustrated in FIG. 4), it can be represented by the phase difference obtained by the expression A shown in FIG. In other words, Φ = B · Ts + A (4) In this way, clearing is canceled by expressing the initial phase difference as shown in equation (4), the shift register 87 is shifted by the number of B, and the binary counter 86 is set to the value of A. , After demodulation data Sm output, interval Tb
After time, demodulation data S 1 is obtained with the clock phase being synchronized.
以上説明した様に本発明のクロック同期回路は、クロッ
ク周波数オフセットが無視できる場合、通常データの前
に付加されたクロック同期用の参照データを取り去って
もデータが逆順になることなく復調される効果がある。As described above, when the clock frequency offset can be ignored, the clock synchronization circuit of the present invention can demodulate data without reverse order even if the reference data for clock synchronization added before the normal data is removed. There is.
第1図は本発明の構成を説明するためのブロック図、第
2図は本発明のクロック同期回路の一実施例を示すブロ
ック図、第3図は第2図における内挿フィルタの一例を
示すブロック図、第4図は第3図における基本内挿フィ
ルタの一例を示すブロック図、第5図は第2図における
切換え時の制御信号発生の様子を示す図である。 1……内挿フィルタ、2……クロック制御回路、3……
記憶回路(FIFO)、4……スイッチ、5……初期位相推
定器、50,〜57……基本内挿フィルタ、60……入力回
路、61……パルス発生回路、62……カウンタ、63……ク
ロック、70……合成回路、86……2進カウンタ、87……
シフトレジスタ、88……ROM。FIG. 1 is a block diagram for explaining the configuration of the present invention, FIG. 2 is a block diagram showing an embodiment of a clock synchronization circuit of the present invention, and FIG. 3 shows an example of an interpolation filter in FIG. FIG. 4 is a block diagram, FIG. 4 is a block diagram showing an example of the basic interpolation filter in FIG. 3, and FIG. 5 is a diagram showing how control signals are generated at the time of switching in FIG. 1 ... Interpolation filter, 2 ... Clock control circuit, 3 ...
Storage circuit (FIFO), 4 ... Switch, 5 ... Initial phase estimator, 50, to 57 ... Basic interpolation filter, 60 ... Input circuit, 61 ... Pulse generation circuit, 62 ... Counter, 63 ... … Clock, 70 …… Synthesis circuit, 86 …… Binary counter, 87 ……
Shift register, 88 …… ROM.
Claims (1)
隔Tsでサンプルした離散信号を入力して前記信号波形を
復元する内挿フィルタと、復元された信号波形から抽出
したクロック信号で前記復元された信号波形を打ちぬく
ことにより復調データを出力するクロック制御回路とか
ら構成されるクロック同期回路において、前記間隔Tsで
サンプルされたN個の前記離散信号を記憶しその記憶し
た値を逆の順に出力する記憶回路と、前記内挿フィルタ
入力を前記離散信号入力から前記記憶回路出力に接続変
更するスイッチと、第1ステップで前記離散信号を前記
内挿フィルタに入力すると共に前記記憶回路にN個入力
したのち前記スイッチを前記記憶回路出力に切り換え該
スイッチ切換え時に前記N個目のサンプルタイミングと
復調データ出力タイミングの差Ψに間隔N・Tsを加えた
値を間隔Tbを法として除して得られた値を初期位相差と
して出力する初期位相差推定器と、前記スイッチによる
切換え時に前記内フィルタに前記初期位相差推定器によ
って推定された初期位相差を与える制御回路とを備え、
前記スイッチ切換え後の第2ステップで復調されたデー
タを前記クロック制御回路から出力することを特徴とす
るクロック同期回路。1. An interpolation filter for restoring a signal waveform by inputting a discrete signal obtained by sampling a signal waveform of data transmitted at an interval Tb at an interval Ts, and a clock signal extracted from the restored signal waveform. A clock synchronization circuit composed of a clock control circuit that outputs demodulated data by punching out the restored signal waveform, stores N discrete signals sampled at the interval Ts, and reverses the stored values. , A switch for connecting the interpolation filter input from the discrete signal input to the storage circuit output, and a step of inputting the discrete signal to the interpolation filter in the first step and to the storage circuit. After N switches have been input, the switch is switched to the output of the memory circuit, and at the time of switching the switch, the Nth sample timing and demodulation data output timing are switched. Ringing difference Ψ plus the value of the interval N · Ts and dividing the value obtained by dividing the interval Tb as the initial phase difference estimator, and the internal filter to the internal filter at the time of switching by the switch. A control circuit for providing the initial phase difference estimated by the initial phase difference estimator,
A clock synchronization circuit, wherein the data demodulated in the second step after switching the switch is output from the clock control circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61023136A JPH06101726B2 (en) | 1986-02-04 | 1986-02-04 | Clock synchronization circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61023136A JPH06101726B2 (en) | 1986-02-04 | 1986-02-04 | Clock synchronization circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62180633A JPS62180633A (en) | 1987-08-07 |
| JPH06101726B2 true JPH06101726B2 (en) | 1994-12-12 |
Family
ID=12102126
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61023136A Expired - Lifetime JPH06101726B2 (en) | 1986-02-04 | 1986-02-04 | Clock synchronization circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06101726B2 (en) |
-
1986
- 1986-02-04 JP JP61023136A patent/JPH06101726B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62180633A (en) | 1987-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3297165B2 (en) | Sampling frequency converter | |
| JPS62102671A (en) | Two-screen television receiver | |
| KR850004012A (en) | How to play color signal | |
| EP0491090B1 (en) | Synchronizing circuit | |
| EP0078052B1 (en) | Pal digital video signal processing arrangement | |
| EP1974494B1 (en) | Nicam audio signal resampler | |
| JP3526053B2 (en) | Digital video signal processor | |
| JPH06101726B2 (en) | Clock synchronization circuit | |
| US5012138A (en) | Interface circuit for asychronous data transfer | |
| US6061778A (en) | Digital signal processor for detecting out-of-sync and jitter from two clock signals and controlling the interpolation based on deviation and jitter amount | |
| JP4159120B2 (en) | Method and apparatus for inserting asynchronous data into a digital signal | |
| GB2178266A (en) | Digital sample rate reduction system | |
| JPH063899B2 (en) | Clock synchronization circuit | |
| US5260977A (en) | Communication terminal equipment | |
| KR0148158B1 (en) | The frequency conversion apparatus of camera for hd-tv | |
| JP3233016B2 (en) | MSK demodulation circuit | |
| JPH01238395A (en) | Color television signal decoder | |
| JP2958929B2 (en) | Time axis correction method and device | |
| JPH07118703B2 (en) | Clock control circuit | |
| JP3067036B2 (en) | Sampling rate conversion circuit | |
| JP2001086106A (en) | Data transmission device and transmission system | |
| JPS58116832A (en) | Data sampling pulse generator | |
| JP2000333196A (en) | Color signal correction circuit | |
| JPH05327676A (en) | Asynchronous signal synchronization circuit | |
| JPH0119785B2 (en) |