JPH1168727A - Sampling frequency converting circuit - Google Patents

Sampling frequency converting circuit

Info

Publication number
JPH1168727A
JPH1168727A JP10162469A JP16246998A JPH1168727A JP H1168727 A JPH1168727 A JP H1168727A JP 10162469 A JP10162469 A JP 10162469A JP 16246998 A JP16246998 A JP 16246998A JP H1168727 A JPH1168727 A JP H1168727A
Authority
JP
Japan
Prior art keywords
data
signal
data signal
signals
sampling frequency
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.)
Granted
Application number
JP10162469A
Other languages
Japanese (ja)
Other versions
JP3565545B2 (en
Inventor
Daiki Kosaka
大樹 小坂
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 Denshi KK
Original Assignee
Hitachi Denshi KK
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 Denshi KK filed Critical Hitachi Denshi KK
Priority to JP16246998A priority Critical patent/JP3565545B2/en
Publication of JPH1168727A publication Critical patent/JPH1168727A/en
Application granted granted Critical
Publication of JP3565545B2 publication Critical patent/JP3565545B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To surely transfer data and to improve a sampling frequency converting error by mutually comparing the values of plural latched data signal and selecting one of plural data signals corresponding to the compared result. SOLUTION: A latch array circuit 70 inputs the data signal latched by a flip-flop 1 and (n) ways of data signals of respectively different phases are generated by respectively latching the inputted signal through (n) clock signals. Then, (n) latched data signals are respectively latched by an output clock signal Co, and the latched data signals are outputted from the latch array circuit 70 to a selective output circuit 40. Corresponding to the data contents of the plural inputted data signals, the selective output circuit 40 selects one of data signals with fixed values among these signals. A flip-flop circuit 2 inputs the selected signal, latches that signal through the output clock signal Co and outputs it.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はディジタル信号処理
によって複数のデータが連続するデジタル信号のサンプ
リング周波数変換を行う回路に関し、変換前の入力側デ
ジタル信号に同期したクロック信号を基として複数の位
相の異なるクロック信号を生成し、生成されたクロック
信号により入力側のデータ信号をそれぞれラッチし、さ
らに、変換後の出力側デジタル信号に同期したクロック
信号でラッチした上で、複数のラッチされたデジタル信
号のうち確実に入力されたデータの値をラッチした位相
のデータ信号を選択することによりデータの転送を確実
にうことが可能で、、更にデータの判別に影響のない範
囲でデータの内容を位相に合わせて補間することで、サ
ンプリング周波数変換誤差を改善可能なサンプリング周
波数変換回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for performing sampling frequency conversion of a digital signal in which a plurality of data are continuous by digital signal processing, and relates to a circuit having a plurality of phases based on a clock signal synchronized with an input digital signal before conversion. A different clock signal is generated, the data signal on the input side is latched by the generated clock signal, and further, the latched digital signal is latched with a clock signal synchronized with the converted output digital signal, and then a plurality of latched digital signals are latched. By selecting the data signal of the phase in which the value of the input data is securely latched, it is possible to reliably transfer the data, and furthermore, the phase of the data can be changed within a range that does not affect the data determination. The sampling frequency conversion circuit that can improve the sampling frequency conversion error by interpolating according to Is shall.

【0002】[0002]

【従来の技術】図10に、従来例のサンプリング周波数
変換回路のブロック構成を表す。この図において、入力
側クロック信号Ciの立ち上がり波形あるいは立ち下が
り波形のタイミングをラッチ・タイミングとして入力デ
ータ信号Diをラッチする同期式フリップフロップ1’
と、出力クロック信号Coのそれをラッチ・タイミング
として上記同期式フリップフロップ1’の出力をラッチ
する同期式フリップフロップ2’とを用いて、上記同期
式フリップフロップ2’から出力クロック信号Coをサ
ンプリング周波数とした出力データ信号Doを出力する
ことで、入力側クロック信号Ciのサンプリング周波数
のデータが、出力側クロック信号Coのサンプリング周
波数のデータとなるようにサンプリング周波数変換され
る。
2. Description of the Related Art FIG. 10 shows a block diagram of a conventional sampling frequency conversion circuit. In this figure, a synchronous flip-flop 1 'that latches an input data signal Di using the timing of a rising waveform or a falling waveform of an input clock signal Ci as a latch timing.
And a synchronous flip-flop 2 'for latching the output of the synchronous flip-flop 1' using the output clock signal Co as a latch timing, and sampling the output clock signal Co from the synchronous flip-flop 2 '. By outputting the output data signal Do having the frequency, the sampling frequency of the input clock signal Ci is converted to the sampling frequency of the output clock signal Co so that the sampling frequency is converted.

【0003】上述の従来例のサンプリング周波数変換回
路におけるフリップフロップ1’および2’に用いられ
る同期式フリップフロップで確実にデータ信号をラッチ
するためには、サンプリングのためのクロック信号の、
例えば、立ち上がりエッジのタイミング(ラッチ・タイ
ミング)の前後に入力されるデータ信号の内容が安定し
た期間が必要である。このデータ信号の内容が安定した
期間、すなわちラッチ・タイミングの前のデータ内容が
安定している必要のある期間のセットアップ期間と、ラ
ッチ・タイミングの後のデータ内容が安定している必要
のある期間のホールド期間との二つからなる期間に、ラ
ッチされるデータ信号が変化した場合は、正しいデータ
が確実にはラッチされず、データ信号の内容がフリップ
フロップの入力側と出力側とで異なるものとなる場合が
ある。
In order to reliably latch a data signal with the synchronous flip-flops used for the flip-flops 1 'and 2' in the above-mentioned conventional sampling frequency conversion circuit, a clock signal for sampling must be
For example, a period during which the contents of the data signal input before and after the rising edge timing (latch timing) is stable is required. A period in which the content of this data signal is stable, that is, a setup period in which the data content before the latch timing needs to be stable, and a period in which the data content after the latch timing needs to be stable If the latched data signal changes during the two periods, the correct data is not reliably latched, and the contents of the data signal differ between the input and output of the flip-flop. It may be.

【0004】また従来のサンプリング周波数変換回路で
は、周波数の違いによるサンプリング点の飛び越しや追
い抜きによって、サンプリング周波数変換誤差が直接出
力されてしまう。
In a conventional sampling frequency conversion circuit, a sampling frequency conversion error is directly output due to skipping or overtaking of a sampling point due to a difference in frequency.

【0005】図12は従来のサンプリング周波数変換回
路でクロック比が3:2になるようなサンプリング周波
数変換を行った場合のタイミングチャートの一例で、入
力データ信号Diの複数データの内の4つのデータD0
・D1・D2・D3からなるデータ列についての変換例
を示している。この変換はサンプリング周波数が低くな
る変換の場合のため、サンプリングされなかったデータ
が飛び越されて、出力データ信号Doでは、例えば、デ
ータD2が出力されずに間引かれた、データD0・D1
・D3からなるデータ列に変換される。
FIG. 12 is an example of a timing chart when a sampling frequency conversion is performed so that the clock ratio becomes 3: 2 in the conventional sampling frequency conversion circuit, and four data out of a plurality of data of the input data signal Di are output. D0
A conversion example is shown for a data string composed of D1, D2, and D3. Since this conversion is a conversion in which the sampling frequency is lowered, the data that has not been sampled is skipped, and in the output data signal Do, for example, the data D0 and D1 are thinned out without outputting the data D2.
-It is converted to a data string consisting of D3.

【0006】図13はサンプリング周波数変換前と変換
後の周波数の比を3:2とした場合のサンプリング周波
数変換回路の入出力誤差の一例を示した図である。縦軸
がデータの値を表し、横軸がサンプリング・タイミング
の位置を表す。図13(a)において実線で示されたデ
ータ列100aは入力データ信号Diのデータ列の一例
で、点線で示されたデータ列100bはデータ列100
aのデータ信号Diが所要の周波数帯域に帯域制限され
た場合のデータ列の例を表す。図13(b)において実
線で示されたデータ列200aは出力データ信号Doの
データ列の一例で、点線で示されたデータ列200b
は、上述のデータ列100bの点線の波形を再現するよ
うに出力データ信号Doの値が決められたときのデータ
列を表す。このデータ列200bを再現する場合、この
データ列200bに対して実際のデータ列200aの誤
差が、サンプリング周波数変換誤差となる。
FIG. 13 is a diagram showing an example of an input / output error of the sampling frequency conversion circuit when the ratio of the frequency before and after the sampling frequency conversion is 3: 2. The vertical axis represents the value of the data, and the horizontal axis represents the position of the sampling timing. In FIG. 13A, a data string 100a indicated by a solid line is an example of a data string of the input data signal Di, and a data string 100b indicated by a dotted line is a data string 100.
5 shows an example of a data sequence when the data signal Di of a is band-limited to a required frequency band. In FIG. 13B, a data string 200a indicated by a solid line is an example of a data string of the output data signal Do, and a data string 200b indicated by a dotted line.
Represents a data sequence when the value of the output data signal Do is determined so as to reproduce the waveform of the dotted line of the data sequence 100b described above. When reproducing the data sequence 200b, an error of the actual data sequence 200a with respect to the data sequence 200b becomes a sampling frequency conversion error.

【0007】図14は信号出力で要求される周波数帯域
内の信号に対して3:2の比で周波数変換した場合の出
力誤差の一例である。縦軸がデータの値を表し、横軸が
図12におけるデータの位置を表す。101bは帯域制
限後の入力データ信号Diの値の例を表す。201cは
出力データ信号Doの値で、201bが示す本来あるべ
き出力データ信号Doの値に対して、サンプリング周波
数変換誤差がある。
FIG. 14 shows an example of an output error when a signal in a frequency band required for signal output is frequency-converted at a ratio of 3: 2. The vertical axis represents the value of the data, and the horizontal axis represents the position of the data in FIG. 101b represents an example of the value of the input data signal Di after the band limitation. 201c is the value of the output data signal Do, and there is a sampling frequency conversion error with respect to the value of the output data signal Do which should be originally indicated by 201b.

【0008】図15は従来のサンプリング周波数変換回
路でクロック比が3:4になるようなサンプリング周波
数変換を行った場合のタイミングチャートの一例であ
る。、入力データ信号Diの複数データの内の4つのデ
ータD0・D1・D2・D3からなるデータ列について
の変換例を示している。この変換はサンプリング周波数
が高くなる変換の場合のためサンプリングされるデータ
の内のいくつかが繰り返しサンプリングされて、例えば
D1が重複したデータD0・D1・D1・D2・D3か
らなるデータ列に変換される。
FIG. 15 is an example of a timing chart when the sampling frequency conversion is performed so that the clock ratio becomes 3: 4 in the conventional sampling frequency conversion circuit. 4 shows an example of conversion of a data string including four data D0, D1, D2, and D3 among a plurality of data of the input data signal Di. In this conversion, some of the sampled data is repeatedly sampled for the case of a conversion in which the sampling frequency is increased, and for example, D1 is converted into a data string composed of overlapping data D0, D1, D1, D2, D3. You.

【0009】図16は信号出力で要求される周波数帯域
に帯域制限する前に3:4の比で周波数変換した場合の
出力誤差の一例である。縦軸がデータの値を表し、横軸
が図15におけるデータの位置を表す。102aは入力
データ信号Diの値の例で、102bは入力データ信号
Diを信号出力で要求される周波数帯域に帯域制限した
場合の値を表す。202dは出力データ信号Doの値
で、202bに表される本来あるべき出力データ信号D
oの値に対して、サンプリング周波数変換誤差がある。
FIG. 16 shows an example of an output error when frequency conversion is performed at a ratio of 3: 4 before band limitation to a frequency band required for signal output. The vertical axis represents the value of the data, and the horizontal axis represents the position of the data in FIG. 102a is an example of the value of the input data signal Di, and 102b is a value when the input data signal Di is band-limited to a frequency band required for signal output. 202d is a value of the output data signal Do, which is the output data signal D which should be originally represented by 202b.
There is a sampling frequency conversion error for the value of o.

【0010】図17は信号出力で要求される周波数帯域
内の信号に対して3:4の比で周波数変換した場合の出
力誤差の一例である。縦軸がデータの値を表し、横軸が
図15におけるデータの位置を表す。103bは入力デ
ータ信号Diの値を表す。203eは出力データ信号D
oの値で、203bに表す本来あるべき出力データ信号
Doの値に対して、サンプリング周波数変換誤差があ
る。
FIG. 17 shows an example of an output error when a signal in a frequency band required for signal output is frequency-converted at a ratio of 3: 4. The vertical axis represents the value of the data, and the horizontal axis represents the position of the data in FIG. 103b represents the value of the input data signal Di. 203e is the output data signal D
With respect to the value of o, there is a sampling frequency conversion error with respect to the value of the output data signal Do which should be represented by 203b.

【0011】[0011]

【発明が解決しようとする課題】図10の従来のサンプ
リング周波数変換回路では、同期式フリップフロップ
1’からサンプリング周波数・位相の異なる同期式フリ
ップフロップ2’へデータを渡すため、入力側クロック
信号Ciと出力側クロック信号とCoが、図11に示す
タイミングチャートのように出力側クロック信号Co
は、タイミングT2がラッチ・タイミングとなって、こ
のときデータ1cが変化(遷移)しており、従ってセッ
トアップ期間及びホールド期間のデータが安定していな
い。このため出力データ信号Doに不定なデータ(以
下、データxと称す)が出力される。
In the conventional sampling frequency conversion circuit shown in FIG. 10, since the data is transferred from the synchronous flip-flop 1 'to the synchronous flip-flop 2' having a different sampling frequency and phase, the input clock signal Ci is input. , The output side clock signal and the output side clock signal Co as shown in the timing chart of FIG.
Is that the timing T2 is the latch timing, and at this time, the data 1c is changing (transitioning), so that the data in the setup period and the hold period is not stable. For this reason, indefinite data (hereinafter, referred to as data x) is output to the output data signal Do.

【0012】そこで、本発明では入力側に複数の位相の
データを用意し、出力側で安全な位のデータを判別する
ことによりデータの転送を確実に行えるようにしたサン
プリング周波数変換回路を提供する。
In view of the above, the present invention provides a sampling frequency conversion circuit in which data of a plurality of phases are prepared on the input side, and data can be reliably transferred by discriminating safe data on the output side. .

【0013】また、上述のように従来のサンプリング周
波数変換回路では、部分的にデータが欠落したり、ある
いは同じデータが繰り返されることで、データ列が生成
される。しかしながら、この欠落や繰り返しのためにサ
ンプリング時点のデータが実際の値よりも、1サンプリ
ング間隔程度のタイミング誤差を生じたごとくのサンプ
リング周波数変換誤差が生じるという問題があった。
As described above, in the conventional sampling frequency conversion circuit, a data string is generated by partially missing data or repeating the same data. However, there has been a problem that due to the lack or repetition, a sampling frequency conversion error occurs as if the data at the sampling time had a timing error of about one sampling interval from the actual value.

【0014】そこで、本発明ではデータの判別に影響の
ない範囲でサンプリング周波数変換時の出力データの値
を位相に応じた加重平均割合でもって合わせて補間した
値とすることで、サンプリング周波数変換誤差を改善で
きるサンプリング周波数変換回路を提供する。
Accordingly, in the present invention, the value of the output data at the time of sampling frequency conversion is interpolated with a weighted average ratio corresponding to the phase within a range that does not affect data discrimination, thereby obtaining a sampling frequency conversion error. To provide a sampling frequency conversion circuit capable of improving the above.

【0015】さらに、本発明では出力信号に要求される
周波数帯域に対してサンプリング周波数変換回路の前段
に帯域制限用ローパスフィルタ、後段にサンプリング周
波数変換誤差改善用ローパスフィルタを用意すること
で、より正確な変換を行うことができるサンプリング周
波数変換回路を提供する。
Further, according to the present invention, for a frequency band required for an output signal, a low-pass filter for band limitation is provided before the sampling frequency conversion circuit, and a low-pass filter for improving a sampling frequency conversion error is provided at the subsequent stage, so that the accuracy can be improved. Provided is a sampling frequency conversion circuit capable of performing various conversions.

【0016】[0016]

【課題を解決するための手段】本発明は上記の課題を解
決するために、入力されたデジタルデータ信号(第1の
データ信号)のサンプリング周波数を変換し、該変換さ
れたデジタルデータ信号(第2のデータ信号)を出力す
るためのサンプリング周波数変換回路において、上記第
1のデータ信号のデータの切り替わりタイミング位相に
対してそれぞれ所定位相ずれたタイミングで切り替わる
とともに、上記所定位相それぞれに応じて上記第1のデ
ータ信号が遅延された値を有する複数データ信号を生成
する手段と、上記生成された複数データ信号および第1
のデータ信号の内の複数データ信号それぞれを上記第2
のデータ信号のデータの切り替わりタイミングを有する
クロック信号でラッチする手段と、上記ラッチされた複
数データ信号の値どうしが比較され、該比較結果に応じ
て上記ラッチされた複数データ信号の内の一つが選択さ
れ、該選択されたデータ信号を第2のデータ信号として
出力する手段とを有するものである。
In order to solve the above-mentioned problems, the present invention converts the sampling frequency of an input digital data signal (first data signal), and converts the converted digital data signal (first data signal). A data signal of the first data signal is switched at a timing shifted by a predetermined phase with respect to a switching timing phase of the data of the first data signal. Means for generating a plurality of data signals each having a delayed value of one data signal;
Out of the data signals of the second
Means for latching with a clock signal having a data switching timing of the data signal, and the values of the plurality of latched data signals are compared with each other, and one of the plurality of latched data signals is determined according to the comparison result. Means for outputting the selected data signal as a second data signal.

【0017】さらに、本発明は、入力されたデジタルデ
ータ信号(第1のデータ信号)のサンプリング周波数を
変換し、該変換されたデジタルデータ信号(第2のデー
タ信号)を出力するためのサンプリング周波数変換回路
において、上記第1のデータ信号のデータの切り替わり
タイミング位相に対してそれぞれ所定位相ずれたタイミ
ングで切り替わるとともに、上記所定位相それぞれに応
じて上記第1のデータ信号が補間された値を有する複数
データ信号を生成する手段と、上記生成された複数デー
タ信号および第1のデータ信号の内の複数データ信号そ
れぞれを上記第2のデータ信号のデータの切り替わりタ
イミングを有するクロック信号でラッチする手段と、上
記ラッチされたデータ信号の値に応じて上記ラッチされ
た複数データ信号の内の一つが選択され、該選択された
データ信号を第2のデータ信号として出力する手段とを
有するものである。
Further, the present invention converts the sampling frequency of an input digital data signal (first data signal) and outputs the converted digital data signal (second data signal). In the conversion circuit, the first data signal is switched at a timing shifted by a predetermined phase with respect to the data switching timing phase of the first data signal, and the first data signal has a value obtained by interpolating the first data signal in accordance with each of the predetermined phases. Means for generating a data signal; means for latching each of the plurality of generated data signals and the plurality of data signals of the first data signal with a clock signal having data switching timing of the second data signal; The plurality of latched data signals according to the value of the latched data signal One of the inner is selected, and has a means for outputting the selected data signal as the second data signal.

【0018】さらに、本発明は上記の課題を解決するた
めに、デジタルのデータ信号を入力し、該入力時のサン
プリング周波数(第1の周波数)とは異なったサンプリ
ング周波数(第2の周波数)でもって、上記入力された
データ信号をサンプリングすることで、サンプリング周
波数変換を行い、該サンプリング周波数変換されたデー
タ信号を出力するサンプリング周波数変換回路におい
て、上記データ信号と上記第1の周波数を有するクロッ
ク信号(第1のクロック信号)とを入力して、上記第1
のクロック信号により上記データ信号をラッチするフリ
ップフロップと、上記第1のクロック信号を入力し、該
第1のクロック信号を基に同一周波数のクロック信号
で、かつ、第1のクロック信号と所定位相差を有する一
つまたは複数のクロック信号(位相差クロック信号)を
生成する手段と、上記クロック生成手段で生成された一
つまたは複数の位相差クロック信号および第1のクロッ
ク信号の内、少なくても複数個のクロック信号(位相差
信号等)と、上記フリップフロップの出力データ信号
と、上記第2の周波数を有するクロック信号(第2のク
ロック信号)とが入力され、該入力された複数個の位相
差信号等により上記入力されたデータ信号をそれぞれラ
ッチする手段と該それぞれ異なった位相差でラッチされ
た複数のデータ信号をそれぞれ上記第2のクロック信号
によりラッチする手段とからなるラッチ・アレイ手段
と、上記ラッチ・アレイ手段から出力された第2のクロ
ック信号によってラッチされた複数のデータ信号間の値
の比較を行って、その比較結果に応じて所定のデータの
安定度を有するデータ信号を選択して出力する選択出力
手段とを有するものである。
Further, in order to solve the above-mentioned problems, the present invention inputs a digital data signal, and uses a sampling frequency (second frequency) different from the sampling frequency (first frequency) at the time of input. In the sampling frequency conversion circuit that performs sampling frequency conversion by sampling the input data signal and outputs the data signal after the sampling frequency conversion, the clock signal having the data signal and the clock signal having the first frequency (A first clock signal) and the first
And a flip-flop for latching the data signal in response to the first clock signal, and a clock signal having the same frequency based on the first clock signal and having a predetermined position relative to the first clock signal. Means for generating one or more clock signals having a phase difference (phase difference clock signal); and at least one or more of the one or more phase difference clock signals and the first clock signal generated by the clock generation means. Also, a plurality of clock signals (such as a phase difference signal), an output data signal of the flip-flop, and a clock signal (a second clock signal) having the second frequency are input. Means for respectively latching the input data signals by a phase difference signal or the like, and a plurality of data signals latched with the respective different phase differences. A latch array means comprising means for latching with the second clock signal and a value comparison between a plurality of data signals latched by the second clock signal output from the latch array means, respectively. And a selection output means for selecting and outputting a data signal having predetermined data stability according to the comparison result.

【0019】さらに本発明は、上記フリップフロップの
出力データ信号を上記所定位相差に応じた補間演算によ
り補間データを生成する補間演算手段を有し、上記ラッ
チ・アレイ手段は上記補間データをそれぞれ対応する位
相差のクロック信号によりラッチするものである。
Further, the present invention has interpolation calculation means for generating interpolation data from the output data signal of the flip-flop by interpolation calculation according to the predetermined phase difference, and the latch array means corresponds to the interpolation data respectively. Latched by a clock signal having a different phase difference.

【0020】[0020]

【発明の実施の形態】以下、図面を参照しながら、本発
明の実施の形態の例について説明する。図20は、本発
明のサンプリング周波数変換回路のブロック構成例を表
した図である。この図において、1はフリップフロッ
プ、30はクロック信号発生回路、70はラッチ・アレ
イ回路、40は選択出力回路、2はフリップフロップで
ある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 20 is a diagram illustrating an example of a block configuration of a sampling frequency conversion circuit according to the present invention. In this figure, 1 is a flip-flop, 30 is a clock signal generation circuit, 70 is a latch array circuit, 40 is a select output circuit, and 2 is a flip-flop.

【0021】この動作を説明すると、フリップフロップ
1に入力されたデータ信号Diが、同じく入力されたク
ロック信号Ciのラッチ・タイミングによってラッチさ
れる。クロック信号Ciは、クロック信号発生回路30
にも入力され、そのクロック信号Ciを基に、同じ周波
数であって、位相がそれぞれ異なった一つまたは複数の
クロック信号が生成される。これら生成されたクロック
信号間あるいはクロック信号Ciとの間の、それぞれ位
相が隣り合った信号同士の位相差(位相間隔)は、ラッ
チ・アレイ回路70におけるラッチ動作等に使用される
同期式フリップフロップの特性の一つであるセットアッ
プ期間とホールド期間とを合わせた期間(以下、不定期
間と称す)より長く設定される。そうすることによっ
て、後述する出力クロック信号Coによるラッチ動作時
に複数のデータ信号の不定期間に同時にクロック信号C
oのラッチ・タイミングが含まれずに、高々一個のデー
タ信号についてのみとすることができる。
To explain the operation, the data signal Di input to the flip-flop 1 is latched at the latch timing of the clock signal Ci also input. The clock signal Ci is supplied to the clock signal generation circuit 30.
And one or more clock signals having the same frequency but different phases are generated based on the clock signal Ci. The phase difference (phase interval) between signals having adjacent phases between these generated clock signals or the clock signal Ci is determined by a synchronous flip-flop used for a latch operation or the like in the latch array circuit 70. Is set to be longer than the combined period of the setup period and the hold period (hereinafter, referred to as an indefinite period). By doing so, the clock signal C is simultaneously output during the irregular period of the plurality of data signals during the latch operation by the output clock signal Co described later.
This can be done for at most one data signal without including the latch timing of o.

【0022】これにより、クロック信号発生回路30か
らは、基となったクロック信号Ciと生成されたクロッ
ク信号とからなるか、あるいは生成されたクロック信号
のみからなる複数個、すなわちn個(nは正の整数)の
クロック信号が後段のラッチ・アレイ回路70へ出力さ
れる。
As a result, the clock signal generating circuit 30 outputs a plurality of clock signals Ci and the generated clock signals, or a plurality of clock signals generated only, ie, n (n is an integer). The clock signal of (positive integer) is output to the subsequent latch array circuit 70.

【0023】ラッチ・アレイ回路70は、フリップフロ
ップ1でラッチされたデータ信号を入力し、その入力さ
れたデータ信号が上述のn個のクロック信号によってそ
れぞれラッチされることで、n本のラッチされたデータ
信号、すなわち、n通りのそれぞれ位相の異なるデータ
信号が生成される。さらに、ラッチ・アレイ回路70
は、入力クロック信号Ciと周波数の異なる出力クロッ
ク信号Coを入力する。そして、上述のn本のラッチさ
れたデータ信号が出力クロック信号Coによってそれぞ
れラッチされ、それらラッチされたデータ信号Da1〜
Danがラッチ・アレイ回路70から後段の選択出力回
路40へ出力される。
The latch array circuit 70 receives the data signal latched by the flip-flop 1 and latches the input data signal by the above-mentioned n clock signals. In other words, n data signals having different phases are generated. Further, the latch array circuit 70
Inputs an output clock signal Co having a frequency different from that of the input clock signal Ci. Then, the above-mentioned n latched data signals are respectively latched by the output clock signal Co, and the latched data signals Da1 to Da1 are output.
Dan is output from the latch array circuit 70 to the selection output circuit 40 at the subsequent stage.

【0024】この出力クロック信号Coによってラッチ
されたn個のデータ信号Da1〜Danは、それらの内
の一つのデータ内容が不定な値となっている可能性があ
る。すなわち、クロック信号Coのラッチ・タイミング
時にラッチされるデータ信号の内高々一つのデータ信号
のみが不定期間となるためである。
There is a possibility that one of the n data signals Da1 to Dan latched by the output clock signal Co has an indeterminate value. That is, at most one of the data signals latched at the latch timing of the clock signal Co has an indefinite period.

【0025】そのため、選択出力回路40は、入力され
た複数のデータ信号Da1〜Danのデータの内容に応
じて、それらの内の不定な値でないデータ信号の内の一
つを選択し、後段のフリップフロップ2へ出力する。
For this reason, the selection output circuit 40 selects one of the data signals having an indefinite value from among the plurality of input data signals Da1 to Dan in accordance with the data contents of the plurality of data signals Da1 to Dan. Output to flip-flop 2.

【0026】フリップフロップ2は、選択された信号を
入力し出力クロック信号Coによってラッチして、後段
(図示せず)に出力する。
The flip-flop 2 receives the selected signal, latches it with the output clock signal Co, and outputs the latched signal to the subsequent stage (not shown).

【0027】以上により、不定期間にラッチされたデー
タ信号を除いた、入力データ信号と同等のデータ信号が
サンプリング周波数変換されて出力されることが可能と
なる。
As described above, a data signal equivalent to the input data signal, excluding the data signal latched irregularly, can be converted into a sampling frequency and output.

【0028】図21は、本発明の別の実施の形態のブロ
ック構成例を表した図である。この図において、図20
と同一の符号を付したものは説明を省略する。図21の
構成例において、図20と大きく異なるのは、フリップ
フロップ1でラッチされたデータ信号がデータ信号補間
回路50に入力され、所定の補間処理によって補間され
ることで一つまたは複数の補間データ信号が生成される
ことである。これにより、データ信号補間回路5から
は、基となったデータ信号と生成された補間データ信号
とからなるか、あるいは生成された補間データ信号のみ
からなる複数個、すなわちn個(nは正の整数)のデー
タ信号が後段のラッチ・アレイ回路70へ出力される。
さらに、ラッチ・アレイ回路70’では、データ信号補
間手段から入力したデータ信号が、各々の補間データ信
号の補間処理時の加重平均処理の重み付けの方法に応じ
た、クロック信号生成手段30からの複数のクロック信
号の内の所定のラッチ・タイミングを有するクロック信
号でもってラッチされる。そして、それぞれラッチされ
たデータ信号Db1〜Dbnがラッチ・アレイ回路7
0’から後段の選択出力回路40’へ出力される。
FIG. 21 is a diagram showing a block configuration example of another embodiment of the present invention. In this figure, FIG.
The description of components denoted by the same reference numerals as those of the first embodiment is omitted. The configuration example of FIG. 21 differs greatly from that of FIG. 20 in that the data signal latched by the flip-flop 1 is input to the data signal interpolation circuit 50, and is interpolated by a predetermined interpolation process. A data signal is to be generated. As a result, the data signal interpolation circuit 5 outputs a plurality of data signals consisting of the base data signal and the generated interpolation data signal or a plurality of data signals consisting of only the generated interpolation data signal, that is, n (n is a positive number) ) Data signal is output to the subsequent latch array circuit 70.
Further, in the latch array circuit 70 ′, the data signal input from the data signal interpolating means is configured to receive a plurality of data signals from the clock signal generating means 30 according to the weighting method of the weighted average processing at the time of the interpolation processing of each interpolated data signal. Among the clock signals having the predetermined latch timing. Then, the latched data signals Db1 to Dbn are applied to the latch array circuit 7 respectively.
0 'is output to the subsequent selection output circuit 40'.

【0029】データ信号Db1〜Dbnは、それらの内
の一つのデータ内容が不定な値となっている可能性があ
る。そのため、選択出力回路40’は、入力された複数
のデータ信号Db1〜Dbnの内容に応じて、それらの
内の不定な値でないデータ信号の内の一つを選択し、後
段のフリップフロップ2へ出力する。
One of the data signals Db1 to Dbn may have an undefined data content. Therefore, the selection output circuit 40 ′ selects one of the data signals having an indefinite value among the plurality of input data signals Db 1 to Dbn in accordance with the contents of the input data signals Db 1 to Dbn, Output.

【0030】フリップフロップ2は、選択された信号を
入力し出力クロック信号Coによってラッチして、後段
(図示せず)に出力する。
The flip-flop 2 receives the selected signal, latches it by the output clock signal Co, and outputs it to the subsequent stage (not shown).

【0031】以上により、不定期間にラッチされたデー
タ信号を除いた、入力データ信号と同等のデータ信号が
サンプリング周波数変換されて出力されることが可能と
なり、さらに、各入力側の複数の位相のクロック信号ご
とに、その位相に合わせた補間データをラッチするよう
にすることで、サンプリング周波数変換後のデータ信号
の波形が、変換前の波形により近似させるようにサンプ
リング周波数変換を行うことができる、サンプリング周
波数変換回路を実現することができる。
As described above, a data signal equivalent to the input data signal, excluding the data signal latched at irregular intervals, can be output after being subjected to sampling frequency conversion. By latching the interpolation data corresponding to the phase for each clock signal, the sampling frequency conversion can be performed so that the waveform of the data signal after the sampling frequency conversion approximates the waveform before the conversion. A sampling frequency conversion circuit can be realized.

【0032】図1は本発明によるサンプリング周波数変
換回路のブロック構成例を示した図である。このサンプ
リング周波数変換回路では、入力ラッチ手段(フリップ
フロップ)1と出力ラッチ手段(フリップフロップ)2
と、同期式フリップフロップ10・11・12…13、
同期式フリップフロップ20・21・22…23により
構成されるラッチ・アレイ回路70とを有し、さらに、
クロック信号生成手段30、出力選択手段40とからな
る。
FIG. 1 is a diagram showing an example of a block configuration of a sampling frequency conversion circuit according to the present invention. In this sampling frequency conversion circuit, input latch means (flip-flop) 1 and output latch means (flip-flop) 2
, And synchronous flip-flops 10, 11, 12,.
23, and a latch array circuit 70 composed of synchronous flip-flops 20, 21, 22,.
It comprises a clock signal generating means 30 and an output selecting means 40.

【0033】フリップフロップ1には、前段(図示せ
ず)から、例えばディジタル映像信号が入力データ信号
Diとして入力され、入力データ信号Diのサンプリン
グ周波数である入力側クロック信号Ciでもってラッチ
される。フリップフロップ1からはデータ信号1aが出
力される。このデータ信号1aは、フリップフロップ1
で、データ切り換わり変化点近傍のデータの不安定領域
(不定期間)が、データの安定領域よりも極力短くなる
ような、所要の信号立ち上がり立ち下がり速度を有する
データ信号とされる。
From the preceding stage (not shown), for example, a digital video signal is input to the flip-flop 1 as an input data signal Di, and is latched by an input clock signal Ci which is a sampling frequency of the input data signal Di. Flip-flop 1 outputs data signal 1a. This data signal 1a is supplied to the flip-flop 1
Thus, a data signal having a required signal rising / falling speed such that an unstable region (undefined period) of data near the data switching change point is as short as possible than a stable region of data.

【0034】クロック信号生成手段30は、入力側クロ
ック信号Ciを基にして互いに所定量ずつ位相が異な
り、かつ、同一周波数のクロック信号30a、30b・
・・30cの複数個のクロック信号が生成される。な
お、このクロック信号の位相差(位相間隔)はラッチ動
作等に使用される同期式フリップフロップの特性の一つ
である、不定期間より長く設定される。また、図1では
同一周波数で互いに位相の異なったラッチ用のクロック
数が4個以上の場合について示した図となっているが、
これ以外にクロック数が2個または3個の場合であって
も、本発明の特徴を有したサンプリング周波数変換回路
を実現することができる。
The clock signal generating means 30 generates clock signals 30a, 30b,... Having the same frequency and different phases from each other based on the input side clock signal Ci.
.. A plurality of clock signals of 30c are generated. The phase difference (phase interval) of the clock signal is set to be longer than the indefinite period, which is one of the characteristics of the synchronous flip-flop used for the latch operation and the like. FIG. 1 shows a case where the number of latch clocks having the same frequency and different phases from each other is four or more.
In addition, even when the number of clocks is two or three, a sampling frequency conversion circuit having the features of the present invention can be realized.

【0035】同期式フリップフロップ10・11・12
…13には、共にデータ信号1aが入力され、それぞれ
クロック信号Ci・30a・30b…30cでラッチさ
れる。クロック信号Ci・30a・30b…30cは周
波数が同じであり、それぞれクロック信号同士の位相差
が同期式フリップフロップの不定期間より長く設定され
ていることで、その不定期間中に、複数のクロック信号
のラッチ・タイミングのうち、たかだか一つのクロック
信号のラッチ・タイミングのみがその不定期間にはいる
か、あるいは一つも入らない。従って、複数の同期式フ
リップフロップの少なくとも一つ以上のフリップフロッ
プでは確実に安定したデータ信号をラッチできる。その
ため、データの切り換わり位相がそれぞれ異なり、か
つ、少なくとも一つ以上のデータが確実に入力された信
号がサンプリングされた、複数のデータ信号10a・1
1a・12a…13aが出力される。
Synchronous flip-flops 10, 11 and 12
.. 13 are input with the data signal 1a, and are latched by clock signals Ci.30a, 30b. The clock signals Ci, 30a, 30b,... 30c have the same frequency, and the phase difference between the clock signals is set longer than the indefinite period of the synchronous flip-flop. Of the latch timings, only one of the latch timings of the clock signal is in the irregular period, or none of them is included. Therefore, at least one or more of the plurality of synchronous flip-flops can reliably latch a stable data signal. Therefore, a plurality of data signals 10a and 1a are obtained by sampling a signal to which data switching phases are respectively different and at least one of which data is reliably input.
13a are output.

【0036】上記フリップフロップから出力された位相
が異なる複数個のデータ信号10a・11a・12a…
13aが同期式フリップフロップ20・21・22…2
3にそれぞれ入力され、出力側クロック信号Coでラッ
チされる。それぞれデータ信号10a・11a・12a
…13aのサンプリング周波数であるクロック信号Ci
・30a・30b…30cと出力側クロック信号Coと
は非同期なため、同期式フリップフロップ20・21・
22…23のラッチした複数個の出力データ信号20a
・21a・22a…23aの内どれかは上述したように
データの不定期間にラッチされたために入力されたデー
タとは異なったデータを持っている可能性があるが、そ
れ以外のデータは安定した状態のデータ、すなわち、入
力されたデータと同じデータがラッチされたものであ
る。
A plurality of data signals 10a, 11a, 12a,... Having different phases output from the flip-flops.
13a are synchronous flip-flops 20, 21, 22... 2
3 and latched by the output clock signal Co. Data signals 10a, 11a, 12a respectively
.. Clock signal Ci having a sampling frequency of 13a
.. 30c and the output side clock signal Co are asynchronous, so that the synchronous flip-flops 20 ・ 21 ・
22 ... 23 a plurality of latched output data signals 20a
Any of 21a, 22a... 23a may have data different from the input data because the data is latched at irregular intervals as described above, but the other data is stable. The state data, that is, the same data as the input data is latched.

【0037】選択出力手段40は複数個の出力データ信
号20a・21a・22a…23aからデータ信号の変
化点のデータ又はデータ信号の変化点の前後となるデー
タを見つけ、そのデータから約半周期異なって変化する
位相、すなわち逆位相に相当するデータ信号またはその
逆位相に近い位相のデータ信号を選択することで、最も
好ましい位相のクロック信号でラッチされたデータをデ
ータ信号2cとして出力する。
The selection output means 40 finds data at the data signal change point or data before and after the data signal change point from the plurality of output data signals 20a, 21a, 22a,. The data latched by the clock signal having the most preferable phase is output as the data signal 2c by selecting the data signal corresponding to the phase which changes by the clock signal, that is, the data signal corresponding to the opposite phase or the phase close to the opposite phase.

【0038】同期式フリップフロップ2には、データ信
号2cが入力され、サンプリング変換後のサンプリング
周波数をもつ出力側クロック信号Coでもって、ラッチ
される。同期式フリップフロップ2からは、選択出力手
段40での選択処理動作中に生じたタイミングの遅れや
ばらつきの影響の無い、出力側クロック信号Coをサン
プリング周波数とするデータ信号Doが出力される。
The data signal 2c is input to the synchronous flip-flop 2, and is latched by the output clock signal Co having the sampling frequency after the sampling conversion. The synchronous flip-flop 2 outputs a data signal Do having a sampling frequency of the output side clock signal Co, which is not affected by a timing delay or variation occurring during the selection processing operation by the selection output means 40.

【0039】こうして入力側クロック信号Ciをサンプ
リング・クロックとする入力データ信号Diが、出力側
クロック信号Coをサンプリング・クロックとする出力
データ信号Doにサンプリング周波数変換される。
In this way, the sampling frequency of the input data signal Di using the input clock signal Ci as the sampling clock is converted to the output data signal Do using the output clock signal Co as the sampling clock.

【0040】以下、図2および図3を用いて、n=4の
場合のクロック信号生成手段30と、選択出力手段40
の内部構成例およびそれらの動作について説明する。
Hereinafter, referring to FIGS. 2 and 3, the clock signal generation means 30 and the selection output means 40 when n = 4 will be described.
An example of the internal configuration and their operations will be described.

【0041】図2はクロック信号生成手段30の一構成
例を示している。本例のクロック信号生成手段には、入
力側クロック信号Ciと共に、それに同期した2倍の周
波数を逆位相にしたクロック信号31aを入力すること
で、目的とするクロック信号を生成するための回路とな
っている。本手段は同期式フリップフロップ31を有
し、信号反転回路32・33を加えて構成される。
FIG. 2 shows an example of the configuration of the clock signal generating means 30. A circuit for generating a target clock signal by inputting a clock signal 31a having an opposite phase to a double frequency synchronized with the input side clock signal Ci to the clock signal generation means of the present example, Has become. This means has a synchronous flip-flop 31 and is configured by adding signal inverting circuits 32 and 33.

【0042】同期式フリップフロップ31は、クロック
信号31aを用いて入力側クロック信号Ciをラッチす
ることで、出力データ信号として入力側クロック信号C
iに対して4分の1位相分遅れた位相のクロック信号3
0aを発生する。
The synchronous flip-flop 31 latches the input-side clock signal Ci using the clock signal 31a, so that the input-side clock signal C
The clock signal 3 having a phase delayed by a quarter phase from i.
0a is generated.

【0043】信号反転回路32では、入力側クロック信
号Ciを反転させることで入力側クロック信号Ciから
2分の1位相分遅れた位相のクロック信号30bを発生
する。
The signal inverting circuit 32 inverts the input clock signal Ci to generate a clock signal 30b having a phase delayed by a half phase from the input clock signal Ci.

【0044】信号反転回路33では、クロック信号30
aを反転させることで入力側クロック信号Ciから4分
の3位相分遅れた位相のクロック信号30dを発生す
る。
In the signal inverting circuit 33, the clock signal 30
By inverting a, a clock signal 30d having a phase delayed by three quarters from the input side clock signal Ci is generated.

【0045】こうして同一周波数で4分の1ずつ位相の
異なるクロック信号Ci・30a・30b・30dがそ
ろって生成される。
In this way, clock signals Ci, 30a, 30b, and 30d having the same frequency and different phases by one quarter are generated together.

【0046】図3は選択出力手段40の一構成例を示し
ている。本例の選択出力手段は、ディジタルコンパレー
タ41・42・43と、セレクタ44・45・46とで
構成される。
FIG. 3 shows an example of the configuration of the selection output means 40. The selection output means of this example is composed of digital comparators 41, 42, 43 and selectors 44, 45, 46.

【0047】ディジタルコンパレータ41はデータ信号
21aとデータ信号22aの内容を比較する。また、デ
ィジタルコンパレータ42はデータ信号22aとデータ
信号23aの内容同士を比較する。また、ディジタルコ
ンパレータ43はデータ信号23aとデータ信号20a
の内容を比較する。これらコンパレータ41・42・4
3は、それぞれ比較された内容同士が一致していればH
igh、異なればLowの信号を出力する。
The digital comparator 41 compares the contents of the data signal 21a and the data signal 22a. The digital comparator 42 compares the contents of the data signal 22a and the data signal 23a. The digital comparator 43 outputs the data signal 23a and the data signal 20a.
Compare the contents of These comparators 41, 42, 4
3 is H if the compared contents match each other.
If it is different, a signal of Low is output.

【0048】セレクタ44はディジタルコンパレータ4
1の出力がHighのときデータ信号22aを、Low
のときデータ信号23aを選択して出力する。
The selector 44 is a digital comparator 4
1 is High, the data signal 22a is changed to Low.
At this time, the data signal 23a is selected and output.

【0049】セレクタ45はディジタルコンパレータ4
2の出力がHighのときセレクタ44の出力を、Lo
wのときデータ信号20aを選択して出力する。
The selector 45 is a digital comparator 4
2 is High, the output of the selector 44 is set to Lo.
At the time of w, the data signal 20a is selected and output.

【0050】セレクタ46はディジタルコンパレータ4
3の出力がHighのときセレクタ45の出力を、Lo
wのときデータ信号21aを選択して、データ信号2c
として後段に出力する。
The selector 46 is a digital comparator 4
3 is High, the output of the selector 45 is set to Lo.
In the case of w, the data signal 21a is selected and the data signal 2c is selected.
And output to the subsequent stage.

【0051】表1に図3の選択出力手段40の動作につ
いて、データ信号20a・21a・22a・23aの内
容が値「D0」から値「D1」に変化するときのデータ
内容に応じた、データ信号2cの関係を示す。「x」は
変化点でラッチされたために、入力された値「D0」、
「D1」に確定されない不定なデータを表す。
Table 1 shows the operation of the selection output means 40 shown in FIG. 3 according to the data contents when the contents of the data signals 20a, 21a, 22a and 23a change from the value "D0" to the value "D1". The relation of the signal 2c is shown. Since “x” is latched at the transition point, the input value “D0”,
This represents indefinite data that is not determined as “D1”.

【0052】[0052]

【表1】 [Table 1]

【0053】図4は図20におけるサンプリング周波数
変換回路の例であって、3つの位相のクロック信号を用
いた場合(n=3の場合)の回路の一構成例を示してい
る。この図において、図1、図2、図3と同じ符号が付
されたものは、説明を省略する。信号反転回路34は図
2の信号反転回路33と同じものであるが、ここから出
力される4分の3位相遅れた信号30eはクロック信号
として同期式フリップフロップ12に入力され使用され
る。図1同様に、入力側クロック信号Ciをサンプリン
グ周波数とする入力データ信号Diが、出力側クロック
信号Coをサンプリング周波数とする出力データ信号D
oにサンプリング周波数変換される。
FIG. 4 shows an example of the sampling frequency conversion circuit in FIG. 20 and shows a configuration example of a circuit when clock signals of three phases are used (when n = 3). In this figure, the description of the same reference numerals as those in FIGS. 1, 2 and 3 is omitted. The signal inverting circuit 34 is the same as the signal inverting circuit 33 in FIG. 2, but a signal 30e delayed by three quarters output from the signal inverting circuit 34 is input to the synchronous flip-flop 12 as a clock signal and used. Similarly to FIG. 1, the input data signal Di having the input clock signal Ci as the sampling frequency is changed to the output data signal D using the output clock signal Co as the sampling frequency.
The sampling frequency is converted to o.

【0054】図5に図4のサンプリング周波数変換回路
のタイミングチャートの一例を示す。
FIG. 5 shows an example of a timing chart of the sampling frequency conversion circuit of FIG.

【0055】表2に図4の選択出力手段の動作につい
て、入力データ信号Diの内容が「D0」から「D1」
へ変化するときのデータ内容に応じた、出力側のデータ
信号20a・21a・22aの内容がとりうる状態と、
データ信号2cの関係を示す。
Table 2 shows that the contents of the input data signal Di are changed from "D0" to "D1" with respect to the operation of the selection output means of FIG.
A state in which the contents of the data signals 20a, 21a, and 22a on the output side can be taken according to the data contents when changing to
The relation of the data signal 2c is shown.

【0056】[0056]

【表2】 [Table 2]

【0057】図6は図21におけるサンプリング周波数
変換回路の例であって、3つの位相のクロック信号を用
い、さらに、中点を補間する場合の一構成例を示してい
る。図4と同じ符号を持つものは同様の働きをするもの
なので説明を省略する。補間演算手段54は、この場合
中点を補間するためにデータ信号1aとデータ信号10
aの平均を求める演算を行う。補間演算手段54から出
力される補間データ信号54aは平均値を求める演算の
結果である値となって、同期式フリップフロップ11・
12に入力される。
FIG. 6 shows an example of the sampling frequency conversion circuit shown in FIG. 21, and shows an example of a configuration in which clock signals of three phases are used and a middle point is interpolated. The components having the same reference numerals as those in FIG. In this case, the interpolation calculation means 54 uses the data signal 1a and the data signal 10 to interpolate the middle point.
An operation for calculating the average of a is performed. The interpolation data signal 54a output from the interpolation calculation means 54 is a value that is the result of the calculation for obtaining the average value,
12 is input.

【0058】図7に図6のサンプリング周波数変換回路
のタイミングチャートの一例を示す。
FIG. 7 shows an example of a timing chart of the sampling frequency conversion circuit of FIG.

【0059】表3に図21に示された選択出力回路4
0’に相当する図6の選択出力手段の動作について、入
力データ信号Diの内容が値「D0」から「D1」、さ
らに「D2」へ変化することに対する、出力側のデータ
信号20a・21a・22aの内容がとりうる状態と、
データ信号2cとの関係を示す。表3の中で「D01」
は「D0」と「D1」の比率が1対1で加算平均された
補間されたデータの値、「D12」は「D1」と「D
2」の比率が1対1で加算平均された補間されたデータ
の値を表す。
Table 3 shows the selection output circuit 4 shown in FIG.
As for the operation of the selection output means in FIG. 6 corresponding to 0 ', the output-side data signals 20a, 21a,... In response to the change of the content of the input data signal Di from the value "D0" to "D1" and further to "D2" States that the contents of 22a can be taken;
The relationship with the data signal 2c is shown. "D01" in Table 3
Is the value of the interpolated data obtained by averaging the ratio of “D0” and “D1” in a one-to-one ratio, and “D12” is the value of “D1” and “D1”.
The ratio of “2” represents the value of the interpolated data obtained by averaging 1: 1.

【0060】[0060]

【表3】 [Table 3]

【0061】図8は図21におけるサンプリング周波数
変換回路の例であって、4つの位相のクロック信号を用
いて3点補間する場合の一構成例を示している。図1、
図2、図3、図4と同じ符号を持つものは同様の働きを
するものなので説明を省略する。
FIG. 8 is an example of the sampling frequency conversion circuit shown in FIG. 21 and shows an example of a configuration in which three-point interpolation is performed using clock signals of four phases. Figure 1,
Those having the same reference numerals as those in FIGS. 2, 3 and 4 have the same functions, and therefore the description thereof will be omitted.

【0062】補間演算手段51は、データ信号1aとデ
ータ信号10aからクロック信号30aの位相に対する
補間値を求める演算器である。ここで直線補間を例とす
る場合について説明すると、データ信号1aとデータ信
号10aを1対3の比率で加重平均して補間データ信号
51aを出力する。
The interpolation calculating means 51 is a calculator for obtaining an interpolation value for the phase of the clock signal 30a from the data signal 1a and the data signal 10a. Here, a case where linear interpolation is taken as an example will be described. The data signal 1a and the data signal 10a are weighted and averaged at a ratio of 1: 3 to output an interpolation data signal 51a.

【0063】補間演算手段52は、データ信号1aとデ
ータ信号10aからクロック信号30bの位相に対する
補間値を求める演算器である。直線補間の場合は、デー
タ信号1aとデータ信号10aを1対1の比率で加重平
均して補間データ信号52aを出力する。
The interpolation calculating means 52 is a calculator for obtaining an interpolation value for the phase of the clock signal 30b from the data signal 1a and the data signal 10a. In the case of linear interpolation, the data signal 1a and the data signal 10a are weighted and averaged at a ratio of 1: 1 to output an interpolation data signal 52a.

【0064】補間演算手段53は、データ信号1aとデ
ータ信号10aからクロック信号30cの位相に対する
補間値を求める演算器である。直線補間の場合は、デー
タ信号1aとデータ信号10aを3対1の比率で加重平
均して補間データ信号53aを出力する。
The interpolation calculating means 53 is a calculator for obtaining an interpolation value for the phase of the clock signal 30c from the data signal 1a and the data signal 10a. In the case of linear interpolation, the data signal 1a and the data signal 10a are weighted and averaged at a ratio of 3: 1 to output an interpolation data signal 53a.

【0065】ラッチ手段11はクロック信号30aで補
間データ信号51aをラッチし、ラッチ手段12はクロ
ック信号30bで補間データ信号52aをラッチし、ラ
ッチ手段14はクロック信号30cで補間データ信号5
3aをラッチし、その結果4つのラッチ手段10・11
・12・13はクロック信号Ci・30a・30b・3
0cの4つの位相について望ましい4つのデータ信号1
0a・11a・12a・13aを出力する。
The latch means 11 latches the interpolation data signal 51a with the clock signal 30a, the latch means 12 latches the interpolation data signal 52a with the clock signal 30b, and the latch means 14 latches the interpolation data signal 5 with the clock signal 30c.
3a, so that four latch means 10 and 11 are latched.
12 and 13 are clock signals Ci 30a 30b 3
Four data signals 1 for the four phases 0c
0a, 11a, 12a, and 13a are output.

【0066】この4つの位相のデータ信号10a・11
a・12a・13aはラッチ手段20・21・22・2
3によりクロック信号Coでそれぞれラッチされ、デー
タ信号20a・21a・22a・23aをそれぞれ出力
するが、それぞれの位相について望ましい補間データ信
号になっているので安定したデータを持つ場合でも隣の
位相のデータとお互いに内容が異なる。
The data signals 10a and 11 of these four phases
a, 12a, 13a are latch means 20, 21, 22, 2
3 are latched by the clock signal Co and output the data signals 20a, 21a, 22a, and 23a, respectively. Since the interpolation data signal is desirable for each phase, even if the data has stable data, the data of the adjacent phase is output. And the contents are different from each other.

【0067】そのため、ディジタルコンパレータ41・
42・43で安定な出力信号を判定し選択するために
は、安定したデータを持つ場合に隣の位相のデータと内
容が等しくなる必要がある。そこで出力を判定するた
め、入力クロック信号側にラッチ手段110・120・
130、出力クロック信号側にラッチ手段210・22
0・230を各位相間に1つずつ追加する。
Therefore, the digital comparator 41
In order to determine and select a stable output signal in steps 42 and 43, it is necessary that the content is the same as that of the data of the adjacent phase when the data has stable data. Therefore, in order to determine the output, the latch means 110, 120,.
130, latch means 210 and 22 on the output clock signal side
0.230 is added one between each phase.

【0068】ラッチ手段110はクロック信号30aで
クロック信号30bの位相に望ましい補間データ信号5
2aをラッチしてデータ信号110aを出力する。ラッ
チ手段210はクロック信号Coでデータ信号110a
をラッチしてデータ信号210aを出力する。ディジタ
ルコンパレータ410では共に補間データ信号52aか
らラッチして出力したデータ信号22aとデータ信号2
10aの内容を比較し、一致している場合はデータ信号
22aが安全と判定しHighを、異なればLowを出
力する。
The latch means 110 uses the clock signal 30a and the desired interpolation data signal 5 for the phase of the clock signal 30b.
2a is latched and a data signal 110a is output. The latch means 210 receives the data signal 110a with the clock signal Co.
And outputs a data signal 210a. The digital comparator 410 latches and outputs the data signal 22a and the data signal 2 from the interpolation data signal 52a.
The contents of 10a are compared, and if they match, the data signal 22a is determined to be safe and High is output, and if different, Low is output.

【0069】ラッチ手段120はクロック信号30bで
クロック信号30cの位相に望ましい補間データ信号5
3aをラッチしてデータ信号120aを出力する。ラッ
チ手段220はクロック信号Coでデータ信号120a
をラッチしてデータ信号220aを出力する。ディジタ
ルコンパレータ411では共に補間データ信号53aか
らラッチして出力したデータ信号23aとデータ信号2
20aの内容を比較し、一致している場合はデータ信号
23aが安全と判定しHighを、異なればLowを出
力する。
The latch means 120 outputs the desired interpolated data signal 5 to the phase of the clock signal 30c with the clock signal 30b.
Latch 3a and outputs data signal 120a. The latch means 220 outputs the data signal 120a with the clock signal Co.
And outputs a data signal 220a. The digital comparator 411 latches and outputs the data signal 23a and the data signal 2 from the interpolation data signal 53a.
The contents of 20a are compared, and if they match, the data signal 23a is determined to be safe and High is output, and if different, Low is output.

【0070】ラッチ手段130はクロック信号30cで
クロック信号Ciの位相に望ましいデータ信号1aをラ
ッチしてデータ信号130aを出力する。ラッチ手段2
30はクロック信号Coでデータ信号130aをラッチ
してデータ信号230aを出力する。ディジタルコンパ
レータ412では共にデータ信号1aからラッチして出
力したデータ信号20aとデータ信号230aの内容を
比較し、一致している場合はデータ信号20aが安全と
判定しHighを、異なればLowを出力する。
The latch means 130 latches the desired data signal 1a at the phase of the clock signal Ci with the clock signal 30c and outputs the data signal 130a. Latch means 2
Reference numeral 30 outputs a data signal 230a by latching the data signal 130a with the clock signal Co. The digital comparator 412 compares the data signal 20a latched and output from the data signal 1a with the contents of the data signal 230a. If they match, the data signal 20a is determined to be safe and High is output if different, and Low is output. .

【0071】こうして入力側クロック信号Ciをサンプ
リング周波数とする入力データ信号Diが、出力側クロ
ック信号Coをサンプリング周波数とする出力データ信
号Doにサンプリング周波数変換しながら3点の位相を
補間することができる。
In this way, the input data signal Di having the input clock signal Ci as the sampling frequency can be interpolated at three points while the sampling frequency is converted to the output data signal Do having the output clock signal Co as the sampling frequency. .

【0072】図9に図8のサンプリング周波数変換回路
のタイミングチャートの一例を示す。
FIG. 9 shows an example of a timing chart of the sampling frequency conversion circuit of FIG.

【0073】表4に図8の選択出力手段の動作につい
て、入力データ信号Diの内容が値「D0」から「D
1」、「D2」へ変化することに対する、出力側のデー
タ信号20a・210a・21a・220a・22a・
230a・23aの内容がとりうる状態と、データ信号
2cの関係を示す。表4の中で「D11」は「D0」と
「D1」の比率を3対1として加重平均したデータ信号
の値を、「D12」は「D0」と「D1」の比率を1対
1として加算平均したデータ信号の値を、「D13」は
「D0」と「D1」の比率を1対3として加重平均した
データ信号の値を、「D21」は「D1」と「D2」の
比率を3対1として加重平均したデータ信号の値を、
「D22」は「D1」と「D2」の比率を1対1として
加算平均したデータ信号の値を、「D23」は「D1」
と「D2」の比率を1対3として加重平均したデータ信
号の値を表す。
Table 4 shows that the contents of the input data signal Di change from the value "D0" to "D
1 "and" D2 ", the output data signals 20a, 210a, 21a, 220a, 22a.
The relationship between the possible states of the contents 230a and 23a and the data signal 2c is shown. In Table 4, "D11" represents the value of the data signal obtained by weighted averaging with the ratio of "D0" and "D1" being 3: 1, and "D12" represents the ratio of "D0" and "D1" being 1: 1. The value of the data signal obtained by adding and averaging, "D13" is the value of the data signal obtained by weighted averaging with the ratio of "D0" and "D1" being 1: 3, and "D21" is the ratio of "D1" and "D2". The value of the data signal weighted averaged as 3 to 1 is
“D22” is the value of the data signal obtained by averaging the ratio of “D1” and “D2” as 1: 1 and “D23” is “D1”
And the value of the data signal obtained by weighting and averaging the ratio of “D2” to 1: 3.

【0074】[0074]

【表4】 [Table 4]

【0075】図18はサンプリング周波数変換回路の前
後にローパスフィルタを加えた場合の構成の一例であ
る。この場合サンプリング周波数変換回路60、帯域制
限用ローパスフィルタ61、サンプリング周波数変換誤
差改善用ローパスフィルタ62で構成されている。
FIG. 18 shows an example of a configuration in which a low-pass filter is added before and after the sampling frequency conversion circuit. In this case, a sampling frequency conversion circuit 60, a band-pass low-pass filter 61, and a sampling frequency conversion error improving low-pass filter 62 are provided.

【0076】フィルタ61と62のそれぞれの周波数特
性を合成してなる周波数特性は、全回路の出力200f
で要求する周波数特性を満足するように設定する。例え
ば出力200fで要求される周波数特性が1.5MHz
以下までは−3dB以上で3.5MHz以上は−20d
B以下である場合、帯域制限用ローパスフィルタ61
は、1.5MHz以下までは−2dB以上で3.5MH
z以上は−20dB以下という特性にして十分な帯域制
限を行い、サンプリング周波数変換誤差改善用ローパス
フィルタ62は、1.5MHz以下まで−1dB以上の
特性を持つフィルタにして、合計での特性が1.5MH
z以下までは−3dB以上で3.5MHz以上は−20
dB以下になるようにする データ信号のサンプリング
周波数となる入力側クロック信号Ciと出力側クロック
信号Coの周波数の組合せが変わる場合は、出力200
fで要求する周波数特性になるように、帯域制限用ロー
パスフィルタ61とサンプリング周波数変換誤差改善用
ローパスフィルタ62のフィルタ係数をその組合せの変
化に応じて変える。
The frequency characteristics obtained by synthesizing the respective frequency characteristics of the filters 61 and 62 correspond to the output 200f of all the circuits.
Is set so as to satisfy the required frequency characteristics. For example, the frequency characteristic required at an output of 200f is 1.5 MHz
Up to -3 dB and up to 3.5 MHz and up to -20 dB
B or less, the band-pass low-pass filter 61
Is 3.5 MHz at -2 dB or more up to 1.5 MHz or less.
The frequency band from z to -20 dB is set to a characteristic of -20 dB or less, and the band is sufficiently limited. The low-pass filter 62 for improving sampling frequency conversion error is a filter having a characteristic of -1 dB or more to 1.5 MHz or less. .5MH
-3 dB or more up to z and -20 at 3.5 MHz or more
When the combination of the frequency of the input clock signal Ci and the frequency of the output clock signal Co, which is the sampling frequency of the data signal, changes, the output 200
The filter coefficients of the band-limiting low-pass filter 61 and the sampling frequency conversion error improving low-pass filter 62 are changed according to the change in the combination so that the frequency characteristic required by f is obtained.

【0077】図19は図18の構成のサンプリング周波
数変換回路でクロック比が3:4になるようにサンプリ
ング周波数変換を行った場合の出力誤差の一例である。
縦軸がデータの値を表し、横軸がデータの相対時間を表
す。入力側Diのグラフの104aは回路全体の入力デ
ータ信号、104bは出力200fで要求される周波数
特性に合わせて帯域制限用ローパスフィルタ61で帯域
制限された入力データ信号を表す。出力側Doのグラフ
の204eはサンプリング周波数変換回路60の出力デ
ータ信号、204fは回路全体の出力データ信号、20
4bは本来あるべき出力データ信号、204dは104
aのデータ信号を直接サンプリング周波数変換した場合
の出力データ信号を表す。204dより204e、更に
204fが204bの本来あるべき出力データ信号に近
い波形となる。
FIG. 19 shows an example of an output error when the sampling frequency conversion is performed by the sampling frequency conversion circuit having the configuration of FIG. 18 so that the clock ratio becomes 3: 4.
The vertical axis represents the value of the data, and the horizontal axis represents the relative time of the data. In the graph on the input side Di, reference numeral 104a denotes an input data signal of the entire circuit, and reference numeral 104b denotes an input data signal which is band-limited by the band-pass low-pass filter 61 in accordance with a frequency characteristic required for the output 200f. In the graph of the output side Do, 204e is an output data signal of the sampling frequency conversion circuit 60, 204f is an output data signal of the entire circuit, 20f
4b is an output data signal that should be, 204d is 104
4A shows an output data signal when the data signal of FIG. From 204d to 204e and further to 204f, the waveform becomes closer to the original output data signal of 204b.

【0078】[0078]

【発明の効果】本発明によれば、入力側に複数の位相の
データ信号を用意するためのクロック信号生成手段およ
びラッチ手段を用いて、出力側でデータが安定している
位相のデータ信号を選択し出力することができるため、
安定した正しいデータ信号の転送を確実に行える。
According to the present invention, a data signal having a phase whose data is stable at an output side is provided by using a clock signal generating means and a latching means for preparing a data signal having a plurality of phases at an input side. Because you can select and output
Stable and correct data signal transfer can be reliably performed.

【0079】また、本発明ではデータ信号の判別に影響
のない範囲でデータ信号の内容を位相に合わせて補間す
るために補間演算手段を用いることで、サンプリング周
波数変換誤差を改善できる。
Further, according to the present invention, the sampling frequency conversion error can be improved by using the interpolation operation means for interpolating the contents of the data signal in accordance with the phase within a range which does not affect the discrimination of the data signal.

【0080】さらに、本発明では出力信号に要求される
周波数帯域に対してサンプリング周波数変換回路の前段
に帯域制限用ローパスフィルタ、後段にサンプリング周
波数変換誤差改善用ローパスフィルタを用意すること
で、より正確なサンプリング周波数変換を行うことがで
きる。
Further, in the present invention, for a frequency band required for an output signal, a low-pass filter for band limitation is provided before the sampling frequency conversion circuit, and a low-pass filter for improving the sampling frequency conversion error is provided at the subsequent stage, so that more accurate measurement is possible. It is possible to perform a proper sampling frequency conversion.

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

【図1】本発明のサンプリング周波数変換回路のブロッ
ク構成例を表した図。
FIG. 1 is a diagram illustrating an example of a block configuration of a sampling frequency conversion circuit according to the present invention.

【図2】クロック信号生成手段の一構成例を示す図。FIG. 2 is a diagram illustrating a configuration example of a clock signal generation unit.

【図3】選択出力手段の一構成例を示す図。FIG. 3 is a diagram showing a configuration example of a selection output unit.

【図4】サンプリング周波数変換回路の実施例のプロッ
ク構成を示す図。
FIG. 4 is a diagram showing a block configuration of an embodiment of a sampling frequency conversion circuit.

【図5】図4のサンプリング周波数変換回路のタイミン
グチャートの一例を示す図。
FIG. 5 is a diagram showing an example of a timing chart of the sampling frequency conversion circuit of FIG. 4;

【図6】サンプリング周波数変換回路の実施例のプロッ
ク構成を示す図。
FIG. 6 is a diagram showing a block configuration of an embodiment of a sampling frequency conversion circuit.

【図7】図6のサンプリング周波数変換回路のタイミン
グチャートの一例を示す図。
FIG. 7 is a diagram showing an example of a timing chart of the sampling frequency conversion circuit of FIG. 6;

【図8】サンプリング周波数変換回路の実施例のプロッ
ク構成を示す図。
FIG. 8 is a diagram showing a block configuration of an embodiment of a sampling frequency conversion circuit.

【図9】図8のサンプリング周波数変換回路のタイミン
グチャートの一例を示す図。
9 is a diagram showing an example of a timing chart of the sampling frequency conversion circuit of FIG. 8;

【図10】従来のサンプリング周波数変換回路のブロッ
ク構成例を示す図。
FIG. 10 is a diagram showing an example of a block configuration of a conventional sampling frequency conversion circuit.

【図11】従来のサンプリング周波数変換回路のタイミ
ングチャートの一例を表す図。
FIG. 11 is a diagram illustrating an example of a timing chart of a conventional sampling frequency conversion circuit.

【図12】従来のサンプリング周波数変換回路でサンプ
リング周波数変換を行った場合のタイミングチャートの
一例を示す図。
FIG. 12 is a diagram showing an example of a timing chart when a sampling frequency conversion is performed by a conventional sampling frequency conversion circuit.

【図13】従来のサンプリング周波数変換回路でサンプ
リング周波数変換した場合の出力誤差の一例を示す図。
FIG. 13 is a diagram illustrating an example of an output error when a sampling frequency is converted by a conventional sampling frequency conversion circuit.

【図14】従来のサンプリング周波数変換回路でサンプ
リング周波数変換した場合の出力誤差の一例を示す図。
FIG. 14 is a diagram illustrating an example of an output error when a sampling frequency is converted by a conventional sampling frequency conversion circuit.

【図15】従来のサンプリング周波数変換回路でサンプ
リング周波数変換を行った場合のタイミングチャートの
一例を示す図。
FIG. 15 is a diagram showing an example of a timing chart when a sampling frequency conversion is performed by a conventional sampling frequency conversion circuit.

【図16】従来のサンプリング周波数変換回路でサンプ
リング周波数変換した場合の出力誤差の一例を示す図。
FIG. 16 is a diagram illustrating an example of an output error when a sampling frequency is converted by a conventional sampling frequency conversion circuit.

【図17】従来のサンプリング周波数変換回路でサンプ
リング周波数変換した場合の出力誤差の一例を示す図。
FIG. 17 is a diagram illustrating an example of an output error when a sampling frequency is converted by a conventional sampling frequency conversion circuit.

【図18】サンプリング周波数変換回路の前後にローパ
スフィルタを加えた構成の例を示す図。
FIG. 18 is a diagram showing an example of a configuration in which a low-pass filter is added before and after a sampling frequency conversion circuit.

【図19】図18に構成例を示す回路でサンプリング周
波数変換した場合の出力誤差の一例を示す図。
19 is a diagram illustrating an example of an output error when the sampling frequency is converted by the circuit whose configuration example is illustrated in FIG. 18;

【図20】本発明のサンプリング周波数変換回路のブロ
ック構成例を表した図。
FIG. 20 is a diagram illustrating an example of a block configuration of a sampling frequency conversion circuit according to the present invention.

【図21】本発明のサンプリング周波数変換回路のブロ
ック構成例を表した図。
FIG. 21 is a diagram illustrating an example of a block configuration of a sampling frequency conversion circuit according to the present invention.

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

1:同期式フリップフロップ、2:同期式フリップフロ
ップ、10,11,12,・・・,13:同期式フリッ
プフロップ、14:同期式フリップフロップ、20,2
1,22,・・・,23:同期式フリップフロップ、2
4:同期式フリップフロップ、30:クロック信号生成
手段、31:同期式フリップフロップ、32,33,3
4:信号反転回路、40:選択出力手段、41,42,
43:ディジタルコンパレータ、44,45,46:セ
レクタ、50,50’:補間演算手段、51,52,5
3:補間演算手段、110,120,140,210,
220,230:同期式フリップフロップ、60:サン
プリング周波数変換回路、61:帯域制限用ローパスフ
ィルタ、62:サンプリング周波数変換誤差改善用ロー
パスフィルタ、70,70’:ラッチ・アレイ回路
1: Synchronous flip-flop, 2: Synchronous flip-flop, 10, 11, 12,..., 13: Synchronous flip-flop, 14: Synchronous flip-flop, 20, 2
1, 22,..., 23: synchronous flip-flop, 2
4: synchronous flip-flop, 30: clock signal generation means, 31: synchronous flip-flop, 32, 33, 3
4: signal inversion circuit, 40: selection output means, 41, 42,
43: digital comparator, 44, 45, 46: selector, 50, 50 ': interpolation calculation means, 51, 52, 5
3: interpolation calculation means, 110, 120, 140, 210,
220, 230: synchronous flip-flop, 60: sampling frequency conversion circuit, 61: low-pass filter for band limitation, 62: low-pass filter for improving sampling frequency conversion error, 70, 70 ': latch array circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 入力されたデジタルデータ信号(第1の
データ信号)のサンプリング周波数を変換し、該変換さ
れたデジタルデータ信号(第2のデータ信号)を出力す
るためのサンプリング周波数変換回路において、上記第
1のデータ信号のデータの切り替わりタイミング位相に
対してそれぞれ所定位相ずれたタイミングで切り替わる
とともに、上記所定位相それぞれに応じて上記第1のデ
ータ信号が遅延された値を有する複数データ信号を生成
する手段と、上記生成された複数データ信号および第1
のデータ信号の内の複数データ信号それぞれを上記第2
のデータ信号のデータの切り替わりタイミングを有する
クロック信号でラッチする手段と、上記ラッチされた複
数データ信号の値どうしが比較され、該比較結果に応じ
て上記ラッチされた複数データ信号の内の一つが選択さ
れ、該選択されたデータ信号を第2のデータ信号として
出力する手段とを有することを特徴とするサンプリング
周波数変換回路。
1. A sampling frequency conversion circuit for converting a sampling frequency of an input digital data signal (first data signal) and outputting the converted digital data signal (second data signal). A plurality of data signals are switched at timings shifted by a predetermined phase with respect to the data switching timing phase of the first data signal, and the first data signal is delayed in accordance with each of the predetermined phases. Means for generating the plurality of data signals and the first
Out of the data signals of the second
Means for latching with a clock signal having a data switching timing of the data signal, and the values of the plurality of latched data signals are compared with each other, and one of the plurality of latched data signals is determined according to the comparison result. And a means for outputting the selected data signal as a second data signal.
【請求項2】 入力されたデジタルデータ信号(第1の
データ信号)のサンプリング周波数を変換し、該変換さ
れたデジタルデータ信号(第2のデータ信号)を出力す
るためのサンプリング周波数変換回路において、上記第
1のデータ信号のデータの切り替わりタイミング位相に
対してそれぞれ所定位相ずれたタイミングで切り替わる
とともに、上記所定位相それぞれに応じて上記第1のデ
ータ信号が補間された値を有する複数データ信号を生成
する手段と、上記生成された複数データ信号および第1
のデータ信号の内の複数データ信号それぞれを上記第2
のデータ信号のデータの切り替わりタイミングを有する
クロック信号でラッチする手段と、上記ラッチされたデ
ータ信号の値に応じて上記ラッチされた複数データ信号
の内の一つが選択され、該選択されたデータ信号を第2
のデータ信号として出力する手段とを有することを特徴
とするサンプリング周波数変換回路。
2. A sampling frequency conversion circuit for converting a sampling frequency of an input digital data signal (first data signal) and outputting the converted digital data signal (second data signal). A plurality of data signals having a value obtained by interpolating the first data signal in accordance with each of the predetermined phases are generated while being switched at timings shifted by a predetermined phase with respect to the data switching timing phase of the first data signal. Means for generating the plurality of data signals and the first
Out of the data signals of the second
Means for latching with a clock signal having a data switching timing of the data signal, and selecting one of the plurality of latched data signals according to the value of the latched data signal, and selecting the selected data signal. The second
And a means for outputting the data signal as a data signal.
【請求項3】 デジタルのデータ信号を入力し、該入力
データ信号のサンプリング周波数(第1の周波数)とは
必ずしも一致しないサンプリング周波数(第2の周波
数)でもって上記入力されたデータ信号をサンプリング
することで、上記データ信号のサンプリング周波数変換
を行い、該サンプリング周波数変換されたデータ信号を
出力するサンプリング周波数変換回路において、上記第
1の周波数を有する第1のクロック信号により上記入力
データ信号をラッチするフリップフロップと、上記第1
のクロック信号を基に該第1のクロック信号と同一周波
数で、かつ、該第1のクロック信号に対してそれぞれ所
定の位相差を有する一つまたは複数のクロック信号(位
相差クロック信号)を生成する手段と、上記クロック生
成手段で生成された一つまたは複数の位相差クロック信
号と第1のクロック信号の内の複数個のクロック信号
(以下、位相差クロック信号と称す)と、上記フリップ
フロップでラッチされたデータ信号と、上記第2の周波
数を有する第2のクロック信号とが入力され、該入力さ
れた位相差クロック信号の各々により上記ラッチされた
データ信号がラッチされる第1のラッチ手段と、該第1
のラッチ手段によりラッチされた複数のデータ信号がそ
れぞれ上記第2のクロック信号によりラッチされる第2
のラッチ手段とからなるラッチ・アレイ手段と、上記第
2のラッチ手段でラッチされた複数のデータ信号どうし
の値が比較され、該比較結果に応じて上記第2のラッチ
手段でラッチされた複数のデータ信号の内の所定のデー
タ安定度を有するデータ信号を選択して出力する選択出
力手段とを有することを特徴とするサンプリング周波数
変換回路。
3. A digital data signal is input, and the input data signal is sampled at a sampling frequency (second frequency) that does not always match the sampling frequency (first frequency) of the input data signal. Thus, in the sampling frequency conversion circuit that performs the sampling frequency conversion of the data signal and outputs the data signal having the converted sampling frequency, the input data signal is latched by the first clock signal having the first frequency. A flip-flop and the first
Generating one or a plurality of clock signals (phase difference clock signals) having the same frequency as the first clock signal and having a predetermined phase difference with respect to the first clock signal based on the first clock signal. And a plurality of clock signals (hereinafter referred to as phase difference clock signals) of one or more phase difference clock signals and the first clock signal generated by the clock generation means, and the flip-flop. And a second clock signal having the second frequency are inputted, and the latched data signal is latched by each of the inputted phase difference clock signals. Means and the first
The plurality of data signals latched by the latch means are respectively latched by the second clock signal.
The value of a plurality of data signals latched by the second latch means is compared with the value of a plurality of data signals latched by the second latch means, and the plurality of latched signals are latched by the second latch means in accordance with the comparison result. And a selection output means for selecting and outputting a data signal having a predetermined data stability among the data signals.
【請求項4】 請求項3に記載のサンプリング周波数
変換回路において、さらに、上記選択出力手段により、
上記第2のラッチ手段でラッチされた複数のデータ信号
の内の位相の隣り合った位相差クロック信号によりラッ
チされたデータ信号どうしの値がそれぞれ比較され、少
なくとも該比較され値が一致しないデータ信号を除いた
データ信号の中から一つのデータ信号を選択し出力する
ことを特徴とするサンプリング周波数変換回路。
4. The sampling frequency conversion circuit according to claim 3, further comprising:
The values of the data signals latched by adjacent phase difference clock signals of the plurality of data signals latched by the second latch means are compared with each other, and at least the data signals whose compared values do not match are compared. A sampling frequency conversion circuit for selecting and outputting one data signal from the data signals excluding.
【請求項5】 請求項3または4に記載のサンプリング
周波数変換回路において、さらに、上記フリップフロッ
プの出力データ信号を上記所定位相差に応じた補間演算
により補間データ信号を生成する補間演算手段を有し、
上記ラッチ・アレイ手段は上記補間データ信号をそれぞ
れ対応する位相差クロック信号によりラッチすることを
特徴とするサンプリング周波数変換回路。
5. The sampling frequency conversion circuit according to claim 3, further comprising an interpolation operation means for generating an interpolation data signal by interpolating an output data signal of said flip-flop according to said predetermined phase difference. And
A sampling frequency conversion circuit, wherein said latch array means latches said interpolation data signal by a corresponding phase difference clock signal.
【請求項6】 デジタルのデータ信号を入力し、該入力
時のサンプリング周波数(第1の周波数)とは異なった
サンプリング周波数(第2の周波数)でもって、上記入
力されたデータ信号をサンプリングすることで、サンプ
リング周波数変換を行い、該サンプリング周波数変換さ
れたデータ信号を出力するサンプリング周波数変換回路
において、上記データ信号と上記第1の周波数を有する
クロック信号(第1のクロック信号)とを入力して、上
記第1のクロック信号により上記データ信号をラッチす
るフリップフロップと、上記第1のクロック信号を入力
し、該第1のクロック信号を基に同一周波数のクロック
信号で、かつ、第1のクロック信号と所定位相差を有す
る一つまたは複数のクロック信号(位相差クロック信
号)を生成する手段と、上記クロック生成手段で生成さ
れた一つまたは複数の位相差クロック信号および第1の
クロック信号の内、少なくても複数個のクロック信号
(位相差信号等)と、上記フリップフロップの出力デー
タ信号と、上記第2の周波数を有するクロック信号(第
2のクロック信号)とが入力され、該入力された複数個
の位相差信号等により上記入力されたデータ信号をそれ
ぞれラッチする手段と該それぞれ異なった位相差でラッ
チされた複数のデータ信号をそれぞれ上記第2のクロッ
ク信号によりラッチする手段とからなるラッチ・アレイ
手段と、上記ラッチ・アレイ手段から出力された第2の
クロック信号によってラッチされた複数のデータ信号間
の値の比較を行って、その比較結果に応じて所定のデー
タの安定度を有するデータ信号を選択して出力する選択
出力手段とを有することを特徴とするサンプリング周波
数変換回路。
6. A digital data signal is input, and the input data signal is sampled at a sampling frequency (second frequency) different from the sampling frequency (first frequency) at the time of the input. In a sampling frequency conversion circuit that performs sampling frequency conversion and outputs the data signal after the sampling frequency conversion, the data signal and the clock signal (first clock signal) having the first frequency are input to the sampling frequency conversion circuit. A flip-flop for latching the data signal in response to the first clock signal, a first clock signal input thereto, a clock signal having the same frequency based on the first clock signal, and a first clock Means for generating one or more clock signals having a predetermined phase difference with the signal (phase difference clock signal); And at least a plurality of clock signals (phase difference signals, etc.) of one or a plurality of phase difference clock signals and the first clock signal generated by the clock generation means, and an output data signal of the flip-flop. And a clock signal (second clock signal) having the second frequency, and means for respectively latching the input data signals by the input plurality of phase difference signals and the like. Means for latching a plurality of data signals latched by the phase difference with the second clock signal, respectively, and latched by the second clock signal output from the latch array means. By comparing values between a plurality of data signals, selecting a data signal having predetermined data stability according to the comparison result Sampling frequency conversion circuit characterized by having a selection output means for force.
【請求項7】 請求項6に記載のサンプリング周波数変
換回路において、さらに、上記フリップフロップの出力
データ信号を上記所定位相差に応じた補間演算により補
間データを生成する補間演算手段を有し、上記ラッチ・
アレイ手段は上記補間データをそれぞれ対応する位相差
のクロック信号によりラッチすることを特徴とするサン
プリング周波数変換回路。
7. The sampling frequency conversion circuit according to claim 6, further comprising interpolation calculation means for generating interpolation data from an output data signal of said flip-flop by interpolation calculation according to said predetermined phase difference. latch·
A sampling frequency conversion circuit, wherein the array means latches the interpolation data with clock signals having a corresponding phase difference.
JP16246998A 1997-06-10 1998-06-10 Sampling frequency conversion circuit Expired - Fee Related JP3565545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16246998A JP3565545B2 (en) 1997-06-10 1998-06-10 Sampling frequency conversion circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP15143997 1997-06-10
JP9-151439 1997-06-10
JP16246998A JP3565545B2 (en) 1997-06-10 1998-06-10 Sampling frequency conversion circuit

Publications (2)

Publication Number Publication Date
JPH1168727A true JPH1168727A (en) 1999-03-09
JP3565545B2 JP3565545B2 (en) 2004-09-15

Family

ID=26480696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16246998A Expired - Fee Related JP3565545B2 (en) 1997-06-10 1998-06-10 Sampling frequency conversion circuit

Country Status (1)

Country Link
JP (1) JP3565545B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970521B2 (en) 1999-12-24 2005-11-29 Matsushita Electric Industrial Co., Ltd. Circuit and system for extracting data
US8032575B2 (en) 2006-09-11 2011-10-04 Kabushiki Kaisha Toshiba Digital signal processing apparatus and digital signal processing method
US8624651B2 (en) 2012-03-26 2014-01-07 Fujitsu Limited Interpolation circuit and receiving circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970521B2 (en) 1999-12-24 2005-11-29 Matsushita Electric Industrial Co., Ltd. Circuit and system for extracting data
US8032575B2 (en) 2006-09-11 2011-10-04 Kabushiki Kaisha Toshiba Digital signal processing apparatus and digital signal processing method
US8624651B2 (en) 2012-03-26 2014-01-07 Fujitsu Limited Interpolation circuit and receiving circuit

Also Published As

Publication number Publication date
JP3565545B2 (en) 2004-09-15

Similar Documents

Publication Publication Date Title
US6335696B1 (en) Parallel-serial conversion circuit
US4954824A (en) Sample rate conversion system having interpolation function with phase locked clock
JP3169794B2 (en) Delay clock generation circuit
JPH0468841A (en) Delay detection circuit
JP2002050960A (en) Digital phase control method, digital phase control circuit and delay lock loop
JPH1050001A (en) Reproducing device and its method
US5729227A (en) Digital audio signal mixing circuit
JPH1168727A (en) Sampling frequency converting circuit
US11646741B2 (en) Pulse width modulator with reduced pulse width
US6882371B2 (en) Method and apparatus for selective video signal sampling
JP2001136073A (en) Compression method and device, compression and expansion system, and recording medium
WO2000079686A1 (en) Digital-analog converter and method, and data interpolation device and method
US20040107231A1 (en) Data interpolating device and method, sampling function generating device, data interpolating program, and recorded medium
JPH09247137A (en) Phase error detection circuit and digital pll circuit
JP4335381B2 (en) Clock generation apparatus and clock generation method
JP3289462B2 (en) Sampling frequency converter
JPH0645936A (en) Analog/digital conversion system
JP2000216762A (en) Sampling frequency conversion circuit
JPS62225027A (en) Variable frequency divider
JPH10145350A (en) Interconnection circuit
JP3360769B2 (en) Video signal processing circuit
JP2715438B2 (en) Sampling frequency conversion device and method
JPH07273652A (en) A/d converter circuit
JP4575398B2 (en) A / D converter
JP3252606B2 (en) Digital chroma demodulation circuit

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040607

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080618

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090618

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140618

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees