JPH06112777A - Data interpolating circuit - Google Patents

Data interpolating circuit

Info

Publication number
JPH06112777A
JPH06112777A JP22024491A JP22024491A JPH06112777A JP H06112777 A JPH06112777 A JP H06112777A JP 22024491 A JP22024491 A JP 22024491A JP 22024491 A JP22024491 A JP 22024491A JP H06112777 A JPH06112777 A JP H06112777A
Authority
JP
Japan
Prior art keywords
data
circuit
clock
output
adder
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
JP22024491A
Other languages
Japanese (ja)
Inventor
Kunimasa Ishizaka
国政 石坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP22024491A priority Critical patent/JPH06112777A/en
Publication of JPH06112777A publication Critical patent/JPH06112777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To constitute a binary digital data interpolating circuit with small- scale hardware. CONSTITUTION:Input data has the timing made uniform by a data latch circuit 1 and is delayed in a data latch circuit 2 by a half period, and outputs of circuits 1 and 2 are multiplied in coefficient devices 3 and 4 by coefficients. Outputs of devices 3 and 4 are added by an adder 5, and the result is multiplied in a coefficient device 6 by 1/2, and data is delayed by a half period by a D F/F 7 operated by two-fold clock and is outputted, thus interpolating data. Thus, the data interpolating circuit has small-scale hardware and copes with not only two-fold clock but also N-fold clock.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル信号処理回路
に関し、特に音声や映像信号等の連続する信号でデータ
を2倍、3倍 …とデータを整数倍の周波数クロックに
増加するデータ補間回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processing circuit, and more particularly, to a data interpolating circuit for increasing data to a frequency clock which is an integral multiple of double, triple, ... Regarding

【0002】[0002]

【従来の技術】従来のデータ補間回路は図3のデータ補
間回路2に示すように、データ・ラッチ回路8にINデ
ータを入力し、図4に示すように1周期遅延したデータ
Aを作成する。このデータAを、データ遅延回路9、に
入力し図4に示すようにINデータから2周期遅延した
データBを作成する。このデータBとデータAを加算器
Iで加算し、図4に示すように補間データCを作成す
る。この補間データCと、2周期遅延したデータBとを
デューティ比50%のクロックで2−1セレクター回路
12で選択し、そのデータをINデータの2倍のクロッ
クで動作しているデータ・ラッチ回路13でデータをラ
ッチし、INデータと補間データが図4に示すように交
互に出力される。このようにして従来のデータ補間回路
は構成されていた。
2. Description of the Related Art A conventional data interpolating circuit inputs IN data to a data latch circuit 8 as shown in a data interpolating circuit 2 of FIG. 3 and creates data A delayed by one cycle as shown in FIG. . This data A is input to the data delay circuit 9, and data B delayed by two cycles from the IN data is created as shown in FIG. The data B and the data A are added by the adder I to create the interpolation data C as shown in FIG. A data latch circuit in which the interpolation data C and the data B delayed by two cycles are selected by a 2-1 selector circuit 12 with a clock having a duty ratio of 50%, and the data is operated with a clock twice as long as the IN data. The data is latched at 13, and the IN data and the interpolated data are alternately output as shown in FIG. In this way, the conventional data interpolation circuit is constructed.

【0003】[0003]

【発明が解決しようとする課題】従来の、データ補間回
路はデータ・ラッチ回路1個、データ・遅延回路1個、
加算器1個、2−1セレクター回路、1個という構成な
ので回路規模が大きく、2つのデータから、補間データ
を2つ、又は3つと作成してサンプリングクロックの周
波数を2以上の整数倍にする時には各々の係数をかけて
から加算し、かつ2の加算結果をサンプリング周波数を
整数倍する。その整数倍入力のセレクターが必要であっ
た。
A conventional data interpolation circuit is one data latch circuit, one data delay circuit,
The circuit scale is large because it consists of one adder, 2-1 selector circuit, and one, and two or three interpolation data are created from two data to make the sampling clock frequency an integer multiple of 2 or more. Sometimes, the respective coefficients are multiplied and then added, and the addition result of 2 is multiplied by the sampling frequency by an integer. A selector with an integer multiple input was needed.

【0004】[0004]

【課題を解決するための手段】従って、本発明は、上述
の目的でN信クロックにデータをデータ補間をする場合
には、下記に記述するような手段を用いている。
Therefore, in the present invention, when the data is interpolated in the N signal clock for the above-mentioned purpose, the following means are used.

【0005】まず、入力データをデータ・ラッチ回路で
データをラッチし、データのタイミングをそろえる。そ
のデータをN信クロックで作成した位相の異なるクロッ
クで動作している(N−1)個のデータ遅延回路を用い
て、1/N周期ずつ周期の異なるデータと最初のデータ
・ラッチ出力と合わせてN個作成し、そのN個のデータ
に各々のデータに対応した係数器N個で重みづけを行な
う。それらを全て加算器により加算する。そのデータを
N信のクロックで動作しているデータ・ラッチ回路でデ
ータをラッチし、データのタイミングをそろえてデータ
補間出力を作成するように構成したデータ補間回路であ
る。
First, input data is latched by a data latch circuit to align the data timing. Using the (N-1) data delay circuits that operate with the clocks with different phases created by the N signal clock, combine the data with different periods by 1 / N period and the first data latch output. N pieces of data are created, and the N pieces of data are weighted by N coefficient units corresponding to the respective pieces of data. All of them are added by the adder. The data interpolating circuit is configured to latch the data with a data latch circuit operating with a clock of N signals and create a data interpolating output at the same timing of the data.

【0006】[0006]

【作用】この発明によれば、2倍のクロック用にデータ
を補間する場合にはデータ・ラッチ回路2個と、データ
遅延回路1個と加算器1個で従来の回路と同じ働きをし
ているので、2−1セレクター回路1個を減じることが
出来る為、回路規模の縮小を実現している。
According to the present invention, when the data is interpolated for the doubled clock, two data latch circuits, one data delay circuit and one adder perform the same function as the conventional circuit. Since it is possible to reduce one 2-1 selector circuit, the circuit scale is reduced.

【0007】又、この発明を用いれば2倍だけでなく、
あらゆる整数倍のクロックにも対応することが出来る。
Further, if the present invention is used, not only double,
It is possible to support any integral multiple clock.

【0008】[0008]

【実施例】次に本発明の、実施例1について図1〜図2
を参照して説明する。
Embodiment 1 Next, Embodiment 1 of the present invention will be described with reference to FIGS.
Will be described with reference to.

【0009】1はデータをそろえるデータ・ラッチ回
路、2は1/2周期遅延する為に1とは逆相のクロック
を入力したデータ遅延回路、3は2の出力に重み付けを
行なう係数器、4は1の出力に重み付けを行なう係数
器、5は3と、4の係数器出力を加算する加算器、6は
5の出力に係数をかける係数器、7は6の出力データを
そろえるデータ・ラッチ回路である。 次に動作につい
て説明する。
1 is a data latch circuit for aligning data, 2 is a data delay circuit to which a clock having a phase opposite to that of 1 is input in order to delay 1/2 cycle, 3 is a coefficient unit for weighting the output of 2, 4 Is a coefficient unit for weighting the output of 1, 5 is an adder for adding the output of the coefficient units of 3 and 4, 6 is a coefficient unit for multiplying the output of 5 by a coefficient, and 7 is a data latch for aligning the output data of 6. Circuit. Next, the operation will be described.

【0010】この回路は、図2に示すように入力データ
に対して2倍クロックの出力データを補間する回路であ
る。まず最初に入力データをデータ・ラッチ回路1でデ
ータをラッチしデータのタイミングをそろえ、係数器4
で1倍して図2に示すデータAを作成する。次にデータ
ラッチ回路1の出力を逆相のクロックが入っているデー
タ遅延回路2で1/2周期データを遅延し、係数器3で
1倍して、図2に示すデータBを作成する。このデータ
BとデータAを加算器5で加算する。加算器5からの出
力を、ビットシフトで構成した係数器6で1/2倍し、
それを2倍のクロックで動作しているデータ・ラッチ回
路7でデータをラッチし、データをそろえて出力してい
る。このデータが図2に示すように入力データと、補間
データが交互に出力されるデータ補間回路となる。
This circuit is a circuit for interpolating output data of a double clock with respect to input data as shown in FIG. First, input data is latched by the data latch circuit 1 to align the data timing, and the coefficient unit 4
Is multiplied by 1 to create data A shown in FIG. Next, the output of the data latch circuit 1 is delayed by ½ cycle data by the data delay circuit 2 in which the clock of the opposite phase is input and is multiplied by 1 by the coefficient unit 3 to create the data B shown in FIG. The data B and the data A are added by the adder 5. The output from the adder 5 is halved by the coefficient unit 6 configured by bit shift,
The data is latched by the data latch circuit 7 operating with a double clock, and the data is aligned and output. This data serves as a data interpolating circuit that alternately outputs input data and interpolation data as shown in FIG.

【0011】次に本発明の実施例2を、図6と図7を参
照して説明する。
Next, a second embodiment of the present invention will be described with reference to FIGS. 6 and 7.

【0012】この実施例では、入力データに対して3倍
のクロック周期のデータを出力する為にデータラッチ回
路14と、データ遅延回路15とデータ遅延回路16を
用いて遅延量が1/3周期ずつ異なる図7に示すような
データA、データB、データCを作成する。その各々の
データを係数器17〜19に入力し、1倍、2倍、1倍
に係数をかけて出力する。各々の係数器出力を加算器2
0と21を用いて加算し、係数器22で1/4倍する。
そのデータを3倍のクロックで動作しているデータ・ラ
ッチ回路23でデータをラッチすることにより図6のO
UTに示すようなデータ補間出力を得ることが出来る。
In this embodiment, the data latch circuit 14, the data delay circuit 15 and the data delay circuit 16 are used to output data having a clock cycle three times as long as the input data, and the delay amount is 1/3 cycle. Data A, data B, and data C as shown in FIG. The respective data are input to the coefficient units 17 to 19, multiplied by a factor of 1, 2, and output. Add each coefficient output to adder 2
0 and 21 are used for addition, and the coefficient unit 22 multiplies by 1/4.
The data is latched by the data latch circuit 23 operating at the triple clock, and the data in FIG.
A data interpolation output as shown in UT can be obtained.

【0013】実施例3は、図7と図8を参照して説明す
る。
The third embodiment will be described with reference to FIGS. 7 and 8.

【0014】本実施例は、実施例2と同様に構成されて
おリ、4倍のクロックに用補間データを作成する為、デ
ータ・ラッチ回路24とデータ遅延回路25〜27によ
って各データ出力が1/4周期ずつ遅延時間が異なるよ
うにし、最終段のデータ・ラッチ回路36を、4倍のク
ロックで動作させている。このように構成することによ
り、4倍のクロック用にデータ補間することが出来る。
This embodiment has the same configuration as that of the second embodiment, and since the interpolation data for 4 times the clock is created, each data output is made by the data latch circuit 24 and the data delay circuits 25 to 27. The delay time is made to differ for each ¼ cycle, and the data latch circuit 36 at the final stage is operated with a quadrupled clock. With this configuration, data can be interpolated for the quadruple clock.

【0015】[0015]

【発明の効果】以上説明したように本発明は、N信のク
ロックに対応したデータ補間をする為に、0/N、1/
N、2/N … N−1/N周期遅延した遅延時間の異
なるデータをデータ・遅延回路により作成し、そのデー
タに各々のデータに対応した係数器によって、各々係数
をかけてその全てを加算する。その加算したデータに係
数をかけてN信のクロックで動作しているデータ・ラッ
チ回路でデータをラッチすることによりN倍クロックに
対応した、補間データを作成出来る効果がある。
As described above, according to the present invention, in order to perform data interpolation corresponding to the clock of N signals, 0 / N, 1 /
N, 2 / N ... Create data with different delay times delayed by N-1 / N by a data / delay circuit, multiply the data by coefficients by coefficient multipliers corresponding to each data, and add all of them. To do. By multiplying the added data by a coefficient and latching the data by the data latch circuit operating at the clock of N signals, there is an effect that interpolation data corresponding to the N times clock can be created.

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

【図1】本発明のデータ補間回路1である。FIG. 1 is a data interpolation circuit 1 of the present invention.

【図2】本発明のデータ補間回路1のタイミング図であ
る。
FIG. 2 is a timing chart of the data interpolation circuit 1 of the present invention.

【図3】従来のデータ補間回路2である。FIG. 3 shows a conventional data interpolation circuit 2.

【図4】従来のデータ補間回路2のタイミング図であるFIG. 4 is a timing diagram of a conventional data interpolation circuit 2.

