JP2000216762A - Sampling frequency conversion circuit - Google Patents

Sampling frequency conversion circuit

Info

Publication number
JP2000216762A
JP2000216762A JP11017036A JP1703699A JP2000216762A JP 2000216762 A JP2000216762 A JP 2000216762A JP 11017036 A JP11017036 A JP 11017036A JP 1703699 A JP1703699 A JP 1703699A JP 2000216762 A JP2000216762 A JP 2000216762A
Authority
JP
Japan
Prior art keywords
output
data
data signal
signal
input
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
JP11017036A
Other languages
Japanese (ja)
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 JP11017036A priority Critical patent/JP2000216762A/en
Publication of JP2000216762A publication Critical patent/JP2000216762A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce an entire circuit scale by selecting and outputting a data signal corresponding to a data signal latched by one clock signal, having phase relation which is equal to or more than prescribed the phase difference to the phase of an output clock signal from among plural clock signals. SOLUTION: In n pieces of data signals Do (1.1) to Do (n.n) latched by an output clock signal Co, one data content among them has a possibility of being an indefinite value. For that reason, a selecting and outputting means 40 inputs clock signals Cd (1) to Cd (4), outputted from a synchronous flip-flop 300 and the plural data signals Do (1.1) to Do (n.n), selects one data from among data signals that are not an insufficient value from the plural inputted data signals Do (1.1) to Do (n. n) on the basis of the output signals of the flip-flop 300 and outputs a selected data signal Do' to a synchronous flip-flop 2.

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 a sampling frequency conversion on an input digital signal. The input side of the sampling frequency conversion circuit is adapted to a plurality of phases for improving a sampling frequency conversion error. By preparing a plurality of interpolated phase interpolation data, discriminating and selecting more stable phase interpolation data on the output side, and outputting the selected interpolation data, the frequency conversion of the digital signal data can be performed to more original data. The present invention relates to an improvement of a sampling frequency conversion circuit which converts data into data close to the sampling frequency.

【0002】[0002]

【従来の技術】図3は、従来の技術による回路であっ
て、出願人が先に出願した特願平10−162469号
に記載されているサンプリング周波数変換回路のブロッ
ク構成の一例を表した図である。この図を用いて、以下
従来の技術について説明する。
2. Description of the Related Art FIG. 3 shows a circuit according to the prior art, showing an example of a block configuration of a sampling frequency conversion circuit described in Japanese Patent Application No. 10-162469 filed by the applicant of the present invention. It is. The conventional technology will be described below with reference to FIG.

【0003】図3において、1はフリップフロップ、3
0はクロック信号発生回路、50はデータ信号補間回
路、71は位相別入力ラッチ群、72は出力ラッチ群、
73は比較用入力ラッチ群、74は比較用出力ラッチ
群、40は選択出力回路、2はフリップフロップであ
る。
In FIG. 3, 1 is a flip-flop, 3
0 is a clock signal generation circuit, 50 is a data signal interpolation circuit, 71 is an input latch group for each phase, 72 is an output latch group,
73 is a comparison input latch group, 74 is a comparison output latch group, 40 is a selection output circuit, and 2 is a flip-flop.

【0004】この動作を説明すると、フリップフロップ
1に入力されたデータ信号Diが、同じく入力されたク
ロック信号(入力クロック信号)Ciのラッチ・タイミ
ングによってラッチされる。このクロック信号Ciは、
データ信号Diのデータ切換タイミングと同期したクロ
ック信号である。
[0004] In the operation, the data signal Di input to the flip-flop 1 is latched at the latch timing of the clock signal (input clock signal) Ci also input. This clock signal Ci is
This is a clock signal synchronized with the data switching timing of the data signal Di.

【0005】クロック信号Ciは、さらに、クロック信
号発生回路30にも入力され、入力されたクロック信号
Ciを基に、同じ周波数であって位相がそれぞれ異なっ
た複数のクロック信号が生成される。これら生成された
クロック信号において、それぞれ位相が隣り合った二つ
のクロック信号間の位相差(位相間隔)は、上述のラッ
チ群およびフリップフロップのラッチ動作等に使用され
る同期式フリップフロップの特性の一つである、セット
アップ期間とホールド期間とを合わせた期間、すなわ
ち、ラッチされたデータが不定になりうる期間(不定期
間)より長く設定される。
The clock signal Ci is further input to a clock signal generation circuit 30, and a plurality of clock signals having the same frequency and different phases are generated based on the input clock signal Ci. In these generated clock signals, the phase difference (phase interval) between two clock signals whose phases are adjacent to each other depends on the characteristics of the synchronous flip-flop used for the latch operation of the above-described latch group and flip-flop. One of them is set to be longer than a combined period of the setup period and the hold period, that is, a period (undefined period) in which latched data can be undefined.

【0006】これにより、クロック信号発生回路30か
らは、基となったクロック信号Ciと同じ周波数で位相
がそれぞれ異なるクロック信号Ci(1),Ci
(2),…Ci(n−1),Ci(n)が、この図の例
ではn個(nは正の整数)出力され、後段の位相別入力
ラッチ群71と比較用入力ラッチ群73へそれぞれ入力
される。
Accordingly, the clock signal generation circuit 30 outputs the clock signals Ci (1) and Ci (1) having the same frequency as the base clock signal Ci and different phases.
(2),... Ci (n−1) and Ci (n) are output in the example of this figure n (n is a positive integer), and the input latch group 71 for each phase and the input latch group 73 for comparison at the subsequent stage Are input respectively.

【0007】データ信号補間回路50は、フリップフロ
ップ1でラッチされたデータ信号Di’を入力し、その
信号を所定の補間処理によって補間することで、一つま
たは複数の補間データを生成する。この場合の補間動作
の例としては、上述のクロック信号発生回路で生成され
出力されるクロック信号のそれぞれに対応した値になる
ように補間する。すなわち、上記データ信号Diのサン
プリング位相間隔より短いサンプリング位相間隔のデー
タ信号値を、各クロック信号Ci(1),Ci(2),
…Ci(n−1),Ci(n)のクロック信号のタイミ
ングそれぞれに応じてデータ信号Diの値から補間して
得られるようにする。
[0007] The data signal interpolation circuit 50 receives the data signal Di 'latched by the flip-flop 1 and interpolates the signal by a predetermined interpolation process to generate one or a plurality of interpolation data. As an example of the interpolation operation in this case, interpolation is performed so as to have a value corresponding to each of the clock signals generated and output by the above-described clock signal generation circuit. That is, the data signal values having a sampling phase interval shorter than the sampling phase interval of the data signal Di are converted to the clock signals Ci (1), Ci (2),
... Interpolated from the value of the data signal Di in accordance with the timings of the clock signals Ci (n-1) and Ci (n).

【0008】以上のように生成されたn個の補間データ
信号Di(1)、Di(2)、…Di(n)は、後段の
位相別入力ラッチ群71と、比較用入力ラッチ群73と
へそれぞれ出力される。
[0008] The n interpolated data signals Di (1), Di (2),... Di (n) generated as described above are input to a subsequent-stage input latch group 71 and a comparison input latch group 73, respectively. Output to

【0009】ここで、上述のクロック信号Ci(1),
Ci(2),…Ci(n−1),Ci(n)のうちいず
れかは、クロック信号Ciがそのまま出力されたもので
あってもよい。その場合、補間データ信号Di(1)、
Di(2)、…Di(n)のうち、クロック信号Ciが
そのまま出力されるクロック信号に対応するデータ信号
は、データ信号Diの値がそのまま出力されたものであ
ってもよい。
Here, the above-mentioned clock signals Ci (1),
Any of Ci (2),... Ci (n-1) and Ci (n) may be the one to which the clock signal Ci is output as it is. In that case, the interpolation data signal Di (1),
Of the Di (2),... Di (n), the data signal corresponding to the clock signal from which the clock signal Ci is output as it is may be the signal from which the value of the data signal Di is output as it is.

【0010】位相別入力ラッチ群71はn個のラッチ手
段を有し、それぞれのラッチ手段には、クロック信号生
成手段30から出力された複数のクロック信号Ci
(1)、Ci(2)〜Ci(n)を入力する。さらに、
データ信号補間回路50から出力されたデータ信号Di
(1)、Di(2)、…Di(n)を入力する。そし
て、それらデータ信号Di(1)、Di(2)、…Di
(n)を、それぞれ対応するクロック信号Ci(1)、
Ci(2)〜Ci(n)でラッチすることで、n本のラ
ッチされたデータ信号、すなわち、n通りのそれぞれサ
ンプリング位相の異なるデータ信号Di(1・1)、D
i(2・2)〜Di(n・n)が生成される。そして、
データ信号Di(1・1)〜Di(n・n)が位相別入
力ラッチ群71から後段の出力ラッチ群72へ出力され
る。
The input latch group 71 for each phase has n latch means. Each latch means has a plurality of clock signals Ci output from the clock signal generation means 30.
(1) Input Ci (2) to Ci (n). further,
Data signal Di output from data signal interpolation circuit 50
(1), Di (2),... Di (n) are input. The data signals Di (1), Di (2),... Di
(N) is replaced with the corresponding clock signal Ci (1),
By latching with Ci (2) to Ci (n), n latched data signals, that is, n data signals Di (1.1) and D (n) having different sampling phases, respectively.
i (2.2) to Di (nn) are generated. And
Data signals Di (1.1) to Di (nn) are output from the input latch group 71 for each phase to the output latch group 72 at the subsequent stage.

【0011】比較用入力ラッチ群73はn−1個のラッ
チ手段を有し、それぞれのラッチ手段には、クロック信
号生成手段30から出力された複数のクロック信号Ci
(1)、Ci(2)〜Ci(n−1)が入力される。さ
らに、データ信号補間回路50から出力された複数のデ
ータ信号から、クロック信号Ciとラッチ手段で使用し
ているクロック信号の位相差に対応する補間データの1
つ隣のデータ信号Di(2)、Di(3)〜Di(n)
を入力する。そして、入力されたそれぞれのデータ信号
が、それぞれ位相が1つ隣に対応するクロック信号でラ
ッチされることで、n−1本のラッチされたデータ信
号、すなわち、n−1通りのそれぞれ位相の異なるデー
タ信号Di(1・2)、Di(2・3)、…Di(n−
1・n)が生成される。
The input latch group 73 for comparison has n-1 latch means, and each latch means has a plurality of clock signals Ci output from the clock signal generation means 30.
(1), Ci (2) to Ci (n-1) are input. Further, from the plurality of data signals output from the data signal interpolation circuit 50, one of the interpolation data corresponding to the phase difference between the clock signal Ci and the clock signal used by the latch means.
The next data signal Di (2), Di (3) to Di (n)
Enter Then, each of the input data signals is latched by the clock signal corresponding to the next adjacent phase, so that n-1 latched data signals, that is, n-1 different phases of the respective data signals are latched. Different data signals Di (1.2), Di (2.3),... Di (n-
1 · n) is generated.

【0012】ここで、このそれぞれラッチされたデータ
信号Di(1・2)〜Di(n−1・n)は、位相別入
力ラッチ群71から出力されるデータ信号Di(2.
2)〜Di(n・n)に対し、同じデータ値を1つ隣の
位相(1つ前の位相)でもってそれぞれラッチし出力し
たものという関係にある。このデータ信号Di(1・
2)〜Di(n−1・n)は、比較用入力ラッチ群73
から後段の比較用出力ラッチ群74へ出力される。
Here, the latched data signals Di (1.2) to Di (n-1.n) are used as the data signals Di (2.
2) to Di (nn), the same data value is latched and output with the next adjacent phase (the previous phase). This data signal Di (1 ·
2) to Di (n−1 · n) are input latch groups for comparison 73
Is output to the output latch group 74 for comparison at the subsequent stage.

【0013】出力ラッチ群72はn個のラッチ手段を有
し、全てのラッチ手段に、入力クロック信号Ciとは無
関係な、出力クロック信号Coが入力される。そして、
上述の位相別入力ラッチ群71からのn本のラッチされ
たデータ信号Di(1・1)〜Di(n・n)が出力ク
ロック信号Coによってそれぞれラッチされ、それらラ
ッチされて得られたデータ信号Do(1・1)〜Do
(n・n)が出力ラッチ群72から後段の選択出力回路
40へ出力される。
The output latch group 72 has n latch units, and the output clock signal Co, which is unrelated to the input clock signal Ci, is input to all the latch units. And
The n latched data signals Di (1.1) to Di (nn) from the above-described phase-based input latch group 71 are respectively latched by the output clock signal Co, and the latched data signals are obtained. Do (1.1)-Do
(N · n) is output from the output latch group 72 to the subsequent selection output circuit 40.

【0014】比較用出力ラッチ群74はn−1個のラッ
チ手段を有し、全てのラッチ手段に、出力クロック信号
Coが入力される。そして、上述の比較用入力ラッチ群
73からのn−1本のラッチされたデータ信号Di(1
・2)〜Di(n−1・n)が出力クロック信号Coに
よってそれぞれラッチされ、それらラッチされて得られ
たデータ信号Do(1・2)〜Do(n−1・n)が比
較用出力ラッチ群74から後段の選択出力回路40へ出
力される。
The comparison output latch group 74 has n-1 latch units, and the output clock signal Co is input to all the latch units. Then, n-1 latched data signals Di (1) from the comparison input latch group 73 described above.
2) to Di (n-1.n) are latched by the output clock signal Co, respectively, and the data signals Do (1.2) to Do (n-1.n) obtained by the latching are output for comparison. The data is output from the group of latches 74 to the selection output circuit 40 at the subsequent stage.

【0015】出力クロック信号Coによってラッチされ
たn個のデータ信号Do(1・1)〜Do(n・n)
は、それらの内の一つのデータ内容が不定な値となって
いる可能性がある。それは、クロック信号Coのラッチ
・タイミング時のデータ信号Di(1・1)〜Di(n
・n)の隣接データ間の位相間隔が上述のラッチ動作に
おける不定期間よりも長いため、たまたまクロック信号
Coのラッチタイミングがその不定期 間に合ってしま
い不定な値となったデータ信号は、存在したとしてもた
だ1つとなるためである。
The n data signals Do (1 · 1) to Do (n · n) latched by the output clock signal Co
May have an indeterminate value in the data content of one of them. That is, the data signals Di (1.1) to Di (n) at the latch timing of the clock signal Co.
Since the phase interval between adjacent data in n) is longer than the indefinite period in the above-described latch operation, the data signal whose latch timing happens to be in the irregular period and has an indefinite value is assumed to exist. Is also only one.

【0016】そのため、選択出力回路40は、入力され
た複数のデータ信号Do(1・1)〜Do(n・n)と
データ信号Do(1・2)〜Do(n−1・n)のデー
タ内容どうしを比較する事で、データ信号Do(1・
1)〜Do(n・n)から不定期間のデータ信号をラッ
チした恐れがあるデータであることを示す比較結果、例
えば、同じデータを別のクロックでラッチした値どうし
を比較し、それらが不一致であるという結果が得られた
位相とは約180度隔たった位相のデータを選択し、該
選択されたデータをデータ信号Do’としてフリップフ
ロップ2へ出力する。
For this reason, the selection output circuit 40 outputs the plurality of input data signals Do (1.1) to Do (nn) and the data signals Do (1.2) to Do (n-1.n). By comparing the data contents, the data signal Do (1 ·
1) A comparison result indicating that there is a possibility of latching an irregular data signal from Do (n · n), for example, comparing values obtained by latching the same data with different clocks, and comparing them. Is selected, and the selected data is output to the flip-flop 2 as a data signal Do '.

【0017】フリップフロップ2は、データ信号Do’
を入力し、それを出力クロック信号Coによってラッチ
して、該ラッチされたデータ信号Doを後段(図示せ
ず)に出力する。
The flip-flop 2 has a data signal Do '.
Is latched by the output clock signal Co, and the latched data signal Do is output to a subsequent stage (not shown).

【0018】以上により、不定期間にラッチされたデー
タ信号が後段に出力されないようにして、入力データ信
号Diとの位相差に応じて同等な値に補間されたデータ
信号Do、すなわち、各入力側の複数の位相のクロック
信号ごとに、その位相に合わせた補間データをラッチす
るようにすることで、サンプリング周波数変換後のデー
タ信号の波形が、変換前の波形により近似するようにサ
ンプリング周波数変換されたデータ信号を出力可能なサ
ンプリング周波数変換回路となる。
As described above, the data signal Do interpolated to an equivalent value in accordance with the phase difference with the input data signal Di, that is, each input side, so that the data signal latched irregularly is not output to the subsequent stage. By interpolating the interpolated data corresponding to the phase for each of the clock signals having a plurality of phases, the sampling frequency conversion is performed so that the waveform of the data signal after the sampling frequency conversion is closer to the waveform before the conversion. It becomes a sampling frequency conversion circuit capable of outputting the converted data signal.

【0019】なお、図3のサンプリング周波数変換回路
を4位相でもって構成した場合の一例として、図4にク
ロック信号発生回路30、図5に位相別入力ラッチ群7
1、図6に出力ラッチ群72、図7に比較用入力ラッチ
群73、図8に比較用出力ラッチ群74、図9に選択出
力回路40のブロック構成例をそれぞれ示す。
As an example of the case where the sampling frequency conversion circuit of FIG. 3 is configured with four phases, FIG. 4 shows a clock signal generation circuit 30, and FIG.
1, 6 show an example of a block configuration of an output latch group 72, FIG. 7 shows a block diagram of an input latch group 73 for comparison, FIG. 8 shows a block configuration example of a group of output latches 74, and FIG.

【0020】[0020]

【発明が解決しようとする課題】上述の特願平10−1
62469号に示された従来の技術を用いたサンプリン
グ周波数変換回路では、上述のように隣り合った位相で
ラッチされた補間データの内容どうしをそれぞれ比較し
て、不定期間にラッチされたデータ信号を除いたサンプ
リング周波数変換を実現していた。そのため、位相別入
力ラッチ群、出力ラッチ群、比較用入力ラッチ群、比較
用出力ラッチ群の4つのデータ用ラッチ群を必要とす
る。
Problems to be Solved by the Invention Japanese Patent Application No. 10-1 mentioned above.
In the sampling frequency conversion circuit using the conventional technique disclosed in Japanese Patent No. 62469, the contents of the interpolated data latched at adjacent phases as described above are compared with each other, and the data signal latched at irregular intervals is converted. Excluding sampling frequency conversion was realized. Therefore, four data latch groups, ie, a phase-specific input latch group, an output latch group, a comparison input latch group, and a comparison output latch group, are required.

【0021】さらに、データの精度を高くするためデー
タビット長を大きくした場合や、クロック位相を増やす
ようにするなどの場合は、これらラッチ群の回路規模が
より膨大となり、さらに、データ内容を比較するための
選択出力回路の回路規模も、より膨大になる。
Further, when the data bit length is increased to increase the data accuracy, or when the clock phase is increased, the circuit size of these latch groups becomes enormous, and the data contents are compared. The circuit scale of the selection output circuit for performing the operation is also enormous.

【0022】そこで、本発明では、不定期間にラッチさ
れたデータ信号を除いたサンプリング周波数変換を実現
するにあたり、データ内容を比較することなく、入出力
クロックの位相関係を調べる。その結果、選択出力回路
をクロック位相毎にデータを比較する手段を持つ大規模
な回路構成を不要とし、入出力クロックの位相関係を判
別することで最適なデータを選択できるようにする手段
を持つ小規模の構成に変更する。そして、それに伴い、
必要とするラッチ群をより減少させ、全体の回路規模を
効果的に低減したサンプリング周波数変換回路を提供す
る。
Therefore, in the present invention, when realizing sampling frequency conversion excluding a data signal latched irregularly, the phase relationship between input and output clocks is examined without comparing data contents. As a result, the selection output circuit does not require a large-scale circuit configuration having a means for comparing data for each clock phase, and has a means for selecting the optimum data by judging the phase relationship between input and output clocks. Change to a small configuration. And with that,
Provided is a sampling frequency conversion circuit in which the number of required latch groups is further reduced and the overall circuit scale is effectively reduced.

【0023】[0023]

【課題を解決するための手段】本発明は上記の課題を解
決するために、ディジタルのデータ信号を入力し、該入
力されたデータ信号のサンプリング周波数(第1の周波
数)とは異なったサンプリング周波数(第2の周波数)
でもって、上記入力されたデータ信号をサンプリングす
ることで、サンプリング周波数変換を行い、該サンプリ
ング周波数変換されたデータ信号を出力するサンプリン
グ周波数変換回路であって、前記入力されたデータ信号
を、前記第1の周波数を有しそれぞれ位相が異なる複数
のクロック信号でもってそれぞれラッチする第1のラッ
チ手段、前記ラッチ手段によりラッチされたデータ信号
それぞれを出力クロック信号でもってラッチする第2の
ラッチ手段、前記出力クロック信号によるラッチ周期ご
とに、前記第2のラッチ手段によりラッチされて得られ
たデータ信号の中から、その値が不定になる恐れのある
不安定なデータ信号を除外したデータ信号を選択出力す
る手段を有するサンプリング周波数変換回路において、
前記不安定なデータ信号が前記出力クロック信号によっ
てラッチされる前のデータ信号の位相とは約180度逆
位相の側のデータ信号を前記出力クロック信号によりラ
ッチして得られたデータ信号を選択出力するとしたもの
である。
According to the present invention, a digital data signal is inputted, and a sampling frequency different from a sampling frequency (first frequency) of the inputted data signal is solved. (Second frequency)
A sampling frequency conversion circuit that performs sampling frequency conversion by sampling the input data signal, and outputs the sampling frequency converted data signal. A first latch means for latching with a plurality of clock signals each having a frequency of 1 and a phase different from each other; a second latch means for latching each of the data signals latched by the latch means with an output clock signal; For each latch cycle of the output clock signal, select and output a data signal obtained by excluding an unstable data signal whose value may be unstable from data signals obtained by latching by the second latch means. A sampling frequency conversion circuit having means for performing
A data signal obtained by latching, by the output clock signal, a data signal on the side opposite in phase by about 180 degrees to the phase of the data signal before the unstable data signal is latched by the output clock signal is selectively output. That's it.

【0024】さらに本発明は、前記入力されたデータ信
号を前記異なる位相それぞれに応じた補間演算により補
間データ信号を生成する補間演算手段を有し、前記位相
別入力ラッチ群は、前記補間データ信号それぞれに対応
する位相の前記クロック信号により前記補間データ信号
をラッチするものである。
Further, the present invention includes interpolation calculating means for generating an interpolation data signal by performing an interpolation calculation on the input data signal according to each of the different phases. The interpolation data signal is latched by the clock signal of the corresponding phase.

【0025】さらに本発明は、前記補間演算手段前段
に、前記入力データ信号の周波数帯域を前記出力データ
信号の所定の周波数帯域に制限するローパスフィルタを
有するものである。
Further, in the present invention, a low-pass filter for limiting a frequency band of the input data signal to a predetermined frequency band of the output data signal is provided at a stage preceding the interpolation operation means.

【0026】[0026]

【発明の実施の形態】以下、図面を参照しながら、本発
明の実施の形態の例について説明する。図1は、本発明
のサンプリング周波数変換回路のブロック構成例を表し
た図である。この図において、1はフリップフロップ、
30はクロック信号発生回路、71は位相別入力ラッチ
群、72は出力ラッチ群、300は入出力位相ラッチ回
路、40’は選択出力回路、2はフリップフロップであ
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 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, 71 is an input latch group for each phase, 72 is an output latch group, 300 is an input / output phase latch circuit, 40 'is a selection output circuit, and 2 is a flip-flop.

【0027】この動作を説明すると、フリップフロップ
1に入力されたデータ信号Diが、同じく入力されたク
ロック信号Ciのラッチ・タイミングによってラッチさ
れる。このクロック信号Ciは、データ信号Diのデー
タ切換タイミングと同期したクロック信号である。
The operation will be described. 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 a clock signal synchronized with the data switching timing of the data signal Di.

【0028】クロック信号Ciは、さらに、クロック信
号発生回路30にも入力され、入力されたクロック信号
Ciを基に、同じ周波数であって位相がそれぞれ異なっ
た複数のクロック信号が生成される。これら生成された
クロック信号において、それぞれ位相が隣り合った二つ
のクロック信号間の位相差(位相間隔)は、上述のラッ
チ群およびフリップフロップのラッチ動作等に使用され
る同期式フリップフロップの特性の一つである、セット
アップ期間とホールド期間とを合わせた期間、すなわち
上述した不定期間より長く設定される。
The clock signal Ci is further input to the clock signal generation circuit 30, and a plurality of clock signals having the same frequency but different phases are generated based on the input clock signal Ci. In these generated clock signals, the phase difference (phase interval) between two clock signals whose phases are adjacent to each other depends on the characteristics of the synchronous flip-flop used for the latch operation of the above-described latch group and flip-flop. One of them is set to a period that is a combination of the setup period and the hold period, that is, longer than the above-mentioned indefinite period.

【0029】これにより、クロック信号発生回路30か
らは、基となったクロック信号Ciと同じ周波数で位相
がそれぞれ異なるクロック信号Ci(1),Ci
(2),…,Ci(n−1),Ci(n)が、この図の
例ではn個(nは正の整数)出力され、後段の位相別入
力ラッチ群71と、入出力位相ラッチ回路300へそれ
ぞれ入力される。
Thus, the clock signal generation circuit 30 outputs the clock signals Ci (1) and Ci (1) having the same frequency as the base clock signal Ci and having different phases.
(2),..., Ci (n−1), Ci (n) are output in the example of this figure (n is a positive integer), and the input latch group 71 for each phase at the subsequent stage and the input / output phase latch Each is input to the circuit 300.

【0030】位相別入力ラッチ群71はn個のラッチ手
段を有し、それぞれのラッチ手段には、クロック信号生
成手段30から出力された複数のクロック信号Ci
(1),Ci(2)〜Ci(n)が入力される。さら
に、フリップフロップ1でラッチされ出力されたデータ
信号Di’が入力され、クロック信号Ci(1)〜Ci
(n)それぞれでラッチされて、n本のラッチされたデ
ータ信号、すなわち、それぞれサンプリング位相の異な
るデータ信号Di(1・1)〜Di(n・n)が生成さ
れる。そして、その生成されたデータ信号Di(1・
1)〜Di(n・n)が位相別入力ラッチ群71から後
段の出力ラッチ群72へ出力される。
The input latch group 71 for each phase has n latch means, and each latch means has a plurality of clock signals Ci output from the clock signal generation means 30.
(1), Ci (2) to Ci (n) are input. Further, the data signal Di 'latched and output by the flip-flop 1 is input, and the clock signals Ci (1) to Ci (1) are input.
(N) Each of them is latched to generate n latched data signals, that is, data signals Di (1.1) to Di (nn) having different sampling phases. Then, the generated data signal Di (1 ·
1) to Di (n · n) are output from the input latch group 71 for each phase to the output latch group 72 at the subsequent stage.

【0031】出力ラッチ群72はn個のラッチ手段を有
し、全てのラッチ手段に、入力クロック信号Ciとは無
関係な、出力クロック信号Coが入力される。そして、
位相別入力ラッチ群71からのデータ信号Di(1・
1)〜Di(n・n)が出力クロック信号Coによって
それぞれラッチされ、それらラッチされて得られたデー
タ信号Do(1・1)〜Do(n・n)が出力ラッチ群
72から後段の選択出力回路40’へ出力される。
The output latch group 72 has n latch units, and the output clock signal Co, which is unrelated to the input clock signal Ci, is input to all the latch units. And
The data signal Di (1 ·
1) to Di (nn) are respectively latched by the output clock signal Co, and the data signals Do (1.1) to Do (nn) obtained by the latching are selected from the output latch group 72 in the subsequent stage. Output to the output circuit 40 '.

【0032】一方、入出力位相ラッチ回路300は、ク
ロック信号生成手段30から出力された複数のクロック
信号Ci(1),Ci(2)〜Ci(n)を出力側のデ
ータのタイミングと同じ出力クロック信号Coでそれぞ
れラッチする。
On the other hand, the input / output phase latch circuit 300 outputs the plurality of clock signals Ci (1), Ci (2) to Ci (n) output from the clock signal generating means 30 at the same output timing as the data on the output side. Each latch is performed by the clock signal Co.

【0033】その出力クロック信号Coによってラッチ
されたn個のデータ信号Do(1・1)〜Do(n・
n)は、それらの内の一つのデータ内容が不定な値とな
っている可能性がある。それは、クロック信号Coのラ
ッチタイミング時にラッチされるデータ信号Di(1・
1)〜Di(n・n)の隣接データ間の位相間隔が上述
のラッチ動作における不定期間よりも長いため、たまた
まクロック信号Coのラッチタイミングに不定期間とな
るデータ信号は、存在したとしてもただ1つとなるため
である。
The n data signals Do (1.1) to Do (n *) latched by the output clock signal Co.
In the case of n), the data content of one of them may have an indefinite value. This is because the data signal Di (1 ··) is latched at the latch timing of the clock signal Co.
1) Since the phase interval between adjacent data of Di (nn) is longer than the indefinite period in the above-described latch operation, even if there is a data signal that happens to be indefinite in the latch timing of the clock signal Co, even if it exists, This is because it becomes one.

【0034】そのため、選択出力回路40’は、入出力
位相ラッチ回路300から出力されたクロック信号Cd
(1),Cd(2)〜Cd(n)と、複数のデータ信号
Do(1・1)〜Do(n・n)とを入力し、入出力位
相ラッチ回路300の出力信号を基として、後述する回
路による判定結果に応じて、入力された複数のデータ信
号Do(1・1)〜Do(n・n)から不定な値でない
データ信号の内の一つが選択され、該選択されたデータ
信号Do’を後段のフリップフロップ2へ出力する。
Therefore, the selection output circuit 40 ′ outputs the clock signal Cd output from the input / output phase latch circuit 300.
(1), Cd (2) to Cd (n) and a plurality of data signals Do (1.1) to Do (nn) are input, and based on an output signal of the input / output phase latch circuit 300, One of the data signals having an indefinite value is selected from the plurality of input data signals Do (1 · 1) to Do (n · n) in accordance with a determination result by a circuit described later, and the selected data signal is output. The signal Do ′ is output to the flip-flop 2 at the subsequent stage.

【0035】フリップフロップ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).

【0036】以下、データ信号Do’を選択するための
回路の構成例について、図10を用いて説明する。図1
0は、n=4の場合の例であって、入力クロック信号C
iから、4つの位相のクロック信号Ci(1)〜Ci
(4)が生成されて、その4つのクロック・タイミング
位相、この場合、クロック信号の立ち上がりタイミング
位相を用いて周波数変換のために生成されたデータ信号
Do(1・1)〜Do(4・4)の中から、不定期間で
ラッチされた恐れがないデータ信号を選択出力するよう
にした、入出力位相ラッチ回路300と選択出力回路4
0’の一例を示した図である。
Hereinafter, a configuration example of a circuit for selecting the data signal Do 'will be described with reference to FIG. FIG.
0 is an example when n = 4, and the input clock signal C
i, four phase clock signals Ci (1) to Ci (1)
(4) is generated, and the data signals Do (1.1) to Do (4.4) generated for frequency conversion using the four clock timing phases, in this case, the rising timing phases of the clock signal. ), An input / output phase latch circuit 300 and a selection output circuit 4 which selectively output a data signal that is not likely to be latched in an indefinite period.
It is a figure showing an example of 0 '.

【0037】まず、入出力位相ラッチ回路300におい
て、クロック信号生成回路30から出力された複数のク
ロック信号Ci(1)〜Ci(4)が、出力クロック信
号Coによりそれぞれラッチされクロック信号Cd
(1)〜Cd(4)となる。
First, in the input / output phase latch circuit 300, a plurality of clock signals Ci (1) to Ci (4) output from the clock signal generation circuit 30 are respectively latched by the output clock signal Co, and the clock signal Cd
(1) to Cd (4).

【0038】次に、選択出力回路40’では、上記入出
力位相ラッチ回路300からのクロック信号Cd(1)
〜Cd(4)が、AND回路401,403,405,
407及びインバータ402,404,406,408
で構成されるデコード回路へ入力される。この各AND
回路の二つの入力は、選択出力回路40’へ入力された
クロック信号のうち位相が隣り合った二つのクロック信
号を、位相の早い方(先位相)のクロック信号Ci
(j)はそのまま入力し、位相の遅い方(後位相)のク
ロック信号Ci(k)はインバータを介して反転して入
力するものである。ここでjは1〜n(この例ではn=
4)のいずれかの値の番号である。また、kはjをnで
割った剰余に1を加えた値の番号ある。
Next, in the selection output circuit 40 ', the clock signal Cd (1) from the input / output phase latch circuit 300 is output.
To Cd (4) are AND circuits 401, 403, 405,
407 and inverters 402, 404, 406, 408
Is input to the decoding circuit composed of. Each AND
Two inputs of the circuit are used to convert two adjacent clock signals of the clock signals input to the selection output circuit 40 'to the clock signal Ci having the earlier phase (first phase).
(J) is input as it is, and the clock signal Ci (k) of the later phase (later phase) is inverted and input via an inverter. Here, j is 1 to n (in this example, n =
4) is the number of one of the values. K is a number of a value obtained by adding 1 to a remainder obtained by dividing j by n.

【0039】上述のデコード回路での4つのAND回路
の動作のうち、クロック信号Cd(1)〜Cd(4)の
うちの二つの位相が隣り合ったクロック信号の組み合わ
せにおいて、先位相クロック信号Ci(j)が論理Hi
gh(以下、Hと記す)で入力され、かつ、後位相クロ
ック信号Ci(k)が論理Low(以下、Lと記す)で
あって、後位相クロック信号Ci(k)をインバータに
より反転した信号がHで入力されるとしたときのAND
回路の動作に注目する。このとき、このAND回路の二
入力は共にHであるために、出力される信号はHとな
る。
In the operation of the four AND circuits in the above-described decoding circuit, in the combination of the clock signals in which two phases of the clock signals Cd (1) to Cd (4) are adjacent to each other, the preceding phase clock signal Ci is output. (J) is logic Hi
gh (hereinafter referred to as H), and the post-phase clock signal Ci (k) is a logic Low (hereinafter referred to as L), and the post-phase clock signal Ci (k) is inverted by an inverter. Is assumed to be input at H
Pay attention to the operation of the circuit. At this time, since the two inputs of the AND circuit are both H, the output signal is H.

【0040】ここで、このAND回路の出力がHとなる
期間について説明する。クロック信号Ci(1)〜Ci
(4)のうちの隣り合った先位相及び後位相のクロック
信号の各立ち上がりタイミング位相と、出力クロック信
号Coのラッチ・タイミング(立ち上がりタイミング)
位相との関係において、先位相のクロック信号Ci
(j)の立ち上がりタイミング位相と後位相のクロック
信号Ci(k)の立ち上がりタイミング位相との間に出
力クロック信号Coのラッチ・タイミング位相がある場
合、言い換えると、出力クロック信号Coのラッチ・タ
イミング位相の前後でもって隣り合った先位相クロック
信号Ci(j)及び後位相クロック信号Ci(k)がそ
れぞれ立ち上がる場合に、その出力クロック信号Coの
ラッチ・タイミング位相でラッチ開始されたラッチ期間
が、上述のAND回路の出力がHとなる期間である。
Here, a period during which the output of the AND circuit becomes H will be described. Clock signals Ci (1) to Ci
(4) The rising timing phases of the adjacent clock signals of the preceding phase and the following phase, and the latch timing (rising timing) of the output clock signal Co
In relation to the phase, the clock signal Ci of the previous phase
When the latch timing phase of the output clock signal Co is between the rising timing phase of (j) and the rising timing phase of the post-phase clock signal Ci (k), in other words, the latch timing phase of the output clock signal Co When the leading phase clock signal Ci (j) and the trailing phase clock signal Ci (k) adjacent to each other before and after rise, respectively, the latch period started by the latch timing phase of the output clock signal Co is as described above. Is an H period during which the output of the AND circuit of FIG.

【0041】上述のようにして、デコード回路の各AN
D回路401,403,405,407からセレクタ4
09へ出力される信号は、出力クロック信号Coの各ラ
ッチ期間にいずれか1つのAND回路からHが出力さ
れ、その他の3つのAND回路からはLが出力される。
As described above, each AN of the decoding circuit
Selector 4 from D circuits 401, 403, 405, 407
Regarding the signal output to 09, H is output from one of the AND circuits during each latch period of the output clock signal Co, and L is output from the other three AND circuits.

【0042】セレクタ409では、上述の4つのAND
回路403,401,407,405から出力される信
号(選択信号)が4つの選択信号入力端子1S,2S,
3S,4Sへそれぞれ入力される。また、上述のデータ
信号Do(1・1)〜Do(4・4)が4つのデータ信
号入力端子1D,2D,3D,4Dへそれぞれ入力され
る。
In the selector 409, the above four ANDs
Signals (selection signals) output from the circuits 403, 401, 407, and 405 have four selection signal input terminals 1S, 2S,
Input to 3S and 4S respectively. Further, the above data signals Do (1.1) to Do (4.4) are input to four data signal input terminals 1D, 2D, 3D and 4D, respectively.

【0043】そして、それら入力された選択信号のう
ち、Hで入力された選択信号の入力端子番号に対応した
データ信号入力端子番号xのデータ信号Do(x・x)
が、セレクタ409から選択出力される。ここで、x
は、上述のHを出力する時のAND回路にそのまま入力
される先位相クロック信号Ci(j)の番号jに関係し
た値の番号であって、この例では、xはjをnで割った
剰余にn/2を加えた値の番号となるよう、選択出力回
路40’が構成されている。なお、この例では、nは偶
数であるため2で割り切れるが、nが2で割り切れない
場合は、上記のxに1/2を適宜加減した整数値の番号
を新たにxとしてもよい。
The data signal Do (xx) of the data signal input terminal number x corresponding to the input terminal number of the selection signal input at H among the input selection signals.
Are selectively output from the selector 409. Where x
Is a number of a value related to the number j of the preceding phase clock signal Ci (j) which is directly input to the AND circuit when outputting the above H, and in this example, x is obtained by dividing j by n. The selection output circuit 40 'is configured so that the number is a value obtained by adding n / 2 to the remainder. In this example, since n is an even number, it is divisible by 2. However, if n is not divisible by 2, an integer number obtained by appropriately adding or subtracting 1 / to x may be newly set as x.

【0044】以上のようにすることで、出力クロック信
号Coのラッチ・タイミング位相の前後でもって隣り合
った先位相クロック信号Ci(j)及び後位相クロック
信号Ci(k)を検出し、その結果、セレクタ409で
は先位相クロック信号Ci(j)からほぼ180度の逆
位相のクロック信号でラッチされたデータ信号であっ
て、不定期間のデータがラッチされた恐れのない安定な
データを持つデータ信号を選択出力することができる。
As described above, the preceding phase clock signal Ci (j) and the succeeding phase clock signal Ci (k) adjacent before and after the latch timing phase of the output clock signal Co are detected. , Selector 409 is a data signal latched by a clock signal having a phase opposite to that of the previous phase clock signal Ci (j) by approximately 180 degrees and having stable data without irregular data being latched. Can be selectively output.

【0045】以下、図10に示した回路に関するタイミ
ングチャートを図11に示しそのタイミングチャートを
用いて、その動作を説明する。図11は、本発明による
サンプリング周波数変換回路によって、入力クロック信
号Ciの周期に対し、その9/8倍の周期を有する出力
クロック信号Coでもってサンプリング周波数変換を行
う場合のタイミングチャートの一例である。
The operation of the circuit shown in FIG. 10 will be described below with reference to the timing chart shown in FIG. 11 and the timing chart shown in FIG. FIG. 11 is an example of a timing chart when the sampling frequency conversion circuit according to the present invention performs the sampling frequency conversion with the output clock signal Co having a period that is 9/8 times the period of the input clock signal Ci. .

【0046】この図において、入出力位相ラッチ回路3
00へ入力されるクロック信号Ci(1)〜Ci(4)
は、それぞれ同一周波数で1/4周期づつ位相が異な
る。入力されたクロック信号Ci(1)〜Ci(4)は
出力クロック信号Coの立ち上がりパルスでラッチさ
れ、入出力位相ラッチ回路300からクロック信号Cd
(1)〜Cd(4)として出力される。図11におい
て、各ラッチ期間ごとに左からCd(4)、Cd
(3)、Cd(2)、Cd(1)の順にそのビットの値
を0(論理Low)または1(論理High)で表し、
4ビットのデータとして図示している。その図示された
4つのラッチ期間を、図に示すように左から、期間A,
期間B,期間C,期間Dとする。
In this figure, the input / output phase latch circuit 3
Clock signals Ci (1) to Ci (4) input to 00
Are different in phase by 1/4 cycle at the same frequency. The input clock signals Ci (1) to Ci (4) are latched by the rising pulse of the output clock signal Co, and the clock signal Cd is output from the input / output phase latch circuit 300.
(1) to Cd (4) are output. In FIG. 11, Cd (4), Cd
(3), the value of the bit is represented by 0 (logical low) or 1 (logical high) in the order of Cd (2) and Cd (1),
It is shown as 4-bit data. The four latch periods shown are divided into periods A,
Period B, period C, and period D are set.

【0047】データ信号Diは、図示していない入力ク
ロック信号Ci、およびクロック信号Ci(1)〜Ci
(4)とに同期したデータで、それらクロック信号の一
周期の長さの期間毎に、データ信号Diの値が図に示す
ようにa,b,c,d,e,f…というように、切り替
わっているものとする。なお、この図において、データ
信号Diの値がaであるタイミングは図示されていな
い。
The data signal Di includes an input clock signal Ci (not shown) and clock signals Ci (1) to Ci (1).
The data synchronized with (4), and the value of the data signal Di is a, b, c, d, e, f... As shown in FIG. , It has been switched. Note that the timing at which the value of the data signal Di is a is not shown in FIG.

【0048】このデータ信号Diは上述のクロック信号
Ci(1)〜Ci(4)によりラッチされ、それぞれデ
ータ信号Di(1・1),Di(2・2),Di(3・
3),Di(4・4)となる。さらに、それらが出力ク
ロック信号Coによってラッチされ、それぞれデータ信
号Do(1・1),Do(2・2),Do(3・3),
Do(4・4)となる。
The data signal Di is latched by the above-mentioned clock signals Ci (1) to Ci (4), and the data signals Di (1.1), Di (2.2) and Di (3.
3), Di (4 · 4). Further, they are latched by the output clock signal Co, and the data signals Do (1.1), Do (2.2), Do (3.3),
Do (4.4).

【0049】このデータ信号Do(1・1)〜Do(4
・4)それぞれの値は、出力クロック信号Coのラッチ
・タイミング時の各データ信号Di(1・1)〜Di
(4・4)の値となるため、図11の下から示すように
期間Aのデータ信号Do(1・1)〜Do(4・4)の
値は、それぞれb,a,b,bとなる。
The data signals Do (1.1) to Do (4)
4) The respective values are the data signals Di (1.1) to Di at the latch timing of the output clock signal Co.
Since the value is (4.4), the values of the data signals Do (1.1) to Do (4.4) in the period A are b, a, b, and b, respectively, as shown from the bottom of FIG. Become.

【0050】この期間Aで出力クロック信号Coのラッ
チ位相と各データ信号Di(1・1)〜Di(4・4)
のデータ切り替わり位相との位相差が最も短くなるデー
タ信号は、図に示すようにデータ信号Di(2・2)と
なる。そのため、この期間Aでは、データ信号Di(2
・2)をクロック信号Coでラッチしたデータ信号Do
(1・1)が他と比べて最も安定していないデータ信号
である。すなわち、上述の不定期間の長さによっては、
データ信号Di(2・2)の不定期間のデータをクロッ
ク信号Coでラッチする可能性がより高まるが、他のデ
ータ信号Di(1・1),Di(3・3),Di(4・
4)についてはその可能性がない。
In this period A, the latch phase of the output clock signal Co and the data signals Di (1.1) to Di (4.4)
The data signal having the shortest phase difference from the data switching phase is a data signal Di (2 · 2) as shown in FIG. Therefore, during this period A, the data signal Di (2
• Data signal Do latched by 2) with clock signal Co
(1.1) is the data signal that is the least stable compared to the others. That is, depending on the length of the irregular period,
Although the possibility of latching irregular data of the data signal Di (2.2) with the clock signal Co is increased, the other data signals Di (1.1), Di (3.3), Di (4.3) are more likely to be latched.
There is no possibility for 4).

【0051】上述のデコード回路は、そのような不定期
間でラッチされた可能性の高いデータ信号を選択しサン
プリング変換されたデータとして後段へ出力することが
ないようし、安定したデータを後段へ出力するようにす
るために、クロック信号Cd(1)〜Cd(4)の値に
応じてセレクタ409に選択信号を出力する。
The above-described decoding circuit does not select a data signal which is likely to be latched during such an indefinite period and does not output it to the subsequent stage as sample-converted data, and outputs stable data to the subsequent stage. In order to perform this operation, a selection signal is output to the selector 409 according to the values of the clock signals Cd (1) to Cd (4).

【0052】この期間Aでは、先位相のクロック信号が
Hで後位相のクロック信号がLとなるのは、クロック信
号Cd(1)とCd(2)の組み合わせである。従っ
て、その組み合わせに応じてAND回路407からセレ
クタ409の選択信号入力端子3Sへ入力される信号が
Hとなる。
In this period A, the combination of the clock signals Cd (1) and Cd (2) causes the first phase clock signal to be H and the second phase clock signal to be L. Therefore, the signal input from the AND circuit 407 to the selection signal input terminal 3S of the selector 409 becomes H in accordance with the combination.

【0053】そのため、その選択信号3Sによって選択
された、データ入力端子3Dに入力されたデータ信号D
o(3・3)がセレクタ409からデータ信号Do’と
して出力される。そうすることで、期間Aには、データ
が不安定である可能性の高いデータ信号Do(1・1)
でなく、安定したデータ信号の内のデータ信号Do(3
・3)が後段へ出力される。
Therefore, the data signal D input to the data input terminal 3D selected by the selection signal 3S is output.
o (3.3) is output from selector 409 as data signal Do '. By doing so, during the period A, the data signal Do (1.1) having a high possibility that the data is unstable
However, the data signal Do (3
・ 3) is output to the subsequent stage.

【0054】以下、同様に、期間BにはDo(4・
4)、期間CにはDo(4・4)、期間DにはDo(1
・1)がそれぞれDo’として後段へ出力される。
Similarly, during the period B, Do (4 ·
4), Do (4.4) in period C, and Do (1) in period D
1) is output to the subsequent stage as Do '.

【0055】以上により、不定期間にラッチされたデー
タ信号を除いた、入力データ信号と同等のデータ信号が
サンプリング周波数変換されて出力されることが可能に
なる。本発明はさらに、各入力側の複数の位相のクロッ
ク信号ごとに、その位相に合わせた補間データをラッチ
するようにすることで、サンプリング周波数変換後のデ
ータ信号の波形が、変換前の波形により近似させるよう
にサンプリング周波数変換を行うことができる、サンプ
リング周波数変換回路を実現することができる。
As described above, the data signal equivalent to the input data signal, excluding the data signal latched irregularly, can be converted into a sampling frequency and output. Further, the present invention latches the interpolation data in accordance with the phase for each clock signal having a plurality of phases on each input side, so that the waveform of the data signal after the sampling frequency conversion is changed according to the waveform before the conversion. A sampling frequency conversion circuit capable of performing sampling frequency conversion so as to approximate them can be realized.

【0056】図2は、本発明のサンプリング周波数変換
回路のブロック構成の別の例を表した図である。この図
において、1はフリップフロップ、30はクロック信号
発生回路、50はデータ信号補間回路、71は位相別入
力ラッチ群、72は出力ラッチ群、300は入出力位相
ラッチ回路、40’は選択出力回路、2はフリップフロ
ップである。
FIG. 2 is a diagram showing another example of the block configuration of the sampling frequency conversion circuit of the present invention. In this figure, 1 is a flip-flop, 30 is a clock signal generation circuit, 50 is a data signal interpolation circuit, 71 is an input latch group for each phase, 72 is an output latch group, 300 is an input / output phase latch circuit, and 40 'is a selected output. The circuit 2 is a flip-flop.

【0057】図2に示されたブロック構成のうち、図1
と異なるところは、フリップフロップ1の後に、サンプ
リング周波数変換誤差を改善できるようにした、データ
信号補間回路50で補間データ信号を作り、位相別入力
ラッチ群71へ入力されるようにしたことである。
In the block configuration shown in FIG.
The difference from the first embodiment is that after the flip-flop 1, an interpolation data signal is generated by the data signal interpolation circuit 50, which can improve the sampling frequency conversion error, and is input to the input latch group 71 for each phase. .

【0058】データ信号補間回路50は、フリップフロ
ップ1でラッチされたデータ信号Di’を入力し、その
信号を所定の補間処理によって補間することで、一つま
たは複数の補間データを生成する。この場合の補間動作
の例としては、上述のクロック信号発生回路で生成され
出力されるクロック信号のそれぞれに対応した値になる
ように補間する。すなわち、上記データ信号Diのサン
プリング位相間隔より短いサンプリング位相間隔のデー
タ信号値を、各クロック信号Ci(1),Ci(2),
…Ci(n−1),Ci(n)のクロック信号のタイミ
ングそれぞれに応じてデータ信号Diの値から補間して
得られるようにする。
The data signal interpolation circuit 50 receives the data signal Di 'latched by the flip-flop 1 and interpolates the signal by a predetermined interpolation process to generate one or a plurality of interpolation data. As an example of the interpolation operation in this case, interpolation is performed so as to have a value corresponding to each of the clock signals generated and output by the above-described clock signal generation circuit. That is, the data signal values having a sampling phase interval shorter than the sampling phase interval of the data signal Di are converted to the clock signals Ci (1), Ci (2),
... Interpolated from the value of the data signal Di in accordance with the timings of the clock signals Ci (n-1) and Ci (n).

【0059】ここで、上述のクロック信号Ci(1),
Ci(2),…Ci(n−1),Ci(n)のうちいず
れかは、クロック信号Ciがそのまま出力されたもので
あってもよい。その場合、補間データ信号Di(1)、
Di(2)、…Di(n)のうち、クロック信号Ciが
そのまま出力されるクロック信号に対応するデータ信号
は、データ信号Diの値がそのまま出力されたものであ
ってもよい。
Here, the above-mentioned clock signals Ci (1),
Any of Ci (2),... Ci (n-1) and Ci (n) may be the one to which the clock signal Ci is output as it is. In that case, the interpolation data signal Di (1),
Of the Di (2),... Di (n), the data signal corresponding to the clock signal from which the clock signal Ci is output as it is may be the signal from which the value of the data signal Di is output as it is.

【0060】以上のように生成されたn個の補間データ
信号Di(1)、Di(2)、…Di(n)は、後段の
位相別入力ラッチ群71へ出力される。
The n interpolated data signals Di (1), Di (2),... Di (n) generated as described above are output to the subsequent-stage input latch group 71.

【0061】データ信号補間回路50で生成される補間
データは、一例として、図12に例示するような直線補
間を行うための回路や、変換精度を上げるため図13に
例示するようなフィルタ回路でもって実現させるとして
もよい。
The interpolation data generated by the data signal interpolation circuit 50 is, for example, a circuit for performing linear interpolation as illustrated in FIG. 12 or a filter circuit as illustrated in FIG. 13 for improving conversion accuracy. It may also be realized by.

【0062】なお、上述の発明の実施の形態は、データ
信号Diをシリアルデータ信号として説明したが、この
データ信号Diをパラレル信号とした場合でも、本発明
の主要部を変更することなく、サンプリング周波数変換
回路を構成できることが当業者にとって極めて容易に実
施可能であることはいうまでもない。
In the above-described embodiment of the present invention, the data signal Di is described as a serial data signal. However, even when the data signal Di is a parallel signal, the sampling is performed without changing the main part of the present invention. It goes without saying that the configuration of the frequency conversion circuit can be implemented very easily by those skilled in the art.

【0063】[0063]

【発明の効果】以上説明したように、入力クロック信号
に同期したデータ信号を、その入力クロック信号と周期
は同一で、それぞれの位相が異なる複数のクロック信号
でもってラッチし、さらに、そのラッチされたデータ信
号それぞれを出力クロック信号でもってラッチする。そ
して、出力クロック信号によるラッチ周期ごとに、その
ラッチされて得られたデータ信号の中から値が不定にな
る恐れのある不安定なデータ信号が選択され出力される
ことがないようにするため、その不安定なデータ信号が
出力クロック信号によってラッチされる前のデータ信号
の位相とは約180度逆位相の側のデータ信号を出力ク
ロック信号によりラッチして得られたデータ信号を選択
出力する。そうしたサンプリング周波数変換回路におい
て、本発明によれば、上述のデータ信号選択のための選
択信号を、複数の位相が異なる各クロック信号位相(ラ
ッチ位相)が出力クロック信号のラッチ位相との位相差
の相対的に最も位相差の小さいクロック信号を検出する
ことで実現するようにしたため、従来の技術で用いたよ
うな、複数データ信号を比較するための比較用ラッチ群
およびデータ比較回路を不要とすることができ、より、
回路規模を低減したサンプリング周波数変換回路を実現
することができる。
As described above, a data signal synchronized with an input clock signal is latched by a plurality of clock signals having the same cycle as the input clock signal and different phases from each other. Each of the data signals is latched by an output clock signal. Then, in order to prevent an unstable data signal whose value is likely to be undefined from being selected and output from the data signal obtained by latching in each latch cycle by the output clock signal, The data signal obtained by latching the data signal on the side opposite to the phase of the data signal by about 180 degrees with the output clock signal before the unstable data signal is latched by the output clock signal is selectively output. According to the present invention, in such a sampling frequency conversion circuit, a selection signal for selecting the data signal is generated by determining that a plurality of clock signal phases (latch phases) having different phases are different in phase difference from the latch phase of the output clock signal. Since it is realized by detecting a clock signal having a relatively smallest phase difference, a comparison latch group and a data comparison circuit for comparing a plurality of data signals, which are used in the related art, are not required. Can be more
A sampling frequency conversion circuit with a reduced circuit scale can be realized.

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

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

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

【図3】従来の技術によるサンプリング周波数変換回路
のブロック構成例を示した図。
FIG. 3 is a diagram showing an example of a block configuration of a sampling frequency conversion circuit according to a conventional technique.

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

【図5】位相別入力ラッチ群の一構成例を示す図。FIG. 5 is a diagram showing a configuration example of an input latch group for each phase.

【図6】出力ラッチ群の一構成例を示す図。FIG. 6 is a diagram illustrating a configuration example of an output latch group.

【図7】比較用入力ラッチ群の一構成例を示す図。FIG. 7 is a diagram showing a configuration example of a comparison input latch group.

【図8】比較用出力ラッチ群の一構成例を示す図。FIG. 8 is a diagram illustrating a configuration example of a comparison output latch group.

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

【図10】本発明の入出力位相ラッチ手段および選択出
力手段の一構成例を示す図。
FIG. 10 is a diagram showing a configuration example of an input / output phase latch unit and a selection output unit according to the present invention.

【図11】本発明のサンプリング周波数変換回路の動作
を説明するためのタイミングチャート。
FIG. 11 is a timing chart for explaining the operation of the sampling frequency conversion circuit of the present invention.

【図12】データ信号補間手段の一構成例を示す図。FIG. 12 is a diagram showing a configuration example of a data signal interpolation unit.

【図13】データ信号補間手段の一構成例を示す図。FIG. 13 is a diagram showing a configuration example of a data signal interpolation unit.

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

1:同期式フリップフロップ、 2:同期式フリップフ
ロップ、 30:クロック信号生成手段、 50:補間
演算手段、 71:位相別入力ラッチ群、 72:出力
ラッチ群、 73:比較用入力ラッチ群、 74:比較
用出力ラッチ群、40:従来の技術の選択出力手段、
300:同期式フリップフロップ、 40’:本発明に
係わる選択出力手段、 31:同期式フリップフロッ
プ、 32,33:信号反転回路、 11,12,1
3,14:同期式フリップフロップ、21,22,2
3,24:同期式フリップフロップ、 102,10
3,104:同期式フリップフロップ、 202,20
3,204:同期式フリップフロップ、 41,42,
43:ディジタルコンパレータ、 44,45,46:
セレクタ、 401,403,405,407:AND
回路、 402,404,406,408:インバー
タ、 409:セレクタ、 500:同期式フリップフ
ロップ、 501,502,503,504,505,
506:乗算器、 507,508,509:加算器、
511,512:乗算器、 513,514,51
5:加算器、 521,522,523,524:乗算
器、 525,526,527:加算器、 053
1,532,533:乗算器、 534,535,53
6,537:加算器、 541,542,543,54
4,545:乗算器、 546,547,548,54
9:加算器、 550,551,552,553,55
4,555,556,557:同期式フリップフロッ
プ。
1: Synchronous flip-flop, 2: Synchronous flip-flop, 30: Clock signal generation means, 50: Interpolation operation means, 71: Input latch group for each phase, 72: Output latch group, 73: Input latch group for comparison, 74 : Output latch group for comparison, 40: selection output means of conventional technology,
300: synchronous flip-flop, 40 ': selection output means according to the present invention, 31: synchronous flip-flop, 32, 33: signal inverting circuit, 11, 12, 1
3, 14: Synchronous flip-flop, 21, 22, 2
3, 24: synchronous flip-flop, 102, 10
3, 104: synchronous flip-flop, 202, 20
3,204: Synchronous flip-flop, 41,42,
43: Digital comparator, 44, 45, 46:
Selectors 401, 403, 405, 407: AND
Circuits, 402, 404, 406, 408: inverters, 409: selectors, 500: synchronous flip-flops, 501, 502, 503, 504, 505
506: multiplier, 507, 508, 509: adder,
511, 512: multiplier, 513, 514, 51
5: adder, 521, 522, 523, 524: multiplier, 525, 526, 527: adder, 053
1,532,533: Multiplier, 534,535,53
6,537: adder, 541,542,543,54
4,545: multiplier, 546,547,548,54
9: adder, 550, 551, 552, 553, 55
4,555,556,557: Synchronous flip-flop.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ディジタルのデータ信号を入力し、該入
力されたデータ信号のサンプリング周波数(第1の周波
数)とは異なったサンプリング周波数(第2の周波数)
でもって、上記入力されたデータ信号をサンプリングす
ることで、サンプリング周波数変換を行い、該サンプリ
ング周波数変換されたデータ信号を出力するサンプリン
グ周波数変換回路において、前記入力されたデータ信号
を、前記第1の周波数を有しそれぞれ位相が異なる複数
のクロック信号でもってそれぞれラッチする第1のラッ
チ手段、前記ラッチ手段によりラッチされたデータ信号
それぞれを所定の出力クロック信号でもってラッチする
第2のラッチ手段、前記出力クロック信号によるラッチ
周期ごとに、前記第2のラッチ手段によりラッチされて
得られたデータ信号の中から、前記複数のクロック信号
の中で前記出力クロック信号の位相に対し所定の位相差
以上の位相関係にある1つのクロック信号によってラッ
チされたデータ信号に相当するデータ信号を選択出力す
る手段を有することを特徴とするサンプリング周波数変
換回路。
1. A digital data signal is input, and a sampling frequency (second frequency) different from a sampling frequency (first frequency) of the input data signal.
In the sampling frequency conversion circuit that performs sampling frequency conversion by sampling the input data signal and outputs the sampling frequency converted data signal, the input data signal is converted to the first data signal. First latch means for respectively latching with a plurality of clock signals having frequencies and different phases, second latch means for latching each of the data signals latched by the latch means with a predetermined output clock signal, For each latch cycle of the output clock signal, from among the data signals latched by the second latch means, a phase difference of not less than a predetermined phase difference with respect to the phase of the output clock signal among the plurality of clock signals. Data signal latched by one clock signal having a phase relationship Sampling frequency conversion circuit, characterized in that it comprises means for selectively outputting a data signal corresponding to.
【請求項2】 請求項1に記載のサンプリング周波数変
換回路において、さらに、前記入力されたデータ信号を
前記異なる位相それぞれに応じた補間演算により補間デ
ータ信号を生成する補間演算手段を有し、前記位相別入
力ラッチ群は、前記補間データ信号それぞれに対応する
位相の前記クロック信号により前記補間データ信号をラ
ッチすることを特徴とするサンプリング周波数変換回
路。
2. The sampling frequency conversion circuit according to claim 1, further comprising: an interpolation operation unit that generates an interpolation data signal by performing an interpolation operation on the input data signal according to each of the different phases. A sampling frequency conversion circuit, wherein a group of input latches for each phase latches the interpolation data signal with the clock signal having a phase corresponding to each of the interpolation data signals.
【請求項3】 請求項1または2に記載のサンプリング
周波数変換回路において、前記補間演算手段前段に、前
記入力データ信号の周波数帯域を前記出力データ信号の
所定の周波数帯域に制限するローパスフィルタを有する
ことを特徴とするサンプリング周波数変換回路。
3. The sampling frequency conversion circuit according to claim 1, further comprising a low-pass filter in a stage preceding said interpolation operation means for limiting a frequency band of said input data signal to a predetermined frequency band of said output data signal. A sampling frequency conversion circuit characterized in that:
JP11017036A 1999-01-26 1999-01-26 Sampling frequency conversion circuit Pending JP2000216762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11017036A JP2000216762A (en) 1999-01-26 1999-01-26 Sampling frequency conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11017036A JP2000216762A (en) 1999-01-26 1999-01-26 Sampling frequency conversion circuit

Publications (1)

Publication Number Publication Date
JP2000216762A true JP2000216762A (en) 2000-08-04

Family

ID=11932784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11017036A Pending JP2000216762A (en) 1999-01-26 1999-01-26 Sampling frequency conversion circuit

Country Status (1)

Country Link
JP (1) JP2000216762A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609194B2 (en) 2006-12-27 2009-10-27 Panasonic Corporation Clock signal generating device and analog-digital conversion device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609194B2 (en) 2006-12-27 2009-10-27 Panasonic Corporation Clock signal generating device and analog-digital conversion device

Similar Documents

Publication Publication Date Title
US4954824A (en) Sample rate conversion system having interpolation function with phase locked clock
US4988901A (en) Pulse detecting device for detecting and outputting a pulse signal related to the slower frequency input pulse
US8165252B2 (en) Signal processing device and method, and program
KR20040096779A (en) Data form converter between serial and parallel
JPH05268208A (en) Frame synchronizing circuit
JPH11122117A (en) Serial-parallel converting device
JP3125699B2 (en) Data synchronization circuit
JP3276852B2 (en) Code conversion circuit
JP3657188B2 (en) Device and its operating method
JP2005045507A (en) Non-integer frequency divider
JP2000216762A (en) Sampling frequency conversion circuit
JP3705273B2 (en) Clock extraction circuit and clock extraction method
US5379038A (en) Parallel-serial data converter
JP4335381B2 (en) Clock generation apparatus and clock generation method
JPH0865173A (en) Parallel to serial conversion circuit
JPH09247137A (en) Phase error detection circuit and digital pll circuit
JP3565545B2 (en) Sampling frequency conversion circuit
JP2003216268A (en) Circuit and method for selecting clock
JP3185768B2 (en) Frequency comparator and clock extraction circuit using the same
CN117176139B (en) Frequency divider construction method and frequency divider with frequency division ratio of 2 plus or minus 1 to power N
JP2011188092A (en) Clock transfer circuit and clock transfer method
JP3065859B2 (en) Delay detection circuit
JPH09196983A (en) Time counting circuit, pulse converting circuit, and fm demodulation circuit
JPH11101855A (en) Testing circuit and testing method for semiconductor integrated circuit and semiconductor device
JP3145988B2 (en) Data S / P conversion circuit