JPH0697899A - Adjusting method for reproduced clock frequency - Google Patents

Adjusting method for reproduced clock frequency

Info

Publication number
JPH0697899A
JPH0697899A JP4246166A JP24616692A JPH0697899A JP H0697899 A JPH0697899 A JP H0697899A JP 4246166 A JP4246166 A JP 4246166A JP 24616692 A JP24616692 A JP 24616692A JP H0697899 A JPH0697899 A JP H0697899A
Authority
JP
Japan
Prior art keywords
data
frequency
clock
reproduction
pulse
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
JP4246166A
Other languages
Japanese (ja)
Inventor
Hirofumi Tsujimura
宏文 辻村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4246166A priority Critical patent/JPH0697899A/en
Publication of JPH0697899A publication Critical patent/JPH0697899A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To realize normal reproduction of a correct amount of data by adjusting the frequency of a reproduction clock in the digital signal reproducing device which cannot obtain a signal synchronized with the sampling period. CONSTITUTION:A feedback loop is formed by a FIFO buffer 202, a circuit which adjusts the frequency by pulse drop out, and a digital signal reproducing device 301. A reception-side reference clock f0 is set to a frequency slightly higher than a transmission-side reference clock, and a pulse is periodically dropped out to adjust the frequency as the number of clock pulses per unit time. A pulse drop out period N and an adjustment frequency (f) have relations f=f0 (1-1/N, and N is increased when the data volume in the buffer is large, and N is reduced when it is small.

Description

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

【0001】[0001]

【産業上の利用分野】ディジタル通信のデータ再生、デ
ィジタルデータ再生装置からのデータ再生などでリアル
タイム再生を必要とする信号の再生装置において、サン
プリング周期に同期した信号が与えられない場合の再生
クロック周波数の調整方法に関する。
[Field of Industrial Application] Reproduction clock frequency when a signal synchronized with a sampling cycle is not given in a signal reproduction apparatus that requires real-time reproduction such as data reproduction for digital communication and data reproduction from a digital data reproduction apparatus. Adjustment method.

【0002】[0002]

【従来の技術】音声信号などのアナログ信号をPCMで
ディジタル化して伝送し、D/A変換器などの再生装置
で再生する場合、再生時のサンプリング周期は、エンコ
ード時のサンプリング周期と一致している必要がある。
またPCMでディジタル化された信号が記録媒体に記録
されており、このデータを読み出して再生する場合につ
いても同様であり、データの読み出しの周期が、エンコ
ード時のサンプリング周期に相当し、これは再生サンプ
リング周期と一致している必要がある。もし、エンコー
ド時と再生時すなわちデコード時のサンプリング周期が
異なっていると、データの過不足が生じ、正常な再生が
できなくなる。例えば音声信号ならば、波形歪や、音切
れ、音飛びなどの現象となって現われる。
2. Description of the Related Art When an analog signal such as a voice signal is digitized by PCM and transmitted, and is reproduced by a reproducing device such as a D / A converter, the sampling period during reproduction matches the sampling period during encoding. Need to be
The same applies to the case where a signal digitized by PCM is recorded on a recording medium and this data is read and reproduced. The data read cycle corresponds to the sampling cycle at the time of encoding. Must match the sampling period. If the sampling cycle at the time of encoding is different from that at the time of reproducing, that is, at the time of decoding, excess or deficiency of data occurs and normal reproduction cannot be performed. For example, in the case of an audio signal, it appears as a phenomenon such as waveform distortion, sound interruption, and sound skipping.

【0003】このサンプリング周期の一致を実現するた
めには、基準となる単一のクロックを用い、双方のサン
プリング周期を同一にするのが一般的である。例えば、
記録媒体からデータを読み出す場合は、再生時のクロッ
クを基準にして、データ読み出し周期が、これと等しく
なるようサーボ制御を行っている。
In order to realize the matching of the sampling periods, it is common to use a single reference clock and make both sampling periods the same. For example,
When data is read from the recording medium, servo control is performed so that the data read cycle becomes equal to this with reference to the clock during reproduction.

【0004】また、データは、ある分量をまとめて時間
軸上で圧縮して転送することも可能である。このデータ
転送がフレーム同期転送であり、サンプリングの周期に
同期したタイミングで送られるならば、基準クロックが
直接与えられなくても受信側でPLL(Phase Locked L
oop)回路を用いて再生クロックを作り出すことができ
る。またデータ転送が送信側の基準クロックに同期し
た、バイト同期転送でもPLL回路で再生クロックを生
成することができる。
Data can also be compressed after being transferred in a certain amount on a time axis and transferred. If this data transfer is frame synchronous transfer and is sent at the timing synchronized with the sampling cycle, the PLL (Phase Locked L
It is possible to generate a reproduction clock by using the (oop) circuit. Further, the reproduction clock can be generated by the PLL circuit even in the byte synchronous transfer in which the data transfer is synchronized with the reference clock on the transmitting side.

【0005】ディジタル音声データ再生装置の代表的な
ものにコンパクトディスク(以下CDと略す)プレーヤ
がある。音声再生専用のCDプレーヤでは、データ読み
出し部とディジタル音声再生部は1つの筺体内にあり、
基準となる単一のクロックが存在し、CDからのデータ
読み出し速度とディジタル音声再生速度が等しくなるよ
う、この基準クロックを基に制御を行っている。
A compact disc (hereinafter abbreviated as CD) player is a typical digital audio data reproducing device. In a CD player dedicated to audio reproduction, the data reading section and the digital audio reproduction section are in one housing,
There is a single reference clock, and control is performed based on this reference clock so that the data read speed from the CD and the digital audio reproduction speed become equal.

【0006】一方、音楽用のCDプレーヤ技術を利用し
てディジタルデータの記録を行う装置としてCD−RO
M装置があり、コンピュータの記憶装置として使われて
いる。このCD−ROM装置からディジタル音声データ
を得てホストコンピュータ側で音声再生を行うような、
データ読み出し部と、音声再生部が分離されたシステム
も存在する。このような分離された音声再生システムで
はリアルタイムに再生を行う場合に、CDからのデータ
読み出し周期と再生時のサンプリング周期を一致させる
手段が必要である。
On the other hand, a CD-RO is used as a device for recording digital data by using a music CD player technology.
There is an M device, which is used as a storage device of a computer. Digital audio data is obtained from this CD-ROM device, and audio reproduction is performed on the host computer side.
There is also a system in which the data reading unit and the audio reproducing unit are separated. In such a separated audio reproducing system, when reproducing in real time, it is necessary to provide a means for matching the data read cycle from the CD with the sampling cycle during reproduction.

【0007】データ読み出し側と音声再生側で同一周波
数ではあっても別の発振器を用いると、2つの発振器の
僅かな周波数の差が累積されることによりデータの過不
足が生じてしまう。
If different oscillators are used even though they have the same frequency on the data reading side and the audio reproducing side, a slight difference in frequency between the two oscillators is accumulated, resulting in excess or deficiency of data.

【0008】このため一般には、図8(a)に示すよう
に、CD−ROM装置など、ディジタルデータ再生装置
11から読み出しクロックを直接ディジタル音声データ再
生装置12に与えるか、図8(b)に示すようディジタル
データ再生装置21から読み出しクロックに同期した信号
を再生装置側に与えてPLL回路23を用いて再生クロッ
クを生成し、ディジタル音声データ再生装置22に与える
方法が採られる。
Therefore, in general, as shown in FIG. 8A, a digital data reproducing device such as a CD-ROM device is used.
A read clock from 11 is directly applied to the digital audio data reproducing device 12, or a signal synchronized with the read clock is applied from the digital data reproducing device 21 to the reproducing device side and reproduced using the PLL circuit 23 as shown in FIG. 8B. A method of generating a clock and giving it to the digital audio data reproducing device 22 is adopted.

【0009】[0009]

【発明が解決しようとする課題】しかし、データの転送
が非同期で行なわれ、サンプリング周期を決める同期信
号がない場合は、上記の方法が使えない。
However, if the data transfer is performed asynchronously and there is no synchronization signal that determines the sampling period, the above method cannot be used.

【0010】同様の問題はディジタル音声通信分野でも
生じ、送信側と受信側のサンプリング周期を一致させる
ためクロックの同期性を確保する手段が必要となる。伝
送路が時分割多重で、データが時間軸上で等時間間隔で
伝送されればPLL回路で同期がとれるが、回線の使用
効率向上のために、時間軸圧縮したり、適合差分パルス
コード変調(ADPCM)による音声圧縮や可変長符号
化方式によるデータ圧縮などを行い、加えて回線の遅延
などにより同期信号が送れない場合もある。
A similar problem arises in the field of digital voice communication, and means for ensuring clock synchronism is required in order to make the sampling periods of the transmitting side and the receiving side coincide with each other. If the transmission line is time division multiplexed and data is transmitted at equal time intervals on the time axis, synchronization can be achieved by the PLL circuit, but in order to improve the use efficiency of the line, time axis compression or adaptive differential pulse code modulation is performed. In some cases, the audio signal is compressed by (ADPCM), the data is compressed by the variable length coding method, and the synchronization signal cannot be sent due to the delay of the line.

【0011】すなわち、データ受信時にサンプリング周
期に同期した信号が得られない場合、あるいは非同期に
再生装置にデータが送られる場合、PLL回路による再
生クロックの生成が不可能となるという問題がある。
That is, when a signal synchronized with the sampling period cannot be obtained at the time of data reception, or when data is asynchronously sent to the reproducing apparatus, there is a problem that the reproduction clock cannot be generated by the PLL circuit.

【0012】本発明の目的は、非同期に送られるデータ
を受信して再生装置側でデータの過不足が生じないよう
に再生速度を調整することである。受信時の再生クロッ
ク調整方法としては、受信されるデータ量から判断して
再生クロックの周波数を調整する方法があり、例えば特
開平2-179045がある。
An object of the present invention is to adjust the reproduction speed so that the reproduction device does not have an excess or deficiency of data by receiving data sent asynchronously. As a method of adjusting the reproduction clock at the time of reception, there is a method of adjusting the frequency of the reproduction clock by judging from the amount of received data, and there is, for example, Japanese Patent Laid-Open No. 2-179045.

【0013】本発明は、再生クロックの調整範囲が、送
信側基準クロックの発振器固有の偏差と温度や電源電圧
変動による周波数変化以内の微小範囲内であり、かつF
IFOバッファを用いれば完全に周波数を一致させる必
要がないことに着目し、従来例のように電圧制御発振器
でアナログ的にフィードバック制御するのではなく、固
定発振器とディジタル回路のみで再生クロックの周波数
調整を実現する方法を提供する。
According to the present invention, the adjustment range of the recovered clock is within a minute range within the frequency deviation due to the deviation of the reference clock of the transmitting side, which is peculiar to the oscillator, and temperature and power supply voltage fluctuations, and
Focusing on the fact that it is not necessary to completely match the frequencies if an IFO buffer is used, rather than performing feedback control in an analog manner with a voltage controlled oscillator as in the conventional example, the frequency of the recovered clock is adjusted only with a fixed oscillator and a digital circuit. Provide a way to achieve.

【0014】[0014]

【課題を解決するための手段】(1)時間軸圧縮され非
同期に送られてくるデータを一時蓄えるFIFOバッフ
ァ、(2)再生サンプリング周期を決めるクロックの周
波数を調整する周波数調整回路および、その制御手段、
(3)FIFOバッファからデータを読み出して信号の
再生を行うディジタル信号再生装置、以上によりフィー
ドバックループを形成し、データの過不足が生じないよ
うデータ再生速度を制御する。
[Means for Solving the Problems] (1) A FIFO buffer for temporarily storing data that has been time-axis compressed and is sent asynchronously, (2) a frequency adjustment circuit for adjusting the frequency of a clock that determines a reproduction sampling period, and its control means,
(3) A digital signal reproducing device for reproducing data by reading data from the FIFO buffer. A feedback loop is formed by the above, and the data reproducing speed is controlled so that excess or deficiency of data does not occur.

【0015】送信側基準クロックの周波数偏差および諸
要因による周波数変動分を調整するために、受信側の基
準クロックは、送信側基準クロックより高く設定し、こ
れに周期的なクロックパルスの欠落を生じる加工を施
し、単位時間内のパルス数としての周波数を、欠落周期
を変化させることにより調整する。この受信側基準クロ
ックは、サンプリング周波数より十分大きい整数比倍の
周波数とすることにより、パルス欠落による周波数調整
の分解能を確保する。再生サンプリング周期は、この基
準クロックを基に調整されたクロックを整数比で分周し
て与えられるが、調整による周期の変動分は高々基準ク
ロックの1クロックパルス分の時間に抑さえられる。
In order to adjust the frequency deviation of the reference clock of the transmission side and the amount of frequency fluctuation due to various factors, the reference clock of the reception side is set higher than the reference clock of the transmission side, and a periodic loss of clock pulses occurs in this. After processing, the frequency as the number of pulses in a unit time is adjusted by changing the missing period. The reception side reference clock has a frequency that is an integral multiple times sufficiently larger than the sampling frequency to ensure the resolution of frequency adjustment due to pulse loss. The reproduction sampling cycle is given by dividing the clock adjusted based on this reference clock by an integer ratio, and the fluctuation of the cycle due to the adjustment is suppressed to a time corresponding to one clock pulse of the reference clock at most.

【0016】[0016]

【作用】受信側の発振器は、パルス欠落による周波数の
調整範囲を確保するため、送信側発振器の最大周波数偏
位より高い周波数に設定される。
The oscillator on the receiving side is set to a frequency higher than the maximum frequency excursion of the oscillator on the transmitting side in order to secure a frequency adjustment range due to missing pulses.

【0017】FIFOバッファは、ディジタル音声デー
タを一時的に蓄える働きをし、時間軸圧縮され非同期的
に送られてくるデータの書き込み速度と、クロック調整
により逐次変化する読み出し速度の緩衝となり、データ
の消失を防止する。その内部のデータ量は再生クロック
周波数調整の判断基準となる。
The FIFO buffer serves to temporarily store digital audio data, and serves as a buffer between the writing speed of data that is time-axis compressed and sent asynchronously and the reading speed that changes sequentially by clock adjustment, and the data is stored. Prevent loss. The amount of internal data is a criterion for adjusting the reproduction clock frequency.

【0018】パルス欠落による再生クロック生成回路お
よび制御手段は、データ受信速度と再生速度を一致させ
るようにクロックパルスの欠落を周期的に発生させ、再
生クロックの周波数を調整する。
The reproduced clock generation circuit and control means due to pulse loss periodically generate a missing clock pulse so that the data reception speed and the reproduction speed match, and adjust the frequency of the reproduced clock.

【0019】ディジタル信号再生装置は、調整された再
生クロックに同期したタイミングで、FIFOバッファ
からデータを読み出して、信号を再生する。
The digital signal reproducing device reads out the data from the FIFO buffer and reproduces the signal at the timing synchronized with the adjusted reproduction clock.

【0020】[0020]

【実施例】第1の実施例を説明する。EXAMPLE A first example will be described.

【0021】図1は、本発明をディジタルデータ再生装
置とディジタル音声再生装置で構成されるシステムに適
用した場合のブロック図であり、点線内部200が本発明
の再生クロック調整を行なう部分である。
FIG. 1 is a block diagram when the present invention is applied to a system composed of a digital data reproducing device and a digital audio reproducing device, and a dotted line inside 200 is a portion for adjusting the reproduced clock of the present invention.

【0022】送信側の基準クロックは発振器101から出
力されるfc Hzのクロックであり、ディジタルデータ再
生装置103は、この基準クロックを分周回路102によって
ある整数比で分周されたクロックに同期してディジタル
音声データを記録媒体から読み出す。このデータは時間
軸圧縮され非同期に読み出されてFIFOバッファ202
に蓄えられる。なお可変長符号化により圧縮されたデー
タの場合には、伸長処理を施してからFIFOバッファ
202に書き込まれる。
The reference clock on the transmitting side is an fc Hz clock output from the oscillator 101, and the digital data reproducing apparatus 103 synchronizes this reference clock with the clock frequency-divided by the frequency dividing circuit 102 at an integer ratio. The digital audio data from the recording medium. This data is time-axis compressed, read asynchronously, and then the FIFO buffer 202
Stored in. In the case of data compressed by variable length coding, decompression processing is performed and then the FIFO buffer
Written in 202.

【0023】発振器の周波数偏差および温度や電源電圧
変動による周波数変動を考慮して、最大周波数偏位Δf
(水晶発振器では最大200ppm程度)を決め、(fc−Δ
f)Hzから(fc+Δf)Hzまでを調整範囲とする。そ
して、fcHzより僅かに高いf0=(fc+Δf+fs)Hz
の発振器201を音声再生側の基準クロックとする。ここ
でfsは(fc+Δf)Hz近傍での調整分解能を得るため
に加えるオフセットの周波数である。
Considering the frequency deviation of the oscillator and the frequency fluctuation due to temperature and power supply voltage fluctuations, the maximum frequency deviation Δf
(Maximum of about 200ppm for a crystal oscillator) is decided, and (fc-Δ
The adjustment range is from f) Hz to (fc + Δf) Hz. And, f0 = (fc + Δf + fs) Hz which is slightly higher than fcHz
The oscillator 201 is used as a reference clock on the audio reproducing side. Here, fs is the frequency of the offset added to obtain the adjustment resolution in the vicinity of (fc + Δf) Hz.

【0024】制御手段203はFIFOバッファ202に蓄え
られているデータ量を判断し、パルス欠落周期生成回路
204に、周期変更の制御信号を与える。パルス欠落周期
生成回路204は発振器201で与えられる基準クロックと内
部カウンタによりパルス欠落のタイミングをパルス欠落
回路205に与える。パルス欠落回路205は基準クロックに
パルス欠落を起こさせるための回路であり、周期的にパ
ルス欠落されたクロックを出力する。このクロックは分
周回路206で送信側の分周器102と同じ整数値で分周さ
れ、ディジタル音声再生装置301は、これを再生時のサ
ンプリングクロックとしてFIFOバッファ202からデ
ータを読み込み、D/A変換による再生を行ない音声信
号を出力する。
The control means 203 judges the amount of data stored in the FIFO buffer 202, and the pulse missing period generation circuit
A control signal for changing the period is given to 204. The pulse drop cycle generation circuit 204 gives the pulse drop timing to the pulse drop circuit 205 by the reference clock given by the oscillator 201 and the internal counter. The pulse missing circuit 205 is a circuit for causing a pulse missing in the reference clock, and periodically outputs a pulse missing clock. This clock is frequency-divided by the frequency divider circuit 206 by the same integer value as that of the frequency divider 102 on the transmission side, and the digital audio reproducing device 301 reads data from the FIFO buffer 202 using this as a sampling clock for reproduction, and D / A Playback by conversion is performed and an audio signal is output.

【0025】図2にパルス欠落周期Nと調整される周波
数fの関係を示す。パルス欠落により生成されるクロッ
クの周波数(単位時間当たりのパルス数)はf=f0(1
−1/N)で与えられる。fεはNを1だけ変化させた
ときの周波数であり、式が非線形であるため、Nの各値
によって異なる。必要とされる最小分解能は(fc−Δ
f)Hzに対応するNLの位置で与えられる。オフセット
周波数fsがないとf=(fc+Δf)が漸近線となるた
め、この近傍で周波数を調整しようとすると極めて大き
なNの値を必要とし、カウンタのビット数が増えて実用
的でない。また調整できるNの範囲が広いほど周波数分
解能も得られる。
FIG. 2 shows the relationship between the pulse loss period N and the adjusted frequency f. The frequency of the clock generated by missing pulses (the number of pulses per unit time) is f = f0 (1
-1 / N). fε is the frequency when N is changed by 1, and since the formula is non-linear, it varies depending on each value of N. The minimum resolution required is (fc-Δ
f) Given at the position of NL corresponding to Hz. If there is no offset frequency fs, f = (fc + Δf) becomes an asymptote, so that an attempt to adjust the frequency in this vicinity requires an extremely large value of N, which increases the number of bits of the counter and is not practical. Further, the wider the adjustable N range is, the higher the frequency resolution can be obtained.

【0026】図3はパルス欠落による周波数調整回路の
1例である。N進カウンタ11は発振器10の基準クロック
をカウントし、カウント数がNになったときCY=
‘H’を出力する。D−FF12は非同期のCY出力を同
期化する役割と、N進カウンタに再ロード信号を与える
役割を兼ねる。ORゲート13が基準クロックにパルス欠
落を起こす。図4にこの回路のタイミングを示す。説明
の都合上Nの値を小さくN=5としているが、実際は周
波数分解能を得るためNは百以上の大きな値を用いる。
またリセット時には調整クロックfがfcに最も近くな
るような初期値Ncをロードする。
FIG. 3 shows an example of a frequency adjusting circuit due to missing pulses. The N-ary counter 11 counts the reference clock of the oscillator 10, and when the count number reaches N, CY =
Output'H '. The D-FF 12 has a role of synchronizing the asynchronous CY output and a role of giving a reload signal to the N-ary counter. The OR gate 13 causes a pulse drop in the reference clock. FIG. 4 shows the timing of this circuit. For convenience of explanation, the value of N is set to a small value of N = 5, but in actuality, a large value of 100 or more is used for N to obtain frequency resolution.
Further, at the time of resetting, an initial value Nc is loaded so that the adjustment clock f becomes closest to fc.

【0027】図5にFIFOバッファへのデータ書き込
みと読み出しを示す。FIFOバッファへのデータ書き
込みは離散的に、データ読み出しは連続的に行われる。
FIG. 5 shows writing and reading of data in the FIFO buffer. Data writing to the FIFO buffer is discretely performed, and data reading is continuously performed.

【0028】図6に制御方法の例を示す。fは周波数、
nはデータ量、Nはパルス欠落周期であり、添字のtは
送信側を、rは受信側を意味する。
FIG. 6 shows an example of the control method. f is the frequency,
n is the data amount, N is the pulse loss period, and the subscript t means the transmitting side and r means the receiving side.

【0029】周波数調整の制御は、時間軸圧縮されたブ
ロックデータの転送時刻毎に行う。Tをブロックデータ
の書き込み周期、Aを1バイトのデータ再生に要するク
ロック数とすると、書き込みデータ量はnt=(ft/
A)・T、読み出しデータ量はnr=(fr/A)・Tと
なる。しかし、非同期転送のため書き込み周期には遅延
時間ΔTが存在する。送信側のデータ書き込み量は一定
であるが、この遅延時間ΔTが読み出し側のデータ再生
速度によってデータ量nx=((fr/A)・ΔT)に換
算され、書き込みデータ量は等価的に((ft/A)・
T−nx)となる。すなわち、転送の遅延時間の変動分
は、バッファ内データ量を入力とした制御系に対しては
ノイズに相当することになる。このノイズは、送信側発
振器の周波数偏差による直流分と温度変動などによるド
リフト分と比較すれば高周波の成分であり、低域通過フ
ィルタ(LPF)によって除去できる。
The frequency adjustment control is performed at each transfer time of the block data compressed on the time axis. Assuming that T is the block data write cycle and A is the number of clocks required to reproduce 1 byte of data, the write data amount is nt = (ft /
A) · T, and the read data amount is nr = (fr / A) · T. However, because of asynchronous transfer, there is a delay time ΔT in the write cycle. Although the data write amount on the transmission side is constant, this delay time ΔT is converted into the data amount nx = ((fr / A) · ΔT) by the data reproduction speed on the read side, and the write data amount is equivalently ((( ft / A) ・
T-nx). That is, the variation of the transfer delay time corresponds to noise for the control system that receives the amount of data in the buffer as an input. This noise is a high-frequency component when compared with the DC component due to the frequency deviation of the transmitter oscillator and the drift component due to temperature fluctuations, and can be removed by a low pass filter (LPF).

【0030】このLPFは次式を元にディジタル回路で
実現できる。
This LPF can be realized by a digital circuit based on the following equation.

【0031】[0031]

【数1】 [Equation 1]

【0032】nはバッファ内データ量、n0は制御基準
となるバッファ内データ量である。CはLPFの時定数
を決める係数で、ノイズが除去できる値に決める。この
LPFは、Cを2のべき乗とすればシフト演算と加減演
算回路、およびnの平均値を記憶するレジスタで構成で
きる。
N is the amount of data in the buffer, and n0 is the amount of data in the buffer serving as a control reference. C is a coefficient that determines the time constant of the LPF, and is set to a value that can remove noise. This LPF can be configured by a shift calculation and addition / subtraction calculation circuit, where C is a power of 2, and a register that stores the average value of n.

【0033】送信側周波数ftは、f−n変換11を経て
データ量ntとなり、これに遅延時間によるデータ量変
動nxを加え、帰還データ量nrとの差をとってLPF12
に入力される。LPF12の出力nの平均値は、n−N変
換13されパルス欠落周期Nとなり、このNはN−f変換
14されて受信側周波数frとなる。さらにfrは、f−n
変換され帰還データ量nrとなる。n−N変換は図のよ
うな正の傾きを持った特性の変換とし、FIFOバッフ
ァ内データ量が多いときは、読み出し周波数を大きくし
てデータ読み出し速度を速くし、FIFOバッファ内デ
ータが少ないときは、逆に周波数を低くして読み出し速
度を遅くする。したがって、このフィードバックループ
により、受信側周波数frは送信側周波数ftに追従する
よう制御される。
The transmission side frequency ft becomes the data amount nt through the f-n conversion 11, the data amount fluctuation nx due to the delay time is added to this, and the difference from the feedback data amount nr is taken to obtain the LPF 12
Entered in. The average value of the output n of the LPF 12 is subjected to n-N conversion 13 and becomes a pulse missing period N, and this N is N-f converted.
14 and becomes the reception side frequency fr. Furthermore, fr is f-n
It is converted into the feedback data amount nr. The NN conversion is a conversion with a characteristic having a positive slope as shown in the figure. When the amount of data in the FIFO buffer is large, the read frequency is increased to increase the data read speed, and when the amount of data in the FIFO buffer is small. Reversely lowers the frequency to slow down the reading speed. Therefore, by this feedback loop, the receiving side frequency fr is controlled so as to follow the transmitting side frequency ft.

【0034】第2の実施例を説明する。The second embodiment will be described.

【0035】これは、パルス欠落による周波数調整回路
と制御方法が第1の実施例と異なり、FIFOバッファ
内のデータ量情報を元にディジタル信号再生装置のクロ
ック周波数を変化させるという基本動作は同じである。
This is different from the first embodiment in the frequency adjusting circuit and control method due to the pulse loss, but the basic operation of changing the clock frequency of the digital signal reproducing apparatus based on the data amount information in the FIFO buffer is the same. is there.

【0036】図7は欠落周期を一定とした回路の例であ
り、Δfが小さい場合に有効である。制御は固定周期の
パルス欠落を発生させるかしないかの2値で行う。固定
周期NLは、常にパルス欠落を発生させた場合に再生ク
ロックが(fc−Δf)Hzとなるように設定する。この
場合は先に示したfsは不要で、発振器10の基準クロッ
クf0=(fc+Δf)Hzとすればよい。ANDゲート13
は、パルス欠落タイミング信号を、制御信号CTRLによっ
て、パルス欠落回路であるORゲート14に伝えるか伝えな
いかを決めるスィッチの役割をする。N進カウンタ11に
固定値が与えられること以外は図3の回路と動作は同じ
である。
FIG. 7 shows an example of a circuit in which the missing period is constant, which is effective when Δf is small. The control is performed by two values, that is, whether or not a pulse loss having a fixed cycle is generated. The fixed cycle NL is set so that the reproduced clock is (fc-Δf) Hz when a pulse drop is always generated. In this case, the above-mentioned fs is unnecessary and the reference clock f0 of the oscillator 10 may be set to f0 = (fc + Δf) Hz. AND gate 13
Serves as a switch that determines whether or not the pulse drop timing signal is transmitted to the OR gate 14 which is the pulse drop circuit by the control signal CTRL. The operation is the same as that of the circuit of FIG. 3 except that a fixed value is given to the N-ary counter 11.

【0037】次に制御方法を説明する。Next, the control method will be described.

【0038】FIFOバッファ内のデータ量が基準値よ
り多いときはf=(fc+Δf)とするように制御信号C
TRL=‘L’とし、データ量が少ないときf=(fc−Δ
f)とするようにCTRL=‘H’とする制御を行なう。こ
のような2値制御を行う場合、その長期的な周波数はf
HとfLが占める時間軸上での期間の比率によって決ま
る。
When the amount of data in the FIFO buffer is larger than the reference value, the control signal C is set so that f = (fc + Δf).
When TRL = 'L' and the amount of data is small, f = (fc-Δ
The control of CTRL = 'H' is performed as in (f). When such binary control is performed, the long-term frequency is f
It is determined by the ratio of the period on the time axis occupied by H and fL.

【0039】以上2つの実施例を示したが、制御はディ
ジタル回路だけでなく、マイコンを用いてソフトウェア
によって行うことも可能である。
Although the two embodiments have been described above, the control can be performed not only by a digital circuit but also by software using a microcomputer.

【0040】[0040]

【発明の効果】ディジタル信号再生装置にデータが非同
期に与えられても、本発明による再生クロック生成方法
によって信号の再生速度が調整されるため、データの過
不足がない正常な再生が可能となる。また、ディジタル
回路と固定周波数発振器のみで構成されるため、アナロ
グ部品が不要でディジタル集積回路化が容易になり、ア
ナログ回路に特有の調整も不要となる。
Even if data is given to the digital signal reproducing apparatus asynchronously, the reproduction speed of the signal is adjusted by the reproduction clock generating method according to the present invention, so that normal reproduction without excess or deficiency of data becomes possible. . Further, since it is composed of only a digital circuit and a fixed frequency oscillator, analog parts are not required, and it is easy to integrate it into a digital integrated circuit, and the adjustment peculiar to the analog circuit is also unnecessary.

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

【図1】本発明をディジタル音声再生装置に適用したシ
ステムのブロック図である。
FIG. 1 is a block diagram of a system in which the present invention is applied to a digital audio reproducing device.

【図2】パルス欠落によって生成される周波数とパルス
欠落周期の関係図である。
FIG. 2 is a diagram showing a relationship between a frequency generated by pulse loss and a pulse loss period.

【図3】パルス欠落による周波数調整回路図である。FIG. 3 is a frequency adjustment circuit diagram due to missing pulses.

【図4】図3の回路のタイミング図である。FIG. 4 is a timing diagram of the circuit of FIG.

【図5】FIFOバッファへのデータの書き込みと読み
出しを示す図である。
FIG. 5 is a diagram showing writing and reading of data to and from a FIFO buffer.

【図6】周波数調整回路の制御方法を説明する図であ
る。
FIG. 6 is a diagram illustrating a control method of a frequency adjustment circuit.

【図7】2値制御のパルス欠落による周波数調整回路図
である。
FIG. 7 is a frequency adjustment circuit diagram due to pulse loss in binary control.

【図8】従来例を示す図である。FIG. 8 is a diagram showing a conventional example.

【符号の説明】 101…送信側の発振器、 102…送信側の分周器、 103…ディジタルデータ再生装置、 200…再生クロックの周波数調整部、 201…受信側の発振器、 202…FIFOバッファメモリ、 203…制御手段、 204…パルス欠落周期発生回路、 205…パルス欠落回路、 301…ディジタル音声再生装置。[Explanation of Codes] 101 ... Oscillator on transmission side, 102 ... Divider on transmission side, 103 ... Digital data reproducing device, 200 ... Frequency adjusting unit for reproduced clock, 201 ... Oscillator on receiving side, 202 ... FIFO buffer memory, 203 ... Control means, 204 ... Pulse missing period generation circuit, 205 ... Pulse missing circuit, 301 ... Digital audio reproducing device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】リアルタイム再生を行うディジタル信号再
生装置において、データのサンプリング周期に同期した
信号が与えられない場合の、以下に記すことを特徴とす
る再生クロック周波数の調整方法。 (1)送られてくるデータをFIFO(先入れ先だし)
バッファに蓄える。 (2)サンプリング周波数の整数比倍より僅かに高い周
波数のクロックパルスに、周期的にパルスの欠落を生じ
るような加工を施し、同じ整数比の分周をして再生クロ
ックを生成する。 (3)上記パルス欠落周期は、FIFOバッファ内のデ
ータ量により変化させ再生時にデータの過不足が生じな
いよう制御する。
1. A method for adjusting a reproduction clock frequency, which is described below, when a signal synchronized with a data sampling period is not provided in a digital signal reproducing apparatus for performing real-time reproduction. (1) Received data is FIFO (first-in first-out)
Store in buffer. (2) A clock pulse having a frequency slightly higher than an integral multiple of the sampling frequency is processed so as to cause a missing pulse periodically, and divided by the same integral ratio to generate a reproduced clock. (3) The pulse loss period is changed according to the amount of data in the FIFO buffer, and control is performed so that data is neither excessive nor insufficient during reproduction.
JP4246166A 1992-09-16 1992-09-16 Adjusting method for reproduced clock frequency Pending JPH0697899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4246166A JPH0697899A (en) 1992-09-16 1992-09-16 Adjusting method for reproduced clock frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4246166A JPH0697899A (en) 1992-09-16 1992-09-16 Adjusting method for reproduced clock frequency

Publications (1)

Publication Number Publication Date
JPH0697899A true JPH0697899A (en) 1994-04-08

Family

ID=17144494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4246166A Pending JPH0697899A (en) 1992-09-16 1992-09-16 Adjusting method for reproduced clock frequency

Country Status (1)

Country Link
JP (1) JPH0697899A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03126429U (en) * 1990-04-05 1991-12-19
JP2005012729A (en) * 2003-06-23 2005-01-13 Nanao Corp Information providing device
JP2006215540A (en) * 2005-01-05 2006-08-17 Microsoft Corp Software-based audio rendering
WO2009001437A1 (en) * 2007-06-26 2008-12-31 Fujitsu Limited Optically interfacing method and its apparatus
WO2014064781A1 (en) * 2012-10-24 2014-05-01 三菱電機株式会社 Digital broadcast receiving apparatus and digital broadcast receiving method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03126429U (en) * 1990-04-05 1991-12-19
JP2005012729A (en) * 2003-06-23 2005-01-13 Nanao Corp Information providing device
JP2006215540A (en) * 2005-01-05 2006-08-17 Microsoft Corp Software-based audio rendering
WO2009001437A1 (en) * 2007-06-26 2008-12-31 Fujitsu Limited Optically interfacing method and its apparatus
JPWO2009001437A1 (en) * 2007-06-26 2010-08-26 富士通株式会社 Optical interface method and apparatus
JP4560133B2 (en) * 2007-06-26 2010-10-13 富士通株式会社 Optical interface method and apparatus
WO2014064781A1 (en) * 2012-10-24 2014-05-01 三菱電機株式会社 Digital broadcast receiving apparatus and digital broadcast receiving method
JP5800999B2 (en) * 2012-10-24 2015-10-28 三菱電機株式会社 Digital broadcast receiving apparatus and digital broadcast receiving method
US9232116B2 (en) 2012-10-24 2016-01-05 Mitsubishi Electric Corporation Digital broadcast receiving apparatus and digital broadcast receiving method

Similar Documents

Publication Publication Date Title
EP0665546B1 (en) Sampling frequency converting device
US4872073A (en) Apparatus for playback of magnetically recorded data having a variable input rate
US5663945A (en) Digital phase locked loop with a digital voltage controlled oscillator in a recording information reproducing apparatus
AU654271B2 (en) Digital recording and reproducing system
JPH1027435A (en) Reproducing device and method
JP3037582B2 (en) Digital data buffering device
JPH0697899A (en) Adjusting method for reproduced clock frequency
JP4303888B2 (en) Recording of information signals on tracks of recording media and reproduction of recorded information signals
CN1396710A (en) Device for testing phase difference by zero cross character of input signal and its phaselocked loop circuit
JP3296297B2 (en) Synchronous control method
US5329556A (en) Reproduction equipment for digital audio
JP2004072217A (en) Data reproducing apparatus
JP2876878B2 (en) Data transmitter and data receiver
JPH0249573B2 (en)
KR20040111679A (en) Semi-synchronous receiver and apparatus for reading information
JP3097737B2 (en) Memory circuit for burst clock
JPH05308352A (en) System regeneration system
JP3462896B2 (en) Synchronous signal generator for EFM signal
JPS63272191A (en) Time base variance correcting circuit
JP2594665B2 (en) Sampling frequency control method
JP3849271B2 (en) Input circuit of 1-bit D / A converter
JPH0664848B2 (en) Synchronous clock playback device
JPS5944144A (en) Synchronizing signal generator
JPS62150985A (en) Feed forward type tbc circuit
JP2002198939A (en) Digital av signal processing equipment