【図5】本発明実施例2のデータ補間回路3である。FIG. 5 is a data interpolation circuit 3 according to the second embodiment of the present invention.

【図6】本発明実施例2のデータ補間回路3のタイミン
グ図である。
FIG. 6 is a timing chart of the data interpolation circuit 3 according to the second embodiment of the present invention.

【図7】本発明実施例3のデータ補間回路4である。FIG. 7 is a data interpolation circuit 4 according to the third embodiment of the present invention.

【図8】本発明実施例3のデータ補間回路4のタイミン
グ図である
FIG. 8 is a timing chart of the data interpolation circuit 4 according to the third embodiment of the present invention.

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

1,7,8,13,14,23,24,36 8bit
データ・ラッチ回路 2,9,15,16,25,26,27 8bitデー
タ・データ遅延回路 5,10,20,32,33 8bit加算器 3,4,17,19,,28〜31 1倍係数器 6,11 1/2倍係数器 12 2−1セレクタ回路 21 10bit加算器 34 9bit加算器段 18 2倍係数器 22,35 1/2倍係数器
1,7,8,13,14,23,24,368 8bit
Data latch circuit 2, 9, 15, 16, 25, 26, 27 8-bit data / data delay circuit 5, 10, 20, 32, 33 8-bit adder 3, 4, 17, 19, 28-31 1-fold coefficient Unit 6,11 1/2 multiplication coefficient unit 12 2-1 selector circuit 21 10 bit adder 34 9 bit adder stage 18 2 multiplication coefficient unit 22,35 1/2 multiplication coefficient unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 連続して入力されるデータから、そのデ
ータのN信のクロックに対応したデータ補間をする場合
に、X+0/N、X+2/N、X+2/N…X+N−1
/N周期の遅延時間を作成するデータ遅延回路とそのデ
ータ遅延出力に重み付けを行なう、係数器と、その係数
器出力の全てを加算する加算器と、その加算器出力をラ
ッチするデータ・ラッチ回路を有するデータ補間回路。
1. In the case of performing data interpolation corresponding to an N signal clock of the data from continuously input data, X + 0 / N, X + 2 / N, X + 2 / N ... X + N-1
Data delay circuit for creating a delay time of / N cycle, a coefficient unit for weighting the data delay output, an adder for adding all of the output of the coefficient unit, and a data latch circuit for latching the adder output A data interpolating circuit having:
JP22024491A 1991-08-30 1991-08-30 Data interpolating circuit Pending JPH06112777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22024491A JPH06112777A (en) 1991-08-30 1991-08-30 Data interpolating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22024491A JPH06112777A (en) 1991-08-30 1991-08-30 Data interpolating circuit

Publications (1)

Publication Number Publication Date
JPH06112777A true JPH06112777A (en) 1994-04-22

Family

ID=16748153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22024491A Pending JPH06112777A (en) 1991-08-30 1991-08-30 Data interpolating circuit

Country Status (1)

Country Link
JP (1) JPH06112777A (en)

Similar Documents

Publication Publication Date Title
JPH0439811B2 (en)
KR100433113B1 (en) Interpolator
US6307907B1 (en) Complex multiplier
JPH06112777A (en) Data interpolating circuit
JPS60114020A (en) Digital filter circuit
JPH0865107A (en) Digital interpolation filter circuit
JP2005020554A (en) Digital filter
KR100297530B1 (en) Rate converter
JP2885121B2 (en) Digital filter
US6625628B1 (en) Method and apparatus for digital filter
JPH0936664A (en) Frequency conversion circuit
JP2722919B2 (en) Clock-to-clock delay generation circuit
JP2527019B2 (en) Non-cyclic interpolation filter
JP3041932B2 (en) Sample rate conversion circuit
JP2628506B2 (en) Digital filter
JP3865469B2 (en) Butterfly calculator
US20020049799A1 (en) Parallel implementation for digital infinite impulse response filter
US20020190883A1 (en) Oversampling circuit and digital/analog converter
JPH05327412A (en) High speed processing type digital filter
JP4792354B2 (en) Single bit multiplier circuit with phase adjustment function
JPS6236912A (en) Noncycle type digital filter
JPH08335850A (en) Simple digital filter
TWI411298B (en) Frequency conversion device and conversion method and filter thereof
JPH0837444A (en) Oversampling digital filter
JPH118531A (en) Oversampling digital filter