Skip to content Skip to navigation

Connexions

You are here: Home » Content » Overview of Digital Filters (INCT)

Navigation

Recently Viewed

This feature requires Javascript to be enabled.

Overview of Digital Filters (INCT)

Module by: Yoji Yamada, Hironori Takaryo. E-mail the authors

User rating (How does the rating system work?)
Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

:
(0 ratings)

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

線形シフト不変システムとインパルス応答

 ディジタル信号処理を実行する処理ブロックのモデルとして、図1に示すブロック図を考える。

図 1: システムの入出力関係
図 1 (figure1.jpg)

 図1で、 x(n) x(n) および y(n) y(n) をそれぞれ入力信号および出力信号とする。 ここで、 x(n) x(n) から y(n) y(n) を生じる処理ブロックを、システムと呼ぶことにする。 システムが線形性、シフト不変性[1]などの条件を満たすとき、このシステムを 線形シフト不変システムという。 また、システムを実時間処理で実現するには、 因果性[1]が要求される。本テーマで扱うシステムはすべて因果性を満たす ものとする。

 線形シフト不変システムにディジタル単位インパルス δ(n) δ(n)

δ(n)={ 1 0 (n=0) (n0) δ(n)={ 1 0 (n=0) (n0) (1)

を入力したときの出力 h(n) h(n) を、インパルス応答と定義する。 インパルス応答は、システムの性質を示す重要な値である。

畳み込み演算とディジタルフィルタ

あるシステムが線形性とシフト不変性を満たす場合、そのシステムのインパル ス応答 h(n) h(n) が与えられれば、任意の入力 x(n) x(n) に対する出力 y(n) y(n) は、 式(2)により計算することができる。

y(n)= k= x(k)h(nk) = k= h(k)x(nk) y(n)= k= x(k)h(nk) = k= h(k)x(nk) (2)

 さらに、ある入力信号に対して畳み込み演算を実行することにより、入力信号 からある特定の周波数成分だけを抜き出すなどのフィルタ効果があることが知 られている。加えてこのフィルタ効果は、インパルス応答を変化させることに より様々に変化させることができる。 このことから、畳み込み演算を実行するシステムは、ディジタルフィルタ ともよばれている。インパルス応答が有限時間だけ持続するシステム をFIR(Finite Impulse Response)システム(またはFIRフィルタ)、 無限時間持続するフィルタのことをIIR(Infinite Impulse Response)システム (またはIIRフィルタ)と分類している。本テーマでは、FIRフィルタ を扱うこととする。

インパルス応答と周波数特性

 以上のようなフィルタ効果を与えるシステムの特性を、そのシステムの周波数 特性として表現することができる。インパルス応答 h(n) h(n) を有するシステム の周波数特性 H( e jω ) H( e jω ) は、 ω ω を正規化角周波数として、 次式で定義される。

H( e jω )= n= h(n) e jωn H( e jω )= n= h(n) e jωn (3)

 システムがFIRフィルタの場合、インパルス応答 h(n) h(n) は有限時間しか持 続しない。また、因果性を満たすシステムの場合、因果性の定義より、 h(n)=0(n<0) h(n)=0(n<0) であるので、因果性を満足しインパルス応答長が N N で あるFIRシステムの周波数特性は次式となる。

H( e jω )= n=0 N1 h(n) e jωn H( e jω )= n=0 N1 h(n) e jωn (4)

N N のことをフィルタ長ということもある。

周波数特性の計算

 周波数特性には、その大きさを表す振幅特性と、入出力信号間の位相の変化を 表す位相特性とがある。また、位相特性を別の形で表現した特性として、 群遅延特性がある。

(4)式より、振幅特性 H( e jω ) H( e jω ) は、以下のように実部と虚部に分けて表すことができる。

H( e jω )= n=0 N1 h(n)cosωn+j{ n=1 N1 h(n)sinωn } H( e jω )= n=0 N1 h(n)cosωn+j{ n=1 N1 h(n)sinωn } (5)

ここで、右辺第一項は実部、右辺第二項は虚部である。よって振幅特性 H( e jω ) H( e jω ) の絶対値は、(5)式の絶対値をとって以下のように計算できる。

| H( e jω ) |= R e 2 + I m 2 | H( e jω ) |= R e 2 + I m 2 (6)

式(6)で R e R e および I m I m は、それぞれ(5)式における実部と虚部を表すものとする。振幅特性の大きさは、しばしば[dB]で表示される。この場合の振幅(ampitude) [dB]は、常用対数をとって次式で表される。

20 log 10 | H( e jω ) | 20 log 10 | H( e jω ) | (7)

(7)式で、正規化角周波数 ω ω を細かく変化させて ω ω を横軸、振幅特性を縦軸としてグラフに示せば、振幅特性の グラフを得ることができる。また、周波数を正規化周波数 f= ω 2π f= ω 2π で表現することも多い。正規化周波数 f f は、周波数 F F [Hz]をサンプリング周波数 F s F s [Hz]で割った値である。

位相特性 θ(ω) θ(ω) は、振幅特性 H( e jω ) H( e jω ) を極座標表示したときの偏角である。 数値計算により θ(ω) θ(ω) の値を求める場合には、次式を用いることができる(ただし、その処理系での逆正接関数 -たとえば atan( )関数- の主値の範囲について理解しておくことが必要であろう)。

θ(ω)= tan 1 I m R e [rad] θ(ω)= tan 1 I m R e [rad] (8)

さらに、群遅延特性 τ τ の定義は、位相特性の傾きとして次式で与えられる。

τ= dθ(ω) dω [Sample] τ= dθ(ω) dω [Sample] (9)

以上をまとめると、インパルス応答 h(n) h(n) の値が既知ならば、周波数特性(振幅、 位相、群遅延特性)を計算できることになる。あるインパルス応答について、実際に周波数特性を計算した例 を図2に示す。図2(a)がインパルス応答で、図2(b)から(d)がそれぞれ振幅、 位相、群遅延特性である。

図 2: 周波数特性の計算例
図 2 (figure2.jpg)

伝達関数についての補足

式(2)をz変換すると、次式となる。

Y(z)=H(z)X(z) Y(z)=H(z)X(z) (10)

 上式の H(z) H(z) を伝達関数と呼ぶ。伝達関数 H(z) H(z) はインパルス応答 h(n) h(n) z z 変換 であり、 ディジタルフィルタの入出力関係を z z 領域で表した式である。式(3)と式(11) を比較すると、畳み込み演算が z z 領域では積で表現できることがわかる。

 ここで、上式に z= e jω z= e jω を代入すると次式となる。

Y( e jω )=H( e jω )X( e jω ) Y( e jω )=H( e jω )X( e jω ) (11)

X( e jω ) X( e jω ) および Y( e jω ) Y( e jω ) は、それぞれ入力信号 x(n) x(n) および出力信号 y(n) y(n) の離散時間フーリエ変換(周波数スペクトル)である。式(11)は、畳み込み演算 を周波数領域で表現した式に相当する。

Content actions

Give Feedback:

E-mail the module authors | Rate module ( How does the rating system work?)

Rating system

Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

(0 ratings)

Download:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.

| A lens (?)

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks