JPH05314656A - Over sampling digital filter - Google Patents

Over sampling digital filter

Info

Publication number
JPH05314656A
JPH05314656A JP11874192A JP11874192A JPH05314656A JP H05314656 A JPH05314656 A JP H05314656A JP 11874192 A JP11874192 A JP 11874192A JP 11874192 A JP11874192 A JP 11874192A JP H05314656 A JPH05314656 A JP H05314656A
Authority
JP
Japan
Prior art keywords
program
oversampling
speed mode
digital filter
execution time
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
JP11874192A
Other languages
Japanese (ja)
Other versions
JP3112561B2 (en
Inventor
Hiroshi Oyabu
博司 大藪
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.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP04118741A priority Critical patent/JP3112561B2/en
Publication of JPH05314656A publication Critical patent/JPH05314656A/en
Application granted granted Critical
Publication of JP3112561B2 publication Critical patent/JP3112561B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To provide an over sampling digital filter unnecessary for raising an operation speed even at a double speed mode time. CONSTITUTION:In the case of a normal speed mode, programs A, B, C are executed successively. Thus, the over sampling of 2X2X2=8 times is realized. In the case of the double speed mode (where 2 times speed), a system clock is not revised and only the programs A, B are executed. Since the execution time of a first program is 1/2 of the sum execution time of the first, a second programs, is executed at a double speed. Then, the over sampling equal to 8 times is executed substantially.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はディジタル・オーディ
オ等に使用されるオーバーサンプリング・ディジタル・
フィルタに関するものであり、特にその構成の簡素化に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to oversampling digital audio used for digital audio and the like.
The present invention relates to a filter, and particularly to simplification of its configuration.

【0002】[0002]

【従来の技術】CD等のディジタル信号処理において
は、アナログ信号とディジタル信号との変換のために、
A/D変換回路、D/A変換回路が必要である。図5
に、D/A変換回路の構成を示す。このD/A変換回路
は、D/A変換器2、アナログLPF4を備えている。
D/A変換器2に、周波数FSにてサンプリングしたデ
ィジタル信号が与えられると、アナログ信号が出力され
る。このアナログ信号のスペクトルは図6のように示さ
れ、FSのn倍の周波数を中心として高調波が生じる。
これらの高調波を除去するため、アナログLPF4が設
けられている。このアナログLPF4の特性は、FS
2付近で急激に立ち下がりのあるものとする必要がある
(図6のα参照)。
2. Description of the Related Art In digital signal processing such as CD, in order to convert an analog signal and a digital signal,
An A / D conversion circuit and a D / A conversion circuit are required. Figure 5
The configuration of the D / A conversion circuit is shown in FIG. This D / A conversion circuit includes a D / A converter 2 and an analog LPF 4.
When the digital signal sampled at the frequency F S is given to the D / A converter 2, an analog signal is output. The spectrum of this analog signal is shown in FIG. 6, and harmonics are generated around the frequency n times F S.
An analog LPF 4 is provided to remove these harmonics. The characteristic of this analog LPF4 is F S /
It is necessary to make a sharp fall near 2 (see α in FIG. 6).

【0003】ところで、図6のαに示すような特性を持
つアナログLPF4を得ることは困難である。したがっ
て、図7に示すように、D/A変換器2の前にオーバサ
ンプリング・フィルタ6(ディジタル・フィルタ)を設
けるようにしている。このオーバサンプリング・フィル
タ6は、FSの8倍の周波数によってサンプリングを行
うものである(オーバーサンプリング)。したがって、
図8に示すように、8FSの周波数まで高調波が現れな
い。このため、アナログLPF4の特性を、図8のβに
示すように、なだらかなものとすることができる。すな
わち、アナログLPF4に要求される特性を、緩やかに
することが可能となる。
By the way, it is difficult to obtain the analog LPF 4 having the characteristics shown by α in FIG. Therefore, as shown in FIG. 7, the oversampling filter 6 (digital filter) is provided before the D / A converter 2. The oversampling filter 6 performs sampling at a frequency eight times F S (oversampling). Therefore,
As shown in FIG. 8, no harmonic appears until the frequency of 8F S. Therefore, the characteristics of the analog LPF 4 can be made gentle as shown by β in FIG. That is, the characteristics required for the analog LPF 4 can be made gentle.

【0004】以上のようにして、オーバサンプリングフ
ィルタ6を用いることにより、アナログLPF4の負担
を軽くすることが行われている。
As described above, the load on the analog LPF 4 is reduced by using the oversampling filter 6.

【0005】ところで、CD等のディジタル・オーディ
オ機器において、通常速度の倍の速度で再生する機能を
有するものがある(倍速度モードという)。このような
倍速度モードにて再生を行う場合には、システムクロッ
クの周波数を2倍にして、機器全体が2倍の速度で動作
するようにしている。したがって、上記のオーバサンプ
リング・フィルタ6の動作速度も、2倍となる。
Some digital audio devices such as CDs have a function of reproducing at a speed twice as high as the normal speed (called a double speed mode). When reproducing in such a double speed mode, the frequency of the system clock is doubled so that the entire device operates at double speed. Therefore, the operating speed of the above oversampling filter 6 is also doubled.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
ような従来のオーバサンプリング・ディジタル・フィル
タには、次のような問題点があった。
However, the above-described conventional oversampling digital filter has the following problems.

【0007】オーバサンプリング・ディジタル・フィル
タは、オーバサンプリング動作を行うものであるから、
他の部分に比較して高速な動作が要求されている。さら
に、倍速度モード時には、その2倍の動作速度が要求さ
れるのでなおさらである。高速動作のオーバサンプリン
グ・ディジタル・フィルタは、設計、製造ともに困難で
あり、機器の低価格化を阻害するものであった。
Since the oversampling digital filter performs oversampling operation,
High-speed operation is required as compared with other parts. Furthermore, in the double speed mode, an operating speed twice as high as that is required, which is even more so. High-speed operation oversampling digital filters are difficult to design and manufacture, and have hindered cost reduction of equipment.

【0008】この発明は、上記のような問題点を解決し
て、倍速度モード時においても、動作速度を上昇させる
必要のないオーバサンプリング・ディジタル・フィルタ
を提供することを目的とする。
An object of the present invention is to solve the above problems and to provide an oversampling digital filter which does not need to increase the operating speed even in the double speed mode.

【0009】[0009]

【課題を解決するための手段】この発明に係るオーバサ
ンプリング・ディジタル・フィルタは、動作を制御する
プログラムを基礎倍オーバーサンプリングの第1プログ
ラムと、所定倍オーバーサンプリングの第2プログラム
に分割し、第1プログラムと第2プログラムの合計実行
時間に対する第1プログラムの実行時間の比を1/所定
倍にするとともに、通常速度モードにおいては、第1プ
ログラムと第2プログラムを連続して実行することによ
り、基礎倍×所定倍のオーバサンプリングを行い、倍速
度モードにおいては、通常速度モード時と同じ周波数の
動作クロックにより、基礎倍のオーバーサンプリングを
行う第1プログラムのみを実行することにより、実質的
に基礎倍×所定倍のオーバーサンプリングを行う、こと
を特徴としている。
An oversampling digital filter according to the present invention divides a program for controlling the operation into a first program for basic multiple oversampling and a second program for predetermined multiple oversampling. By making the ratio of the execution time of the first program to the total execution time of the first program and the second program 1 / predetermined times, and by executing the first program and the second program continuously in the normal speed mode, In the double speed mode, oversampling of basic times x predetermined times is performed, and in the double speed mode, only the first program for performing basic sampling oversampling is executed by the operation clock having the same frequency as in the normal speed mode, thereby substantially reducing It is characterized in that oversampling of a predetermined number of times is performed.

【0010】[0010]

【作用】通常速度モードにおいては、第1プログラムと
第2プログラムを連続して実行する。第1プログラムは
基礎倍のオーバサンプリング、第2プログラムは所定倍
のオーバサンプリングを行うものであるから、基礎倍×
所定倍のオーバサンプリングが行われることとなる。
In the normal speed mode, the first program and the second program are continuously executed. Since the first program performs oversampling at the basic multiple, and the second program performs oversampling at a predetermined multiple, the basic multiple ×
A predetermined multiple of oversampling will be performed.

【0011】倍速度モードにおいては、通常速度モード
時と同じ周波数の動作クロックにより、第1プログラム
のみを実行する。第1プログラムは、基礎倍のオーバー
サンプリングを行うものである。また、第1プログラム
の実行時間は、第1プログラムと第2プログラムの合計
実行時間の1/所定倍である。したがって、通常速度モ
ードにおいて行われるサンプリングの所定倍のサンプリ
ングを行うこととなる。すなわち、実質的に基礎倍×所
定倍のオーバーサンプリングが実現される。
In the double speed mode, only the first program is executed by the operation clock having the same frequency as in the normal speed mode. The first program is to perform oversampling of the basic multiple. The execution time of the first program is 1 / predetermined times of the total execution time of the first program and the second program. Therefore, the sampling is performed at a predetermined multiple of the sampling performed in the normal speed mode. In other words, the oversampling of the basic multiple × the predetermined multiple is substantially realized.

【0012】[0012]

【実施例】図2に、一般的なオーバサンプリング・ディ
ジタル・フィルタの原理図を示す。端子10に、ディジ
タル入力が与えられる。このディジタルデータは、遅延
回路Z0〜Zn-1により順次遅延される。なお、各遅延回
路Z0〜Zn-1の遅延時間は、サンプリング周波数により
定められる。各遅延回路Z0〜Zn-1からの出力に、各々
乗算器H0〜Hnにより係数が掛けあわされる。この乗算
結果は、加算器12において加算され、ディジタル出力
として端子14から出力される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 shows the principle of a general oversampling digital filter. A digital input is applied to the terminal 10. This digital data is sequentially delayed by the delay circuits Z 0 to Z n-1 . The delay time of each delay circuit Z 0 to Z n-1 is determined by the sampling frequency. The outputs from the delay circuits Z 0 to Z n-1 are multiplied by the coefficients by the multipliers H 0 to H n , respectively. The multiplication results are added in the adder 12 and output from the terminal 14 as a digital output.

【0013】例えば、8倍オーバサンプリングを行う場
合には、2倍オーバサンプリングを行う図2のような回
路を3つ用意する。これを直列に接続して、8倍オーバ
サンプリングを実現する。
For example, when 8 times oversampling is performed, three circuits as shown in FIG. 2 for performing 2 times oversampling are prepared. These are connected in series to realize 8 times oversampling.

【0014】図2の回路を実現した例を、図3に示す。
この例においては、制御回路34のプログラムにより、
各部が制御されている。端子10から、ディジタルデー
タが与えられる。これは、制御回路34の指令により、
RAM20の所定のアドレスに記憶される。次に、制御
回路34は、RAM20から入力データを読み出して乗
算器28に与える。これと同時に、ROM26から係数
を読み出して、乗算器28に与える。乗算器28は、両
データを乗算して、加算器30に与える。
An example of realizing the circuit of FIG. 2 is shown in FIG.
In this example, by the program of the control circuit 34,
Each part is controlled. Digital data is given from the terminal 10. This is a command from the control circuit 34.
It is stored at a predetermined address in the RAM 20. Next, the control circuit 34 reads the input data from the RAM 20 and gives it to the multiplier 28. At the same time, the coefficient is read from the ROM 26 and given to the multiplier 28. The multiplier 28 multiplies both data and gives it to the adder 30.

【0015】次に、制御回路34は、RAM20に記憶
しておいた、前回の入力データを読み出し、乗算器28
に与える。これと同時に、ROM26から係数を読み出
して、乗算器28に与える。乗算器28は、両データを
乗算して、加算器30に与える。
Next, the control circuit 34 reads the previous input data stored in the RAM 20, and the multiplier 28
Give to. At the same time, the coefficient is read from the ROM 26 and given to the multiplier 28. The multiplier 28 multiplies both data and gives it to the adder 30.

【0016】以下、上記の動作を繰り返すと、加算器3
0から、ラッチ32を介して、出力データが得られる。
すなわち、図2の原理図と同様の動作が行われる。
After repeating the above operation, the adder 3
Output data is obtained from 0 through the latch 32.
That is, the same operation as the principle diagram of FIG. 2 is performed.

【0017】なお、8倍のオーバサンプリングを行う場
合には、2倍オーバサンプリングを3回繰り返すことに
より、実現する。
When 8 times oversampling is performed, it is realized by repeating 2 times oversampling three times.

【0018】この実施例においては、制御回路34のプ
ログラムを図1に示すような構成にしている。すなわ
ち、第1プログラムであるプログラムAとプログラムB
および第2プログラムであるプログラムCに分けてい
る。第1プログラム(プログラムA、B)の実行時間
は、第1プログラムと第2プログラム(プログラムA、
B、C)の合計実行時間の1/2となるように、ステッ
プ数等が調整されている。第1プログラムは基礎倍であ
る4倍のオーバサンプリングを行うものであり、第2プ
ログラムは所定倍である2倍のオーバサンプリングを行
うものである。
In this embodiment, the program of the control circuit 34 is constructed as shown in FIG. That is, the first program, program A and program B
And a program C which is a second program. The execution times of the first program (programs A and B) are
The number of steps and the like are adjusted so that the total execution time of (B, C) is 1/2. The first program performs oversampling of 4 times, which is a basic multiple, and the second program performs oversampling of 2 times, which is a predetermined multiple.

【0019】通常速度モードの場合には、プログラム
A、B、Cを順に実行する。これにより、2×2×2=
8倍のオーバサンプリングを実現することができる。
In the normal speed mode, the programs A, B and C are executed in sequence. Therefore, 2 × 2 × 2 =
Eight times oversampling can be realized.

【0020】倍速度モード(ここでは2倍の速度)の場
合には、システムクロックを変更せず、プログラムA、
Bのみを実行する。したがって、プログラム上は、2×
2=4倍のオーバサンプリングを行うこととなる。しか
しながら、第1プログラムの実行時間は、第1と第2プ
ログラムの合計実行時間の1/2であるから、2倍の速
度で実行されることとなる。このため、実質上、8倍の
オーバサンプリングが行われていることに等しくなる。
In the case of the double speed mode (double speed in this case), the system clock is not changed and the program A,
Execute only B. Therefore, in terms of the program, 2 ×
2 = 4 times oversampling is performed. However, since the execution time of the first program is ½ of the total execution time of the first and second programs, it will be executed at twice the speed. For this reason, it is substantially equal to 8 times oversampling.

【0021】上記のようにすることにより、システムク
ロックを高速化することなく、倍速度モードを実現する
ことができる。
With the above arrangement, the double speed mode can be realized without increasing the system clock speed.

【0022】上記実施例においては、2倍速度の倍速度
モードの場合について説明したが、K倍速度の倍速度モ
ードの場合にも適用することができる。K倍速度モード
の場合には、図4に示すように、第1プログラムFの実
行時間を、第1、第2プログラムの合計実行時間の1/
Kにすればよい。
In the above embodiment, the case of the double speed mode of double speed has been described, but the present invention can also be applied to the double speed mode of K double speed. In the K-speed mode, as shown in FIG. 4, the execution time of the first program F is 1 / of the total execution time of the first and second programs.
You can set it to K.

【0023】また、上記実施例では、図3に示すような
回路を用いたが、全てソフトウエアによって実現しても
よい。
In the above embodiment, the circuit as shown in FIG. 3 is used, but it may be realized by software.

【0024】[0024]

【発明の効果】この発明に係るオーバサンプリング・デ
ィジタル・フィルタは、動作を制御するプログラムを基
礎倍オーバーサンプリングの第1プログラムと、所定倍
オーバーサンプリングの第2プログラムに分割し、第1
プログラムと第2プログラムの合計実行時間に対する第
1プログラムの実行時間の比を1/所定倍にするととも
に、通常速度モードにおいては、第1プログラムと第2
プログラムを連続して実行することにより、基礎倍×所
定倍のオーバサンプリングを行い、倍速度モードにおい
ては、通常速度モード時と同じ周波数の動作クロックに
より、基礎倍のオーバーサンプリングを行う第1プログ
ラムのみを実行するようにしている。したがって、動作
クロックを速くすることなく、倍速度モードを実現する
ことができる。
In the oversampling digital filter according to the present invention, the program for controlling the operation is divided into the first program of basic multiple oversampling and the second program of predetermined multiple oversampling.
The ratio of the execution time of the first program to the total execution time of the program and the second program is set to 1 / predetermined times, and in the normal speed mode, the first program and the second program are executed.
Only the first program that performs oversampling of the basic multiple by executing the program continuously and performing oversampling of the basic multiple × a predetermined multiple, and in the double speed mode, using the operating clock of the same frequency as in the normal speed mode. I'm trying to do. Therefore, the double speed mode can be realized without increasing the operation clock.

【0025】すなわち、この発明によれば、倍速度モー
ド時においても、動作速度を上昇させる必要のないオー
バサンプリング・ディジタル・フィルタを提供すること
ができる。
That is, according to the present invention, it is possible to provide an oversampling digital filter which does not require an increase in operating speed even in the double speed mode.

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

【図1】この発明の一実施例によるオーバサンプリング
・ディジタル・フィルタの制御プログラムの構成を示す
図である。
FIG. 1 is a diagram showing a configuration of a control program for an oversampling digital filter according to an embodiment of the present invention.

【図2】オーバサンプリング・ディジタル・フィルタの
原理を示す図である。
FIG. 2 is a diagram showing the principle of an oversampling digital filter.

【図3】オーバサンプリング・ディジタル・フィルタの
ハードウエア構成を示す図である。
FIG. 3 is a diagram showing a hardware configuration of an oversampling digital filter.

【図4】他の実施例によるオーバサンプリング・ディジ
タル・フィルタの制御プログラムの構成を示す図であ
る。
FIG. 4 is a diagram showing the configuration of a control program for an oversampling digital filter according to another embodiment.

【図5】D/A変換回路の一例を示す図である。FIG. 5 is a diagram showing an example of a D / A conversion circuit.

【図6】図5の回路の特性を示す図である。FIG. 6 is a diagram showing characteristics of the circuit of FIG.

【図7】オーバサンプリング・フィルタ6を設けたD/
A変換回路の一例を示す図である。
FIG. 7: D / with oversampling filter 6
It is a figure which shows an example of an A conversion circuit.

【図8】図7の回路の特性を示す図である。FIG. 8 is a diagram showing characteristics of the circuit of FIG. 7.

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

A、B・・・第1プログラム C・・・第2プログラム A, B ... First program C ... Second program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】通常速度モードおよび通常速度に対して所
定倍の倍速度モードを有する録音または再生装置に用い
る、プログラム制御のオーバーサンプリング・ディジタ
ル・フィルタにおいて、 前記プログラムを基礎倍オーバーサンプリングの第1プ
ログラムと、所定倍オーバーサンプリングの第2プログ
ラムに分割し、第1プログラムと第2プログラムの合計
実行時間に対する第1プログラムの実行時間の比を1/
所定倍にするとともに、 通常速度モードにおいては、第1プログラムと第2プロ
グラムを連続して実行することにより、基礎倍×所定倍
のオーバサンプリングを行い、 倍速度モードにおいては、通常速度モード時と同じ周波
数の動作クロックにより、基礎倍のオーバーサンプリン
グを行う第1プログラムのみを実行することにより、実
質的に基礎倍×所定倍のオーバーサンプリングを行う、 ことを特徴とするオーバーサンプリング・ディジタル・
フィルタ。
1. A program-controlled oversampling digital filter for use in a recording or reproducing device having a normal speed mode and a double speed mode which is a predetermined multiple of the normal speed. The program and a second program with a predetermined multiple oversampling are divided, and the ratio of the execution time of the first program to the total execution time of the first program and the second program is 1 /
In addition to the predetermined speed, in the normal speed mode, the first program and the second program are continuously executed to perform oversampling of basic times × predetermined times. An oversampling digital signal characterized by performing substantially a basic multiple × a predetermined multiple of oversampling by executing only a first program that performs basic multiple oversampling with an operating clock of the same frequency.
filter.
JP04118741A 1992-05-12 1992-05-12 Oversampling digital filter Expired - Fee Related JP3112561B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04118741A JP3112561B2 (en) 1992-05-12 1992-05-12 Oversampling digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04118741A JP3112561B2 (en) 1992-05-12 1992-05-12 Oversampling digital filter

Publications (2)

Publication Number Publication Date
JPH05314656A true JPH05314656A (en) 1993-11-26
JP3112561B2 JP3112561B2 (en) 2000-11-27

Family

ID=14743920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04118741A Expired - Fee Related JP3112561B2 (en) 1992-05-12 1992-05-12 Oversampling digital filter

Country Status (1)

Country Link
JP (1) JP3112561B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103928A (en) * 2008-10-27 2010-05-06 Asahi Kasei Electronics Co Ltd Digital/analog converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103928A (en) * 2008-10-27 2010-05-06 Asahi Kasei Electronics Co Ltd Digital/analog converter

Also Published As

Publication number Publication date
JP3112561B2 (en) 2000-11-27

Similar Documents

Publication Publication Date Title
JP2591864B2 (en) Digital filter
JPH04317224A (en) Sigma delta modulator for d/a converter
JPH0738561B2 (en) Digital filter circuit
JPH048965B2 (en)
JPS6255325B2 (en)
JPH0458611A (en) Sampling frequency converter
JPH05314656A (en) Over sampling digital filter
JPH0865107A (en) Digital interpolation filter circuit
KR970001312B1 (en) Digital signal gain control circuitry for varying digital signal in substantially equal db steps
JPH0732344B2 (en) Thinning filter
JPS59105712A (en) Digital filter
JP3258938B2 (en) Decimation filter
JPH0884048A (en) Sampling rate converter
JP2928072B2 (en) A / D converter
JP3172046B2 (en) Sampling rate converter
JPS60261210A (en) Digital filter circuit
JP2585732B2 (en) Edge enhancement processing circuit
JP2961732B2 (en) Digital feedback circuit
JPS63103509A (en) Digital filter
JPH04160822A (en) D/a converter
JPS6229219A (en) Sampling circuit for analog signal
JP3222611B2 (en) Arithmetic unit
JP3047933B2 (en) Digital crossfader device
JPH05276035A (en) D/a converter
JP2625534B2 (en) Digital filter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees