Outline大綱アウトライン
10.1 Frequency Response10.1 頻率響應10.1 周波数応答
10.2 Transfer Function10.2 轉移函數10.2 伝達関数
10.3 Phase Delay and Group Delay10.3 相位延遲與群延遲10.3 位相遅延と群遅延
10.4 System Classes10.4 系統類別10.4 システムの分類
10.5 Summary10.5 總結10.5 まとめ
Exercises習題演習問題
DSP Study Guide · Chapter 10DSP 學習指南 · 第 10 章DSP 学習ガイド · 第 10 章

Transform-Domain Systems轉換域中的系統変換領域におけるシステム

Analyzing LTI systems through the frequency response and the transfer function H(z): pole-zero geometry, magnitude and phase, phase delay and group delay, and the classical system classes built from them.以頻率響應與轉移函數 H(z) 分析 LTI 系統:極零幾何、振幅與相位、相位延遲與群延遲,以及由此建立的各種經典系統類別。周波数応答と伝達関数 H(z) による LTI システムの解析:極零配置、振幅と位相、位相遅延と群遅延、そしてそこから構成される古典的なシステムの分類。

10.1 Frequency Response (FR)10.1 頻率響應(FR)10.1 周波数応答(FR)

10.1.1 Sinusoids as Eigenfunctions10.1.1 弦波作為特徵函數10.1.1 固有関数としての正弦波

The impulse response(脈衝響應)$h[n]$ completely describes an LSI (linear shift-invariant) system: the output is always the convolution $y[n] = x[n] \circledast h[n] = \sum_{m} h[m]\,x[n-m]$.脈衝響應 $h[n]$ 就完整描述了一個 LSI(線性平移不變)系統:輸出永遠是摺積 $y[n] = x[n] \circledast h[n] = \sum_{m} h[m]\,x[n-m]$。インパルス応答 $h[n]$ は LSI(線形シフト不変)システムを完全に記述する。出力はつねに畳み込み $y[n] = x[n] \circledast h[n] = \sum_{m} h[m]\,x[n-m]$ である。

x[n] = e^(jω₀n) h[n] y[n] = H(e^(jω₀)) · e^(jω₀n)
Eigenfunction relation — a complex sinusoid passes through an LSI system unchanged in shape; it is only multiplied by the complex number $H(e^{j\omega_0})$(複數弦波是 LSI 系統的特徵函數).特徵函數關係 — 複數弦波通過 LSI 系統後波形不變,只被乘上一個複數 $H(e^{j\omega_0})$(複數弦波是 LSI 系統的特徵函數)。固有関数の関係 — 複素正弦波は LSI システムを通っても形を変えず、複素数 $H(e^{j\omega_0})$ が掛かるだけである(複素正弦波は LSI システムの固有関数)。

Feed in a complex sinusoid(複數弦波)$x[n] = e^{j\omega_0 n}$ and watch the convolution factor:輸入一個複數弦波 $x[n] = e^{j\omega_0 n}$,看看摺積會變成什麼:複素正弦波 $x[n] = e^{j\omega_0 n}$ を入力して、畳み込みがどうなるかを見てみよう。

Eigenfunction property特徵函數性質固有関数の性質 $$y[n] = \sum_{m} h[m]\,e^{j\omega_0 (n-m)} = \underbrace{\Big(\sum_{m} h[m]\,e^{-j\omega_0 m}\Big)}_{H(e^{j\omega_0})}\, e^{j\omega_0 n} = H(e^{j\omega_0})\,x[n]$$

The complex scale factor is the DTFT of the impulse response evaluated at the input frequency. Writing it in polar form $H(e^{j\omega}) = |H(e^{j\omega})|\,e^{j\theta(\omega)}$, the output is這個複數比例因子,就是脈衝響應的 DTFT 在輸入頻率處的值。寫成極座標形式 $H(e^{j\omega}) = |H(e^{j\omega})|\,e^{j\theta(\omega)}$,輸出便是この複素倍率は、インパルス応答の DTFT を入力周波数で評価したものである。極形式 $H(e^{j\omega}) = |H(e^{j\omega})|\,e^{j\theta(\omega)}$ で書けば、出力は次のようになる。

Frequency response頻率響應周波数応答 $$y[n] = |H(e^{j\omega_0})|\;e^{j(\omega_0 n + \theta(\omega_0))}, \qquad H(e^{j\omega}) = \mathrm{DTFT}\{h[n]\}$$
Concept — why eigenfunctions matter觀念 — 為什麼特徵函數重要概念 — なぜ固有関数が重要なのか
A complex sinusoid at $\omega_0$ comes out of any LSI system as the same sinusoid, scaled by $|H(e^{j\omega_0})|$ and phase-shifted by $\arg\{H(e^{j\omega_0})\} = \theta(\omega_0)$. Since any signal can be expressed as a superposition of sinusoids (DTFT), knowing $H(e^{j\omega})$ for all $\omega$ tells us everything about the system:頻率為 $\omega_0$ 的複數弦波,通過任何 LSI 系統之後仍是同一個弦波,只是振幅被 $|H(e^{j\omega_0})|$ 縮放、相位被 $\arg\{H(e^{j\omega_0})\} = \theta(\omega_0)$ 平移。既然任何訊號都能寫成弦波的疊加(DTFT),只要知道所有 $\omega$ 的 $H(e^{j\omega})$,就等於知道了系統的一切:$\omega_0$ の複素正弦波は、どんな LSI システムを通っても同じ正弦波として出てきて、$|H(e^{j\omega_0})|$ 倍され、$\arg\{H(e^{j\omega_0})\} = \theta(\omega_0)$ だけ位相がずれるだけである。どんな信号も正弦波の重ね合わせ(DTFT)で表せるのだから、すべての $\omega$ について $H(e^{j\omega})$ を知ることは、システムのすべてを知ることに等しい。
  • $|H(e^{j\omega})|$ — the magnitude response(振幅響應) → frequency-dependent gain;$|H(e^{j\omega})|$ — 振幅響應 → 隨頻率而變的增益;$|H(e^{j\omega})|$ — 振幅応答 → 周波数に依存する利得。
  • $\arg\{H(e^{j\omega})\}$ — the phase response(相位響應) → frequency-dependent phase shift.$\arg\{H(e^{j\omega})\}$ — 相位響應 → 隨頻率而變的相位平移。$\arg\{H(e^{j\omega})\}$ — 位相応答 → 周波数に依存する位相シフト。
直觀解釋(點擊展開)
LSI 系統不會「創造」新的頻率成分。輸入是頻率 $\omega_0$ 的弦波,輸出仍然是同一頻率的弦波,只是大小被乘上 $|H(e^{j\omega_0})|$、相位被平移 $\theta(\omega_0)$。這就像把訊號分解成許多不同頻率的「積木」,系統只能對每塊積木個別調整音量與時間位置,不能改變積木的形狀。因此只要知道系統對每個頻率的增益與相移(即頻率響應),就完全掌握了系統的行為。

What these three slides say is this: after a sinusoid passes through a linear shift-invariant (LSI) system, what comes out is still a sinusoid at the same frequency; only its size has been scaled and its phase shifted. And how much each frequency is scaled and shifted by is exactly the frequency response $H(e^{j\omega})$.這三張投影片說的是:正弦波通過線性非時變(LSI)系統後,出來的還是同頻率的正弦波,只是大小被縮放、相位被平移。而每個頻率被縮放和平移多少,就是頻率響應 $H(e^{j\omega})$。この三枚のスライドが言っているのはこうである。正弦波が線形時不変(LSI)システムを通ったあとも、出てくるのは同じ周波数の正弦波であり、大きさが拡大縮小され、位相がずらされるだけである。そして、各周波数がどれだけ拡大縮小され、ずらされるかこそが周波数応答 $H(e^{j\omega})$ である。

Slide 1 — why we talk about the frequency response投影片 1:為什麼要談頻率響應スライド 1:なぜ周波数応答を論じるのか

Any signal can be taken apart into sinusoids. The IDTFT writes $x[n]$ as任何訊號都能拆成正弦波。IDTFT 把 $x[n]$ 寫成どんな信号も正弦波に分解できる。IDTFT は $x[n]$ を次のように書く。

$$x[n] = \frac{1}{2\pi}\int_{-\pi}^{\pi} X(e^{j\omega})\,e^{j\omega n}\,d\omega$$

That is, a weighted sum of infinitely many complex sinusoids $e^{j\omega n}$, the weight being $X(e^{j\omega})$.也就是無數個複數正弦波 $e^{j\omega n}$ 的加權總和,權重是 $X(e^{j\omega})$。すなわち、無数の複素正弦波 $e^{j\omega n}$ の重み付き和であり、重みは $X(e^{j\omega})$ である。

A sinusoid is an eigenfunction of an LSI system. A sinusoid goes in, and what comes out is only "scaled"; the shape (the frequency) does not "change". This is the same idea as the eigenvector of linear algebra:正弦波是 LSI 系統的特徵函數(eigenfunction)。正弦波進去,出來只是「縮放」,形狀(頻率)不會「改變」。這和線性代數中特徵向量的概念相同:正弦波は LSI システムの固有関数(eigenfunction)である。正弦波が入り、出てくるのは「拡大縮小」されたものだけで、形(周波数)は「変わらない」。これは線形代数における固有ベクトルの考えと同じである。

Linear algebra線性代數線形代数Signals and systems訊號系統信号とシステム
Matrix $A$矩陣 $A$行列 $A$LSI system $h[n]$LSI 系統 $h[n]$LSI システム $h[n]$
Eigenvector $\mathbf{v}$: $A\mathbf{v} = \lambda\mathbf{v}$特徵向量 $\mathbf{v}$:$A\mathbf{v} = \lambda\mathbf{v}$固有ベクトル $\mathbf{v}$:$A\mathbf{v} = \lambda\mathbf{v}$Eigenfunction $e^{j\omega_0 n}$: output $= H(e^{j\omega_0})\,e^{j\omega_0 n}$特徵函數 $e^{j\omega_0 n}$:輸出 $= H(e^{j\omega_0})\,e^{j\omega_0 n}$固有関数 $e^{j\omega_0 n}$:出力 $= H(e^{j\omega_0})\,e^{j\omega_0 n}$
Eigenvalue $\lambda$特徵值 $\lambda$固有値 $\lambda$$H(e^{j\omega_0})$ (a complex number)$H(e^{j\omega_0})$(一個複數)$H(e^{j\omega_0})$(一つの複素数)

Know the scaling at every frequency and you know the whole system. Because the input can be taken apart into sinusoids, because each sinusoid is only scaled, and because the system is linear, writing down the amount of scaling at every frequency is enough to work out the output for any input at all. That set of scaling amounts is the frequency response.知道每個頻率的縮放,就知道整個系統。因為輸入可以拆成正弦波、每個正弦波只被縮放、而系統是線性的,所以把每個頻率的縮放量記下來,就能算出任何輸入的輸出。這組縮放量就是頻率響應。各周波数での拡大縮小を知れば、システム全体を知ったことになる。入力は正弦波に分解でき、各正弦波は拡大縮小されるだけであり、そしてシステムは線形である。だから各周波数での拡大縮小の量を書き留めておけば、どんな入力に対しても出力を計算できる。この拡大縮小の量の集まりが周波数応答である。

Slide 2 — the derivation投影片 2:推導スライド 2:導出

An LSI system is completely described by its impulse response $h[n]$, and the output is the convolution:LSI 系統由脈衝響應 $h[n]$ 完全描述,輸出是摺積:LSI システムはインパルス応答 $h[n]$ によって完全に記述され、出力は畳み込みである。

$$y[n] = \sum_m h[m]\,x[n - m]$$

Feed in the complex sinusoid $x[n] = e^{j\omega_0 n}$:輸入複數正弦波 $x[n] = e^{j\omega_0 n}$:複素正弦波 $x[n] = e^{j\omega_0 n}$ を入力する。

$$y[n] = \sum_m h[m]\,e^{j\omega_0(n - m)} = \underbrace{\sum_m h[m]\,e^{-j\omega_0 m}}_{\text{a constant, independent of } n}\cdot\, e^{j\omega_0 n}$$$$y[n] = \sum_m h[m]\,e^{j\omega_0(n - m)} = \underbrace{\sum_m h[m]\,e^{-j\omega_0 m}}_{\text{與 } n \text{ 無關的常數}}\cdot\, e^{j\omega_0 n}$$$$y[n] = \sum_m h[m]\,e^{j\omega_0(n - m)} = \underbrace{\sum_m h[m]\,e^{-j\omega_0 m}}_{n \text{ に無関係な定数}}\cdot\, e^{j\omega_0 n}$$

The key is that $e^{j\omega_0(n-m)} = e^{-j\omega_0 m}\cdot e^{j\omega_0 n}$ can be split apart: the part that has to do with $m$ (the blue line) stays inside the sum, and the part that has to do with $n$ (the green line) is taken outside. The blue-line part is exactly the DTFT of $h[n]$ evaluated at $\omega_0$:關鍵在於 $e^{j\omega_0(n-m)} = e^{-j\omega_0 m}\cdot e^{j\omega_0 n}$ 可以拆開:和 $m$ 有關的部分(藍線)留在求和裡,和 $n$ 有關的部分(綠線)提到外面。藍線部分正好是 $h[n]$ 的 DTFT 在 $\omega_0$ 的值:要点は $e^{j\omega_0(n-m)} = e^{-j\omega_0 m}\cdot e^{j\omega_0 n}$ と分けられることである。$m$ に関わる部分(青い線)は和の中に残り、$n$ に関わる部分(緑の線)は外へ出す。青い線の部分はちょうど $h[n]$ の DTFT を $\omega_0$ で評価した値である。

$$y[n] = H(e^{j\omega_0})\cdot x[n] = |H(e^{j\omega_0})|\cdot e^{j(\omega_0 n + \theta(\omega_0))}$$

where $H(e^{j\omega}) = |H(e^{j\omega})|\,e^{j\theta(\omega)}$. The output is a sinusoid at the very same frequency, its amplitude multiplied by $|H|$ and its phase with $\theta$ added to it.其中 $H(e^{j\omega}) = |H(e^{j\omega})|\,e^{j\theta(\omega)}$。輸出是同一個頻率的正弦波,振幅乘上 $|H|$,相位加上 $\theta$。ここで $H(e^{j\omega}) = |H(e^{j\omega})|\,e^{j\theta(\omega)}$ である。出力はまったく同じ周波数の正弦波であり、振幅には $|H|$ が掛かり、位相には $\theta$ が加わる。

What lets this derivation go through is the shift-invariance of the system: every term $h[m]$ applies the same delay $m$ to the input, and delaying a sinusoid changes only its phase, never its frequency.這個推導能成立,靠的是系統的非時變性:每一項 $h[m]$ 都對輸入做同樣的延遲 $m$,而延遲一個正弦波只會改變它的相位,不會改變頻率。この導出が成り立つのは、システムの時不変性のおかげである。どの項 $h[m]$ も入力に同じ遅延 $m$ を与え、正弦波を遅らせても位相が変わるだけで、周波数は変わらない。

Slide 3 — the magnitude response and the phase response投影片 3:大小響應與相位響應スライド 3:振幅応答と位相応答

Name名稱名称Symbol符號記号What it does to a sinusoid對正弦波的作用正弦波への作用
magnitude response大小響應(magnitude response)振幅応答(magnitude response)$\lvert H(e^{j\omega})\rvert$gain: the factor the amplitude becomes增益:振幅變成幾倍利得:振幅が何倍になるか
phase response相位響應(phase response)位相応答(phase response)$\theta(\omega) = \arg H(e^{j\omega})$a phase shift (equivalent to a delay in time)相位平移(等效於時間延遲)位相のずれ(時間遅延と等価)

Real sinusoids: if $h[n]$ is real then $H(e^{-j\omega}) = H^*(e^{j\omega})$ (the conjugate symmetry met earlier). Substituting the two terms of $\cos\omega_0 n = \frac{1}{2}(e^{j\omega_0 n} + e^{-j\omega_0 n})$ separately gives實數正弦波:若 $h[n]$ 是實數,$H(e^{-j\omega}) = H^*(e^{j\omega})$(前面講過的共軛對稱)。把 $\cos\omega_0 n = \frac{1}{2}(e^{j\omega_0 n} + e^{-j\omega_0 n})$ 兩項分別代入,得到実正弦波:$h[n]$ が実数であれば $H(e^{-j\omega}) = H^*(e^{j\omega})$ である(さきに述べた共役対称性)。$\cos\omega_0 n = \frac{1}{2}(e^{j\omega_0 n} + e^{-j\omega_0 n})$ の二項をそれぞれ代入すると、次が得られる。

$$\cos(\omega_0 n) \;\longrightarrow\; |H(e^{j\omega_0})|\cos\big(\omega_0 n + \theta(\omega_0)\big)$$

Again the same frequency, scaled and shifted.一樣是同頻率、被縮放與平移。やはり同じ周波数であり、拡大縮小とずれを受けるだけである。

A simple example — the two-point average簡單例子:兩點平均簡単な例:2 点平均

$h[n] = [\,0.5,\ 0.5\,]$, that is, $y[n] = \frac{1}{2}(x[n] + x[n-1])$:$h[n] = [\,0.5,\ 0.5\,]$,即 $y[n] = \frac{1}{2}(x[n] + x[n-1])$:$h[n] = [\,0.5,\ 0.5\,]$、すなわち $y[n] = \frac{1}{2}(x[n] + x[n-1])$ である。

$$H(e^{j\omega}) = 0.5 + 0.5\,e^{-j\omega} = e^{-j\omega/2}\cos\frac{\omega}{2}$$

So $|H| = \cos(\omega/2)$ and $\theta = -\omega/2$ (a delay of half a sample).所以 $|H| = \cos(\omega/2)$、$\theta = -\omega/2$(延遲半個樣本)。したがって $|H| = \cos(\omega/2)$、$\theta = -\omega/2$(半標本ぶんの遅れ)である。

Input frequency輸入頻率入力周波数Gain增益利得Phase相位位相The intuition直覺直観
$\omega = 0$ (DC)$\omega = 0$(直流)$\omega = 0$(直流)10averaging a constant leaves it unchanged常數取平均,不變定数を平均しても変わらない
$\omega = \pi/2$0.707$-\pi/4$partial cancellation部分抵消部分的に打ち消し合う
$\omega = \pi$0—$+1, -1, +1, \dots$ — the average of two neighbouring points is 0, complete cancellation$+1, -1, +1, \dots$ 相鄰兩點平均為 0,完全抵消$+1, -1, +1, \dots$ 隣り合う二点の平均は 0 であり、完全に打ち消し合う

This is a lowpass filter.這是一個低通濾波器。これは低域通過フィルタである。

Only the result is quoted here; it is obtained step by step in Worked Example 10-A, continued — the $M=2$ case, in §10.1.4.此處只引用結論;完整的逐步推導在 §10.1.4 的〈範例 10-A(續)— $M=2$ 的情形〉。ここでは結論だけを引いている。一歩ずつの完全な導出は §10.1.4 の「例題 10-A(続き)— $M=2$ の場合」にある。

How this relates to what came before和前面內容的關係前の内容との関係

The $H_k(e^{j\omega})$ of the STFT filterbank earlier is the frequency response of the $k$-th channel filter: the window spectrum shifted to $\omega_k$. When some sinusoid passes through it, the gain is the value of $|H_k|$ at that frequency, so sinusoids whose frequency is near $\omega_k$ get through and those far from it are attenuated (leaving only the leakage of the sidelobes).前面 STFT 濾波器組中的 $H_k(e^{j\omega})$,就是第 $k$ 列濾波器的頻率響應:窗頻譜平移到 $\omega_k$。某個正弦波通過它時,增益就是 $|H_k|$ 在該頻率的值,所以頻率在 $\omega_k$ 附近的正弦波通過、遠離的被衰減(只剩旁瓣的洩漏量)。さきの STFT フィルタバンクにおける $H_k(e^{j\omega})$ とは、第 $k$ 列のフィルタの周波数応答である。窓のスペクトルを $\omega_k$ へ平行移動したものである。ある正弦波がそこを通るとき、利得はその周波数における $|H_k|$ の値であり、だから周波数が $\omega_k$ の近くにある正弦波は通り抜け、遠いものは減衰させられる(残るのはサイドローブの漏れだけである)。

That filterbank is §9.5 of Chapter 9.該濾波器組見第 9 章 §9.5。そのフィルタバンクは第 9 章 §9.5 にある。

The interactive figure互動圖インタラクティブな図

Pick a filter, drag the input frequency $\omega_0$, and watch how the output is scaled and shifted.選一個濾波器、拖動輸入頻率 $\omega_0$,看輸出如何被縮放與平移。フィルタを一つ選び、入力周波数 $\omega_0$ をドラッグして、出力がどのように拡大縮小され、ずらされるかを見てほしい。

The blue dots in the figure are the output worked out by convolution directly, and the orange dashed line is what the frequency response predicts, $|H|\cos(\omega_0 n + \theta)$. Whichever system and whichever frequency are chosen, the blue dots land on the orange dashed line. That is what "a sinusoid is an eigenfunction" means: the frequency of the output is the same as that of the input, and only the amplitude and the phase change.圖中的藍點是直接用摺積算出的輸出,橘虛線是用頻率響應預測的結果 $|H|\cos(\omega_0 n + \theta)$。不論選哪個系統、哪個頻率,藍點都落在橘虛線上,這就是「正弦波是特徵函數」的意思:輸出的頻率與輸入相同,只有振幅和相位改變。図の青い点は畳み込みで直接求めた出力であり、オレンジの破線は周波数応答による予測 $|H|\cos(\omega_0 n + \theta)$ である。どのシステムを選んでも、どの周波数を選んでも、青い点はオレンジの破線の上に落ちる。これが「正弦波は固有関数である」ということの意味である。出力の周波数は入力と同じであり、変わるのは振幅と位相だけである。

Things to try:可以試試:試してみるとよい。

system $h[n]$系統 $h[n]$システム $h[n]$
0.25
Interactive — sinusoids as eigenfunctions. Choose one of four LSI systems and drag $\omega_0$. ① is the magnitude response $\lvert H(e^{j\omega})\rvert$ over $0 \le \omega \le \pi$, with the chosen $\omega_0$ marked. ② is the phase response as its principal value, on a fixed axis from $-\pi$ to $\pi$; the pen lifts at each discontinuity, the breaks of $\pi$ being the sign changes of the real-valued $H$ at the nulls of ①, and for the averaging filters every segment carries the same slope — the group delay. ③ shows 48 samples: grey stems are the input $\cos(\omega_0 n)$, blue stems and dots are $y[n]$ worked out by convolution, and the orange dashed curve is the prediction $\lvert H\rvert\cos(\omega_0 n + \theta)$. The readout beneath measures the largest gap between the two rather than asserting that there is none.互動圖 — 正弦波作為特徵函數。選四個 LSI 系統之一,拖動 $\omega_0$。① 是 $0 \le \omega \le \pi$ 上的大小響應 $\lvert H(e^{j\omega})\rvert$,並標出所選的 $\omega_0$。② 是相位響應的主值,縱軸固定為 $-\pi$ 到 $\pi$;每遇不連續處就提筆,$\pi$ 的斷口是實數 $H$ 在 ① 的零點處變號,而平均類濾波器的每一段斜率都相同,那就是群延遲。③ 畫出 48 個樣本:灰色脈衝是輸入 $\cos(\omega_0 n)$,藍色脈衝與圓點是用摺積算出的 $y[n]$,橘色虛線是預測值 $\lvert H\rvert\cos(\omega_0 n + \theta)$。下方的讀數不是宣稱兩者相同,而是把兩者的最大差距量出來。インタラクティブ — 固有関数としての正弦波。四つの LSI システムから一つを選び、$\omega_0$ をドラッグする。① は $0 \le \omega \le \pi$ における振幅応答 $\lvert H(e^{j\omega})\rvert$ であり、選んだ $\omega_0$ に印がつく。② は位相応答の主値であり、縦軸は $-\pi$ から $\pi$ に固定されている。不連続のたびに筆を上げてあり、$\pi$ の切れ目は実数値の $H$ が ① の零点で符号を変えることによる。平均系のフィルタではどの区間も傾きが等しく、それが群遅延である。③ は 48 標本を示す。灰色の棒が入力 $\cos(\omega_0 n)$、青い棒と点が畳み込みで求めた $y[n]$、オレンジの破線が予測 $\lvert H\rvert\cos(\omega_0 n + \theta)$ である。下の読み出しは、両者が一致すると主張するのではなく、両者の最大の差を測って示す。

10.1.2 Real Sinusoids10.1.2 實數弦波10.1.2 実正弦波

In practice signals are real. Decompose a real cosine into two complex sinusoids and apply the eigenfunction property to each:實務上的訊號是實數。把一個實餘弦拆成兩個複數弦波,再對各自套用特徵函數性質:実際の信号は実数である。実余弦を二つの複素正弦波に分解し、それぞれに固有関数の性質を適用する。

Real input decomposition實數輸入的分解実入力の分解 $$x[n] = A\cos(\omega_0 n + \phi) = \frac{A}{2}e^{j\phi}e^{j\omega_0 n} + \frac{A}{2}e^{-j\phi}e^{-j\omega_0 n}$$

For a real impulse response $h[n]$ the frequency response is conjugate-symmetric, $H(e^{-j\omega}) = H^{*}(e^{j\omega}) = |H(e^{j\omega})|e^{-j\theta(\omega)}$, so the two terms recombine into a real cosine:若脈衝響應 $h[n]$ 是實數,頻率響應就具有共軛對稱性 $H(e^{-j\omega}) = H^{*}(e^{j\omega}) = |H(e^{j\omega})|e^{-j\theta(\omega)}$,於是兩項會重新合成一個實餘弦:インパルス応答 $h[n]$ が実数であれば、周波数応答は共役対称 $H(e^{-j\omega}) = H^{*}(e^{j\omega}) = |H(e^{j\omega})|e^{-j\theta(\omega)}$ となり、二つの項は再び実余弦にまとまる。

Real sinusoid through a real LSI system實數弦波通過實數 LSI 系統実 LSI システムを通る実正弦波 $$A\cos(\omega_0 n + \phi)\;\longrightarrow\; \boxed{\,y[n] = A\,|H(e^{j\omega_0})|\cos\big(\omega_0 n + \phi + \theta(\omega_0)\big)\,}$$
Key result重點結論要点
A real sinusoid of frequency $\omega_0$ passed through an LSI system with real $h[n]$ keeps its frequency; its gain is modified by $|H(e^{j\omega_0})|$ and its phase is shifted by $\theta(\omega_0)$. This is the single most-used fact for computing sinusoidal steady-state outputs on exams.頻率為 $\omega_0$ 的實數弦波通過 $h[n]$ 為實數的 LSI 系統後,頻率不變;它的增益被 $|H(e^{j\omega_0})|$ 改變,相位被平移 $\theta(\omega_0)$。這是考試中計算弦波穩態輸出時最常用到的一條事實。$h[n]$ が実数の LSI システムを通った周波数 $\omega_0$ の実正弦波は、周波数を保つ。その利得は $|H(e^{j\omega_0})|$ で変わり、位相は $\theta(\omega_0)$ だけずれる。これは試験で正弦波の定常状態出力を求めるときに最もよく使う事実である。

10.1.3 Transient and Steady State10.1.3 暫態與穩態10.1.3 過渡状態と定常状態

Most signals start at a finite time(訊號從有限時間開始), e.g. a gated complex sinusoid $x[n] = e^{j\omega_0 n}\,u[n]$. What does gating do? Split the convolution sum:大多數訊號都從某個有限時刻才開始(訊號從有限時間開始),例如被閘控的複數弦波 $x[n] = e^{j\omega_0 n}\,u[n]$。閘控會造成什麼?把摺積和拆開來看:ほとんどの信号は有限の時刻から始まる(信号は有限時間から始まる)。たとえばゲートされた複素正弦波 $x[n] = e^{j\omega_0 n}\,u[n]$ である。ゲートは何をもたらすのか。畳み込み和を分けてみよう。

Transient / steady-state decomposition暫態/穩態的分解過渡状態と定常状態への分解 $$y[n] = \sum_{m=-\infty}^{n} h[m]\,e^{j\omega_0(n-m)} = \underbrace{H(e^{j\omega_0})\,e^{j\omega_0 n}}_{\text{steady state(穩態)}} \;-\;\underbrace{\Big(\sum_{m=n+1}^{\infty} h[m]\,e^{-j\omega_0 m}\Big)e^{j\omega_0 n}}_{\text{transient(暫態)}}$$
2026-06-12T22:40:39.265743 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ −1.0 −0.5 0.0 0.5 1.0 x[n] Input: x[n] = cos(0.3n)·u[n] (switched on at n = 0) −40 −20 0 20 40 60 80 n −0.5 0.0 0.5 y[n] Output of y[n] = 0.8y[n−1] + 0.2x[n]: transient decays like 0.8ⁿ, then steady state steady state |H(e^j0.3)|cos(0.3n+θ(0.3))
Fig. 10-1 — Gated sinusoid $x[n]=\cos(0.3n)u[n]$ through the stable one-pole system $y[n]=0.8y[n-1]+0.2x[n]$. The output (orange stems) converges to the steady-state sinusoid $0.599\cos(0.3n-0.787)$ (dashed) after the transient decays like $0.8^n$(暫態以 $0.8^n$ 速度消失,之後只剩穩態弦波).圖 10-1 — 被閘控的弦波 $x[n]=\cos(0.3n)u[n]$ 通過穩定的單極點系統 $y[n]=0.8y[n-1]+0.2x[n]$。輸出(橘色脈衝)在暫態依 $0.8^n$ 衰減之後,收斂到穩態弦波 $0.599\cos(0.3n-0.787)$(虛線)(暫態以 $0.8^n$ 速度消失,之後只剩穩態弦波)。図 10-1 — ゲートされた正弦波 $x[n]=\cos(0.3n)u[n]$ を、安定な 1 極システム $y[n]=0.8y[n-1]+0.2x[n]$ に通したもの。出力(橙のステム)は、過渡が $0.8^n$ のように減衰したのち、定常状態の正弦波 $0.599\cos(0.3n-0.787)$(破線)に収束する(過渡は $0.8^n$ の速さで消え、あとには定常状態の正弦波だけが残る)。

Fig. 10-1 fixes one system at one frequency. The figure below puts the tail itself on screen: choose a system, slide $n$, and watch which part of $h[m]$ the gated input has not reached yet. Whatever is still missing is the transient — and the readout measures, rather than claims, that steady state plus transient rebuilds $y[n]$.圖 10-1 只固定了一個系統、一個頻率。下面這張圖把尾巴本身搬上螢幕:選一個系統、拖動 $n$,看看被閘控的輸入還沒碰到 $h[m]$ 的哪一段。還沒碰到的那一段就是暫態——而下方的讀數是把「穩態加暫態等於 $y[n]$」量出來,不是宣稱出來。図 10-1 は一つのシステムを一つの周波数で固定したものである。下の図は尾部そのものを画面に出す。システムを選んで $n$ を動かし、ゲートされた入力がまだ届いていない $h[m]$ の部分を見ればよい。まだ届いていない部分こそが過渡である。そして下の読み出しは、定常状態と過渡の和が $y[n]$ を復元することを、主張するのではなく測って示す。

system系統システム
3
0.10
Interactive — the transient is the DTFT of the impulse-response tail. ① draws $h[m]$: grey where $m \le n$, which the gated input has already swept through, and orange from $m = n+1$ onwards. That orange tail is the entire transient. ② is the real part of the response to $x[n] = e^{j\omega_0 n}u[n]$: the green output is the blue steady-state sinusoid plus the orange transient, and nothing besides. All three are sampled signals: the curves merely join the samples, and the dots mark them on the output. ③ is the transient magnitude against $n$. The default system $h[m] = 0.2\,(0.8)^m$ is exactly the one-pole system of Fig. 10-1, and $\omega_0 = 0.1\pi \approx 0.314$ sits beside its $0.3$. The fourth button is unstable, $a = 1.03$: $\sum_m \lvert h[m]\rvert$ diverges, so $H(e^{j\omega_0})$ does not exist and neither does the steady state. There the figure draws the output alone — which is the point of the word stable in the bullet above.互動圖 — 暫態就是脈衝響應尾巴的 DTFT。① 畫出 $h[m]$:灰色是 $m \le n$,也就是被閘控的輸入已經掃過的部分;橘色是 $m = n+1$ 以後。那條橘色尾巴就是暫態的全部。② 是對 $x[n] = e^{j\omega_0 n}u[n]$ 的響應實部:綠色的輸出等於藍色的穩態弦波加上橘色的暫態,再無其他。三條線都是離散訊號:曲線只是把樣本連起來,而輸出上的圓點就是那些樣本。③ 是暫態大小隨 $n$ 的變化。預設系統 $h[m] = 0.2\,(0.8)^m$ 正是圖 10-1 的單極點系統,而 $\omega_0 = 0.1\pi \approx 0.314$ 就在它的 $0.3$ 旁邊。第四個按鈕是不穩定的 $a = 1.03$:$\sum_m \lvert h[m]\rvert$ 發散,所以 $H(e^{j\omega_0})$ 不存在,穩態也不存在。那時圖上只畫輸出——這正是上面條列中「穩定」兩個字的意義所在。インタラクティブ — 過渡とは、インパルス応答の尾部の DTFT そのものである。① は $h[m]$ を描く。灰色は $m \le n$、すなわちゲートされた入力がすでに通り過ぎた部分であり、橙色は $m = n+1$ 以降である。この橙の尾部が過渡のすべてである。② は $x[n] = e^{j\omega_0 n}u[n]$ に対する応答の実部である。緑の出力は、青の定常状態の正弦波と橙の過渡との和であって、それ以外の何物でもない。三本とも離散信号である。曲線は標本を結んだだけであり、出力上の点がその標本を示す。③ は $n$ に対する過渡の大きさである。既定のシステム $h[m] = 0.2\,(0.8)^m$ は図 10-1 の 1 極システムそのものであり、$\omega_0 = 0.1\pi \approx 0.314$ はその $0.3$ のすぐ隣にある。四つめのボタンは不安定な $a = 1.03$ である。$\sum_m \lvert h[m]\rvert$ が発散するので $H(e^{j\omega_0})$ は存在せず、定常状態も存在しない。そこでは出力だけが描かれる。上の箇条書きにある「安定な」という語の意味は、まさにここにある。

Fig. 10-1 and the interactive figure above both watch the decomposition unfold in time. The identity behind it, though, is a statement about vectors: $y[n] = \sum_{m=0}^{n} h[m]\,e^{j\omega_0(n-m)}$ is a sum of rotating phasors, the steady state is the complete sum $H(e^{j\omega_0})e^{j\omega_0 n}$, and the transient is precisely the part of that vector sum the gated input has not yet supplied. The figure below draws the sum itself. Panel ① lays the terms $q_m = h[m]e^{-j\omega_0 m}$ tip to tail: the travelling end is the partial sum $P_n$, the far end is $H(e^{j\omega_0})$, and the arrow still separating them is the whole transient. Panel ② carries that same arrow over to the output. Where the figure above measured how big the tail is, this one shows which way it points — and why an FIR chain shuts exactly at $n = N-1$ while an IIR spiral only ever shrinks towards $H$.圖 10-1 與上面那張互動圖,都是看著這個分解隨時間展開。但它背後的恆等式講的其實是向量:$y[n] = \sum_{m=0}^{n} h[m]\,e^{j\omega_0(n-m)}$ 是一堆旋轉相量的和,穩態就是那個完整的和 $H(e^{j\omega_0})e^{j\omega_0 n}$,而暫態恰好是這個向量和裡、被閘控的輸入還沒補上的那一段。下面這張圖畫的就是這個和本身。面板 ① 把各項 $q_m = h[m]e^{-j\omega_0 m}$ 頭尾相接地排出來:會走動的那一端是部分和 $P_n$,另一端是 $H(e^{j\omega_0})$,而還隔在兩者之間的那支箭頭就是暫態的全部。面板 ② 再把同一支箭頭搬到輸出上。上面那張圖量的是尾巴有多大,這張圖看的是它指向哪裡——也因此說明了,為什麼 FIR 的折線會在 $n = N-1$ 恰好閉合,而 IIR 的螺旋卻只能一路縮向 $H$。図 10-1 と上のインタラクティブな図は、どちらもこの分解が時間とともに展開する様子を見るものである。しかし、その背後にある恒等式が語っているのはベクトルである。$y[n] = \sum_{m=0}^{n} h[m]\,e^{j\omega_0(n-m)}$ は回転するフェーザの和であり、定常状態はその完全な和 $H(e^{j\omega_0})e^{j\omega_0 n}$ であって、過渡とは、このベクトル和のうちゲートされた入力がまだ供給していない部分にほかならない。下の図はその和そのものを描く。パネル ① は各項 $q_m = h[m]e^{-j\omega_0 m}$ を頭と尾でつないで並べる。動く側の端が部分和 $P_n$ であり、反対の端が $H(e^{j\omega_0})$ であり、両者をなお隔てている矢印が過渡のすべてである。パネル ② は同じ矢印を出力の側へ移す。上の図が尾部の大きさを測ったのに対し、この図は尾部がどちらを向いているかを示す。FIR の折れ線が $n = N-1$ でちょうど閉じ、IIR のらせんは $H$ へ縮み続けるだけである理由も、そこから見えてくる。

system系統システム
1
0.50
0.80
Interactive — the same decomposition drawn as a sum of vectors. ① is the complex plane. Grey arrows are the terms $q_m = h[m]e^{-j\omega_0 m}$ the gated input has already delivered ($m \le n$); orange arrows are the tail still missing; the purple dot is their running sum $P_n$ and the blue ring is $H(e^{j\omega_0})$. The orange dashed arrow between the two is $T_n = H - P_n$, and the transient is just $-T_n e^{j\omega_0 n}$. ② is the output at the chosen $n$: blue is the steady-state phasor $H e^{j\omega_0 n}$, which rides the dashed circle of radius $\lvert H\rvert$; orange is the transient hung on its tip; and the thick green arrow underneath both is the sum $y[n]$ — drawn first and widest on purpose, so that it stays visible once the transient has died and green and blue coincide. Faint green dots are the earlier $y[n]$. step through advances $n$ once per half second and stops of its own accord at the end; pressing it again, or touching any other control, stops it. The readout measures the gap $\lvert H - \sum_{m=0}^{n} h[m]e^{-j\omega_0 m}\rvert$; for the IIR it prints the step-to-step shrink factor next to $a$, and the closed form $(1-a)a^{n+1}/\lvert 1-ae^{-j\omega_0}\rvert$ next to the measurement, so the spiral law is checked on screen rather than asserted. Two things worth trying. The IIR at $a = 0.80$ is the system of Fig. 10-1. And an $N$-point average driven at $\omega_0 = 2\pi k/N$ — say $N = 8$ at $\omega_0 = 0.50\pi$ — has $H = 0$: the chain comes back to the origin, there is no steady-state phasor at all and the output is pure transient. In that state the chain also crosses the origin at $n = 3$ without staying there, so the readout counts only the run of zeros that never ends again, and still reports closure at $n = N-1 = 7$.互動圖 — 同一個分解,改用向量的和來畫。① 是複數平面。灰色箭頭是被閘控的輸入已經送到的那些項 $q_m = h[m]e^{-j\omega_0 m}$($m \le n$);橘色箭頭是還缺的尾巴;紫色點是它們的累積和 $P_n$,藍色圓環是 $H(e^{j\omega_0})$。兩者之間那支橘色虛線箭頭就是 $T_n = H - P_n$,而暫態不過是 $-T_n e^{j\omega_0 n}$。② 是所選 $n$ 的輸出:藍色是穩態相量 $H e^{j\omega_0 n}$,它永遠騎在半徑 $\lvert H\rvert$ 的虛線圓上;橘色是掛在它尖端的暫態;底下那支粗綠箭頭則是兩者之和 $y[n]$——它刻意最先畫、也畫得最粗,好讓暫態消失、綠藍重疊之後還看得見。淡綠色的點是先前各個 $y[n]$。逐點播放每半秒把 $n$ 推進一格,走到底會自己停;再按一次,或動到任何其他控制項,也會停。讀數是把差距 $\lvert H - \sum_{m=0}^{n} h[m]e^{-j\omega_0 m}\rvert$ 量出來;IIR 時還會把每步的縮小倍率印在 $a$ 旁邊,把閉式解 $(1-a)a^{n+1}/\lvert 1-ae^{-j\omega_0}\rvert$ 印在實測值旁邊,讓螺旋的規律當場被驗證,而不是被宣稱。兩個值得試試的狀態。$a = 0.80$ 的 IIR 正是圖 10-1 的系統。而 $N$ 點平均若被 $\omega_0 = 2\pi k/N$ 驅動——例如 $N = 8$ 配 $\omega_0 = 0.50\pi$——則 $H = 0$:折線繞回原點,根本沒有穩態相量,輸出整個都是暫態。在那個狀態下,折線在 $n = 3$ 也會穿過原點,但沒有停在那裡;所以讀數只認那串「從此不再離開」的零,仍然回報閉合發生在 $n = N-1 = 7$。インタラクティブ — 同じ分解を、ベクトルの和として描いたものである。① は複素平面である。灰色の矢印は、ゲートされた入力がすでに届けた項 $q_m = h[m]e^{-j\omega_0 m}$($m \le n$)であり、橙色の矢印はまだ欠けている尾部である。紫の点はそれらの逐次和 $P_n$ であり、青い輪が $H(e^{j\omega_0})$ である。両者の間にある橙の破線矢印が $T_n = H - P_n$ であって、過渡とは $-T_n e^{j\omega_0 n}$ にすぎない。② は選んだ $n$ での出力である。青は定常状態のフェーザ $H e^{j\omega_0 n}$ で、半径 $\lvert H\rvert$ の破線円の上を回る。橙はその先端に継がれた過渡である。その下の太い緑の矢印が両者の和 $y[n]$ である。これは意図的に最初に、いちばん太く描いてある。過渡が消えて緑と青が重なっても見えるようにするためである。薄い緑の点は、それ以前の $y[n]$ である。逐次再生は $n$ を 0.5 秒ごとに一つ進め、終端で自ら停止する。もう一度押しても、ほかの操作に触れても止まる。読み出しは差 $\lvert H - \sum_{m=0}^{n} h[m]e^{-j\omega_0 m}\rvert$ を測って示す。IIR では 1 段あたりの縮小率を $a$ の隣に、閉形式 $(1-a)a^{n+1}/\lvert 1-ae^{-j\omega_0}\rvert$ を実測値の隣に並べて表示するので、らせんの法則は主張されるのではなく画面上で検証される。試す価値のある状態が二つある。$a = 0.80$ の IIR は図 10-1 のシステムそのものである。もう一つ、$N$ 点平均を $\omega_0 = 2\pi k/N$ で駆動すると——たとえば $N = 8$ に $\omega_0 = 0.50\pi$——$H = 0$ となる。折れ線は原点へ戻り、定常状態のフェーザは存在せず、出力はすべて過渡である。その状態では折れ線は $n = 3$ でも原点を通るが、そこに留まりはしない。読み出しは二度と離れない零の連なりだけを数えるので、閉合はやはり $n = N-1 = 7$ と報告される。

10.1.4 Example: Moving-Average Filter10.1.4 範例:移動平均濾波器10.1.4 例:移動平均フィルタ

Worked Example 10-A — frequency response of the M-point moving average範例 10-A — M 點移動平均的頻率響應例題 10-A — M 点移動平均の周波数応答

The MA filter $y[n] = \frac{1}{M}\sum_{\ell=0}^{M-1} x[n-\ell]$ is convolution with $h[n] = \frac{1}{M}$ for $0 \le n \le M-1$ (zero otherwise).移動平均濾波器 $y[n] = \frac{1}{M}\sum_{\ell=0}^{M-1} x[n-\ell]$ 就是與 $h[n] = \frac{1}{M}$($0 \le n \le M-1$,其餘為零)做摺積。移動平均フィルタ $y[n] = \frac{1}{M}\sum_{\ell=0}^{M-1} x[n-\ell]$ は、$h[n] = \frac{1}{M}$($0 \le n \le M-1$、それ以外は 0)との畳み込みである。

Step 1 — DTFT as a geometric sum.步驟 1 — 把 DTFT 寫成等比級數和。ステップ 1 — DTFT を等比級数和として書く。 $$H(e^{j\omega}) = \frac{1}{M}\sum_{n=0}^{M-1} e^{-j\omega n} = \frac{1}{M}\,\frac{1-e^{-j\omega M}}{1-e^{-j\omega}}$$
Step 2 — extract linear phase and a real ratio. Factor out half-angle exponentials:步驟 2 — 抽出線性相位與一個實數比值。把半角指數因式提出來:ステップ 2 — 線形位相と実数比を取り出す。半角の指数因子をくくり出す。 $$H(e^{j\omega}) = \frac{1}{M}\,e^{-j\omega\frac{M-1}{2}}\, \frac{\sin(M\omega/2)}{\sin(\omega/2)}$$
Step 3 — magnitude and phase.步驟 3 — 振幅與相位。ステップ 3 — 振幅と位相。 $$\big|H(e^{j\omega})\big| = \left|\frac{1}{M}\frac{\sin(M\omega/2)}{\sin(\omega/2)}\right|, \qquad \theta(\omega) = -\frac{M-1}{2}\,\omega + \pi r,\quad r = \Big\lfloor \frac{M\omega}{2\pi} \Big\rfloor$$ The $\pi r$ term accounts for the sign changes of the Dirichlet ratio — every time $\sin(M\omega/2)$ changes sign the phase jumps by $\pi$.$\pi r$ 這一項是用來處理 Dirichlet 比值的變號——每當 $\sin(M\omega/2)$ 變號,相位就跳 $\pi$。$\pi r$ の項は Dirichlet 比の符号変化を表している。$\sin(M\omega/2)$ が符号を変えるたびに位相は $\pi$ だけ跳ぶ。
Step 4 — response to a two-tone input ($M=5$). For $x[n] = e^{j\omega_0 n} + e^{j\omega_1 n}$ with $\omega_0 = 0.1\pi$, $\omega_1 = 0.5\pi$:步驟 4 — 對雙音輸入的響應($M=5$)。取 $x[n] = e^{j\omega_0 n} + e^{j\omega_1 n}$,其中 $\omega_0 = 0.1\pi$、$\omega_1 = 0.5\pi$:ステップ 4 — 二つの正弦波を入力したときの応答($M=5$)。$x[n] = e^{j\omega_0 n} + e^{j\omega_1 n}$、$\omega_0 = 0.1\pi$、$\omega_1 = 0.5\pi$ とすると、 $$H(e^{j0.1\pi}) \approx 0.90\,e^{-j0.2\pi}, \qquad H(e^{j0.5\pi}) = 0.2$$ so $y[n] = H(e^{j\omega_0})e^{j\omega_0 n} + H(e^{j\omega_1})e^{j\omega_1 n}$: the slow component passes nearly unchanged (gain 0.90, delayed 2 samples), the fast component is attenuated to 0.2 — the MA filter is a lowpass smoother.於是 $y[n] = H(e^{j\omega_0})e^{j\omega_0 n} + H(e^{j\omega_1})e^{j\omega_1 n}$:慢的成分幾乎原封不動地通過(增益 0.90,延遲 2 個樣本),快的成分被衰減到 0.2——移動平均濾波器是一個低通平滑器。よって $y[n] = H(e^{j\omega_0})e^{j\omega_0 n} + H(e^{j\omega_1})e^{j\omega_1 n}$ となる。ゆっくりした成分はほぼそのまま通り(利得 0.90、2 標本の遅れ)、速い成分は 0.2 まで減衰する。移動平均フィルタは低域通過の平滑化器である。
2026-06-12T22:40:38.878792 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ −2 0 2 4 6 8 n −0.05 0.00 0.05 0.10 0.15 0.20 0.25 0.30 h[n] Impulse response (M = 5) 0 π/2 π 3π/2 2π ω (rad/sample) 0.0 0.2 0.4 0.6 0.8 1.0 |H(e^jω)| Magnitude response 0 π/2 π 3π/2 2π ω (rad/sample) −2 −1 0 1 2 θ(ω) (rad) Phase response (principal value)
Fig. 10-2 — $M=5$ moving-average filter: impulse response, magnitude $\frac{1}{5}|\sin(5\omega/2)/\sin(\omega/2)|$ with nulls at $\omega = 2\pi k/5$, and the principal-value phase showing the linear slope $-2\omega$ with $\pi$ jumps at the magnitude nulls(振幅零點處相位跳 $\pi$).圖 10-2 — $M=5$ 的移動平均濾波器:脈衝響應、振幅 $\frac{1}{5}|\sin(5\omega/2)/\sin(\omega/2)|$(零點在 $\omega = 2\pi k/5$),以及主值相位,可以看到斜率 $-2\omega$ 的線性走勢,並在振幅零點處出現 $\pi$ 的跳變(振幅零點處相位跳 $\pi$)。図 10-2 — $M=5$ の移動平均フィルタ。インパルス応答、振幅 $\frac{1}{5}|\sin(5\omega/2)/\sin(\omega/2)|$(零点は $\omega = 2\pi k/5$)、そして主値位相であり、傾き $-2\omega$ の線形な勾配と、振幅の零点における $\pi$ の跳びが見てとれる(振幅の零点で位相が $\pi$ 跳ぶ)。
Warning — phase jumps are not discontinuous physics注意 — 相位的跳變不是物理上的不連續注意 — 位相の跳びは物理的な不連続ではない
The $\pi$ jumps in $\theta(\omega)$ come from writing a signed real amplitude $\frac{\sin(M\omega/2)}{\sin(\omega/2)}$ as a positive magnitude times a phase. When the sign flips, the $\pi$ is absorbed into the phase. Plotting tools also wrap phase into $(-\pi,\pi]$ (principal value), causing additional cosmetic $2\pi$ jumps. Always check which kind of jump you are looking at.$\theta(\omega)$ 中的 $\pi$ 跳變,來自把一個帶正負號的實數振幅 $\frac{\sin(M\omega/2)}{\sin(\omega/2)}$ 寫成「正振幅乘上相位」。當符號翻轉時,那個 $\pi$ 就被吸收進相位裡。繪圖工具還會把相位捲進 $(-\pi,\pi]$(主值),因而產生額外的、純屬外觀的 $2\pi$ 跳變。看圖時務必先弄清楚眼前是哪一種跳變。$\theta(\omega)$ に現れる $\pi$ の跳びは、符号つき実数の振幅 $\frac{\sin(M\omega/2)}{\sin(\omega/2)}$ を「正の振幅かける位相」の形で書くことから生じる。符号が反転すると、その $\pi$ が位相に吸収されるのである。描画ツールはさらに位相を $(-\pi,\pi]$ に折り返す(主値)ので、見た目だけの $2\pi$ の跳びも加わる。目の前の跳びがどちらなのかは、つねに確かめること。

The warning just above asks which kind of jump you are looking at; the figure below answers that question for this filter, and answers it by measurement. The interactive figure of §10.1.1 already carries a 5-point average among its filters, and the one in §10.1.3 carries an 8-tap FIR, but neither takes $H(e^{j\omega})$ apart: this is the only figure in the chapter that separates it into the signed real amplitude $A(\omega)$, the jump index $r$ and the phase $\theta$, and sets the sign change of $A$ beside the $\pi$ step of $\theta$ at the same $\omega$. Panel ③ draws the folded and the unfolded phase over one another and prints the largest gap it measures between them, so the second kind of jump the warning names — the cosmetic $2\pi$ wrap — is ruled out on screen rather than taken on trust. Park either frequency exactly on a zero and the readout refuses to name a sign or an angle there, and says why. Sliding $M$ down to $2$ arrives at the case worked out by hand below.上面那段警告要你分辨自己看到的是哪一種跳變;下面這張圖就針對這個濾波器把它分辨清楚,而且是用量測的。§10.1.1 的互動圖裡已經有一個 5 點平均,§10.1.3 的也已經有一個 8 抽頭的 FIR,但兩者都沒有把 $H(e^{j\omega})$ 拆開:全章只有這張圖把它拆成帶正負號的實數振幅 $A(\omega)$、跳變指標 $r$ 與相位 $\theta$,並把 $A$ 的變號和 $\theta$ 的 $\pi$ 階梯擺在同一個 $\omega$ 上並排。面板 ③ 把折回前與折回後的相位疊著畫,並把它量到的最大差距印出來,所以警告裡提到的第二種跳變——純屬繪圖造成的 $2\pi$ 捲繞——可以當場被排除,而不是被相信。把任一個頻率剛好停在零點上,讀數會拒絕在那裡指認正負號或角度,並說明理由。把 $M$ 一路拉到 $2$,落到的就是下面手算的那個情形。すぐ上の注意は、いま見ている跳びがどちらの種類かを問うている。下の図は、このフィルタについてその問いに測定で答えるものである。§10.1.1 の図にはすでにフィルタの一つとして 5 点平均があり、§10.1.3 の図には 8 タップの FIR があるが、どちらも $H(e^{j\omega})$ を分解してはいない。本章でこれを符号つきの実振幅 $A(\omega)$、跳びの指標 $r$、位相 $\theta$ に分け、$A$ の符号の反転と $\theta$ の $\pi$ の段差を同じ $\omega$ の上に並べて示すのは、この図だけである。パネル ③ は折り返す前と後の位相を重ねて描き、測定した最大の差を表示するので、注意が述べるもう一方の跳び、すなわち見かけだけの $2\pi$ の巻き戻しは、信じるのではなく画面上で排除できる。どちらかの周波数をちょうど零点の上に置くと、読み出しはそこで符号も角度も名指すことを拒み、その理由を述べる。$M$ を $2$ まで下げると、下で手計算した場合に行き着く。

5
0.10
0.50

Interactive — 互動圖 — インタラクティブ — The defaults are the example from the slides ($M = 5$, $\omega_0 = 0.1\pi$, $\omega_1 = 0.5\pi$). The readout above sets out the calculation of $A$, $r$, $\theta$ and $|H|$ term by term, in agreement with the written derivation above. The four panels correspond to the four steps of that derivation:預設值是投影片的例子($M = 5$、$\omega_0 = 0.1\pi$、$\omega_1 = 0.5\pi$)。上方讀數逐項列出 $A$、$r$、$\theta$、$|H|$ 的計算,與前面的文字推導一致。四個面板對應推導的四個步驟:既定値はスライドの例である($M = 5$、$\omega_0 = 0.1\pi$、$\omega_1 = 0.5\pi$)。上の読み出しは $A$、$r$、$\theta$、$|H|$ の計算を一項ずつ並べており、前の文章による導出と一致する。四つのパネルは導出の四つの段階に対応する。

① The impulse response and where $H$ comes from① 脈衝響應與 $H$ 的由來① インパルス応答と $H$ の由来

  • Left: $h[n]$ is 5 bars of height $1/5$, matching the picture on the right of slide 1.左: $h[n]$ 是 5 根高度 $1/5$ 的桿子,對應投影片 1 右邊的圖。左: $h[n]$ は高さ $1/5$ の棒が 5 本であり、スライド 1 の右の図に対応する。
  • Middle (orange, $\omega_0 = 0.1\pi$): $H = \sum h[n]\,e^{-j\omega_0 n}$ is 5 arrows of length $1/5$, each turned $0.1\pi$ further than the one before. They turn so little that they lie almost in a straight line, total length about 0.904, a gain close to 1.中(橘,$\omega_0 = 0.1\pi$): $H = \sum h[n]\,e^{-j\omega_0 n}$ 是 5 支長度 $1/5$ 的箭頭,每支比前一支多轉 $0.1\pi$。轉得很少,幾乎排成一直線,總長約 0.904,增益接近 1。中(橙、$\omega_0 = 0.1\pi$): $H = \sum h[n]\,e^{-j\omega_0 n}$ は長さ $1/5$ の矢印 5 本であり、一本ごとに前の一本より $0.1\pi$ だけ多く回る。回り方がごくわずかなのでほぼ一直線に並び、全長はおよそ 0.904、利得は 1 に近い。
  • Right (purple, $\omega_1 = 0.5\pi$): each one turns $90°$ further: right, down, left, up, right again. The first 4 go once round and come back to the origin, cancelling one another, and only the last 1 is left, so $H = 0.2$, which is the $\frac{1}{5}(1 - j - 1 + j + 1)$ of the direct check above.右(紫,$\omega_1 = 0.5\pi$): 每支多轉 $90°$:向右、向下、向左、向上、再向右。前 4 支繞一圈回到原點互相抵消,只剩最後 1 支,所以 $H = 0.2$,這就是前面「直接驗證」的 $\frac{1}{5}(1 - j - 1 + j + 1)$。右(紫、$\omega_1 = 0.5\pi$): 一本ごとに $90°$ ずつ多く回る。右、下、左、上、そして再び右である。はじめの 4 本は一周して原点に戻り互いに打ち消し合い、最後の 1 本だけが残る。したがって $H = 0.2$ であり、これが前の「直接の確認」にある $\frac{1}{5}(1 - j - 1 + j + 1)$ である。

② The real part $A(\omega)$ and $r$② 實數部分 $A(\omega)$ 與 $r$② 実数部分 $A(\omega)$ と $r$

Green segments are $A \gt 0$, red segments are $A \lt 0$, the grey dashed lines are the zeros $\omega = 2\pi k/M$, and the $r$ of each segment is marked above that segment:綠色區段 $A \gt 0$,紅色區段 $A \lt 0$,灰色虛線是零點 $\omega = 2\pi k/M$,每一段上方標示該段的 $r$:緑の区間が $A \gt 0$、赤の区間が $A \lt 0$ であり、灰色の破線は零点 $\omega = 2\pi k/M$ である。各区間の $r$ はその区間の上に示してある。

  • The orange point $\omega_0 = 0.1\pi$ is in the first segment ($r = 0$), $A = 0.904$, positive.橘點 $\omega_0 = 0.1\pi$ 在第一段($r = 0$),$A = 0.904$,為正。橙の点 $\omega_0 = 0.1\pi$ は最初の区間にあり($r = 0$)、$A = 0.904$ で正である。
  • The purple point $\omega_1 = 0.5\pi$ has crossed the first zero $0.4\pi$ and falls in the red segment with $r = 1$, $A = -0.2$, negative. That is why the slide writes $(-)0.2$.紫點 $\omega_1 = 0.5\pi$ 越過了第一個零點 $0.4\pi$,落在 $r = 1$ 的紅色段,$A = -0.2$,為負。這就是投影片寫 $(-)0.2$ 的原因。紫の点 $\omega_1 = 0.5\pi$ は最初の零点 $0.4\pi$ を越えて $r = 1$ の赤い区間に落ちており、$A = -0.2$ で負である。スライドが $(-)0.2$ と書いているのはこのためである。

③ Magnitude and phase③ 大小與相位③ 振幅と位相

  • Left (magnitude): flipping the red segments of ② upwards gives $|H| = |A|$, matching the middle picture on the right of slide 2.左(大小): 把 ② 的紅色段翻上來,就是 $|H| = |A|$,對應投影片 2 右邊中間的圖。左(振幅): ② の赤い区間を上へ折り返したものが $|H| = |A|$ であり、スライド 2 の右の中段の図に対応する。
  • Right (phase): the blue line is $-\frac{M-1}{2}\omega + \pi r$: it comes down in a straight line of slope $-2$, and jumps up by $\pi$ at every zero (because $r$ gains 1). The grey line is the result of folding it back into $[-\pi, \pi]$, which is the sawtooth at the bottom right of slide 2. At the purple point $\omega_1$: the straight-line part is $-\pi$, there is one jump of $+\pi$, so $\theta = 0$.右(相位): 藍線是 $-\frac{M-1}{2}\omega + \pi r$:以斜率 $-2$ 直線下降,每到一個零點就往上跳 $\pi$(因為 $r$ 加 1)。灰線是把它折回 $[-\pi, \pi]$ 的結果,就是投影片 2 右下角的鋸齒圖。紫點 $\omega_1$ 處:直線部分是 $-\pi$,跳一次 $+\pi$,所以 $\theta = 0$。右(位相): 青い線は $-\frac{M-1}{2}\omega + \pi r$ である。傾き $-2$ の直線で下がっていき、零点に達するたびに $\pi$ だけ上へ跳ぶ($r$ が 1 増えるからである)。灰色の線はそれを $[-\pi, \pi]$ へ折り返した結果であり、スライド 2 の右下にあるのこぎり状の図である。紫の点 $\omega_1$ では、直線の部分が $-\pi$、跳びが一度で $+\pi$ であるから、$\theta = 0$ となる。

④ The time-domain output④ 時域輸出④ 時間領域の出力

The blue input has a pronounced fast oscillation (the $0.5\pi$ component), the red output keeps almost nothing but the smooth low-frequency component, matching the picture of slide 3. The first 4 samples, on the orange background, are the transient; after that the red line and the grey dashed line (the steady-state formula $0.904\cos(0.1\pi(n-2)) + 0.2\cos(0.5\pi n)$) coincide completely.藍色輸入有明顯的快速振盪($0.5\pi$ 成分),紅色輸出幾乎只剩平滑的低頻成分,對應投影片 3 的圖。橘色底色的前 4 個樣本是暫態;之後紅線與灰色虛線(穩態公式 $0.904\cos(0.1\pi(n-2)) + 0.2\cos(0.5\pi n)$)完全重合。青い入力には速い振動($0.5\pi$ の成分)がはっきり見えるが、赤い出力にはなめらかな低周波の成分がほぼ残るだけであり、スライド 3 の図に対応する。橙色の地の上にある最初の 4 標本が過渡である。それ以降は赤い線と灰色の破線(定常状態の式 $0.904\cos(0.1\pi(n-2)) + 0.2\cos(0.5\pi n)$)が完全に重なる。

Worth trying可以試試試してみるとよいこと

  • Pull $\omega_1$ to $0.4\pi$ or $0.8\pi$ (a zero): the 5 arrows on the right of ① close into a pentagon, $H = 0$, and the high-frequency component vanishes from the output entirely.把 $\omega_1$ 拉到 $0.4\pi$ 或 $0.8\pi$(零點): ① 右邊的 5 支箭頭繞成封閉的五邊形,$H = 0$,高頻成分在輸出中完全消失。$\omega_1$ を $0.4\pi$ または $0.8\pi$(零点)へ動かす: ① の右にある 5 本の矢印が閉じた五角形を描き、$H = 0$ となって、高周波の成分は出力から完全に消える。
  • Pull $\omega_1$ to $0.6\pi$: that is just about at the sidelobe peak, $|A|$ is at most about 0.25, and that is the most the high frequency can ever leak through at $M = 5$.把 $\omega_1$ 拉到 $0.6\pi$: 剛好在旁瓣峰附近,$|A|$ 最大約 0.25,這是 $M = 5$ 時高頻最多能漏過的量。$\omega_1$ を $0.6\pi$ へ動かす: ちょうど側ローブの峰のあたりであり、$|A|$ は最大でおよそ 0.25 である。これが $M = 5$ のときに高周波が漏れうる最大の量である。
  • Increase $M$: the zeros crowd together, the main lobe narrows, and the gain at $\omega_0 = 0.1\pi$ starts to fall; by $M = 10$, $0.2\pi$ is already the first zero, so the low frequency is attenuated considerably as well, the output becomes smoother, and the delay grows longer.增加 $M$: 零點變密、主瓣變窄,$\omega_0 = 0.1\pi$ 的增益開始下降;$M = 10$ 時 $0.2\pi$ 已是第一個零點,低頻也被衰減得較多,輸出變得更平滑,延遲也變長。$M$ を増やす: 零点が密になり、主ローブが狭くなり、$\omega_0 = 0.1\pi$ での利得が下がりはじめる。$M = 10$ では $0.2\pi$ がすでに最初の零点であり、低周波もかなり減衰するので、出力はいっそうなめらかになり、遅れも長くなる。

The simplest moving average of all is the two-point one, $h[n] = [\,0.5,\ 0.5\,]$. Putting $M=2$ into Step 2 above gives a result clean enough to be worth deriving a second time from nothing:最簡單的移動平均就是兩點的那一個,$h[n] = [\,0.5,\ 0.5\,]$。把 $M=2$ 代進上面的步驟 2,會得到一個乾淨到值得從頭再推一次的結果:もっとも単純な移動平均は 2 点のもの、すなわち $h[n] = [\,0.5,\ 0.5\,]$ である。上のステップ 2 に $M=2$ を入れると、何もないところからもう一度導く価値があるほど簡潔な結果が得られる。

Two-point moving average兩點移動平均2 点移動平均 $$H(e^{j\omega}) = 0.5 + 0.5\,e^{-j\omega} = e^{-j\omega/2}\cos\frac{\omega}{2}$$
Worked Example 10-A, continued — the $M=2$ case step by step範例 10-A(續)— $M=2$ 的情形,逐步推導例題 10-A(続き)— $M=2$ の場合を一歩ずつ

This formula is reached in three steps: write down $h[n]$, substitute it into the definition of the DTFT, then tidy up with the manoeuvre of factoring out the half-angle.這條式子分三步得到:寫出 $h[n]$、代入 DTFT 定義、再用「提出半角」整理。この式は三つの段階で得られる。$h[n]$ を書き下し、DTFT の定義に代入し、最後に「半角をくくり出す」という操作で整理するのである。

Step 1 — what $h[n]$ is.第 1 步:$h[n]$ 是什麼ステップ 1 — $h[n]$ とは何か $h[n] = [\,0.5,\ 0.5\,]$ means $h[0] = 0.5$ and $h[1] = 0.5$, everything else zero. Substituting into the convolution:$h[n] = [\,0.5,\ 0.5\,]$ 表示 $h[0] = 0.5$、$h[1] = 0.5$,其他都是 0。代入摺積:$h[n] = [\,0.5,\ 0.5\,]$ は $h[0] = 0.5$、$h[1] = 0.5$ で、それ以外はすべて 0 であることを表す。畳み込みに代入すると、 $$y[n] = \sum_m h[m]\,x[n - m] = h[0]\,x[n] + h[1]\,x[n-1] = \frac{1}{2}\big(x[n] + x[n-1]\big)$$ That is, it is just taking the average of this point and the one before it.也就是「現在這一點和前一點取平均」。つまり「いまの点と一つ前の点の平均をとる」ということである。
Step 2 — substitute into the definition of the DTFT.第 2 步:代入 DTFT 定義ステップ 2 — DTFT の定義に代入する $$H(e^{j\omega}) = \sum_m h[m]\,e^{-j\omega m} = \underbrace{0.5\,e^{-j\omega\cdot 0}}_{m=0} + \underbrace{0.5\,e^{-j\omega\cdot 1}}_{m=1} = 0.5 + 0.5\,e^{-j\omega}$$
Step 3 — factor out the half-angle.第 3 步:提出半角ステップ 3 — 半角をくくり出す This is the same trick as the factor out half the angle from the earlier periodic sinc slides. The angles of the two terms are $0$ and $-\omega$; factor out the angle halfway between them, $e^{-j\omega/2}$:這和前面 periodic sinc 投影片的「factor out half the angle」是同一個技巧。兩項的角度分別是 $0$ 和 $-\omega$,提出中間的角度 $e^{-j\omega/2}$:これは前の periodic sinc のスライドにあった「factor out half the angle」と同じ手口である。二つの項の角度はそれぞれ $0$ と $-\omega$ であり、その中間の角度 $e^{-j\omega/2}$ をくくり出す。 $$0.5 + 0.5\,e^{-j\omega} = 0.5\,e^{-j\omega/2}\big(e^{\,j\omega/2} + e^{-j\omega/2}\big)$$ (Check: multiplying it back out gives $0.5\,e^{0} + 0.5\,e^{-j\omega}$, correct.)(檢查:乘回去得 $0.5\,e^{0} + 0.5\,e^{-j\omega}$,正確。)(確認:展開し直すと $0.5\,e^{0} + 0.5\,e^{-j\omega}$ となり、正しい。) What is inside the bracket is a symmetric form; use Euler's formula $e^{j\alpha} + e^{-j\alpha} = 2\cos\alpha$:括號內是對稱形式,用尤拉公式 $e^{j\alpha} + e^{-j\alpha} = 2\cos\alpha$:括弧の中は対称な形であり、オイラーの公式 $e^{j\alpha} + e^{-j\alpha} = 2\cos\alpha$ を使う。 $$= 0.5\,e^{-j\omega/2}\cdot 2\cos\frac{\omega}{2} = e^{-j\omega/2}\cos\frac{\omega}{2}$$
Reading off the magnitude and the phase.讀出大小與相位振幅と位相を読みとる On $-\pi \lt \omega \lt \pi$ we have $\cos(\omega/2) \ge 0$, so:在 $-\pi \lt \omega \lt \pi$ 內,$\cos(\omega/2) \ge 0$,所以:$-\pi \lt \omega \lt \pi$ の範囲では $\cos(\omega/2) \ge 0$ であるから、
Result結果結果What it means意義意味
Magnitude $\lvert H\rvert$大小 $\lvert H\rvert$振幅 $\lvert H\rvert$$\cos(\omega/2)$gain close to 1 at low frequency, 0 at $\omega = \pi$: lowpass低頻增益接近 1,$\omega = \pi$ 時為 0:低通低域では利得が 1 に近く、$\omega = \pi$ では 0 になる。すなわち低域通過である
Phase $\theta$相位 $\theta$位相 $\theta$$-\omega/2$linear phase; every frequency is delayed by 0.5 of a sample線性相位,所有頻率都延遲 0.5 個樣本線形位相であり、どの周波数も 0.5 標本 だけ遅れる
A delay of 0.5 of a sample is entirely reasonable: the output is the average of $x[n]$ and $x[n-1]$, so the instant it stands for falls exactly midway between them, at $n - 0.5$.延遲 0.5 個樣本很合理:輸出是 $x[n]$ 和 $x[n-1]$ 的平均,代表的時間點落在兩者正中間 $n - 0.5$。0.5 標本の遅れはきわめて理にかなっている。出力は $x[n]$ と $x[n-1]$ の平均であり、それが代表する時刻は両者のちょうど中間、$n - 0.5$ に落ちるからである。
Numerical check — $\omega = \pi/2$.數值驗證:$\omega = \pi/2$数値による確認 — $\omega = \pi/2$ Substituting directly: $0.5 + 0.5\,e^{-j\pi/2} = 0.5 - 0.5j$, magnitude $\sqrt{0.5} \approx 0.707$, angle $-\pi/4$.直接代入:$0.5 + 0.5\,e^{-j\pi/2} = 0.5 - 0.5j$,大小 $\sqrt{0.5} \approx 0.707$,角度 $-\pi/4$。そのまま代入すると $0.5 + 0.5\,e^{-j\pi/2} = 0.5 - 0.5j$ であり、大きさは $\sqrt{0.5} \approx 0.707$、角度は $-\pi/4$ である。 From the formula: $e^{-j\pi/4}\cos(\pi/4) = 0.707\,e^{-j\pi/4}$. The two are the same.公式:$e^{-j\pi/4}\cos(\pi/4) = 0.707\,e^{-j\pi/4}$。兩者相同。公式からは $e^{-j\pi/4}\cos(\pi/4) = 0.707\,e^{-j\pi/4}$ となる。両者は同じである。
Geometric intuition.幾何直覺幾何学的な直観 $H$ is the sum of two complex vectors: $0.5$ (pointing to the right) and $0.5\,e^{-j\omega}$ (turned clockwise by $\omega$). Adding two vectors of the same length builds a rhombus:$H$ 是兩個複數向量相加:$0.5$(指向右方)和 $0.5\,e^{-j\omega}$(順時針轉了 $\omega$)。兩個長度相同的向量相加,構成一個菱形:$H$ は二つの複素ベクトルの和である。$0.5$(右を向く)と $0.5\,e^{-j\omega}$(時計回りに $\omega$ だけ回ったもの)である。長さの等しい二つのベクトルを足すと、菱形ができる。
  • Direction: the diagonal bisects the angle between the two vectors exactly, so the angle is $-\omega/2$.方向:對角線正好平分兩向量的夾角,所以角度是 $-\omega/2$。向き:対角線は二つのベクトルのなす角をちょうど二等分するので、角度は $-\omega/2$ である。
  • Length: the diagonal of the rhombus has length $2 \times 0.5 \times \cos(\omega/2) = \cos(\omega/2)$.長度:菱形對角線長 $2 \times 0.5 \times \cos(\omega/2) = \cos(\omega/2)$。長さ:菱形の対角線の長さは $2 \times 0.5 \times \cos(\omega/2) = \cos(\omega/2)$ である。
The larger $\omega$ is, the larger the angle between the two vectors and the more they cancel one another; at $\omega = \pi$ they point in opposite directions and cancel completely, which is exactly why the high frequencies are filtered out.$\omega$ 越大,兩向量夾角越大、互相抵消得越多;$\omega = \pi$ 時兩者方向相反,完全抵消,這就是高頻被濾掉的原因。$\omega$ が大きいほど二つのベクトルのなす角は大きくなり、互いに打ち消し合う度合いも強くなる。$\omega = \pi$ では両者の向きが正反対になって完全に打ち消し合う。これこそが高い周波数が取り除かれる理由である。
Key — how the $M=2$ case sits inside Worked Example 10-A重點 — $M=2$ 的情形如何嵌在範例 10-A 之中要点 — $M=2$ の場合が例題 10-A のどこに収まるか
  • It is Step 2 at $M=2$. Setting $M=2$ gives $H(e^{j\omega}) = \frac{1}{2}e^{-j\omega/2}\frac{\sin\omega}{\sin(\omega/2)}$, and the double-angle identity $\sin\omega = 2\sin\frac{\omega}{2}\cos\frac{\omega}{2}$ collapses the Dirichlet ratio to $2\cos\frac{\omega}{2}$, leaving $e^{-j\omega/2}\cos\frac{\omega}{2}$ — the result above. The half-angle move done by hand on two terms in Step 3 above is precisely Step 2 of this worked example, which also factors out half-angle exponentials.它就是步驟 2 在 $M=2$ 的樣子。令 $M=2$ 得 $H(e^{j\omega}) = \frac{1}{2}e^{-j\omega/2}\frac{\sin\omega}{\sin(\omega/2)}$,再用倍角公式 $\sin\omega = 2\sin\frac{\omega}{2}\cos\frac{\omega}{2}$,Dirichlet 比值就塌縮成 $2\cos\frac{\omega}{2}$,剩下 $e^{-j\omega/2}\cos\frac{\omega}{2}$——正是上面的結果。上面第 3 步用手對兩項做的提半角,就是本範例步驟 2 的「把半角指數因式提出來」。これはステップ 2 の $M=2$ の姿である。$M=2$ とおくと $H(e^{j\omega}) = \frac{1}{2}e^{-j\omega/2}\frac{\sin\omega}{\sin(\omega/2)}$ となり、倍角の公式 $\sin\omega = 2\sin\frac{\omega}{2}\cos\frac{\omega}{2}$ によって Dirichlet 比は $2\cos\frac{\omega}{2}$ に潰れ、$e^{-j\omega/2}\cos\frac{\omega}{2}$ が残る。上の結果そのものである。上のステップ 3 で二項に対して手で行った半角のくくり出しは、この例題のステップ 2「半角の指数因子をくくり出す」と同じ操作である。
  • The delay matches. The general delay $\frac{M-1}{2}$ is $0.5$ samples at $M=2$ and $2$ samples at $M=5$ — the half-sample claim above and the two samples of Step 4 are the same statement read at two values of $M$.延遲量對得上。一般式的延遲 $\frac{M-1}{2}$ 在 $M=2$ 是 $0.5$ 個樣本,在 $M=5$ 是 $2$ 個樣本——上面的「半個樣本」和步驟 4 的「2 個樣本」,是同一句話在兩個 $M$ 值下的讀法。遅れの量も一致する。一般式の遅れ $\frac{M-1}{2}$ は $M=2$ で $0.5$ 標本、$M=5$ で $2$ 標本である。上の「0.5 標本」とステップ 4 の「2 標本」は、同じ主張を二つの $M$ で読んだものにすぎない。
  • No $\pi$ jumps, and the general phase says why. In $\theta(\omega) = -\frac{M-1}{2}\omega + \pi r$ the index $r = \lfloor M\omega/2\pi \rfloor$ is $0$ throughout $0 \le \omega \lt \pi$ when $M=2$ (it only reaches $1$ at $\omega = \pi$ itself, where $\lvert H\rvert = 0$ anyway). So the $M=2$ phase is exactly $-\omega/2$ with none of the $\pi$ jumps warned about above: $\frac{1}{2}\lvert\sin\omega/\sin(\omega/2)\rvert$ has no interior null, whereas the $M=5$ response of Fig. 10-2 has nulls at $\omega = 2\pi k/5$ and a $\pi$ jump at each of them.沒有 $\pi$ 跳變,而一般式的相位說明了原因。在 $\theta(\omega) = -\frac{M-1}{2}\omega + \pi r$ 裡,當 $M=2$ 時指標 $r = \lfloor M\omega/2\pi \rfloor$ 在整個 $0 \le \omega \lt \pi$ 上都是 $0$(要到 $\omega = \pi$ 本身才變成 $1$,而那裡 $\lvert H\rvert$ 本來就是 $0$)。所以 $M=2$ 的相位剛好就是 $-\omega/2$,完全沒有上面警告的那種 $\pi$ 跳變:$\frac{1}{2}\lvert\sin\omega/\sin(\omega/2)\rvert$ 在區間內部沒有零點,而圖 10-2 的 $M=5$ 響應在 $\omega = 2\pi k/5$ 有零點,每個零點上都有一次 $\pi$ 跳變。$\pi$ の跳びがなく、その理由は一般式の位相が語っている。$\theta(\omega) = -\frac{M-1}{2}\omega + \pi r$ において、$M=2$ のとき添字 $r = \lfloor M\omega/2\pi \rfloor$ は $0 \le \omega \lt \pi$ の全域で $0$ である($1$ になるのは $\omega = \pi$ そのものであり、そこでは $\lvert H\rvert = 0$ である)。したがって $M=2$ の位相はちょうど $-\omega/2$ であり、上で注意した $\pi$ の跳びはいっさい生じない。$\frac{1}{2}\lvert\sin\omega/\sin(\omega/2)\rvert$ は区間の内部に零点をもたないからである。これに対し図 10-2 の $M=5$ の応答は $\omega = 2\pi k/5$ に零点をもち、そのたびに $\pi$ 跳ぶ。
  • The half sample is a phase delay. Since $\theta(\omega) = -\omega/2$ exactly, the phase delay of §10.3.1 is $\tau_p(\omega) = -\theta(\omega)/\omega = \frac{1}{2}$ at every frequency, and the group delay $-d\theta/d\omega$ is the same $\frac{1}{2}$ — the hallmark of linear phase. The delay is the index of the symmetry centre of $h[n]$, which for a two-tap symmetric $h$ sits between the taps.那半個樣本其實是相位延遲。因為 $\theta(\omega) = -\omega/2$ 剛好成立,§10.3.1 的相位延遲就是 $\tau_p(\omega) = -\theta(\omega)/\omega = \frac{1}{2}$,在每個頻率都一樣;群延遲 $-d\theta/d\omega$ 也同樣是 $\frac{1}{2}$——這正是線性相位的標誌。延遲量等於 $h[n]$ 對稱中心的索引值,而兩抽頭的對稱 $h$,對稱中心恰好落在兩個抽頭之間。その 0.5 標本は位相遅延である。$\theta(\omega) = -\omega/2$ がちょうど成り立つので、§10.3.1 の位相遅延はどの周波数でも $\tau_p(\omega) = -\theta(\omega)/\omega = \frac{1}{2}$ であり、群遅延 $-d\theta/d\omega$ も同じく $\frac{1}{2}$ である。これが線形位相の証である。遅れの量は $h[n]$ の対称中心の位置に等しく、2 タップの対称な $h$ では対称中心はタップとタップのあいだに落ちる。
  • The rhombus is the zero vector. $H(z) = \frac{1}{2}(1 + z^{-1})$ has a single zero at $z = -1$, and $H(e^{j\omega}) = \frac{1}{2}e^{-j\omega}\big(e^{j\omega} - (-1)\big)$, so $\lvert H(e^{j\omega})\rvert = \frac{1}{2}\lvert e^{j\omega} + 1\rvert = \frac{1}{2}\cdot 2\cos\frac{\omega}{2}$. The chord from the zero to the moving point $e^{j\omega}$ is the vector of §10.2.4, and it is the rhombus diagonal above up to the factor $\frac{1}{2}$: the same half-angle length, once read off a parallelogram and once off the unit circle. Because that zero lies on the unit circle, the magnitude falls all the way to $0$ when $e^{j\omega}$ reaches it at $\omega = \pi$.那個菱形就是零點向量。$H(z) = \frac{1}{2}(1 + z^{-1})$ 只有一個零點,在 $z = -1$,而 $H(e^{j\omega}) = \frac{1}{2}e^{-j\omega}\big(e^{j\omega} - (-1)\big)$,所以 $\lvert H(e^{j\omega})\rvert = \frac{1}{2}\lvert e^{j\omega} + 1\rvert = \frac{1}{2}\cdot 2\cos\frac{\omega}{2}$。從零點拉到移動點 $e^{j\omega}$ 的那條弦,就是 §10.2.4 的向量,它和上面的菱形對角線只差一個 $\frac{1}{2}$ 的係數:同一個半角長度,一次從平行四邊形讀出,一次從單位圓讀出。因為這個零點正好落在單位圓上,所以當 $e^{j\omega}$ 在 $\omega = \pi$ 走到它身上時,振幅一路掉到 $0$。あの菱形は零点ベクトルである。$H(z) = \frac{1}{2}(1 + z^{-1})$ は $z = -1$ に零点を一つだけもち、$H(e^{j\omega}) = \frac{1}{2}e^{-j\omega}\big(e^{j\omega} - (-1)\big)$ であるから $\lvert H(e^{j\omega})\rvert = \frac{1}{2}\lvert e^{j\omega} + 1\rvert = \frac{1}{2}\cdot 2\cos\frac{\omega}{2}$ となる。零点から動点 $e^{j\omega}$ へ引いた弦こそ §10.2.4 のベクトルであり、上の菱形の対角線とは係数 $\frac{1}{2}$ しか違わない。同じ半角の長さを、一方は平行四辺形から、他方は単位円から読みとっているのである。この零点は単位円上にあるので、$\omega = \pi$ で $e^{j\omega}$ がそこに達すると振幅は $0$ まで落ちる。

10.2 Transfer Function (TF)10.2 轉移函數(TF)10.2 伝達関数(TF)

10.2.1 From Difference Equation to H(z)10.2.1 從差分方程式到 H(z)10.2.1 差分方程式から H(z) へ

Alternatively, take the z-transform of $y[n] = h[n] \circledast x[n]$: convolution becomes multiplication, $Y(z) = H(z)X(z)$. The transfer function(轉移函數) $H(z)$ can be obtained two equivalent ways:另一條路,是對 $y[n] = h[n] \circledast x[n]$ 取 z 轉換:摺積變成相乘,$Y(z) = H(z)X(z)$。轉移函數 $H(z)$ 可以用兩種等價的方式得到:別の道として、$y[n] = h[n] \circledast x[n]$ の z 変換をとる。畳み込みは積になり、$Y(z) = H(z)X(z)$ である。伝達関数 $H(z)$ は等価な二つの方法で得られる。

Transfer function轉移函數伝達関数 $$H(z) \;=\; \begin{cases} \dfrac{\sum_k p_k z^{-k}}{\sum_k d_k z^{-k}} & \text{if the system has difference-equation form}\\[10px] \displaystyle\sum_n h[n]\,z^{-n} & \text{directly from the impulse response} \end{cases}$$

For an FIR filter with $h[n] = \{h_0, h_1, \dots, h_{M-1}\}$ the two views coincide trivially: $p_k = h_k$, $d_0 = 1$, and the difference equation is $y[n] = \sum_{k=0}^{M-1} h_k\,x[n-k]$.對於 $h[n] = \{h_0, h_1, \dots, h_{M-1}\}$ 的 FIR 濾波器,兩種觀點會平凡地重合:$p_k = h_k$、$d_0 = 1$,差分方程式就是 $y[n] = \sum_{k=0}^{M-1} h_k\,x[n-k]$。$h[n] = \{h_0, h_1, \dots, h_{M-1}\}$ の FIR フィルタでは、二つの見方は自明に一致する。$p_k = h_k$、$d_0 = 1$ であり、差分方程式は $y[n] = \sum_{k=0}^{M-1} h_k\,x[n-k]$ となる。

Worked Example 10-B — MA filter as a transfer function範例 10-B — 把移動平均濾波器寫成轉移函數例題 10-B — 伝達関数としての移動平均フィルタ
Step 1. $h[n] = \frac{1}{M}$ on $0\le n\le M-1$ gives the geometric sum步驟 1。$h[n] = \frac{1}{M}$($0\le n\le M-1$)給出等比級數和ステップ 1。$0\le n\le M-1$ で $h[n] = \frac{1}{M}$ だから、等比級数和は次のようになる。 $$H(z) = \frac{1}{M}\sum_{\ell=0}^{M-1} z^{-\ell} = \frac{1-z^{-M}}{M(1-z^{-1})} = \frac{z^{M}-1}{M\,z^{M-1}(z-1)}$$
Step 2 — roots. The numerator $z^M = 1$ has $M$ roots — the $M$-th roots of unity $z = e^{j2\pi r/M}$, $r = 0,\dots,M-1$, equally spaced on the unit circle.步驟 2 — 求根。分子 $z^M = 1$ 有 $M$ 個根——$M$ 次單位根 $z = e^{j2\pi r/M}$($r = 0,\dots,M-1$),在單位圓上等間隔分布。ステップ 2 — 根を求める。分子 $z^M = 1$ は $M$ 個の根をもつ。$M$ 乗根 $z = e^{j2\pi r/M}$($r = 0,\dots,M-1$)であり、単位円上に等間隔に並ぶ。
Step 3 — cancellation. The root at $z = 1$ (i.e. $r=0$) cancels the denominator pole at $z=1$, so the filter has $M-1$ zeros on the unit circle and only trivial poles at $z=0$. These $M-1$ zeros are exactly the magnitude nulls of Fig. 10-2.步驟 3 — 對消。位於 $z = 1$ 的根(即 $r=0$)對消掉分母在 $z=1$ 的極點,所以這個濾波器在單位圓上有 $M-1$ 個零點,而極點只有 $z=0$ 的平凡極點。這 $M-1$ 個零點,正好就是圖 10-2 的振幅零點。ステップ 3 — 相殺。$z = 1$ にある根(すなわち $r=0$)が分母の $z=1$ の極を打ち消すので、このフィルタは単位円上に $M-1$ 個の零点をもち、極は $z=0$ の自明なものだけになる。この $M-1$ 個の零点こそ、図 10-2 の振幅の零点そのものである。

Linking the LCCDE, the ZT and the FR連起差分方程、Z 轉換與頻率響應差分方程式・z 変換・周波数応答をつなぐ

This slide ties three things together: the difference equation (LCCDE), the z-transform (ZT) and the frequency response. The bridge in the middle is the transfer function $H(z)$.這張投影片把三樣東西連起來:差分方程(LCCDE)、Z 轉換(ZT)、頻率響應。中間的橋樑就是轉移函數 $H(z)$。このスライドは三つのものをつなぐ。差分方程式(LCCDE)、z 変換(ZT)、周波数応答である。その間の橋渡しをするのが伝達関数 $H(z)$ である。

① LCCDE: the time-domain description. A linear constant-coefficient difference equation(線性常係數差分方程):① LCCDE:系統的時域描述。線性常係數差分方程(Linear Constant-Coefficient Difference Equation):① LCCDE:システムの時間領域での記述。線形定係数差分方程式(Linear Constant-Coefficient Difference Equation):

LCCDE線性常係數差分方程線形定係数差分方程式 $$\sum_{k=0}^{N} d_k\,y[n-k] = \sum_{k=0}^{N} p_k\,x[n-k]$$

The left side is a weighted sum of the output and its past values, the right side a weighted sum of the input and its past values. Most practical digital filters can be written in this form.左邊是輸出及其過去值的加權和,右邊是輸入及其過去值的加權和。大多數實際的數位濾波器都能寫成這個形式。左辺は出力とその過去の値の重み付き和、右辺は入力とその過去の値の重み付き和である。実用的なディジタルフィルタのほとんどは、この形に書ける。

System系統システムDifference equation差分方程差分方程式Coefficients係數係数
first-order IIR一階 IIR1 次 IIR$y[n] - 0.5\,y[n-1] = x[n]$$d_0 = 1,\ d_1 = -0.5$; $p_0 = 1$
MA filter ($M = 5$)MA 濾波器($M = 5$)MA フィルタ($M = 5$)$y[n] = \frac{1}{5}\big(x[n] + \cdots + x[n-4]\big)$$d_0 = 1$; $p_0 = \cdots = p_4 = \frac{1}{5}$

When only $d_0$ is nonzero (no output feedback) the system is FIR; when some $d_k \ne 0$ with $k \ge 1$ it is IIR.只有 $d_0$ 非零時(輸出不回授),就是 FIR;有 $d_k \ne 0$($k \ge 1$)時,就是 IIR。$d_0$ だけが非零(出力の帰還がない)なら FIR であり、$k \ge 1$ で $d_k \ne 0$ となるものがあれば IIR である。

② Take the z-transform. The definition is② 取 Z 轉換。Z 轉換的定義:② z 変換をとる。z 変換の定義は次のとおり。

$$X(z) = \sum_{n=-\infty}^{\infty} x[n]\,z^{-n}$$

and the key property is a delay of $k$ samples ↔ multiplication by $z^{-k}$:關鍵性質是延遲 $k$ 點 ↔ 乘上 $z^{-k}$:鍵となる性質は$k$ サンプルの遅延 ↔ $z^{-k}$ を掛けることである。

Delay property延遲性質遅延の性質 $$\sum_n x[n-k]\,z^{-n} \overset{m = n-k}{=} \sum_m x[m]\,z^{-(m+k)} = z^{-k}X(z)$$

So every $y[n-k]$ in the difference equation becomes $z^{-k}Y(z)$ and every $x[n-k]$ becomes $z^{-k}X(z)$:所以差分方程中每個 $y[n-k]$ 變成 $z^{-k}Y(z)$、每個 $x[n-k]$ 變成 $z^{-k}X(z)$:したがって差分方程式の各 $y[n-k]$ は $z^{-k}Y(z)$ に、各 $x[n-k]$ は $z^{-k}X(z)$ になる。

$$\sum_k d_k\,z^{-k}\,Y(z) = \sum_k p_k\,z^{-k}\,X(z)$$

The time-domain difference equation has become an algebraic equation in $z$.時域的差分方程,變成 $z$ 域的代數方程。時間領域の差分方程式が、$z$ 領域の代数方程式になった。

③ Solve for $Y(z)$. $Y(z)$ and $X(z)$ do not depend on $k$, so they come out of the sums:③ 解出 $Y(z)$。$Y(z)$ 和 $X(z)$ 與 $k$ 無關,可以提出求和:③ $Y(z)$ について解く。$Y(z)$ と $X(z)$ は $k$ に依存しないので、和の外へ出せる。

$$Y(z)\sum_k d_k\,z^{-k} = X(z)\sum_k p_k\,z^{-k} \quad\Longrightarrow\quad Y(z) = \underbrace{\frac{\sum_k p_k\,z^{-k}}{\sum_k d_k\,z^{-k}}}_{H(z)}\,X(z)$$
Key — the transfer function重點 — 轉移函數要点 — 伝達関数
$$H(z) = \frac{\sum_k p_k\,z^{-k}}{\sum_k d_k\,z^{-k}}$$ The z-transform of the output equals the z-transform of the input times $H(z)$. It is also the z-transform of the impulse response, $H(z) = \mathcal{Z}\{h[n]\}$, because the time-domain convolution $y = h \circledast x$ becomes the $z$-domain product $Y = HX$.輸出的 Z 轉換等於輸入的 Z 轉換乘上 $H(z)$。它也等於脈衝響應的 Z 轉換,$H(z) = \mathcal{Z}\{h[n]\}$,因為時域摺積 $y = h \circledast x$ 對應 $z$ 域相乘 $Y = HX$。出力の z 変換は、入力の z 変換に $H(z)$ を掛けたものに等しい。これはインパルス応答の z 変換 $H(z) = \mathcal{Z}\{h[n]\}$ でもある。時間領域の畳み込み $y = h \circledast x$ が、$z$ 領域の積 $Y = HX$ に対応するからである。

10.2.2 Poles, Zeros, ROC, and Stability10.2.2 極點、零點、收斂區域與穩定性10.2.2 極・零点・収束領域・安定性

Worked Example 10-C — third-order recursive system (lecture TF example)範例 10-C — 三階遞迴系統(投影片的轉移函數例子)例題 10-C — 3 次の再帰システム(講義の伝達関数の例)
Step 1 — difference equation to H(z).步驟 1 — 從差分方程式到 H(z)。ステップ 1 — 差分方程式から H(z) へ。 $$y[n] = x[n-1] - 1.2x[n-2] + x[n-3] + 1.3y[n-1] - 1.04y[n-2] + 0.222y[n-3]$$ Collect $Y$ terms on the left and transform:把 $Y$ 的各項移到左邊再取轉換:$Y$ の項を左辺に集めてから変換する。 $$H(z) = \frac{Y(z)}{X(z)} = \frac{z^{-1} - 1.2z^{-2} + z^{-3}}{1 - 1.3z^{-1} + 1.04z^{-2} - 0.222z^{-3}}$$
Step 2 — factorize.步驟 2 — 因式分解。ステップ 2 — 因数分解する。 $$H(z) = \frac{z^{-1}\,(1-\zeta_0 z^{-1})(1-\zeta_0^{*} z^{-1})} {(1-\lambda_0 z^{-1})(1-\lambda_1 z^{-1})(1-\lambda_1^{*} z^{-1})}, \qquad \begin{aligned} \zeta_0 &= 0.6 + j0.8\\ \lambda_0 &= 0.3\\ \lambda_1 &= 0.5 + j0.7 \end{aligned}$$ Zeros(零點)$\zeta_0, \zeta_0^{*}$ lie on the unit circle ($|\zeta_0| = 1$); poles(極點)at $0.3$ and $0.5 \pm j0.7$ ($|\lambda_1| \approx 0.86$) lie inside it.零點 $\zeta_0, \zeta_0^{*}$ 落在單位圓上($|\zeta_0| = 1$);極點在 $0.3$ 與 $0.5 \pm j0.7$($|\lambda_1| \approx 0.86$),落在圓內。零点 $\zeta_0, \zeta_0^{*}$ は単位円上にあり($|\zeta_0| = 1$)、極は $0.3$ と $0.5 \pm j0.7$($|\lambda_1| \approx 0.86$)にあって円の内側にある。
Step 3 — ROC and stability. The poles $\lambda_i$ determine the ROC(收斂區域):步驟 3 — 收斂區域與穩定性。極點 $\lambda_i$ 決定了收斂區域:ステップ 3 — 収束領域と安定性。極 $\lambda_i$ が収束領域を決める。
  • causal → ROC is $|z| > \max_i |\lambda_i| = 0.86$;因果 → 收斂區域為 $|z| > \max_i |\lambda_i| = 0.86$;因果的 → 収束領域は $|z| > \max_i |\lambda_i| = 0.86$。
  • this ROC includes the unit circle → the system is also stable.這個收斂區域包含單位圓 → 系統因此也是穩定的。この収束領域は単位円を含む → よってシステムは安定でもある。
Key — causal and stable重點 — 因果且穩定要点 — 因果的かつ安定
For a causal system the ROC is the exterior $|z| > \max|\lambda_i|$. The system is BIBO-stable iff the ROC contains the unit circle, i.e. iff all poles are strictly inside the unit circle(因果且穩定 ⇔ 所有極點都在單位圓內). Zeros may be anywhere.對因果系統而言,收斂區域是外部區域 $|z| > \max|\lambda_i|$。系統為 BIBO 穩定的充要條件是收斂區域包含單位圓,也就是所有極點都嚴格落在單位圓內(因果且穩定 ⇔ 所有極點都在單位圓內)。零點則可以在任何地方。因果的なシステムでは、収束領域は外側の領域 $|z| > \max|\lambda_i|$ である。システムが BIBO 安定であるための必要十分条件は、収束領域が単位円を含むこと、すなわちすべての極が単位円の内側に厳密に入っていることである(因果的かつ安定 ⇔ すべての極が単位円の内側)。零点はどこにあってもよい。

Example 10-C in detail — difference equation → poles and zeros → ROC範例 10-C 詳解 — 差分方程 → 極零點 → ROC例題 10-C の詳細 — 差分方程式 → 極・零点 → ROC

These two slides are one complete IIR example: write $H(z)$ from the difference equation → factorize to find the poles and zeros → read the ROC and stability off the poles.這兩張投影片是一個完整的 IIR 例子:從差分方程寫出 $H(z)$ → 因式分解找出極零點 → 由極點判斷 ROC 與穩定性。この 2 枚のスライドは一つの完結した IIR の例である。差分方程式から $H(z)$ を書く → 因数分解して極と零点を求める → 極から ROC と安定性を判定する。

Slide 1, step 1 — move every $y$ to the left to get the standard LCCDE form. The $y$ coefficients change sign as they cross over:投影片 1,第 1 步 — 把所有 $y$ 移到左邊,整理成 LCCDE 的標準形式。移項時 $y$ 的係數變號:スライド 1、ステップ 1 — すべての $y$ を左辺へ移し、LCCDE の標準形に整える。移項すると $y$ の係数は符号が変わる。

$$y[n] - 1.3\,y[n-1] + 1.04\,y[n-2] - 0.222\,y[n-3] = x[n-1] - 1.2\,x[n-2] + x[n-3]$$
$k$0123
$d_k$ ($y$ side)$d_k$($y$ 側)$d_k$($y$ 側)1−1.31.04−0.222
$p_k$ ($x$ side)$p_k$($x$ 側)$p_k$($x$ 側)01−1.21

Step 2 — apply $H(z) = \sum p_k z^{-k} \big/ \sum d_k z^{-k}$:第 2 步 — 套用 $H(z) = \sum p_k z^{-k} \big/ \sum d_k z^{-k}$:ステップ 2 — $H(z) = \sum p_k z^{-k} \big/ \sum d_k z^{-k}$ を当てはめる。

$$H(z) = \frac{z^{-1} - 1.2\,z^{-2} + z^{-3}}{1 - 1.3\,z^{-1} + 1.04\,z^{-2} - 0.222\,z^{-3}}$$

Why do the complex roots come in conjugate pairs? All the coefficients are real, so every complex root of the polynomial appears together with its conjugate. Multiplying out a conjugate pair gives a quadratic with real coefficients:為什麼複數根成對出現(共軛)?係數都是實數,多項式的複數根一定以共軛對出現。把一對共軛根乘開,得到實係數的二次式:なぜ複素根は共役の対で現れるのか。係数がすべて実数なので、多項式の複素根は必ず共役と対になって現れる。共役の対を掛け合わせると、実係数の 2 次式になる。

Conjugate pair共軛對共役の対 $$(1 - c\,z^{-1})(1 - c^*z^{-1}) = 1 - 2\,\text{Re}(c)\,z^{-1} + |c|^2 z^{-2}$$

Check the numerator: $\text{Re}(\zeta_0) = 0.6$, $|\zeta_0|^2 = 0.36 + 0.64 = 1$:驗證分子:$\text{Re}(\zeta_0) = 0.6$,$|\zeta_0|^2 = 0.36 + 0.64 = 1$:分子の検算:$\text{Re}(\zeta_0) = 0.6$、$|\zeta_0|^2 = 0.36 + 0.64 = 1$。

$$z^{-1}\big(1 - 1.2\,z^{-1} + z^{-2}\big) = z^{-1} - 1.2\,z^{-2} + z^{-3} \quad\checkmark$$

Check the denominator: $\text{Re}(\lambda_1) = 0.5$, $|\lambda_1|^2 = 0.25 + 0.49 = 0.74$:驗證分母:$\text{Re}(\lambda_1) = 0.5$,$|\lambda_1|^2 = 0.25 + 0.49 = 0.74$:分母の検算:$\text{Re}(\lambda_1) = 0.5$、$|\lambda_1|^2 = 0.25 + 0.49 = 0.74$。

$$\begin{aligned} (1 - 0.3\,z^{-1})(1 - z^{-1} + 0.74\,z^{-2}) &= 1 - z^{-1} + 0.74\,z^{-2} - 0.3\,z^{-1} + 0.3\,z^{-2} - 0.222\,z^{-3} \\ &= 1 - 1.3\,z^{-1} + 1.04\,z^{-2} - 0.222\,z^{-3} \quad\checkmark \end{aligned}$$

Slide 2 — the pole-zero plot and the ROC.投影片 2 — 極零點圖與 ROC。スライド 2 — 極零配置図と ROC。

Location位置位置Magnitude大小大きさAngle角度角度
zeros $\zeta_0, \zeta_0^*$ (○)零點 $\zeta_0, \zeta_0^*$(○)零点 $\zeta_0, \zeta_0^*$(○)$0.6 \pm j0.8$1 (on the unit circle)1(在單位圓上)1(単位円上)$\pm 0.295\pi$
pole $\lambda_0$ (×)極點 $\lambda_0$(×)極 $\lambda_0$(×)$0.3$0.30
poles $\lambda_1, \lambda_1^*$ (×)極點 $\lambda_1, \lambda_1^*$(×)極 $\lambda_1, \lambda_1^*$(×)$0.5 \pm j0.7$0.860$\pm 0.303\pi$

About the $z^{-1}$ in the numerator. Multiply numerator and denominator by $z^3$ to rewrite in positive powers of $z$:關於分子的 $z^{-1}$:分子分母同乘 $z^3$,改寫成 $z$ 的正次方:分子の $z^{-1}$ について。分子と分母に $z^3$ を掛け、$z$ の正のべきで書き直す。

$$H(z) = \frac{(z - \zeta_0)(z - \zeta_0^*)}{(z - \lambda_0)(z - \lambda_1)(z - \lambda_1^*)}$$

The numerator has degree 2 and the denominator degree 3, so there is no pole at the origin; the extra degree is a zero at $z = \infty$. The $z^{-1}$ is an overall one-sample delay: the right-hand side of the difference equation starts at $x[n-1]$, so $h[0] = 0$.分子 2 次、分母 3 次,所以原點沒有極點;多出的一個次數代表一個在 $z = \infty$ 的零點。$z^{-1}$ 的意義是整體延遲 1 個樣本(差分方程右邊從 $x[n-1]$ 開始,所以 $h[0] = 0$)。分子は 2 次、分母は 3 次なので、原点に極はない。余った 1 次は $z = \infty$ にある零点を表す。$z^{-1}$ は全体を 1 標本遅らせることを意味する(差分方程式の右辺は $x[n-1]$ から始まるので $h[0] = 0$)。

ROC. The system is causal, so the ROC lies outside the outermost pole:ROC:系統是因果的,ROC 在最外側極點之外:ROC。システムは因果的なので、ROC は最も外側の極の外側にある。

$$\text{ROC:}\ |z| > \max_i |\lambda_i| = |\lambda_1| \approx 0.860$$

The orange region on the slide is this ROC: everything outside the circle of radius 0.86. The unit circle $|z| = 1$ lies inside it, so the system is stable. Equivalently, all the poles are inside the unit circle.投影片中的橘色區域就是 ROC:半徑 0.86 的圓外全部。單位圓 $|z| = 1$ 在其中,所以系統穩定。等價地說,所有極點都在單位圓內。スライドの橙色の領域がこの ROC、すなわち半径 0.86 の円の外側全体である。単位円 $|z| = 1$ はその中にあるので、システムは安定である。言い換えれば、すべての極が単位円の内側にある。

Predicting the frequency response from the poles and zeros.從極零點預測頻率響應。極と零点から周波数応答を予測する。

The interactive figure. Drag $\omega$ and the purple point moves around the unit circle; the middle panels show the frequency response and the bottom panel the impulse response computed recursively from the difference equation.互動圖。拖動 $\omega$,紫點沿單位圓移動;中間是頻率響應,下方是由差分方程遞迴算出的脈衝響應。インタラクティブな図。$\omega$ をドラッグすると紫の点が単位円上を動く。中央は周波数応答、下は差分方程式から再帰的に求めたインパルス応答である。

0.250
Interactive — the third-order IIR system of Example 10-C. ① poles, zeros and ROC ($|z| > 0.86$, orange); ② $|H(e^{j\omega})|$ in dB and the phase; ③ $h[n]$ by recursion with the $\pm C\cdot 0.86^n$ envelope.互動圖 — 範例 10-C 的三階 IIR 系統。① 極零點與 ROC($|z| > 0.86$,橘色);② $|H(e^{j\omega})|$(dB)與相位;③ 遞迴算出的 $h[n]$ 與 $\pm C\cdot 0.86^n$ 包絡。インタラクティブ — 例題 10-C の 3 次 IIR システム。① 極・零点と ROC($|z| > 0.86$、橙色)、② $|H(e^{j\omega})|$(dB)と位相、③ 再帰で求めた $h[n]$ と $\pm C\cdot 0.86^n$ の包絡線。

A point in the ROC does not make the system stable「某個 $z$ 在 ROC 內」不代表系統穩定ある $z$ が ROC 内にあっても、システムが安定とは限らない

The two statements live at different levels:兩者講的是不同層次的事:両者は別の層の話である。

Meaning意思意味Property of屬於何の性質か
$z$ is in the ROC$z$ 在 ROC 內$z$ が ROC 内にあるat this value of $z$ the series $\sum h[n]z^{-n}$ converges在這個 $z$ 值,級數 $\sum h[n]z^{-n}$ 收斂この $z$ の値で級数 $\sum h[n]z^{-n}$ が収束するone point某一個點ある一つの点
the system is stable系統穩定システムが安定$\sum_n \lvert h[n]\rvert < \infty$ (bounded input → bounded output)$\sum_n \lvert h[n]\rvert < \infty$(有界輸入 → 有界輸出)$\sum_n \lvert h[n]\rvert < \infty$(有界入力 → 有界出力)the whole system整個系統システム全体

There is only one link between them:兩者的連結只有一條:両者を結ぶのはただ一つである。

Stability and the ROC穩定性與收斂區安定性と収束領域 $$\sum_n \lvert h[n]\rvert < \infty \iff \text{ROC} \supset \{\,|z| = 1\,\}$$

Other points of the ROC say nothing about stability.只看 ROC 裡的其他點,無法判斷穩定性。ROC の他の点を見ても、安定性は判断できない。

Example — an unstable system still has an ROC例 1 — 不穩定系統也有 ROC例 1 — 不安定なシステムにも ROC はある
$h[n] = 1.03^n\,u[n]$ (the unstable system of 10.1.3) has ROC $|z| > 1.03$. Take $z = 2$: the ratio is $|1.03/2| = 0.515 < 1$, the series converges, so $z = 2$ is in the ROC. The system is still unstable, because the ROC does not cover the unit circle: at $z = 1$ the ratio is $1.03$ and the series diverges.$h[n] = 1.03^n\,u[n]$(10.1.3 的不穩定系統),ROC 為 $|z| > 1.03$。取 $z = 2$:公比 $|1.03/2| = 0.515 < 1$,級數收斂,所以 $z = 2$ 在 ROC 內。但系統仍然不穩定,因為 ROC 沒有涵蓋單位圓;在 $z = 1$ 時公比為 $1.03$,級數發散。$h[n] = 1.03^n\,u[n]$(10.1.3 の不安定なシステム)の ROC は $|z| > 1.03$ である。$z = 2$ をとると公比は $|1.03/2| = 0.515 < 1$ で級数は収束するので、$z = 2$ は ROC 内にある。それでもシステムは不安定である。ROC が単位円を覆っていないからで、$z = 1$ では公比が $1.03$ となり級数は発散する。
Intuitively, for large $|z|$ the factor $z^{-n}$ decays fast enough to overpower the growth of $h[n]$. Stability asks whether $h[n]$ itself — i.e. $|z| = 1$, with no extra decay — can be summed.直覺上,$z^{-n}$ 在 $|z|$ 很大時衰減得很快,足以壓過 $h[n]$ 的成長,所以級數收斂。但穩定性問的是 $h[n]$ 本身(相當於 $|z| = 1$,沒有額外的衰減)能不能加總。直観的には、$|z|$ が大きいと $z^{-n}$ が速く減衰し、$h[n]$ の増大を押さえ込むので級数は収束する。しかし安定性が問うのは、$h[n]$ そのもの($|z| = 1$ に相当し、余分な減衰がない)が総和可能かどうかである。
Example — one formula, two ROCs, two answers例 2 — 同一個公式,ROC 不同,穩定性也不同例 2 — 同じ式でも ROC が違えば安定性も違う
$$H(z) = \frac{1}{1 - 1.03\,z^{-1}}$$
Choice選擇選択$h[n]$ROCContains u.c.?包含單位圓?単位円を含む?Stable?穩定?安定?Causal?因果?因果的?
right-sided右邊序列右側系列$1.03^n\,u[n]$$\lvert z\rvert > 1.03$no否いいえunstable不穩定不安定yes是はい
left-sided左邊序列左側系列$-1.03^n\,u[-n-1]$$\lvert z\rvert < 1.03$yes是はいstable穩定安定no否いいえ
The left-sided sequence is nonzero only for $n \le -1$: $-1.03^{-1}, -1.03^{-2}, \dots$, decaying towards the past, so左邊序列只在 $n \le -1$ 有值:$-1.03^{-1}, -1.03^{-2}, \dots$,往過去方向衰減,所以左側系列は $n \le -1$ でのみ非零で、$-1.03^{-1}, -1.03^{-2}, \dots$ と過去へ向かって減衰する。したがって $$\sum_n |h[n]| = \sum_{m=1}^{\infty} 1.03^{-m} = \frac{1/1.03}{1 - 1/1.03} \approx 33.3 < \infty$$ It is stable, but it needs future inputs and cannot run in real time.是穩定的,但它需要用到未來的輸入,無法即時實現。安定ではあるが、未来の入力を必要とするので実時間では実現できない。
Key — how to judge stability重點 — 如何判斷穩定性要点 — 安定性の判定
Condition條件条件How to judge判斷方法判定方法
a general system is stable一般系統穩定一般のシステムが安定does the ROC contain the unit circle?ROC 是否包含單位圓ROC が単位円を含むか
a causal system is stable因果系統穩定因果的システムが安定are all poles inside the unit circle? (the ROC is then outside the outermost pole and contains the unit circle automatically)所有極點是否都在單位圓內(此時 ROC 是最外側極點之外,自動包含單位圓)すべての極が単位円の内側にあるか(このとき ROC は最も外側の極より外であり、自動的に単位円を含む)
some $z$ is in the ROC某個 $z$ 在 ROC 內ある $z$ が ROC 内にあるonly says $H(z)$ is defined at that point; unrelated to stability只表示 $H(z)$ 在那一點有定義,與穩定性無關$H(z)$ がその点で定義されることを示すだけで、安定性とは無関係
Practical filters are causal, so in practice stability is read straight off "are all poles inside the unit circle?".實務上設計的濾波器都是因果的,所以通常直接看「極點是否都在單位圓內」來判斷穩定性。実際に設計するフィルタはすべて因果的なので、ふつうは「すべての極が単位円の内側にあるか」で安定性を判定する。

10.2.3 From H(z) to Frequency Response10.2.3 從 H(z) 到頻率響應10.2.3 H(z) から周波数応答へ

The DTFT is the z-transform evaluated on the unit circle(單位圓):DTFT 就是把 z 轉換在單位圓上求值:DTFT とは、z 変換を単位円上で評価したものである。

FR = TF on the unit circle頻率響應 = 單位圓上的轉移函數周波数応答 = 単位円上の伝達関数 $$H(e^{j\omega}) = H(z)\Big|_{z = e^{j\omega}}$$

(This requires the ROC of $H(z)$ to contain the unit circle, i.e. the system to be stable.) Two checks with the systems of 10.2.1:(前提是 $H(z)$ 的收斂區包含單位圓,也就是系統穩定。)用 10.2.1 的兩個系統驗證:(ただし $H(z)$ の収束領域が単位円を含むこと、すなわちシステムが安定であることが前提である。)10.2.1 の二つのシステムで確かめる。

Check — the unit circle reproduces the DTFT驗證 — 單位圓上的值就是 DTFT確認 — 単位円上の値は DTFT そのもの
Check 1 — MA filter.驗證一:MA 濾波器。確認 1 — MA フィルタ。 $$H(z) = \frac{1}{5}\big(1 + z^{-1} + z^{-2} + z^{-3} + z^{-4}\big) \;\xrightarrow{\,z = e^{j\omega}\,}\; \frac{1}{5}\sum_{n=0}^{4} e^{-j\omega n}$$ This is exactly the first step of the MA frequency-response derivation in 10.1.4.正是 10.1.4 推導 MA 頻率響應的第一步。これは 10.1.4 で MA の周波数応答を導いたときの第一歩そのものである。
Check 2 — the first-order IIR at $\omega_0 = \pi/2$. By hand, $h[n] = 0.5^n u[n]$ and the DTFT is a geometric series: $H(e^{j\pi/2}) = \sum_{m\ge 0} (0.5\,e^{-j\pi/2})^m = \sum_{m\ge 0} (-0.5j)^m$. In the $z$ domain it is one fraction:驗證二:一階 IIR 在 $\omega_0 = \pi/2$。手算時,$h[n] = 0.5^n u[n]$,DTFT 是無窮等比級數:$H(e^{j\pi/2}) = \sum_{m\ge 0} (0.5\,e^{-j\pi/2})^m = \sum_{m\ge 0} (-0.5j)^m$。在 $z$ 域只是一個分式:確認 2 — 1 次 IIR、$\omega_0 = \pi/2$。手計算では $h[n] = 0.5^n u[n]$ で、DTFT は無限等比級数 $H(e^{j\pi/2}) = \sum_{m\ge 0} (0.5\,e^{-j\pi/2})^m = \sum_{m\ge 0} (-0.5j)^m$ になる。$z$ 領域ではただの分数である。 $$H(z) = \frac{1}{1 - 0.5\,z^{-1}} \;\xrightarrow{\,z = e^{j\pi/2} = j\,}\; \frac{1}{1 - 0.5\cdot\frac{1}{j}} = \frac{1}{1 + 0.5j} = 0.8 - 0.4j$$ Both routes give the same $H(e^{j\omega_0})$.兩條路得到完全相同的 $H(e^{j\omega_0})$。二つの道は、まったく同じ $H(e^{j\omega_0})$ を与える。

Why the unit circle?為什麼頻率響應要看單位圓上的值なぜ単位円上の値を見るのか

Short answer簡短的答案短い答え
Only for $z$ on the unit circle is $z^n$ a pure sinusoid, and the frequency response (like a Bode plot) answers exactly one question: feed in a sinusoid — what comes out?單位圓上的 $z$ 才代表「純粹的正弦波」,而頻率響應(包括 Bode 圖)回答的問題正是「輸入一個正弦波,輸出會變成什麼」。$z^n$ が純粋な正弦波になるのは $z$ が単位円上にあるときだけであり、周波数応答(ボード線図も同じ)が答えるのはまさに「正弦波を入れたら何が出てくるか」という問いである。

1. The definition feeds in a sinusoid. Complex exponentials are eigenfunctions of an LTI system (10.1.1): the input $e^{j\omega n}$ comes out as the same exponential times a complex number,1. 頻率響應的定義:輸入正弦波。複指數是 LTI 系統的特徵函數(10.1.1):輸入 $e^{j\omega n}$,輸出還是同一個頻率的複指數,只是乘上一個複數:1. 周波数応答の定義は正弦波を入れること。複素指数は LTI システムの固有関数である(10.1.1)。入力 $e^{j\omega n}$ は、同じ指数に複素数が掛かっただけのものとして出てくる。

$$x[n] = e^{j\omega n} \;\Rightarrow\; y[n] = \sum_k h[k]e^{j\omega(n-k)} = \underbrace{\Big(\sum_k h[k]e^{-j\omega k}\Big)}_{H(e^{j\omega})} e^{j\omega n}$$

Its magnitude is the gain and its angle the phase shift. Compared with $H(z) = \sum_k h[k]z^{-k}$, this is $H(z)$ at $z = e^{j\omega}$ — and $|e^{j\omega}| = 1$ puts that point on the unit circle.這個複數 $H(e^{j\omega})$ 的大小是增益、角度是相移。和 $H(z) = \sum_k h[k]z^{-k}$ 比較,它就是把 $z = e^{j\omega}$ 代進去,而 $|e^{j\omega}| = 1$,正好落在單位圓上。その大きさが利得、角度が位相のずれである。$H(z) = \sum_k h[k]z^{-k}$ と比べると、これは $z = e^{j\omega}$ での $H(z)$ であり、$|e^{j\omega}| = 1$ だからその点は単位円上にある。

2. Off the circle, $z$ is not a pure frequency. Write a general $z = re^{j\omega}$; then $z^n = r^n e^{j\omega n}$:2. 單位圓以外的 $z$ 不是「純頻率」。一般的 $z$ 寫成 $z = re^{j\omega}$,那麼 $z^n = r^n e^{j\omega n}$:2. 単位円の外の $z$ は「純粋な周波数」ではない。一般の $z$ を $z = re^{j\omega}$ と書くと $z^n = r^n e^{j\omega n}$ となる。

Where $z$ isz 的位置$z$ の位置What $z^n$ looks like$z^n$ 的樣子$z^n$ の形Meaning意義意味
$|z| = 1$ (on the circle)$|z| = 1$(單位圓上)$|z| = 1$(単位円上)sinusoid of constant amplitude振幅固定的正弦波振幅一定の正弦波pure frequency $\omega$純粹的頻率 $\omega$純粋な周波数 $\omega$
$|z| < 1$ (inside)$|z| < 1$(圓內)$|z| < 1$(円の内側)decaying sinusoid逐漸衰減的正弦波減衰する正弦波transient, damped oscillation暫態、阻尼振盪過渡、減衰振動
$|z| > 1$ (outside)$|z| > 1$(圓外)$|z| > 1$(円の外側)growing sinusoid逐漸增長的正弦波増大する正弦波diverging oscillation發散的振盪発散する振動

Only on the circle is the signal a steady, lasting sinusoid, so “how much is frequency $\omega$ amplified?” can only be read there. Put another way, the $z$-transform is a DTFT taken after weighting by $r^{-n}$:只有在單位圓上,訊號才是「穩定、持續的正弦波」;所以要問「頻率 $\omega$ 的正弦波被放大多少」,就只能看單位圓上的值。換個角度看,Z 轉換其實是「先乘上 $r^{-n}$ 再做 DTFT」:信号が安定して持続する正弦波になるのは単位円上だけなので、「周波数 $\omega$ の正弦波がどれだけ増幅されるか」はそこでしか読めない。言い換えれば、$z$ 変換は $r^{-n}$ で重み付けしてから DTFT をとったものである。

$$X(re^{j\omega}) = \sum_n \big(x[n]\,r^{-n}\big)e^{-j\omega n}$$

At $r = 1$ the weight disappears and what remains is the spectrum (DTFT) of the original signal.$r = 1$ 時,乘上的權重消失,剩下的就是原始訊號的頻譜(DTFT)。$r = 1$ では重みが消え、残るのは元の信号のスペクトル(DTFT)である。

3. The continuous-time Bode plot does the same thing. It plots $H(s)$ on the imaginary axis $s = j\Omega$, for the same reason: $e^{j\Omega t}$ is a pure sinusoid, while $e^{\sigma t}e^{j\Omega t}$ decays or grows. After sampling, the two planes are linked by $z = e^{sT}$ ($T$ the sampling period):3. 和連續時間 Bode 圖的對應。連續時間的 Bode 圖畫的是 $H(s)$ 在虛軸 $s = j\Omega$ 上的值,理由完全一樣:$e^{j\Omega t}$ 是純正弦波,而 $e^{\sigma t}e^{j\Omega t}$ 會衰減或增長。取樣之後,s 平面和 z 平面的關係是 $z = e^{sT}$($T$ 是取樣週期):3. 連続時間のボード線図も同じことをしている。ボード線図は虚軸 $s = j\Omega$ 上の $H(s)$ を描く。理由は同じで、$e^{j\Omega t}$ は純粋な正弦波だが、$e^{\sigma t}e^{j\Omega t}$ は減衰または増大する。サンプリング後、二つの平面は $z = e^{sT}$($T$ はサンプリング周期)で結ばれる。

$s$-planes 平面$s$ 平面$z$-planez 平面$z$ 平面
imaginary axis $s = j\Omega$虛軸 $s = j\Omega$虚軸 $s = j\Omega$unit circle $z = e^{j\Omega T}$單位圓 $z = e^{j\Omega T}$単位円 $z = e^{j\Omega T}$
left half-plane (stable)左半平面(穩定)左半平面(安定)inside the unit circle單位圓內単位円の内側
right half-plane (unstable)右半平面(不穩定)右半平面(不安定)outside the unit circle單位圓外単位円の外側
DC, $\Omega = 0$DC($\Omega = 0$)直流、$\Omega = 0$$z = 1$
Nyquist, $\Omega = \pi/T$Nyquist 頻率($\Omega = \pi/T$)ナイキスト、$\Omega = \pi/T$$z = -1$

So the unit circle plays the role of the imaginary axis, with digital and analog frequency related by $\omega = \Omega T$.所以離散時間系統的單位圓,就扮演連續時間系統虛軸的角色;數位頻率和類比頻率的關係是 $\omega = \Omega T$。つまり離散時間の単位円は連続時間の虚軸の役割を果たし、ディジタル周波数とアナログ周波数は $\omega = \Omega T$ で結ばれる。

4. One lap of the circle sweeps every frequency.4. 沿單位圓走一圈等於掃過所有頻率。4. 単位円を一周するとすべての周波数を掃引する。

$\omega$ and $\omega + 2\pi$ are the same point, so the response is periodic and $0$ to $\pi$ (or $-\pi$ to $\pi$) is enough. That is why digital responses are drawn on a linear axis up to $\pi$, not on the logarithmic axis running to infinity of a continuous-time Bode plot.$\omega$ 和 $\omega + 2\pi$ 是同一個點,所以頻率響應是週期性的,只要看 $0$ 到 $\pi$(或 $-\pi$ 到 $\pi$)就夠了。這也是為什麼數位濾波器的頻率響應通常用線性頻率軸畫到 $\pi$,而不像連續時間 Bode 圖那樣用對數頻率軸一路延伸到無限大。$\omega$ と $\omega + 2\pi$ は同じ点なので応答は周期的であり、$0$ から $\pi$(または $-\pi$ から $\pi$)を見れば足りる。ディジタルフィルタの応答を、連続時間のボード線図のように無限大まで延びる対数軸ではなく、$\pi$ までの線形軸で描くのはこのためである。

5. Precondition: the unit circle must lie in the ROC. Only then does $H(e^{j\omega})$ exist — the system is stable and the DTFT converges (see the ROC view of the 3-D surface in 10.2.4). Reading the response along the unit circle therefore already assumes a stable system.5. 前提:單位圓必須在 ROC 內。只有當單位圓落在收斂區域(ROC)內,$H(e^{j\omega})$ 才存在,也就是系統穩定、DTFT 收斂(見 10.2.4 3D 曲面的 ROC 檢視)。所以「沿著單位圓看頻率變化」這件事,本身就隱含了系統是穩定的。5. 前提:単位円が ROC に含まれること。そのときに限り $H(e^{j\omega})$ が存在する。すなわちシステムが安定で DTFT が収束する(10.2.4 の 3 次元曲面の ROC 表示を参照)。したがって単位円に沿って応答を読むこと自体が、システムの安定を前提としている。

Summary — why the unit circle總結 — 為什麼是單位圓まとめ — なぜ単位円か
  • Physically: the FR asks what happens to an input sinusoid, and $z^n$ is a pure sinusoid only when $|z| = 1$.物理上:頻率響應問的是「輸入正弦波會怎樣」,而只有 $|z| = 1$ 時 $z^n$ 才是純正弦波。物理的に:周波数応答が問うのは入力正弦波がどうなるかであり、$z^n$ が純粋な正弦波になるのは $|z| = 1$ のときだけである。
  • Mathematically: substituting $z = e^{j\omega}$ turns the $z$-transform into the DTFT.數學上:把 $z = e^{j\omega}$ 代入 $H(z)$,Z 轉換就變成 DTFT。数学的に:$z = e^{j\omega}$ を代入すると $z$ 変換は DTFT になる。
  • Continuous-time link: the unit circle is the image of the $s$-plane imaginary axis under $z = e^{sT}$.對應連續系統:單位圓就是 s 平面虛軸經過 $z = e^{sT}$ 映射後的結果。連続時間との対応:単位円は $s$ 平面の虚軸を $z = e^{sT}$ で写したものである。
  • Geometrically: walking from $z = 1$ to $z = -1$ sweeps DC to Nyquist; the lengths and angles of the pole–zero vectors fix the gain and phase at each frequency.幾何上:沿單位圓從 $z = 1$ 走到 $z = -1$,就是從 DC 掃到 Nyquist 頻率;極零點向量的長度和角度決定每個頻率的增益和相位。幾何的に:$z = 1$ から $z = -1$ へ歩くと直流からナイキストまでを掃引し、極・零点ベクトルの長さと角度が各周波数の利得と位相を決める。

Factor $H(z)$ into first-order terms and evaluate at $z = e^{j\omega}$:把 $H(z)$ 因式分解成一階項,再代入 $z = e^{j\omega}$:$H(z)$ を 1 次の項に因数分解し、$z = e^{j\omega}$ を代入する。

Factored frequency response因式分解後的頻率響應因数分解した周波数応答 $$H(z) = \frac{p_0\prod_{k=1}^{M}(1-\zeta_k z^{-1})}{d_0\prod_{k=1}^{N}(1-\lambda_k z^{-1})} \;\;\Longrightarrow\;\; H(e^{j\omega}) = \frac{p_0}{d_0}\,e^{j\omega(N-M)}\, \frac{\prod_{k=1}^{M}\big(e^{j\omega}-\zeta_k\big)}{\prod_{k=1}^{N}\big(e^{j\omega}-\lambda_k\big)}$$

Taking magnitude and argument term by term:逐項取振幅與輻角:項ごとに振幅と偏角をとる。

Magnitude and phase from roots由根決定的振幅與相位根から決まる振幅と位相 $$\big|H(e^{j\omega})\big| = \Big|\frac{p_0}{d_0}\Big|\, \frac{\prod_{k=1}^{M}\big|e^{j\omega}-\zeta_k\big|}{\prod_{k=1}^{N}\big|e^{j\omega}-\lambda_k\big|}, \qquad \theta(\omega) = \arg\Big\{\frac{p_0}{d_0}\Big\} + \omega(N-M) + \sum_{k=1}^{M}\arg\big\{e^{j\omega}-\zeta_k\big\} - \sum_{k=1}^{N}\arg\big\{e^{j\omega}-\lambda_k\big\}$$
system系統システム
0.500
Interactive — the two formulas above, evaluated term by term. Left: the $z$-plane; every zero (blue, solid) and pole (orange, dashed) sends a vector to $e^{j\omega}$ (red), and the small arc at each root is that vector's angle $\arg\{e^{j\omega}-\nu\}$ from the positive real axis. Right: $|H(e^{j\omega})|$ and the principal value of $\theta(\omega)$ over $0 \le \omega \le \pi$. The readout multiplies and divides the distances, adds and subtracts the angles together with the linear term $\omega(N-M)$, wraps the sum into $[-\pi, \pi]$, and compares both results with $H(e^{j\omega})$ computed directly. For the first-order IIR, $M = 0$ and $N = 1$ give $e^{j\omega}$; for Example 10-C the extra $z^{-1}$ in the numerator cancels $z^{N-M} = z$, so the linear term vanishes; the MA filter has four zeros and no poles, giving $e^{-j4\omega}$.互動圖 — 把上面兩條公式逐項算出來。左:$z$ 平面;每個零點(藍實線)與極點(橘虛線)都拉一條向量到 $e^{j\omega}$(紅點),根旁的小弧線是該向量與正實軸的夾角 $\arg\{e^{j\omega}-\nu\}$。右:$0 \le \omega \le \pi$ 的 $|H(e^{j\omega})|$ 與 $\theta(\omega)$ 的主值。讀數把距離相乘相除、把角度相加相減並加上線性項 $\omega(N-M)$,折回 $[-\pi, \pi]$,再與直接代入算出的 $H(e^{j\omega})$ 比較。一階 IIR 的 $M = 0$、$N = 1$,得到 $e^{j\omega}$;範例 10-C 分子多出的 $z^{-1}$ 與 $z^{N-M} = z$ 抵消,線性項為 0;MA 濾波器有 4 個零點、0 個極點,得到 $e^{-j4\omega}$。インタラクティブ — 上の二つの式を項ごとに計算したもの。左は $z$ 平面で、各零点(青の実線)と各極(橙の破線)から $e^{j\omega}$(赤い点)へベクトルを引き、根のそばの小さな弧はそのベクトルが正の実軸となす角 $\arg\{e^{j\omega}-\nu\}$ を表す。右は $0 \le \omega \le \pi$ での $|H(e^{j\omega})|$ と $\theta(\omega)$ の主値。読み出しは距離を掛けて割り、角度を足して引いて線形項 $\omega(N-M)$ を加え、$[-\pi, \pi]$ に折り返したうえで、直接代入した $H(e^{j\omega})$ と比べる。1 次 IIR は $M = 0$、$N = 1$ なので $e^{j\omega}$、例 10-C は分子の余分な $z^{-1}$ が $z^{N-M} = z$ と打ち消し合って線形項は 0、MA フィルタは零点 4 個・極 0 個なので $e^{-j4\omega}$ となる。

10.2.4 Geometric Interpretation of the FR10.2.4 頻率響應的幾何解釋10.2.4 周波数応答の幾何学的な解釈

Each factor $(e^{j\omega} - \nu)$ is a vector drawn from the root $\nu$ (pole or zero) to the point $e^{j\omega}$ moving along the unit circle. The whole frequency response is a product/ratio of these vectors:每一個因式 $(e^{j\omega} - \nu)$,都是一個從根 $\nu$(極點或零點)指向沿單位圓移動的點 $e^{j\omega}$ 的向量。整個頻率響應,就是這些向量的乘積與比值:各因子 $(e^{j\omega} - \nu)$ は、根 $\nu$(極または零点)から、単位円上を動く点 $e^{j\omega}$ へ引いたベクトルである。周波数応答全体は、これらのベクトルの積と比にほかならない。

Key — geometric rules重點 — 幾何規則要点 — 幾何的な規則
  • Magnitude $|H(e^{j\omega})|$ = (product of lengths of vectors from zeros) ÷ (product of lengths of vectors from poles).振幅 $|H(e^{j\omega})|$ =(來自零點的各向量長度相乘)÷(來自極點的各向量長度相乘)。振幅 $|H(e^{j\omega})|$ =(零点から引いたベクトルの長さの積)÷(極から引いたベクトルの長さの積)。
  • Phase $\theta(\omega)$ = (sum of angles of vectors from zeros) − (sum of angles of vectors from poles), plus the linear term $\omega(N-M)$.相位 $\theta(\omega)$ =(來自零點的各向量角度相加)−(來自極點的各向量角度相加),再加上線性項 $\omega(N-M)$。位相 $\theta(\omega)$ =(零点から引いたベクトルの角度の和)−(極から引いたベクトルの角度の和)に、線形項 $\omega(N-M)$ を加えたもの。
  • Roots near the unit circle cause rapid changes: a zero near/on the u.c. → magnitude minimum (dips to 0 if on it); a pole near the u.c. → magnitude peak (→ $\infty$ if on it); the relative angle swings quickly → fast phase variation.靠近單位圓的根會造成劇烈變化:零點靠近或落在單位圓上 → 振幅極小(落在圓上時降為 0);極點靠近單位圓 → 振幅出現尖峰(落在圓上時 → $\infty$);相對角度轉得很快 → 相位變化劇烈。単位円に近い根は急激な変化を生む。零点が単位円の近く・円上にあれば → 振幅は極小になる(円上なら 0 まで落ちる)。極が単位円の近くにあれば → 振幅はピークを作る(円上なら → $\infty$)。相対角度が速く振れるので → 位相も急激に変化する。
  • A pole and zero near each other cancel when seen from afar; they only affect the response when $e^{j\omega}$ gets close.彼此靠得很近的一對極點與零點,從遠處看會互相抵消;只有當 $e^{j\omega}$ 走近它們時,才會影響響應。互いに近接した極と零点は、遠くから見ると打ち消し合う。$e^{j\omega}$ がそばまで来たときにだけ応答に効いてくる。
直觀解釋(點擊展開)
想像 $e^{j\omega}$ 是一個沿著單位圓行走的觀察點。從每個零點、極點各拉一條橡皮筋到這個觀察點:振幅就是「零點橡皮筋長度的乘積 ÷ 極點橡皮筋長度的乘積」。當觀察點走近一個極點時,分母的某條橡皮筋變得很短,振幅暴增(共振峰);走近零點時分子變短,振幅塌陷(凹谷)。把 $|H(z)|$ 想成 z 平面上的 3D 地形:極點是插向天空的「帳篷柱」,零點是釘住地面的「圖釘」,而頻率響應只是沿單位圓走一圈所看到的地形高度。
system系統システム
0.50
Interactive — the rules above, measured. Left: the $z$-plane, with the point $z = e^{j\omega}$ (red) at angle $\omega$ on the unit circle; solid blue lines run to the zeros, dashed orange lines to the poles. Right: $|H(e^{j\omega})|$ for $-\pi \le \omega \le \pi$ with the current $\omega$ marked. The readout multiplies the zero distances, divides by the pole distances and lands exactly on the red dot. Slide $\omega$, or press sweep to walk once round the circle: the first-order IIR peaks at $\omega = 0$, where the point is nearest its pole at $0.5$; the resonator peaks as the point passes $0.9\,e^{\pm j0.3\pi}$ and drops to 0 at $z = \pm 1$; the MA filter's four poles all sit at the origin, each at distance 1 for every $\omega$, so only the zero distances shape its response.互動圖 — 把上面的規則實際量出來。左:$z$ 平面,紅點 $z = e^{j\omega}$ 在單位圓上、角度為 $\omega$;藍實線連到零點,橘虛線連到極點。右:$-\pi \le \omega \le \pi$ 的 $|H(e^{j\omega})|$,標出目前的 $\omega$。讀數把零點距離相乘、除以極點距離,正好落在紅點上。拖動 $\omega$,或按繞一圈沿單位圓走一圈:一階 IIR 在 $\omega = 0$ 最大,因為那裡離極點 $0.5$ 最近;共振器在經過 $0.9\,e^{\pm j0.3\pi}$ 時出現尖峰,在 $z = \pm 1$ 掉到 0;MA 濾波器的四個極點全在原點,對任何 $\omega$ 距離都是 1,所以只有零點距離決定它的響應。インタラクティブ — 上の規則を実際に測ったもの。左は $z$ 平面で、赤い点 $z = e^{j\omega}$ が単位円上の角度 $\omega$ にある。青の実線は零点へ、橙の破線は極へ引いてある。右は $-\pi \le \omega \le \pi$ での $|H(e^{j\omega})|$ で、現在の $\omega$ を示す。読み出しは零点までの距離を掛け、極までの距離で割り、ちょうど赤い点の値になる。$\omega$ を動かすか、一周を押して単位円を一周する。1 次 IIR は極 $0.5$ に最も近い $\omega = 0$ で最大になる。共振器は $0.9\,e^{\pm j0.3\pi}$ のそばを通るときに尖峰をもち、$z = \pm 1$ で 0 に落ちる。MA フィルタの四つの極はすべて原点にあり、どの $\omega$ でも距離は 1 なので、応答の形は零点までの距離だけで決まる。
2026-06-12T22:40:39.656702 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ −1 0 1 Re{z} −1.0 −0.5 0.0 0.5 1.0 Im{z} Pole–zero plot zeros ζ poles λ 0 π/4 π/2 3π/4 π ω (rad/sample) 0.00 0.25 0.50 0.75 1.00 1.25 1.50 |H(e^jω)| Magnitude response 0 π/4 π/2 3π/4 π ω (rad/sample) −3 −2 −1 0 θ(ω) (rad) Phase response
Fig. 10-3 — Lecture TF example: zeros $0.6\pm j0.8$ on the unit circle, poles at $0.3$ and $0.5 \pm j0.7$. The on-circle zero (angle $\approx 0.295\pi$) forces $|H| = 0$, while the nearby pole at radius $0.86$ (angle $\approx 0.303\pi$) pushes the magnitude up right next to the null — a sharp notch-and-peak pair, with fast phase variation in the same region(單位圓上的零點造成深谷,旁邊的極點造成尖峰).圖 10-3 — 投影片的轉移函數例子:零點 $0.6\pm j0.8$ 落在單位圓上,極點在 $0.3$ 與 $0.5 \pm j0.7$。圓上的零點(角度 $\approx 0.295\pi$)迫使 $|H| = 0$,而半徑 $0.86$ 的鄰近極點(角度 $\approx 0.303\pi$)則把緊鄰零谷處的振幅推高——形成一組陡峭的凹口與尖峰,同一區域的相位也變化極快(單位圓上的零點造成深谷,旁邊的極點造成尖峰)。図 10-3 — 講義の伝達関数の例。零点 $0.6\pm j0.8$ は単位円上にあり、極は $0.3$ と $0.5 \pm j0.7$ にある。円上の零点(角度 $\approx 0.295\pi$)が $|H| = 0$ を強制する一方、半径 $0.86$ の近接した極(角度 $\approx 0.303\pi$)がその谷のすぐ隣で振幅を押し上げる。鋭いノッチとピークの対が生じ、同じ領域で位相も急激に変化する(単位円上の零点が深い谷を、隣の極がピークを作る)。

A worked case — the peaking filter of the lecture. A conjugate pole pair at radius 0.9 and a conjugate zero pair at radius 0.8, all at angles $\pm 0.3\pi$, so each zero sits just inside its pole on the same ray:實例:講義中的峰值濾波器。一對共軛極點在半徑 0.9、一對共軛零點在半徑 0.8,角度都是 $\pm 0.3\pi$,所以每個零點都落在同一條射線上、緊貼在對應極點的內側:実例:講義のピーキングフィルタ。共役な極の対が半径 0.9、共役な零点の対が半径 0.8 にあり、角度はどれも $\pm 0.3\pi$ である。したがって各零点は同じ半直線上で、対応する極のすぐ内側にある。

Peaking (resonant) filter峰值(共振)濾波器ピーキング(共振)フィルタ $$H(z)=\frac{(z-0.8e^{j0.3\pi})(z-0.8e^{-j0.3\pi})}{(z-0.9e^{j0.3\pi})(z-0.9e^{-j0.3\pi})}$$
Check — reading the response off the vectors驗證 — 從向量讀出響應確認 — ベクトルから応答を読み取る
At $\omega = 0.3\pi$ (the peak). The near zero is $0.2$ away and the near pole $0.1$ away, so that pair contributes $0.2/0.1 = 2$. The far pair contributes $1.461/1.538 \approx 0.95$. The product is $|H| \approx 1.90$, about $+5.6$ dB.在 $\omega = 0.3\pi$(峰值)。近處的零點距離 $0.2$、近處的極點距離 $0.1$,這一對貢獻 $0.2/0.1 = 2$;遠處那一對貢獻 $1.461/1.538 \approx 0.95$。相乘得 $|H| \approx 1.90$,約 $+5.6$ dB。$\omega = 0.3\pi$(ピーク)。近い零点までは $0.2$、近い極までは $0.1$ なので、この対の寄与は $0.2/0.1 = 2$。遠い対の寄与は $1.461/1.538 \approx 0.95$。積は $|H| \approx 1.90$、約 $+5.6$ dB である。
Away from $\pm 0.3\pi$ (e.g. $\omega = 0$ or $\pi$). Each pole and its zero are close together compared with their distance to $e^{j\omega}$, so their lengths nearly cancel: $|H(1)| \approx 0.93$, $|H(-1)| \approx 0.90$ — roughly flat, about $-1$ dB.遠離 $\pm 0.3\pi$(例如 $\omega = 0$ 或 $\pi$)。每個極點和它的零點彼此很近,相對於它們到 $e^{j\omega}$ 的距離可以忽略,所以長度幾乎抵消:$|H(1)| \approx 0.93$、$|H(-1)| \approx 0.90$,大致平坦,約 $-1$ dB。$\pm 0.3\pi$ から離れたところ(たとえば $\omega = 0$ や $\pi$)。各極とその零点は、$e^{j\omega}$ までの距離に比べて互いに近いので、長さはほぼ打ち消し合う。$|H(1)| \approx 0.93$、$|H(-1)| \approx 0.90$ で、ほぼ平坦(約 $-1$ dB)である。
Phase. It swings quickly near $\omega = 0.3\pi$ and $1.7\pi$, because the short pole vector rotates fast as $e^{j\omega}$ passes it, and stays near 0 elsewhere. The vertical jumps in the individual curves are only $\pm\pi$ wrapping.相位。在 $\omega = 0.3\pi$ 與 $1.7\pi$ 附近急速擺動,因為 $e^{j\omega}$ 經過時,那條很短的極點向量轉得很快;其他地方都接近 0。個別曲線上的垂直跳躍只是 $\pm\pi$ 的折回。位相。$\omega = 0.3\pi$ と $1.7\pi$ の付近で急に振れる。$e^{j\omega}$ が通り過ぎるとき、短い極ベクトルが速く回るからである。それ以外ではほぼ 0 にとどまる。個々の曲線の縦の跳びは $\pm\pi$ の折り返しにすぎない。
The pole makes the bump; the zero right beside it pulls the gain back to about 1 everywhere else — a narrow peaking filter.極點造出凸峰,緊鄰的零點把其他地方的增益拉回約 1 —— 這就是窄頻的峰值濾波器。極が山を作り、すぐ隣の零点がそれ以外の場所の利得を約 1 に引き戻す。これが狭帯域のピーキングフィルタである。
0.30π
Interactive — lecture slide 23, live. Drag the green square round the unit circle, use the slider, or press play. Each colored line is one vector $e^{j\omega} - \nu$; the thin curves on the right are that vector's length (top) and angle (bottom), with the pole angles drawn negated because they subtract. The thick blue curves are the totals: zero lengths divided by pole lengths, and zero angles minus pole angles. As $\omega$ sweeps past $0.3\pi$ the red pole vector shrinks to about $0.1$ and drives the peak, while the light-blue zero vector, slightly longer at about $0.2$, keeps it from blowing up. The shaded half ($\pi < \omega < 2\pi$) mirrors the first half, since $H$ has real coefficients.互動圖 — 投影片 23 的動態版。把綠色方塊沿單位圓拖動、用滑桿,或按播放。每條彩色線是一個向量 $e^{j\omega} - \nu$;右邊的細曲線是該向量的長度(上)與角度(下),極點角度畫成負值,因為要相減。粗藍線是總和:零點長度除以極點長度、零點角度減去極點角度。當 $\omega$ 掃過 $0.3\pi$,紅色極點向量縮到約 $0.1$,造成峰值;淺藍零點向量稍長、約 $0.2$,讓峰值不會爆掉。陰影的那一半($\pi < \omega < 2\pi$)與前半鏡像對稱,因為 $H$ 的係數是實數。インタラクティブ — 講義スライド 23 を動かせるようにしたもの。緑の四角を単位円に沿ってドラッグするか、スライダーを使うか、再生を押す。色付きの線はそれぞれ一つのベクトル $e^{j\omega} - \nu$ であり、右の細い曲線はそのベクトルの長さ(上)と角度(下)である。極の角度は引かれるので符号を反転して描いてある。太い青の曲線は合計で、零点の長さ ÷ 極の長さ、零点の角度 − 極の角度である。$\omega$ が $0.3\pi$ を通過すると赤い極ベクトルは約 $0.1$ まで縮んでピークを作り、少し長い(約 $0.2$)水色の零点ベクトルがそれを発散させない。網掛けの半分($\pi < \omega < 2\pi$)は、$H$ の係数が実数なので前半の鏡像になる。
Interactive — why a nearby pole and zero cancel when seen from afar. One pole at $\rho e^{j0.3\pi}$ and one zero at $re^{j0.3\pi}$ on the same ray: $H(z) = (z - re^{j0.3\pi})/(z - \rho e^{j0.3\pi})$. Drag on the $z$-plane, use the slider, or move the mouse over a plot to set $\omega$. When $e^{j\omega}$ is far from the pair, the zero vector (blue) and pole vector (red) have nearly the same length and direction, so $|H| \approx 1$ and $\angle H \approx 0$. Only on the green-shaded arc, where $|H|$ is more than 10% away from 1, does the pair matter. Tight ($r = 0.88$) shrinks that arc to a sliver; lecture ($r = 0.8$) is one half of the peaking filter above; apart ($r = 0.4$) lets the pair act over most of the circle.互動圖 — 為什麼彼此靠近的極點和零點,從遠處看會互相抵消。一個極點在 $\rho e^{j0.3\pi}$、一個零點在 $re^{j0.3\pi}$,落在同一條射線上:$H(z) = (z - re^{j0.3\pi})/(z - \rho e^{j0.3\pi})$。在 z 平面上拖動、用滑桿,或把滑鼠移到右邊的圖上來設定 $\omega$。當 $e^{j\omega}$ 離這一對很遠時,零點向量(藍)和極點向量(紅)的長度和方向幾乎相同,所以 $|H| \approx 1$、$\angle H \approx 0$。只有在綠色陰影的弧段上($|H|$ 偏離 1 超過 10%),這一對才有明顯影響。緊貼($r = 0.88$)讓這段弧縮成一小段;講義($r = 0.8$)就是上面峰值濾波器的一半;分開($r = 0.4$)則讓這一對在大半個圓上都起作用。インタラクティブ — 近接した極と零点が遠くから見ると打ち消し合う理由。極を $\rho e^{j0.3\pi}$、零点を $re^{j0.3\pi}$ に、同じ半直線上に置く:$H(z) = (z - re^{j0.3\pi})/(z - \rho e^{j0.3\pi})$。$z$ 平面上でドラッグするか、スライダーを使うか、右のグラフ上でマウスを動かして $\omega$ を決める。$e^{j\omega}$ がこの対から遠いとき、零点ベクトル(青)と極ベクトル(赤)は長さも向きもほぼ同じなので $|H| \approx 1$、$\angle H \approx 0$ となる。対が効くのは、$|H|$ が 1 から 10% 以上ずれる緑の網掛けの弧の上だけである。密着($r = 0.88$)ではその弧がごく短くなり、講義($r = 0.8$)は上のピーキングフィルタの半分、離す($r = 0.4$)では対が円の大部分で効く。

Why detour through the $z$ domain? $H(z)$ is a ratio of two polynomials, so it factors into zeros $\zeta_k$ (numerator is 0, $|H|$ drops to 0) and poles $\lambda_k$ (denominator is 0, $|H| \to \infty$). The frequency response is just the $|H(z)|$ seen while walking once round the unit circle: it shrinks near a zero and swells near a pole. So the pole and zero positions alone sketch the frequency response. The poles must lie inside the unit circle for stability — and the closer a pole is to the circle, the longer the transient lasts (10.1.3).為什麼要繞道 $z$ 域?$H(z)$ 是兩個多項式的比值,可以因式分解成零點 $\zeta_k$(分子為 0,$|H|$ 掉到 0)與極點 $\lambda_k$(分母為 0,$|H|$ 趨向無限大)。頻率響應就是沿著單位圓走一圈時看到的 $|H(z)|$:經過零點附近會變小,經過極點附近會變大。所以只要看零點和極點的位置,就能大致畫出頻率響應。極點必須在單位圓內,系統才穩定;極點越靠近單位圓,暫態越長(10.1.3)。なぜ $z$ 領域を経由するのか。$H(z)$ は二つの多項式の比なので、零点 $\zeta_k$(分子が 0、$|H|$ は 0 に落ちる)と極 $\lambda_k$(分母が 0、$|H| \to \infty$)に因数分解できる。周波数応答とは、単位円を一周しながら見た $|H(z)|$ にすぎない。零点の近くでは小さくなり、極の近くでは大きくなる。だから極と零点の位置だけで、周波数応答のおおよその形が描ける。安定であるためには極は単位円の内側になければならない。極が円に近いほど、過渡は長く続く(10.1.3)。

system系統システム
Interactive — $|H(z)|$ over the whole $z$-plane, height in dB (clipped above and below): poles (×) are spikes shooting up, zeros (○) are deep pits. The red curve is where the surface meets the unit circle $|z| = 1$, i.e. the frequency response $|H(e^{j\omega})|$; the plot underneath unrolls it. Drag to rotate (or use the arrow keys); click the figure, then the wheel or $+/-$ zooms. First-order IIR: the pole at $z = 0.5$ is closest to $z = 1$ ($\omega = 0$), so the gain is largest at low frequency (about 6 dB, a gain of 2), and smallest at $z = -1$ ($\omega = \pi$), farthest from the pole (about −3.5 dB, i.e. $2/3$) — a lowpass. MA, $M = 5$: four zeros sit on the unit circle at $\omega = 0.4\pi, 0.8\pi, 1.2\pi, 1.6\pi$; the red curve drops to the bottom of the pit as it passes each — the nulls of the MA response. Resonator: a pole pair at $0.9\,e^{\pm j0.3\pi}$, very near the circle, pushes the red curve into a sharp peak, while the zeros at $\pm 1$ block DC and $\omega = \pi$ completely — a narrow bandpass centred on $0.3\pi$. Peaking filter (slides 23–24): each zero at $0.8\,e^{\pm j0.3\pi}$ sits just inside its pole at $0.9\,e^{\pm j0.3\pi}$, so its pit is half hidden behind the spike — look from below to see it; the red curve rises to about $+5.6$ dB as it passes the spikes and stays near $-1$ dB elsewhere, the blue curve of the vector figure above in dB. Show ROC only removes $|z| \le r_{\max}$, the inside of the outermost pole: for a causal system the $z$-transform sum converges only for $|z| > r_{\max}$, even though the rational formula can still be evaluated inside. The zeros' pits vanish with the disc, the poles sit on the edge of the hole (orange dashed), and the unit circle stays on the valid surface — which is why these systems are stable and $H(e^{j\omega})$ exists. Top view shows the poles and zeros against the unit circle. That is the whole chain: the difference equation fixes $H(z)$, $H(z)$ fixes the poles and zeros, and their positions fix the frequency response on the unit circle.互動圖 — 整個 $z$ 平面上的 $|H(z)|$(以 dB 表示,高度上下限有截斷):極點(×)是往上衝的尖峰,零點(○)是往下陷的深谷。紅色曲線是曲面與單位圓 $|z| = 1$ 的交線,也就是頻率響應 $|H(e^{j\omega})|$;下方的圖把它攤平。拖曳旋轉(或用方向鍵);點一下圖之後,滾輪或 $+/-$ 縮放。IIR 一階:極點在 $z = 0.5$,單位圓上最靠近它的是 $z = 1$($\omega = 0$),所以低頻最大(約 6 dB,即增益 2);$z = -1$($\omega = \pi$)離極點最遠,增益最小(約 −3.5 dB,即 $2/3$)。這是一個低通濾波器。MA,$M = 5$:四個零點就在單位圓上,位於 $\omega = 0.4\pi, 0.8\pi, 1.2\pi, 1.6\pi$。紅色曲線經過它們時掉到谷底,這就是 MA 頻率響應的零點。共振器:一對極點在 $0.9\,e^{\pm j0.3\pi}$,非常靠近單位圓,紅色曲線經過附近時被頂成尖銳的峰;零點在 $\pm 1$,讓直流和 $\omega = \pi$ 完全被擋掉。這是一個中心在 $0.3\pi$ 的窄帶通濾波器。峰值濾波器(投影片 23–24):每個零點 $0.8\,e^{\pm j0.3\pi}$ 緊貼在極點 $0.9\,e^{\pm j0.3\pi}$ 內側,所以它的深谷被尖峰擋住一半,從下方看才看得到;紅色曲線經過尖峰附近時升到約 $+5.6$ dB,其餘地方約 $-1$ dB,就是上面向量圖的藍色曲線換成 dB。只顯示 ROC 會挖掉 $|z| \le r_{\max}$,也就是最外側極點以內:因果系統的 z 轉換級數只在 $|z| > r_{\max}$ 收斂,雖然有理式在圓內仍然算得出值。零點的深谷隨圓盤一起消失,極點正好落在洞的邊緣(橘色虛線),而單位圓仍留在有效的曲面上——所以這些系統穩定,$H(e^{j\omega})$ 存在。俯視可以清楚看到極點、零點相對於單位圓的位置。這就是投影片標題「Linking LCCDE, ZT & Freq. Resp.」:差分方程決定 $H(z)$,$H(z)$ 決定極零點,極零點的位置決定單位圓上的頻率響應。インタラクティブ — $z$ 平面全体での $|H(z)|$(高さは dB、上下を打ち切ってある)。極(×)は上へ突き出す尖峰、零点(○)は深く落ち込む谷である。赤い曲線は曲面と単位円 $|z| = 1$ との交線、すなわち周波数応答 $|H(e^{j\omega})|$ であり、下の図はそれを平らに展開したものである。ドラッグ(または矢印キー)で回転し、図をクリックしたあとはホイールか $+/-$ で拡大縮小する。1 次 IIR:極は $z = 0.5$ にあり、単位円上でそれにいちばん近いのは $z = 1$($\omega = 0$)なので、低域で最大(約 6 dB、利得 2)となる。$z = -1$($\omega = \pi$)は極から最も遠く、利得は最小(約 −3.5 dB、すなわち $2/3$)である。これは低域通過フィルタである。MA、$M = 5$:四つの零点が単位円上の $\omega = 0.4\pi, 0.8\pi, 1.2\pi, 1.6\pi$ にある。赤い曲線はそこを通るたびに谷底まで落ちる。これが MA の周波数応答の零点である。共振器:極の対が $0.9\,e^{\pm j0.3\pi}$ にあって単位円にごく近く、赤い曲線はその近くで鋭いピークへ押し上げられる。零点は $\pm 1$ にあり、直流と $\omega = \pi$ を完全に阻止する。中心 $0.3\pi$ の狭帯域通過フィルタである。ピーキングフィルタ(スライド 23–24):各零点 $0.8\,e^{\pm j0.3\pi}$ は極 $0.9\,e^{\pm j0.3\pi}$ のすぐ内側にあるので、その谷は尖峰の陰に半分隠れる。下から見ると見える。赤い曲線は尖峰のそばで約 $+5.6$ dB まで上がり、それ以外では約 $-1$ dB にとどまる。上のベクトル図の青い曲線を dB にしたものである。ROC だけを表示は $|z| \le r_{\max}$、すなわち最も外側の極より内側を取り除く。因果システムの $z$ 変換の級数は $|z| > r_{\max}$ でしか収束しない。有理式そのものは内側でも計算できるにもかかわらずである。零点の谷は円板とともに消え、極は穴の縁(橙の破線)に乗り、単位円は有効な曲面の上に残る。だからこれらのシステムは安定で、$H(e^{j\omega})$ が存在する。真上から見ると、極と零点が単位円に対してどこにあるかがはっきり見える。これがスライドの題「Linking LCCDE, ZT & Freq. Resp.」の意味である。差分方程式が $H(z)$ を決め、$H(z)$ が極と零点を決め、その位置が単位円上の周波数応答を決める。

First-order building block: a single zero一階基本元件:單一零點1 次の構成要素:ひとつの零点

The factor $H(e^{j\omega}) = 1 - re^{j\theta}e^{-j\omega}$ (one zero at $z = re^{j\theta}$) is the elementary building block — every rational response is a product/ratio of such terms. Its log magnitude, phase and group delay all concentrate their activity around $\omega = \theta$:因式 $H(e^{j\omega}) = 1 - re^{j\theta}e^{-j\omega}$(一個位於 $z = re^{j\theta}$ 的零點)是最基本的元件——任何有理響應都是這種項的乘積或比值。它的對數振幅、相位與群延遲,活動全都集中在 $\omega = \theta$ 附近:因子 $H(e^{j\omega}) = 1 - re^{j\theta}e^{-j\omega}$($z = re^{j\theta}$ に零点がひとつ)は最も基本的な構成要素である。あらゆる有理応答はこうした項の積と比で書ける。その対数振幅・位相・群遅延は、いずれも $\omega = \theta$ の付近に働きが集中する。

2026-06-12T22:40:40.138994 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ 0 π/2 π 3π/2 2π ω (rad/sample) −20 −15 −10 −5 0 5 dB Log magnitude (dB) θ = 0 θ = π/2 θ = π 0 π/2 π 3π/2 2π ω (rad/sample) −1.0 −0.5 0.0 0.5 1.0 radians Phase (rad) θ = 0 θ = π/2 θ = π 0 π/2 π 3π/2 2π ω (rad/sample) −8 −6 −4 −2 0 samples Group delay (samples) θ = 0 θ = π/2 θ = π
Fig. 10-4 — Single zero $1 - re^{j\theta}e^{-j\omega}$ with $r = 0.9$ for $\theta = 0, \pi/2, \pi$ (lecture Examples I & II). The dip in log magnitude, the rapid phase swing, and the negative group-delay dip all sit at $\omega = \theta$; moving $\theta$ just translates the pattern. A pole contributes the reciprocal magnitude and negated phase of the same plots(極點為倒數振幅、相反相位).圖 10-4 — 單一零點 $1 - re^{j\theta}e^{-j\omega}$,取 $r = 0.9$、$\theta = 0, \pi/2, \pi$(投影片的例 I 與例 II)。對數振幅的凹陷、相位的急速擺動,以及群延遲向下的負峰,全都落在 $\omega = \theta$;移動 $\theta$ 只是把整個圖樣平移。極點貢獻的則是同一組圖形的倒數振幅與相反相位(極點為倒數振幅、相反相位)。図 10-4 — ひとつの零点 $1 - re^{j\theta}e^{-j\omega}$、$r = 0.9$ で $\theta = 0, \pi/2, \pi$ の場合(講義の例 I と例 II)。対数振幅のくぼみ、位相の急な振れ、負の群遅延のくぼみは、いずれも $\omega = \theta$ に位置する。$\theta$ を動かせば図形が平行移動するだけである。極は同じ図の逆数の振幅と符号を反転した位相を与える(極は逆数の振幅・反転した位相)。
Interactive — the single zero $H(e^{j\omega}) = 1 - re^{j\theta}e^{-j\omega}$ of lecture slides 26–27, with its log magnitude, phase and group delay. Drag the zero (blue ring) to set $r$ and $\theta$, or drag anywhere else to move $e^{j\omega}$ (green); the sliders do the same, and moving the mouse over a plot scrubs $\omega$. The blue line is the zero vector, whose length is $|H|$. Example I overlays $r = 0.9$ at $\theta = 0, \pi/2, \pi$: changing $\theta$ only slides the pattern along $\omega$. Example II overlays $\theta = \pi$ at $r = 0.5, 0.7, 0.9, 1$: as the zero approaches the circle the dip deepens to $20\log_{10}(1-r)$ dB, the phase swing steepens, and the group-delay spike $-r/(1-r)$ grows ($-9$ samples at $r = 0.9$); at $r = 1$ the dip is $-\infty$ dB, the phase jumps by $\pi$, and $\tau_g$ is undefined at that one frequency. The readout under the $z$-plane gives the dip, the peak $20\log_{10}(1+r)$ dB, and the deepest group delay for the current $r$.互動圖 — 投影片 26–27 的單一零點 $H(e^{j\omega}) = 1 - re^{j\theta}e^{-j\omega}$,以及它的對數大小、相位與群延遲。拖動零點(藍色圓圈)可改變 $r$ 與 $\theta$,拖動其他位置則移動 $e^{j\omega}$(綠點);滑桿效果相同,滑鼠移到右邊的圖上也能掃過 $\omega$。藍線是零點向量,它的長度就是 $|H|$。Example I 疊加 $r = 0.9$、$\theta = 0, \pi/2, \pi$:改變 $\theta$ 只是把圖樣沿 $\omega$ 平移。Example II 疊加 $\theta = \pi$、$r = 0.5, 0.7, 0.9, 1$:零點越靠近單位圓,谷底越深($20\log_{10}(1-r)$ dB),相位擺動越急,群延遲尖峰 $-r/(1-r)$ 越大($r = 0.9$ 時為 $-9$ 個樣本);$r = 1$ 時谷底為 $-\infty$ dB,相位跳 $\pi$,群延遲在該頻率沒有定義。z 平面下方的讀數列出目前 $r$ 的谷底、峰值 $20\log_{10}(1+r)$ dB 與最深群延遲。インタラクティブ — 講義スライド 26–27 のひとつの零点 $H(e^{j\omega}) = 1 - re^{j\theta}e^{-j\omega}$ と、その対数振幅・位相・群遅延。零点(青い輪)をドラッグすると $r$ と $\theta$ が変わり、それ以外の場所をドラッグすると $e^{j\omega}$(緑)が動く。スライダーでも同じで、右のグラフ上でマウスを動かすと $\omega$ を掃引できる。青い線は零点ベクトルで、その長さが $|H|$ である。例 I は $r = 0.9$、$\theta = 0, \pi/2, \pi$ を重ねる。$\theta$ を変えても図形が $\omega$ 方向に平行移動するだけである。例 II は $\theta = \pi$、$r = 0.5, 0.7, 0.9, 1$ を重ねる。零点が単位円に近づくほど谷は深く($20\log_{10}(1-r)$ dB)、位相の振れは急になり、群遅延の尖り $-r/(1-r)$ は大きくなる($r = 0.9$ で $-9$ サンプル)。$r = 1$ では谷が $-\infty$ dB、位相が $\pi$ 跳び、その周波数で $\tau_g$ は定義されない。$z$ 平面の下の読み出しは、現在の $r$ での谷、ピーク $20\log_{10}(1+r)$ dB、最も深い群遅延を示す。

10.2.5 Filtering: Shaping the Magnitude Response10.2.5 濾波:塑造振幅響應10.2.5 フィルタリング:振幅応答を形づくる

Filtering means separating information in frequency with a constructed $H(e^{j\omega})$: given $x[n] = A\cos(\omega_1 n) + B\cos(\omega_2 n)$ where only the $\omega_1$ part is wanted, build $|H(e^{j\omega_1})| \approx 1$ and $|H(e^{j\omega_2})| \approx 0$, so that $y[n] \approx A\cos(\omega_1 n + \theta(\omega_1))$.所謂濾波,就是用一個刻意造出來的 $H(e^{j\omega})$ 在頻率上分離資訊:給定 $x[n] = A\cos(\omega_1 n) + B\cos(\omega_2 n)$,而我們只要 $\omega_1$ 那一部分,那就把 $|H(e^{j\omega_1})| \approx 1$、$|H(e^{j\omega_2})| \approx 0$ 做出來,於是 $y[n] \approx A\cos(\omega_1 n + \theta(\omega_1))$。フィルタリングとは、意図的に作った $H(e^{j\omega})$ によって周波数上で情報を分離することである。$x[n] = A\cos(\omega_1 n) + B\cos(\omega_2 n)$ のうち $\omega_1$ の成分だけがほしいなら、$|H(e^{j\omega_1})| \approx 1$ かつ $|H(e^{j\omega_2})| \approx 0$ となるように作ればよい。すると $y[n] \approx A\cos(\omega_1 n + \theta(\omega_1))$ となる。

Worked Example 10-D — designing a 3-point FIR filter (lecture filtering example)範例 10-D — 設計一個 3 點 FIR 濾波器(投影片的濾波例子)例題 10-D — 3 点 FIR フィルタを設計する(講義のフィルタリングの例)
Step 1 — filter family. Consider 3-pt FIR filters $h[n] = \{\alpha,\ \beta,\ \alpha\}$ (symmetric). Then步驟 1 — 濾波器家族。考慮 3 點 FIR 濾波器 $h[n] = \{\alpha,\ \beta,\ \alpha\}$(對稱)。於是ステップ 1 — フィルタの族。3 点 FIR フィルタ $h[n] = \{\alpha,\ \beta,\ \alpha\}$(対称)を考える。すると $$H(e^{j\omega}) = \alpha + \beta e^{-j\omega} + \alpha e^{-2j\omega} = e^{-j\omega}\big(\beta + 2\alpha\cos\omega\big) \;\Rightarrow\; \big|H(e^{j\omega})\big| = \big|\beta + 2\alpha\cos\omega\big|$$ The free parameters $\alpha, \beta$ shape the magnitude.自由參數 $\alpha, \beta$ 決定了振幅的形狀。自由パラメータ $\alpha, \beta$ が振幅の形を決める。
Step 2 — constraints. Input mixes tones at $\omega_1 = 0.1$ and $\omega_2 = 0.4$ rad/sample; we want to keep the first and remove the second:步驟 2 — 約束條件。輸入混有 $\omega_1 = 0.1$ 與 $\omega_2 = 0.4$ rad/sample 的兩個音;我們要留下前者、除掉後者:ステップ 2 — 制約条件。入力には $\omega_1 = 0.1$ と $\omega_2 = 0.4$ rad/sample の二つの音が混ざっている。前者を残し、後者を取り除きたい。 $$\beta + 2\alpha\cos(0.1) = 1, \qquad \beta + 2\alpha\cos(0.4) = 0$$
Step 3 — solve. Subtracting: $2\alpha(\cos 0.1 - \cos 0.4) = 1$, hence步驟 3 — 解出來。兩式相減:$2\alpha(\cos 0.1 - \cos 0.4) = 1$,因此ステップ 3 — 解く。辺々引くと $2\alpha(\cos 0.1 - \cos 0.4) = 1$ となり、したがって $$\alpha = 6.76, \qquad \beta = -12.46$$
Step 4 — verify. The output is $y[n] \approx \cos(0.1n + \theta(0.1))$ with $\theta(\omega) = -\omega$: the wanted tone survives with a one-sample delay, the unwanted tone is annihilated (Fig. 10-5).步驟 4 — 驗證。輸出是 $y[n] \approx \cos(0.1n + \theta(0.1))$,其中 $\theta(\omega) = -\omega$:想要的音保留下來並延遲一個樣本,不要的音則被徹底消滅(圖 10-5)。ステップ 4 — 検証する。出力は $\theta(\omega) = -\omega$ のもとで $y[n] \approx \cos(0.1n + \theta(0.1))$ となる。ほしい音は 1 標本遅れて残り、いらない音は消し去られる(図 10-5)。
2026-06-12T22:40:40.644375 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ 0.0 0.2 0.4 0.6 0.8 1.0 ω (rad/sample) −40 −20 0 20 dB |H(e^jω)| = |β + 2α cos ω|: gain 1 at ω₁ = 0.1, null at ω₂ = 0.4 0 25 50 75 100 125 150 175 200 n −10 0 10 amplitude Two-tone input: the ω₂ = 0.4 component is removed output y[n] ≈ cos(0.1(n−1)) input x[n]
Fig. 10-5 — Designed 3-pt filter $h[n] = \{6.76, -12.46, 6.76\}$: magnitude in dB with unit gain at $\omega_1 = 0.1$ (red line) and a null at $\omega_2 = 0.4$ (blue line); below, the two-tone input (stems) and the output (red), which is the clean $\omega_1$ tone delayed by one sample(輸出只剩想要的低頻弦波,延遲 1 個樣本).圖 10-5 — 設計出來的 3 點濾波器 $h[n] = \{6.76, -12.46, 6.76\}$:上圖是 dB 振幅,在 $\omega_1 = 0.1$ 處增益為 1(紅線),在 $\omega_2 = 0.4$ 處為零點(藍線);下圖是雙音輸入(脈衝)與輸出(紅色),輸出正是乾淨的 $\omega_1$ 音並延遲一個樣本(輸出只剩想要的低頻弦波,延遲 1 個樣本)。図 10-5 — 設計された 3 点フィルタ $h[n] = \{6.76, -12.46, 6.76\}$。上は dB 表示の振幅で、$\omega_1 = 0.1$ で利得 1(赤線)、$\omega_2 = 0.4$ で零点(青線)。下は二音入力(ステム)と出力(赤)であり、出力は 1 標本遅れたきれいな $\omega_1$ の音そのものである(出力にはほしい低域の正弦波だけが、1 標本遅れて残る)。

Step 1 in detail — how $\alpha + \beta e^{-j\omega} + \alpha e^{-j2\omega}$ becomes $e^{-j\omega}(\beta + 2\alpha\cos\omega)$步驟 1 詳解 — $\alpha + \beta e^{-j\omega} + \alpha e^{-j2\omega}$ 如何變成 $e^{-j\omega}(\beta + 2\alpha\cos\omega)$ステップ 1 の詳細 — $\alpha + \beta e^{-j\omega} + \alpha e^{-j2\omega}$ はどうして $e^{-j\omega}(\beta + 2\alpha\cos\omega)$ になるのか

Only two tools are needed here: factoring out $e^{-j\omega}$, and Euler's formula.這一步只用到兩個工具:把 $e^{-j\omega}$ 提出來,以及 Euler 公式。ここで使う道具は二つだけである。$e^{-j\omega}$ をくくり出すことと、オイラーの公式である。

1. Factor out $e^{-j\omega}$. The three exponents are $0$, $-\omega$ and $-2\omega$. Divide every term by $e^{-j\omega}$ and move that factor outside the bracket:1. 提出 $e^{-j\omega}$。原式三項的指數分別是 $0$、$-\omega$、$-2\omega$。把每一項都除以 $e^{-j\omega}$,再把它提到括號外:1. $e^{-j\omega}$ をくくり出す。三つの項の指数はそれぞれ $0$、$-\omega$、$-2\omega$ である。各項を $e^{-j\omega}$ で割り、その因子を括弧の外に出す。

$$\alpha + \beta e^{-j\omega} + \alpha e^{-j2\omega} = e^{-j\omega}\Big(\alpha\, e^{j\omega} + \beta + \alpha\, e^{-j\omega}\Big)$$

Term by term:逐項檢查:項ごとに確かめると:

Original term原本的項もとの項After dividing by $e^{-j\omega}$除以 $e^{-j\omega}$ 之後$e^{-j\omega}$ で割った後
$\alpha$$\alpha e^{j\omega}$
$\beta e^{-j\omega}$$\beta$
$\alpha e^{-j2\omega}$$\alpha e^{-j\omega}$

Multiplying $e^{-j\omega}$ back into each term inside the bracket returns the original expression — worth checking once by hand.反過來把 $e^{-j\omega}$ 乘回括號內每一項,就會得到原式,可以自己驗證一次。逆に括弧の中の各項へ $e^{-j\omega}$ を掛け戻せばもとの式に戻る。一度は手で確かめておくとよい。

2. Merge with Euler's formula. Put the two $\alpha$ terms inside the bracket together:2. 用 Euler 公式合併。把括號內兩個 $\alpha$ 的項放在一起:2. オイラーの公式でまとめる。括弧の中の二つの $\alpha$ の項を並べる。

$$\alpha\big(e^{j\omega} + e^{-j\omega}\big)$$

By Euler's formula:由 Euler 公式:オイラーの公式より:

$$e^{j\omega} = \cos\omega + j\sin\omega,\qquad e^{-j\omega} = \cos\omega - j\sin\omega$$

Adding the two, the imaginary parts $\pm j\sin\omega$ cancel exactly:兩式相加,虛部 $\pm j\sin\omega$ 正好抵消:二つを足すと、虚部 $\pm j\sin\omega$ がちょうど打ち消し合う。

$$e^{j\omega} + e^{-j\omega} = 2\cos\omega$$

So the bracket collapses to $\beta + 2\alpha\cos\omega$.所以括號內就變成 $\beta + 2\alpha\cos\omega$。したがって括弧の中は $\beta + 2\alpha\cos\omega$ になる。

Result結果結果 $$H(e^{j\omega}) = e^{-j\omega}\,\big(\beta + 2\alpha\cos\omega\big)$$

Inside the bracket there is nothing but $\alpha$, $\beta$ and $\cos\omega$, all of them real — so the whole bracket is real, and the entire frequency dependence of the phase sits in the single factor $e^{-j\omega}$.括號內只有 $\alpha$、$\beta$ 和 $\cos\omega$,全部都是實數,所以整個括號是實數;相位對頻率的依賴,全部集中在 $e^{-j\omega}$ 這一個因子上。括弧の中にあるのは $\alpha$、$\beta$、$\cos\omega$ だけで、どれも実数である。よって括弧全体が実数であり、位相の周波数依存はすべて $e^{-j\omega}$ という一つの因子に収まっている。

Why factor out $e^{-j\omega}$ and not something else? Because $-\omega$ is exactly the middle of the three exponents $0$, $-\omega$, $-2\omega$ — that is, the centre of symmetry of $h[n]$, at $n = 1$. Pulling the centre out leaves the two outer terms as $e^{+j\omega}$ and $e^{-j\omega}$: same exponent magnitude, opposite sign. Since their coefficients are also equal (both $\alpha$), they pair up into $2\cos\omega$ and the imaginary parts vanish.為什麼要提出 $e^{-j\omega}$,而不是其他東西?因為 $-\omega$ 剛好是三個指數 $0$、$-\omega$、$-2\omega$ 的中間值,也就是 $h[n]$ 的對稱中心 $n = 1$。提出中心之後,左右兩邊的項變成 $e^{+j\omega}$ 和 $e^{-j\omega}$,指數大小相同、符號相反;再加上係數相同(都是 $\alpha$),就能配成 $2\cos\omega$,虛部完全抵消。なぜ $e^{-j\omega}$ をくくり出すのか。$-\omega$ が三つの指数 $0$、$-\omega$、$-2\omega$ のちょうど真ん中、すなわち $h[n]$ の対称中心 $n = 1$ に当たるからである。中心をくくり出すと、両端の項は $e^{+j\omega}$ と $e^{-j\omega}$ になる。指数の大きさが同じで符号が逆であり、係数も等しい(ともに $\alpha$)ので、$2\cos\omega$ にまとまり虚部は消える。

Tip — the same trick for any symmetric FIR提醒 — 任何對稱 FIR 都能這樣做ヒント — 対称な FIR ならいつでも同じ手
This is the general technique for symmetric FIR filters. For a symmetric filter of length $M$, factoring out $e^{-j\omega(M-1)/2}$ — the centre of symmetry again — always leaves a real remainder. That is exactly why symmetric FIR filters have linear phase (10.4.3):這是對稱 FIR 濾波器的通用技巧。長度為 $M$ 的對稱濾波器,提出 $e^{-j\omega(M-1)/2}$(一樣是對稱中心)之後,剩下的部分一定是實數。這就是為什麼對稱 FIR 都是線性相位(10.4.3):これは対称な FIR フィルタに共通の手法である。長さ $M$ の対称フィルタでは、$e^{-j\omega(M-1)/2}$(やはり対称中心)をくくり出せば、残りは必ず実数になる。対称な FIR が線形位相をもつのは、まさにこのためである(10.4.3)。
  • Magnitude — the absolute value of the real bracket.大小 — 括號內實數的絕對值。振幅 — 実数である括弧の絶対値。
  • Phase — $\theta(\omega) = -\omega\,\dfrac{M-1}{2}$, plus a jump of $\pi$ wherever the bracket changes sign.相位 — $\theta(\omega) = -\omega\,\dfrac{M-1}{2}$,括號變號的地方再加上跳 $\pi$。位相 — $\theta(\omega) = -\omega\,\dfrac{M-1}{2}$。括弧が符号を変えるところで $\pi$ の跳びが加わる。
  • Group delay — a constant $\dfrac{M-1}{2}$ samples. Here $M = 3$, so one sample, which is the delay seen in Step 4.群延遲 — 固定為 $\dfrac{M-1}{2}$ 個樣本。這裡 $M = 3$,所以是 1 個樣本,正是步驟 4 看到的延遲。群遅延 — 一定で $\dfrac{M-1}{2}$ 標本。ここでは $M = 3$ なので 1 標本であり、これがステップ 4 で見た遅れである。

Example 10-D read three ways — impulse response, frequency response, input/output範例 10-D 的三種讀法 — 脈衝響應、頻率響應、輸入輸出例 10-D の三つの読み方 — インパルス応答・周波数応答・入出力

1. Impulse response. Only three samples are nonzero: $h[n] = \{\alpha, \beta, \alpha\} = \{6.76, -12.46, 6.76\}$. (The lecture plot puts them at $n = 1, 2, 3$ only because MATLAB indexes from 1; they are $n = 0, 1, 2$ here.)1. 脈衝響應。只有三個非零樣本:$h[n] = \{\alpha, \beta, \alpha\} = \{6.76, -12.46, 6.76\}$。(講義圖上畫在 $n = 1, 2, 3$,只是因為 MATLAB 從 1 開始編號,對應這裡的 $n = 0, 1, 2$。)1. インパルス応答。非零の標本は三つだけである:$h[n] = \{\alpha, \beta, \alpha\} = \{6.76, -12.46, 6.76\}$。(講義の図で $n = 1, 2, 3$ に描かれているのは MATLAB が 1 から番号を振るためで、ここでの $n = 0, 1, 2$ に当たる。)

Frequency頻率周波数Sum計算計算$|H|$dB
$\omega = 0$ (DC)$\omega = 0$(DC)$\omega = 0$(直流)$\alpha + \beta + \alpha = 6.76 - 12.46 + 6.76$$\approx 1.07$$\approx +0.6$
$\omega = \pi$$\alpha - \beta + \alpha = 6.76 + 12.46 + 6.76$$\approx 25.98$$\approx +28.3$

How 0.4 is cancelled in the time domain. The filter computes在時域中,0.4 是怎麼被消掉的。濾波器的運算是:時間領域で 0.4 が消える仕組み。フィルタの計算は次のとおりである。

$$y[n] = 6.76\big(x[n] - 2\cos(0.4)\,x[n-1] + x[n-2]\big)$$

and for a sinusoid at 0.4 the identity對頻率 0.4 的正弦波,三角恆等式周波数 0.4 の正弦波では、恒等式

$$\cos(0.4n) + \cos(0.4(n-2)) = 2\cos(0.4)\cos(0.4(n-1))$$

makes the bracket exactly 0: the samples on either side add up to exactly $2\cos(0.4)$ times the middle one, and the three terms cancel. This is what the zeros on the unit circle at $e^{\pm j0.4}$ mean in the time domain.剛好讓括號變成 0:前後兩個樣本相加,恰好等於中間樣本的 $2\cos(0.4)$ 倍,三項完全抵消。這就是零點落在單位圓 $e^{\pm j0.4}$ 上,在時域中的意義。によって括弧の中がちょうど 0 になる。前後二つの標本の和が中央の標本のちょうど $2\cos(0.4)$ 倍になり、三つの項が打ち消し合う。これが、零点が単位円上の $e^{\pm j0.4}$ にあることの時間領域での意味である。

Large, alternating coefficients. The output is a small result of large numbers subtracted ($6.76 + 6.76 - 12.46 \approx 1$). Such heavy cancellation is sensitive to coefficient errors and input noise — the same fact as the high-frequency boost in the frequency domain.係數很大、正負交錯,代表什麼?輸出是「大數減大數」得到的小結果($6.76 + 6.76 - 12.46 \approx 1$)。這種大量互相抵消的結構,對係數誤差和輸入雜訊都很敏感,和頻域中高頻被放大是同一件事。大きく符号が交互する係数。出力は「大きな数から大きな数を引いた」小さな結果である($6.76 + 6.76 - 12.46 \approx 1$)。このように大きく打ち消し合う構造は係数誤差にも入力雑音にも敏感であり、周波数領域で高域が強められることと同じ事実である。

2. Frequency response (dB). At $\omega = 0.1$ it is about 0 dB ($|H| \approx 1$), so the tone is kept. At $\omega = 0.4$ the curve drops to $-\infty$ dB — the notch made by the zero on the unit circle. Beyond 0.4 it climbs all the way: about $+18$ dB at 1.2 rad (where the lecture plot stops) and $+28$ dB at $\pi$.2. 頻率響應(dB)。$\omega = 0.1$ 處約 0 dB($|H| \approx 1$),訊號保留。$\omega = 0.4$ 處曲線掉到 $-\infty$ dB,這就是單位圓上的零點造成的凹口(notch)。0.4 之後一路上升:到 1.2 rad(講義圖的橫軸只畫到這裡)已約 $+18$ dB,到 $\pi$ 時達 $+28$ dB。2. 周波数応答(dB)。$\omega = 0.1$ ではおよそ 0 dB($|H| \approx 1$)で、信号は残る。$\omega = 0.4$ で曲線は $-\infty$ dB まで落ちる。単位円上の零点によるノッチである。0.4 を過ぎると上がり続け、1.2 rad(講義の図はここまで)で約 $+18$ dB、$\pi$ では $+28$ dB に達する。

3. Input and output. The input is two sinusoids: a slow part with period $2\pi/0.1 \approx 63$ samples carrying a fast ripple with period $2\pi/0.4 \approx 16$ samples. In the output the ripple has vanished, leaving a smooth sinusoid of period about 63, amplitude about 1, delayed by one sample. The odd start at $n \approx 0$–$2$ is the FIR transient: the filter needs 3 samples to fill, and $x[n]$ is taken as 0 for $n < 0$, so the first two outputs are wrong. After that it is in steady state and matches the prediction exactly.3. 輸入輸出。輸入是兩個正弦波相加:慢的部分週期約 $2\pi/0.1 \approx 63$ 個樣本,上面疊加週期約 $2\pi/0.4 \approx 16$ 個樣本的快速抖動。輸出中快速抖動完全消失,只剩週期約 63、振幅約 1 的平滑正弦波,並延遲 1 個樣本。最開頭($n \approx 0$ 到 2)有一個突兀的起點,這是 FIR 的暫態:濾波器需要 3 個樣本才能「填滿」,$n < 0$ 時輸入被視為 0,所以前兩個輸出不正確。之後就是穩態,和預期完全一致。3. 入力と出力。入力は二つの正弦波の和で、周期約 $2\pi/0.1 \approx 63$ サンプルのゆっくりした成分に、周期約 $2\pi/0.4 \approx 16$ サンプルの速い揺れが乗っている。出力では速い揺れが完全に消え、周期約 63、振幅約 1 のなめらかな正弦波が 1 サンプル遅れて残る。最初($n \approx 0$~2)の不自然な立ち上がりは FIR の過渡である。フィルタが「満たされる」には 3 標本必要で、$n < 0$ では入力を 0 とみなすので、最初の二つの出力は正しくない。その後は定常状態で、予測と完全に一致する。

Summary — one filter, three views總結 — 同一個濾波器,三個視角まとめ — 一つのフィルタ、三つの視点
  • IR: symmetric 3 points $\{6.76, -12.46, 6.76\}$, alternating in sign and large.IR(時域係數):對稱 3 點 $\{6.76, -12.46, 6.76\}$,正負交錯、數值很大。IR:対称な 3 点 $\{6.76, -12.46, 6.76\}$、符号が交互で値が大きい。
  • Frequency response: about 0 dB at 0.1, a deep notch at 0.4, strong high-frequency boost.頻率響應:0.1 處約 0 dB,0.4 處是深凹口,高頻大幅放大。周波数応答:0.1 で約 0 dB、0.4 で深いノッチ、高域を大きく増幅。
  • Input/output: the 0.4 component is removed completely; the 0.1 component is kept and delayed by one sample.輸入輸出:0.4 的成分被完全消除,0.1 的成分保留並延遲 1 個樣本。入出力:0.4 の成分は完全に除かれ、0.1 の成分は残って 1 サンプル遅れる。
The filter does remove 0.4, but with only 3 coefficients the price is a large high-frequency gain. In practice more taps or an IIR design are used to control the passband and stopband together.這個例子成功濾掉了 0.4,但只靠 3 個係數,代價是高頻增益很大。實際應用中,通常會用更多 taps 或 IIR 設計來同時控制通帶和阻帶。この例は 0.4 を確かに除くが、係数が 3 個だけなので高域の利得が大きいという代償を払う。実際には、より多くのタップや IIR 設計を使って通過域と阻止域を同時に制御する。
Interactive — Example 10-D for any pair of frequencies. Choose $\omega_1$ to keep and $\omega_2$ to remove; the two constraints $\beta + 2\alpha\cos\omega_1 = 1$ and $\beta + 2\alpha\cos\omega_2 = 0$ give $\alpha = 1/\big(2(\cos\omega_1 - \cos\omega_2)\big)$ and $\beta = -2\alpha\cos\omega_2$. The zeros of $\alpha + \beta z^{-1} + \alpha z^{-2}$ multiply to 1 and sum to $2\cos\omega_2$, so they always land on the unit circle at $e^{\pm j\omega_2}$, with a double pole at the origin. Below, the two-tone input $x[n]$ (grey), the output $y[n]$ (blue) and the ideal result $\cos(\omega_1(n-1))$ (orange dashed) — the one-sample delay is the linear phase $\theta(\omega) = -\omega$. The closer $\omega_1$ and $\omega_2$ are, the larger $\alpha$ and $\beta$ grow and the more the filter amplifies everything else (see $|H|$ at $\omega = \pi$): with only two free coefficients it can pin the response at two frequencies but cannot control the rest.互動圖 — 任意兩個頻率的範例 10-D。選擇要保留的 $\omega_1$ 與要濾除的 $\omega_2$;兩個條件 $\beta + 2\alpha\cos\omega_1 = 1$、$\beta + 2\alpha\cos\omega_2 = 0$ 解出 $\alpha = 1/\big(2(\cos\omega_1 - \cos\omega_2)\big)$、$\beta = -2\alpha\cos\omega_2$。$\alpha + \beta z^{-1} + \alpha z^{-2}$ 的兩個零點乘積為 1、和為 $2\cos\omega_2$,所以一定落在單位圓上的 $e^{\pm j\omega_2}$,原點則有二重極點。下方為兩頻輸入 $x[n]$(灰)、輸出 $y[n]$(藍)與理想結果 $\cos(\omega_1(n-1))$(橘色虛線)——延遲一個樣本就是線性相位 $\theta(\omega) = -\omega$。$\omega_1$ 與 $\omega_2$ 越接近,$\alpha$、$\beta$ 越大,濾波器對其他頻率的放大也越嚴重(看 $\omega = \pi$ 的 $|H|$):只有兩個自由係數,只能釘住兩個頻率的響應,其餘無法控制。インタラクティブ — 任意の 2 周波数での例 10-D。残す $\omega_1$ と除く $\omega_2$ を選ぶと、二つの条件 $\beta + 2\alpha\cos\omega_1 = 1$、$\beta + 2\alpha\cos\omega_2 = 0$ から $\alpha = 1/\big(2(\cos\omega_1 - \cos\omega_2)\big)$、$\beta = -2\alpha\cos\omega_2$ が得られる。$\alpha + \beta z^{-1} + \alpha z^{-2}$ の零点は積が 1、和が $2\cos\omega_2$ なので、必ず単位円上の $e^{\pm j\omega_2}$ に来て、原点には 2 重極がある。下は 2 周波入力 $x[n]$(灰)、出力 $y[n]$(青)、理想の結果 $\cos(\omega_1(n-1))$(橙の破線)。1 サンプルの遅れは線形位相 $\theta(\omega) = -\omega$ による。$\omega_1$ と $\omega_2$ が近いほど $\alpha$、$\beta$ は大きくなり、ほかの周波数を大きく増幅する($\omega = \pi$ での $|H|$ を見よ)。自由な係数が二つしかないので、2 周波数での応答は固定できても、残りは制御できない。
Tip — degrees of freedom提醒 — 自由度ヒント — 自由度
A length-$L$ FIR filter has $L$ free taps, so it can satisfy about $L$ independent magnitude/phase constraints. Here 2 unknowns $(\alpha,\beta)$ met 2 constraints exactly. Real filter design (Chapter on filter design) generalizes this idea to many constraints over whole frequency bands.長度為 $L$ 的 FIR 濾波器有 $L$ 個自由的抽頭係數,因此大約可以滿足 $L$ 個獨立的振幅/相位約束。這裡 2 個未知數 $(\alpha,\beta)$ 恰好滿足 2 個約束。真正的濾波器設計(濾波器設計那一章)把這個想法推廣到整段頻帶上的大量約束。長さ $L$ の FIR フィルタは $L$ 個の自由なタップをもつので、おおよそ $L$ 個の独立な振幅・位相の制約を満たせる。ここでは 2 個の未知数 $(\alpha,\beta)$ がちょうど 2 個の制約を満たした。実際のフィルタ設計(フィルタ設計の章)は、この考えを帯域全体にわたる多数の制約へと一般化したものである。

10.3 Phase Delay and Group Delay10.3 相位延遲與群延遲10.3 位相遅延と群遅延

10.3.1 Phase Delay10.3.1 相位延遲10.3.1 位相遅延

For a sinusoidal input $x[n] = \cos(\omega_0 n)$ we found $y[n] = |H(e^{j\omega_0})|\cos(\omega_0 n + \theta(\omega_0))$. The phase shift can be re-read as a time shift by factoring $\omega_0$ out:對弦波輸入 $x[n] = \cos(\omega_0 n)$,我們已經得到 $y[n] = |H(e^{j\omega_0})|\cos(\omega_0 n + \theta(\omega_0))$。把 $\omega_0$ 提出來,就能把相位平移改讀成時間平移:正弦波入力 $x[n] = \cos(\omega_0 n)$ に対しては $y[n] = |H(e^{j\omega_0})|\cos(\omega_0 n + \theta(\omega_0))$ が得られていた。$\omega_0$ をくくり出せば、位相のずれを時間のずれとして読み直せる。

Phase delay(相位延遲)相位延遲位相遅延 $$y[n] \propto \cos\Big(\omega_0\big(n - \tau_p(\omega_0)\big)\Big), \qquad \boxed{\;\tau_p(\omega) = \frac{-\theta(\omega)}{\omega}\;}$$

The minus sign makes a positive $\tau_p$ mean a delay (causal behavior): a falling phase corresponds to the carrier arriving later.那個負號讓正的 $\tau_p$ 代表延遲(因果行為):相位往下掉,對應的就是載波較晚抵達。この負号のおかげで、正の $\tau_p$ が遅れ(因果的なふるまい)を意味する。位相が下がることは、搬送波が遅れて到着することに対応する。

Worked Example 10-E — phase delay of the 3-pt filter範例 10-E — 3 點濾波器的相位延遲例題 10-E — 3 点フィルタの位相遅延
Step 1. From Example 10-D, $H(e^{j\omega}) = e^{-j\omega}(\beta + 2\alpha\cos\omega)$, so wherever the real factor is positive, $\theta(\omega) = -\omega$.步驟 1。由範例 10-D,$H(e^{j\omega}) = e^{-j\omega}(\beta + 2\alpha\cos\omega)$,所以只要那個實數因子為正,就有 $\theta(\omega) = -\omega$。ステップ 1。例題 10-D より $H(e^{j\omega}) = e^{-j\omega}(\beta + 2\alpha\cos\omega)$ なので、実数因子が正であるかぎり $\theta(\omega) = -\omega$ である。
Step 2.步驟 2。ステップ 2。 $$\tau_p(\omega) = -\frac{-\omega}{\omega} = +1 \text{ sample at all frequencies}$$ i.e. every sinusoid is delayed exactly 1 sample — as observed in Fig. 10-5: the filter is linear-phase, the delay equals the index of the symmetry center of $h[n]$.也就是說每個弦波都剛好延遲 1 個樣本——正如圖 10-5 所見:這個濾波器是線性相位的,延遲量等於 $h[n]$ 對稱中心的索引值。つまりどの正弦波もちょうど 1 標本だけ遅れる。図 10-5 で見たとおりである。このフィルタは線形位相であり、遅延は $h[n]$ の対称中心の添字に等しい。

Slides 32–38 walk-through — how long is a signal delayed?投影片 32–38 導讀 — 訊號到底被延遲了多久?スライド 32–38 の読み解き — 信号はどれだけ遅れるのか

These seven slides answer one question: after a signal passes through a system, how long has it actually been delayed?這七張投影片在回答一個問題:訊號通過系統之後,到底被延遲了多久?この 7 枚のスライドが答えているのは一つの問いである。信号はシステムを通ったあと、実際にどれだけ遅れるのか。

The answer depends on what you look at. Watch the crests of a single sinusoid and you get the phase delay; watch the envelope of a modulated signal — the part that actually carries the information — and you get the group delay. The two agree only when the phase is a straight line through the origin; in general they differ, and a group delay that changes with frequency causes phase distortion. The walk-through follows the slide order, split over §10.3.1–§10.3.3, with three interactive figures along the way.答案取決於你看的是什麼。如果看單一正弦波的波峰,得到的是相位延遲(phase delay);如果看調變訊號的包絡,也就是訊號實際攜帶的資訊,得到的是群延遲(group delay)。只有在相位是一條通過原點的直線時,兩者才相等;一般情況下它們不同,而群延遲隨頻率變化,就會造成相位失真。以下依投影片順序說明,分布在 §10.3.1–§10.3.3,中間穿插三個互動圖。答えは何を見るかによって変わる。単一の正弦波の山を見れば位相遅延(phase delay)が得られ、変調信号の包絡線、すなわち信号が実際に運んでいる情報を見れば群遅延(group delay)が得られる。両者が一致するのは位相が原点を通る直線のときだけであり、一般には異なる。そして群遅延が周波数によって変わると位相歪みが生じる。以下ではスライドの順に、§10.3.1–§10.3.3 にわたって説明し、途中に三つのインタラクティブな図を挟む。

Slide 32 — the definition of phase delay第 32 頁:相位延遲的定義スライド 32:位相遅延の定義

Sinusoid in, sinusoid out. Start from the most basic fact: feed an LTI system a sinusoid at frequency $\omega_0$ and the steady-state output is still a sinusoid at the same frequency, with only its amplitude and phase changed:正弦波輸入,正弦波輸出。先回到最基本的事實:LTI 系統輸入一個頻率 $\omega_0$ 的正弦波,穩態輸出仍是同頻率的正弦波,只是振幅和相位改變:正弦波を入れれば正弦波が出る。最も基本的な事実に戻ろう。LTI システムに周波数 $\omega_0$ の正弦波を入れると、定常出力は同じ周波数の正弦波のままであり、変わるのは振幅と位相だけである。

$$x[n] = \cos(\omega_0 n) \;\Longrightarrow\; y[n] = \big|H(e^{j\omega_0})\big|\cos\big(\omega_0 n + \theta(\omega_0)\big)$$

Here $\theta(\omega) = \angle H(e^{j\omega})$. The derivation takes one step: split the cosine into two complex exponentials,其中 $\theta(\omega) = \angle H(e^{j\omega})$。推導只要一步:把餘弦拆成兩個複指數,ここで $\theta(\omega) = \angle H(e^{j\omega})$ である。導出は一歩で済む。余弦を二つの複素指数に分ける。

$$\cos(\omega_0 n) = \tfrac{1}{2}\big(e^{j\omega_0 n} + e^{-j\omega_0 n}\big)$$

Complex exponentials are eigenfunctions of an LTI system, so each is multiplied by $H(e^{j\omega_0})$ and $H(e^{-j\omega_0})$ respectively. If $h[n]$ is real, $H(e^{-j\omega_0}) = H^*(e^{j\omega_0})$, the two terms are conjugates, and their sum is $|H|\cos(\omega_0 n + \theta)$.複指數是 LTI 系統的特徵函數,各自乘上 $H(e^{j\omega_0})$ 與 $H(e^{-j\omega_0})$。若 $h[n]$ 是實數,$H(e^{-j\omega_0}) = H^*(e^{j\omega_0})$,兩項互為共軛,相加後就是 $|H|\cos(\omega_0 n + \theta)$。複素指数は LTI システムの固有関数なので、それぞれ $H(e^{j\omega_0})$ と $H(e^{-j\omega_0})$ を掛けられる。$h[n]$ が実数なら $H(e^{-j\omega_0}) = H^*(e^{j\omega_0})$ であり、二つの項は互いに共役で、足し合わせると $|H|\cos(\omega_0 n + \theta)$ になる。

The slide marks two things here: the gain in blue, and the phase shift or time shift in red. The second is the point of this slide.投影片在這裡標出兩件事:藍色的 gain(增益)與紅色的 phase shift or time shift(相移,或者說時間平移)。後者是本頁重點。スライドはここで二つを示している。青の gain(利得)と、赤の phase shift or time shift(位相のずれ、すなわち時間のずれ)である。このページの要点は後者である。

Rewriting the phase shift as a time shift. Factor out $\omega_0$:把相移改寫成時間平移。把 $\omega_0$ 提出來:位相のずれを時間のずれに書き直す。$\omega_0$ をくくり出す。

$$\omega_0 n + \theta(\omega_0) = \omega_0\left(n + \frac{\theta(\omega_0)}{\omega_0}\right)$$

So the output is the input shifted along the time axis by $\theta(\omega_0)/\omega_0$ samples. To make the “delay” a positive number, the slide defines所以輸出就是輸入在時間軸上平移了 $\theta(\omega_0)/\omega_0$ 個樣本。為了讓「延遲」是正數,投影片定義:したがって出力は、入力を時間軸上で $\theta(\omega_0)/\omega_0$ サンプルずらしたものである。「遅延」を正の数にするため、スライドは次のように定義する。

$$\tau_p(\omega) = -\frac{\theta(\omega)}{\omega},\qquad y[n] = |H|\cos\big(\omega_0(n - \tau_p(\omega_0))\big)$$

Why the minus sign? The output of a causal system always comes later than its input, so the phase usually lags, i.e. $\theta \lt 0$. With the minus sign, $\tau_p \gt 0$ means a delay — which is what the green note on the slide says: “subtraction so positive $\tau_p$ means delay (causal)”.為什麼要加負號?因果系統的輸出一定比輸入晚,相位通常是「落後」的,也就是 $\theta \lt 0$。加上負號後,$\tau_p \gt 0$ 就代表延遲,這是投影片綠字的意思:「subtraction so positive $\tau_p$ means delay (causal)」。なぜ負号を付けるのか。因果的なシステムの出力は必ず入力より遅れるので、位相は通常「遅れ」、つまり $\theta \lt 0$ である。負号を付ければ $\tau_p \gt 0$ が遅延を表す。スライドの緑字「subtraction so positive $\tau_p$ means delay (causal)」はこのことを言っている。

The simplest check is the pure delay $h[n] = \delta[n - n_0]$:最簡單的驗證是純延遲系統 $h[n] = \delta[n - n_0]$:最も簡単な確認は純粋な遅延 $h[n] = \delta[n - n_0]$ である。

$$H(e^{j\omega}) = e^{-j\omega n_0} \;\Rightarrow\; \theta(\omega) = -\omega n_0 \;\Rightarrow\; \tau_p = n_0$$

— exactly what intuition says.和直覺完全一致。直観とまったく一致する。

Two intrinsic limits of phase delay.相位延遲的兩個本質限制。位相遅延の二つの本質的な限界。

First, it need not be an integer. $\tau_p = 2.7$ means: shift the continuous sinusoid that lies behind the input samples by 2.7 samples, sample it again, and you have the output. A discrete-time signal has no “instant 2.7”, but shifting the sinusoidal curve does make sense.第一,它可以不是整數。$\tau_p = 2.7$ 的意思是:把輸入樣本背後那條連續的正弦曲線平移 2.7 個樣本,再重新取樣,就是輸出。離散時間訊號本身沒有「2.7 這個時刻」,但正弦曲線的平移是有意義的。第一に、整数でなくてもよい。$\tau_p = 2.7$ とは、入力サンプルの背後にある連続な正弦曲線を 2.7 サンプルずらし、それを標本化し直したものが出力だという意味である。離散時間信号そのものには「時刻 2.7」はないが、正弦曲線をずらすことには意味がある。

Second, it is inherently ambiguous. A sinusoid is periodic: shifting it by one period $2\pi/\omega_0$ looks exactly like not shifting it at all. In terms of phase, $\theta$ is fixed only up to an integer multiple of $2\pi$. So from a single steady-state sinusoid you cannot tell a delay of 1 sample from a delay of 1 sample plus one period.第二,它本質上有歧義。正弦波是週期性的,平移一個週期 $2\pi/\omega_0$ 和完全沒平移看起來一模一樣。對應到相位上,$\theta$ 只能確定到 $2\pi$ 的整數倍。因此單看一個穩態正弦波,你無法分辨它延遲了 1 個樣本,還是延遲了 1 加上一個週期。第二に、本質的にあいまいである。正弦波は周期的なので、一周期 $2\pi/\omega_0$ ずらしたものはまったくずらさないものと見分けがつかない。位相で言えば、$\theta$ は $2\pi$ の整数倍の不定性を残してしか決まらない。したがって定常正弦波を一つ見ただけでは、1 サンプル遅れたのか、1 サンプルと一周期遅れたのかを区別できない。

The usual remedy is the unwrapped phase: set $\theta(0) = 0$ and let $\theta(\omega)$ vary continuously with $\omega$, with no $2\pi$ jumps allowed. Only then does $\tau_p$ have a consistent meaning.一般的處理方式是使用展開相位(unwrapped phase):規定 $\theta(0) = 0$,然後讓 $\theta(\omega)$ 隨 $\omega$ 連續變化,不允許 $2\pi$ 的跳躍。這樣算出的 $\tau_p$ 才有一致的意義。普通の対処はアンラップ位相(unwrapped phase)を使うことである。$\theta(0) = 0$ と決め、$\theta(\omega)$ を $\omega$ とともに連続に変化させ、$2\pi$ の跳びを許さない。こうして求めた $\tau_p$ だけが一貫した意味をもつ。

The deeper problem, though, is that a sinusoid that goes on forever, with no start and no end, carries no time marker. You cannot tell which output crest belongs to which input crest. That is exactly why the modulated carrier is brought in later: its envelope supplies the time marker.但更根本的問題是:一個永遠持續、沒有起點也沒有終點的正弦波,沒有任何「時間標記」。你看不出哪一個波峰對應輸入的哪一個波峰。這正是後面要引入「調變載波」的原因:包絡提供了時間標記。しかし、より根本的な問題は、始まりも終わりもなく永遠に続く正弦波には「時刻の目印」がまったくないことである。出力のどの山が入力のどの山に対応するのかがわからない。後で「変調された搬送波」を持ち込むのはまさにこのためであり、包絡線が時刻の目印を与える。

Slide 33 — phase delay of the 3-point filter第 33 頁:3 點濾波器的相位延遲スライド 33:3 点フィルタの位相遅延

We already derived (Example 10-D)前面已經推過(範例 10-D):すでに導いたとおり(例題 10-D)、

$$H(e^{j\omega}) = e^{-j\omega}\,\underbrace{(\beta + 2\alpha\cos\omega)}_{A(\omega)}$$

Where $A(\omega) \gt 0$, $\theta(\omega) = -\omega$, so當 $A(\omega) \gt 0$ 時,$\theta(\omega) = -\omega$,所以$A(\omega) \gt 0$ のところでは $\theta(\omega) = -\omega$ なので、

$$\tau_p(\omega) = -\frac{-\omega}{\omega} = +1$$

Every frequency is delayed by 1 sample, just as the input/output plots showed earlier (“as observed”).所有頻率都延遲 1 個樣本,和之前輸入輸出圖中看到的完全一致(as observed)。すべての周波数が 1 サンプル遅れる。これは先に入出力の図で見たこと(as observed)とまったく一致する。

A detail the slide skips: the region where $A(\omega) \lt 0$. The slide says “at all frequencies”; strictly, that holds only where $A(\omega) \gt 0$. In our example $A(\omega) = -12.46 + 13.52\cos\omega$, which turns negative for $\omega \gt 0.4$. There投影片沒說的細節:$A(\omega) \lt 0$ 的區域。投影片寫「at all frequencies」,嚴格來說只對 $A(\omega) \gt 0$ 的頻率成立。在我們的例子中,$A(\omega) = -12.46 + 13.52\cos\omega$,在 $\omega \gt 0.4$ 時變成負數,此時スライドが触れていない細部:$A(\omega) \lt 0$ の領域。スライドは「at all frequencies」と書いているが、厳密には $A(\omega) \gt 0$ の周波数でしか成り立たない。この例では $A(\omega) = -12.46 + 13.52\cos\omega$ であり、$\omega \gt 0.4$ で負になる。そこでは

$$\theta(\omega) = -\omega + \pi \;\Rightarrow\; \tau_p(\omega) = \frac{\omega - \pi}{\omega} = 1 - \frac{\pi}{\omega}$$

At $\omega = 1.5$, for instance, $\tau_p \approx -1.09$ — it looks like an advance.例如 $\omega = 1.5$ 時,$\tau_p \approx -1.09$,看起來像是「提前」了。たとえば $\omega = 1.5$ では $\tau_p \approx -1.09$ となり、「進んだ」ように見える。

Of course nothing has really come early. The output is “delayed by 1 sample and then turned upside down”:這當然不是真的提前。輸出其實是「延遲 1 個樣本再上下翻轉」:もちろん本当に進んだわけではない。出力は実は「1 サンプル遅らせてから上下を反転したもの」である。

$$y[n] = -|A|\cos\big(\omega(n-1)\big)$$

Flipping is multiplying by $-1 = e^{j\pi}$, and for a single sinusoid a flip cannot be told apart from a shift of half a period. The phase-delay formula counts the flip as a time shift too, and so produces a strange number.翻轉等於乘上 $-1 = e^{j\pi}$,而對單一正弦波來說,翻轉和平移半個週期無法區分。相位延遲的公式把翻轉也算成了時間平移,所以得到一個奇怪的數字。反転は $-1 = e^{j\pi}$ を掛けることであり、単一の正弦波にとって反転と半周期のずれは区別できない。位相遅延の式は反転まで時間のずれとして数えてしまうので、奇妙な数が出てくる。

The group delay, by contrast, looks only at the slope of the phase; the constant $\pi$ disappears on differentiation, so the group delay is still 1 for $\omega \gt 0.4$. This is the first example of the group delay being more reliable than the phase delay.相比之下,群延遲只看相位的斜率,常數 $\pi$ 微分後消失,所以群延遲在 $\omega \gt 0.4$ 時仍然是 1。這是群延遲比相位延遲更可靠的第一個例子。これに対し群遅延は位相の傾きしか見ないので、定数 $\pi$ は微分で消え、$\omega \gt 0.4$ でも群遅延は 1 のままである。これが、群遅延のほうが位相遅延より信頼できることの最初の例である。

The interactive figure below shows this. On the left is the phase $\theta(\omega)$; the blue segment runs from the origin to the current point, and its slope equals $-\tau_p$. On the right are the input (grey) and the output (blue, divided by the gain so the positions are easy to compare).下面的互動圖可以觀察這一點。左邊是相位 $\theta(\omega)$,藍色線段從原點連到目前的點,它的斜率等於 $-\tau_p$;右邊是輸入(灰色)和輸出(藍色,已除以增益,方便比較位置)。下のインタラクティブな図でこれを確かめられる。左は位相 $\theta(\omega)$ で、青の線分は原点から現在の点へ引いたものであり、その傾きが $-\tau_p$ に等しい。右は入力(灰色)と出力(青。位置を比べやすいよう利得で割ってある)である。

Things to try:建議這樣操作:次のように操作してみるとよい。

The phase-delay formula cannot tell these two situations apart, but the group delay in the readout stays at 1 throughout.相位延遲的公式無法分辨這兩件事,但讀數中的群延遲始終是 1。位相遅延の式はこの二つを区別できないが、表示の群遅延は終始 1 のままである。

origin-to-point segment / output ÷ |H|原點連線/輸出 ÷ |H|原点からの線分/出力 ÷ |H| θ = −ωθ = −ωθ = −ω input輸入入力 n = τg = 1n = τg = 1n = τg = 1
Interactive — phase delay of the 3-point filter of Example 10-D ($\alpha = 6.76$, $\beta = -12.46$, so $A(\omega) = -12.46 + 13.52\cos\omega$, which changes sign at $\omega \approx 0.4$). Left: the principal phase $\theta(\omega)$ on $[0, \pi]$; the blue segment from the origin to $(\omega_0, \theta(\omega_0))$ has slope $-\tau_p(\omega_0)$. Right: input $\cos(\omega_0 n)$ in grey and the convolution output $y[n] = \alpha x[n] + \beta x[n-1] + \alpha x[n-2]$ divided by $|A(\omega_0)|$ in blue; the blue vertical line is at $n = \tau_p$ (when it falls inside the window) and the red dashed one at $n = 1$.互動圖 — 範例 10-D 的 3 點濾波器($\alpha = 6.76$、$\beta = -12.46$,故 $A(\omega) = -12.46 + 13.52\cos\omega$,在 $\omega \approx 0.4$ 變號)的相位延遲。左:$[0, \pi]$ 上的主值相位 $\theta(\omega)$;從原點到 $(\omega_0, \theta(\omega_0))$ 的藍色線段斜率為 $-\tau_p(\omega_0)$。右:灰色為輸入 $\cos(\omega_0 n)$,藍色為摺積輸出 $y[n] = \alpha x[n] + \beta x[n-1] + \alpha x[n-2]$ 除以 $|A(\omega_0)|$;藍色垂直線在 $n = \tau_p$(落在視窗內時),紅色虛線在 $n = 1$。インタラクティブ — 例題 10-D の 3 点フィルタ($\alpha = 6.76$、$\beta = -12.46$。したがって $A(\omega) = -12.46 + 13.52\cos\omega$ で、$\omega \approx 0.4$ で符号が変わる)の位相遅延。左:$[0, \pi]$ 上の主値位相 $\theta(\omega)$。原点から $(\omega_0, \theta(\omega_0))$ への青の線分の傾きは $-\tau_p(\omega_0)$ である。右:灰色は入力 $\cos(\omega_0 n)$、青は畳み込み出力 $y[n] = \alpha x[n] + \beta x[n-1] + \alpha x[n-2]$ を $|A(\omega_0)|$ で割ったもの。青の縦線は $n = \tau_p$(窓内にあるとき)、赤の破線は $n = 1$ にある。

10.3.2 Group Delay and Modulated Carriers10.3.2 群延遲與調變載波10.3.2 群遅延と変調された搬送波

Phase delay describes a single sinusoid. Real signals carry information in envelopes. Consider a modulated carrier(調變載波):相位延遲描述的是單一弦波。真實訊號則把資訊帶在包絡裡。考慮一個調變載波:位相遅延が記述するのは単一の正弦波である。現実の信号は情報を包絡線に載せて運ぶ。変調された搬送波を考えよう。

AM test signalAM 測試訊號AM テスト信号 $$x[n] = A[n]\cos(\omega_c n), \quad A[n] = A\cos(\omega_m n),\ \omega_m \ll \omega_c \;\;\Longrightarrow\;\; x[n] = \frac{A}{2}\big[\cos((\omega_c-\omega_m)n) + \cos((\omega_c+\omega_m)n)\big]$$

The signal occupies two close frequencies $\omega_c \pm \omega_m$. Assume $|H(e^{j\omega})| \approx 1$ around $\omega_c$, and call the phases at the two side frequencies $\theta(\omega_c - \omega_m) = \theta_l$ and $\theta(\omega_c + \omega_m) = \theta_u$. The output recombines into這個訊號佔據兩個相近的頻率 $\omega_c \pm \omega_m$。假設 $\omega_c$ 附近有 $|H(e^{j\omega})| \approx 1$,並把兩個邊頻處的相位記為 $\theta(\omega_c - \omega_m) = \theta_l$ 與 $\theta(\omega_c + \omega_m) = \theta_u$。輸出重新合成為この信号は近接した二つの周波数 $\omega_c \pm \omega_m$ を占める。$\omega_c$ の周辺で $|H(e^{j\omega})| \approx 1$ と仮定し、二つの側波周波数での位相を $\theta(\omega_c - \omega_m) = \theta_l$、$\theta(\omega_c + \omega_m) = \theta_u$ と書く。出力は次のようにまとまる。

Carrier vs envelope phase載波相位與包絡相位搬送波の位相と包絡線の位相 $$y[n] = A\cos\Big(\omega_c n + \tfrac{\theta_u + \theta_l}{2}\Big)\cdot \cos\Big(\omega_m n + \tfrac{\theta_u - \theta_l}{2}\Big)$$

The average phase shifts the carrier; the difference shifts the envelope. If $\theta(\omega)$ is locally linear around $\omega_c$, i.e. $\theta(\omega_c + \Delta\omega) \approx \theta(\omega_c) + S\,\Delta\omega$ with slope $S = \frac{d\theta}{d\omega}\big|_{\omega_c}$, then:相位的平均移動載波,相位的差移動包絡。若 $\theta(\omega)$ 在 $\omega_c$ 附近是局部線性的,也就是 $\theta(\omega_c + \Delta\omega) \approx \theta(\omega_c) + S\,\Delta\omega$,斜率為 $S = \frac{d\theta}{d\omega}\big|_{\omega_c}$,那麼:位相の平均が搬送波を、位相の差が包絡線をずらす。$\theta(\omega)$ が $\omega_c$ の近傍で局所的に線形、すなわち傾きを $S = \frac{d\theta}{d\omega}\big|_{\omega_c}$ として $\theta(\omega_c + \Delta\omega) \approx \theta(\omega_c) + S\,\Delta\omega$ であれば、

Group delay(群延遲)群延遲群遅延 $$\boxed{\;\tau_g(\omega_c) = -\frac{d\theta(\omega)}{d\omega}\bigg|_{\omega=\omega_c}\;}$$
2026-06-12T22:42:05.235281 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ 0 50 100 150 200 250 300 −1 0 1 Input x[n] = cos(0.02πn)·cos(0.4πn) envelope |A[n]| 0 50 100 150 200 250 300 n −1 0 1 All-pass output: same amplitude, envelope delayed by group delay envelope delayed by τg ≈ 19.1 samples 0 π/2 π ω (rad/sample) 0 10 20 τg(ω) (samples) ω_c = 0.4π, τg ≈ 19 Group delay of the all-pass filter (poles at 0.9e^{±j0.4π})
Fig. 10-6 — AM signal $\cos(0.02\pi n)\cos(0.4\pi n)$ through an all-pass filter with poles at $0.9e^{\pm j0.4\pi}$. The sample-by-sample carrier shifts only by $\tau_p \approx 2.5$ samples, but the information-bearing envelope (red dashed) arrives $\tau_g \approx 19$ samples late — the group delay evaluated at $\omega_c$ (bottom panel)(載波延遲由 $\tau_p$ 決定,包絡延遲由 $\tau_g$ 決定).圖 10-6 — AM 訊號 $\cos(0.02\pi n)\cos(0.4\pi n)$ 通過極點在 $0.9e^{\pm j0.4\pi}$ 的全通濾波器。逐樣本來看,載波只平移了 $\tau_p \approx 2.5$ 個樣本,但承載資訊的包絡(紅色虛線)卻晚到了 $\tau_g \approx 19$ 個樣本——正是群延遲在 $\omega_c$ 處的值(下方子圖)(載波延遲由 $\tau_p$ 決定,包絡延遲由 $\tau_g$ 決定)。図 10-6 — AM 信号 $\cos(0.02\pi n)\cos(0.4\pi n)$ を、極が $0.9e^{\pm j0.4\pi}$ にある全域通過フィルタに通したもの。標本ごとに見ると搬送波は $\tau_p \approx 2.5$ 標本しかずれないが、情報を担う包絡線(赤の破線)は $\tau_g \approx 19$ 標本も遅れて到着する。これは群遅延を $\omega_c$ で評価した値である(下段)(搬送波の遅れは $\tau_p$ が、包絡線の遅れは $\tau_g$ が決める)。
Phase delay $\tau_p(\omega)$相位延遲 $\tau_p(\omega)$位相遅延 $\tau_p(\omega)$Group delay $\tau_g(\omega)$群延遲 $\tau_g(\omega)$群遅延 $\tau_g(\omega)$
Definition定義定義$-\theta(\omega)/\omega$$-d\theta(\omega)/d\omega$
Geometric meaning幾何意義幾何学的な意味(negative) slope of the chord from origin to $(\omega, \theta(\omega))$從原點到 $(\omega, \theta(\omega))$ 這條弦的(負)斜率原点から $(\omega, \theta(\omega))$ へ引いた弦の(負の)傾き(negative) local tangent slope of $\theta(\omega)$$\theta(\omega)$ 的(負)局部切線斜率$\theta(\omega)$ の局所的な接線の(負の)傾き
What it delays延遲的對象何を遅らせるかthe carrier / a single sinusoid(載波)載波/單一弦波(載波)搬送波/単一の正弦波the envelope / information(包絡、訊息)包絡/資訊(包絡、訊息)包絡線/情報そのもの
Equal when兩者相等的條件等しくなる条件$\theta(\omega) = -\tau\omega$ exactly linear through the origin → $\tau_p = \tau_g = \tau$$\theta(\omega) = -\tau\omega$ 恰好是通過原點的直線 → $\tau_p = \tau_g = \tau$$\theta(\omega) = -\tau\omega$ が原点を通るちょうど線形のとき → $\tau_p = \tau_g = \tau$

Group delay — a second look群延遲 — 再看一次群遅延 — もう一度

In discrete time $\tau_g$ is measured in samples: it is how long a small group of frequencies near $\omega$ is held up by the system. The AM pair above is one case of a general narrowband signal, a slowly varying envelope on a fast carrier:離散時間系統中 $\tau_g$ 的單位是樣本數。直覺上,它表示頻率在 $\omega$ 附近的一小群訊號,通過系統後被延遲了多久。上面的 AM 兩頻訊號只是一般窄頻訊號的特例:一個高頻載波乘上一個變化緩慢的包絡:離散時間では $\tau_g$ の単位はサンプル数である。直観的には、$\omega$ 付近の周波数の小さな群がシステムを通ってどれだけ遅れるかを表す。上の AM の 2 周波信号は、速い搬送波にゆっくり変わる包絡線を掛けた、一般の狭帯域信号の一例である。

$$x[n] = s[n]\cos(\omega_0 n)$$

Its spectrum occupies only a narrow band around $\omega_0$ — a “group” of frequencies. Across that band the phase can be expanded to first order,它的頻譜只集中在 $\omega_0$ 附近一小段,也就是一「群」頻率。在這一小段範圍內,可以把相位做一階泰勒展開:そのスペクトルは $\omega_0$ のまわりの狭い帯域、すなわち周波数の「群」だけを占める。その帯域内では位相を 1 次まで展開できる。

$$\angle H(e^{j\omega}) \approx \angle H(e^{j\omega_0}) - \tau_g(\omega_0)\,(\omega-\omega_0)$$

and substituting gives代進去之後,輸出大約是:これを代入すると、出力はおよそ次のようになる。

Narrowband signal through $H$窄頻訊號通過 $H$狭帯域信号が $H$ を通る $$y[n] \approx |H(e^{j\omega_0})|\; s\big[n-\tau_g(\omega_0)\big]\;\cos\big(\omega_0(n-\tau_p)\big)$$

The group delay usually matters more, because what a signal “looks like” is set mainly by its envelope. The magnitude response says how much each frequency is amplified or attenuated; the group delay says how long each frequency is delayed.一般更關心群延遲,因為訊號「長什麼樣子」主要由包絡決定。大小響應告訴你「各頻率被放大或衰減多少」,群延遲告訴你「各頻率被延遲多久」。ふつう重要なのは群遅延のほうである。信号の「見た目」は主に包絡線で決まるからである。振幅応答は各周波数がどれだけ増幅・減衰されるかを、群遅延は各周波数がどれだけ遅れるかを教える。

Simplest case — a pure delay最簡單的例子 — 純延遲最も簡単な例 — 純粋な遅延
$$H(e^{j\omega}) = e^{-j\omega n_0} \;\Rightarrow\; \angle H = -\omega n_0 \;\Rightarrow\; \tau_g = n_0$$
Every frequency is delayed by $n_0$ samples, so the waveform is only shifted as a whole; its shape is unchanged.所有頻率都延遲 $n_0$ 個樣本,所以波形只是整體平移,形狀完全不變。すべての周波数が $n_0$ サンプル遅れるので、波形は全体として平行移動するだけで、形はまったく変わらない。

Why check whether $\tau_g$ is constant.為什麼要看群延遲是不是常數。なぜ $\tau_g$ が一定かどうかを見るのか。

Link to the lecture — group delays add. Cascaded phases add, so cascaded group delays add too:和講義的關係 — 群延遲可以逐個因式相加。串接系統的相位相加,因此群延遲也直接相加:講義とのつながり — 群遅延は足し合わせられる。縦続接続した系の位相は足し合わされるので、群遅延もそのまま足し合わされる。

$$H = H_1 H_2 \cdots \;\Rightarrow\; \tau_g = \tau_{g,1} + \tau_{g,2} + \cdots$$

That is why the lecture analyses only the single zero $1 - re^{j\theta}z^{-1}$ (Fig. 10-4): the group delay of any rational system is the sum of the contributions of its poles and zeros. For one zero,這就是講義只分析單一零點 $1 - re^{j\theta}z^{-1}$(圖 10-4)的原因:任何有理系統的群延遲,都是各個極點、零點的貢獻加總。單一零點的群延遲為:講義がひとつの零点 $1 - re^{j\theta}z^{-1}$(図 10-4)だけを解析するのはこのためである。どんな有理システムの群遅延も、各極・零点の寄与の和になる。ひとつの零点では次のとおりである。

Group delay of one zero單一零點的群延遲ひとつの零点の群遅延 $$\tau_g(\omega) = \frac{r^2 - r\cos(\omega-\theta)}{1 + r^2 - 2r\cos(\omega-\theta)}, \qquad \tau_g(\theta) = \frac{r^2 - r}{(1-r)^2} = -\frac{r}{1-r}$$

With $r = 0.9$ this is $-9$ samples — the downward spike in Examples I and II. Geometrically, as $e^{j\omega}$ passes beside the zero, the zero vector's angle turns very fast; the steeper the phase change, the larger $|\tau_g|$.$r = 0.9$ 時是 $-9$,這就是 Example I、II 圖上往下的尖刺。從幾何上看,$e^{j\omega}$ 經過零點旁邊時,零點向量的角度轉得非常快;相位變化越急,群延遲的絕對值越大。$r = 0.9$ では $-9$ サンプルとなり、これが例 I・II の下向きの尖りである。幾何的には、$e^{j\omega}$ が零点のそばを通るとき零点ベクトルの角度が非常に速く回る。位相の変化が急なほど $|\tau_g|$ は大きい。

What does a negative group delay mean?負的群延遲是什麼意思?負の群遅延とは何か
A negative value means the narrowband envelope appears to arrive early. This does not violate causality, for two reasons: it is a result of the narrowband approximation only; and the negative spike sits next to a zero, where $|H|$ is smallest and the signal is heavily attenuated, so no signal actually arrives “before the input”.負值代表窄頻包絡看起來「提早」出現。這並不違反因果律,原因有兩個:它只是在窄頻近似下的結果;而且負尖峰出現在零點附近,也就是 $|H|$ 最小、訊號被大幅衰減的頻率,所以實際上沒有任何訊號「比輸入更早」到達。負の値は、狭帯域の包絡線が早く現れるように見えることを意味する。これは因果律に反しない。理由は二つある。狭帯域近似のもとでの結果にすぎないこと、そして負の尖りは零点のそば、すなわち $|H|$ が最小で信号が大きく減衰する周波数に現れるので、実際には「入力より早く」届く信号はないことである。
Warning — computing $\tau_g$注意 — 計算群延遲時注意 — $\tau_g$ の計算
  • Differentiate the unwrapped phase. The $2\pi$ jumps in a plotted phase are only the wrap-around of arctan, not real change, and must not be differentiated.用展開後的相位計算。圖上相位的 $2\pi$ 跳躍只是 arctan 的折返,不是真的變化,不能拿去微分。アンラップした位相を微分する。グラフ上の位相の $2\pi$ の跳びは arctan の折り返しにすぎず、本当の変化ではないので、微分してはならない。
  • A zero exactly on the unit circle (e.g. $r = 1$ in Example II) makes the phase jump by $\pi$ there, so $\tau_g$ is undefined at that one frequency and normal everywhere else.零點剛好在單位圓上時(例如 Example II 的 $r = 1$),相位在該點跳 $\pi$,群延遲在那一點沒有定義,其他頻率則正常。零点がちょうど単位円上にあるとき(例 II の $r = 1$ など)は、そこで位相が $\pi$ 跳ぶので、その一つの周波数で $\tau_g$ は定義されず、ほかの周波数では普通に定まる。

Slides 34–36 — the modulated carrier and its two phase shifts第 34 到 36 頁:調變載波與兩種相移スライド 34–36:変調された搬送波と二種類の位相のずれ

Why a modulated carrier. The conclusion of §10.3.1 was that a single sinusoid has no time marker, so its phase delay is ambiguous. To really measure “how long the signal is delayed” we need a signal with a feature we can follow.為什麼要用調變載波。§10.3.1 的結論是:單一正弦波沒有時間標記,所以相位延遲有歧義。要真正量測「訊號延遲多久」,需要一個有特徵、可以追蹤的訊號。なぜ変調された搬送波を使うのか。§10.3.1 の結論は、単一の正弦波には時刻の目印がないので位相遅延があいまいになる、というものだった。「信号がどれだけ遅れるか」を本当に測るには、追跡できる特徴をもつ信号が必要である。

The simplest choice is amplitude modulation (AM):最簡單的選擇是振幅調變(AM):最も簡単な選択は振幅変調(AM)である。

$$x[n] = A[n]\cos(\omega_c n),\qquad A[n] = A\cos(\omega_m n),\qquad \omega_m \ll \omega_c$$

In the figure of slide 34 the fast blue oscillation is the carrier and the slowly varying red dashed curve is the envelope. The envelope's period $2\pi/\omega_m$ is much longer than the carrier's, so its crest is a clear time marker: see when the output envelope's crest turns up and you know how long the signal was delayed.第 34 頁的圖中,藍色是快速振盪的載波(carrier),紅色虛線是緩慢變化的包絡(envelope)。包絡的週期是 $2\pi/\omega_m$,比載波長很多,所以它的波峰就是一個清楚的時間標記:看輸出包絡的波峰出現在什麼時候,就知道訊號延遲了多久。スライド 34 の図では、速く振動する青が搬送波(carrier)、ゆっくり変化する赤の破線が包絡線(envelope)である。包絡線の周期 $2\pi/\omega_m$ は搬送波よりずっと長いので、その山ははっきりした時刻の目印になる。出力の包絡線の山がいつ現れるかを見れば、信号がどれだけ遅れたかがわかる。

This is not just a teaching example. Real communication and speech signals almost all have this form: a high-frequency carrier, or a band, carrying slowly varying information. The information is in the envelope, not in each crest of the carrier.這不只是教學用的例子。實際的通訊和語音訊號幾乎都是這種形式:一個高頻載波,或一段頻帶,上面承載著緩慢變化的資訊。資訊在包絡裡,不在載波的每個波峰裡。これは単なる教材用の例ではない。実際の通信信号や音声信号はほとんどがこの形をしている。高周波の搬送波、あるいは一つの帯域の上に、ゆっくり変化する情報が乗っている。情報は包絡線の中にあり、搬送波の一つひとつの山にあるのではない。

The spectrum: two lines. Slide 35 splits the signal with the product-to-sum identity:頻譜:兩條線。第 35 頁用積化和差把訊號拆開:スペクトル:2 本の線。スライド 35 は積和公式で信号を分解する。

$$x[n] = A\cos(\omega_m n)\cos(\omega_c n) = \frac{A}{2}\Big[\cos\big((\omega_c - \omega_m)n\big) + \cos\big((\omega_c + \omega_m)n\big)\Big]$$

In the frequency domain these are two spectral lines on either side of $\omega_c$, $\omega_m$ away from it (the small plot at the top right of the slide): the lower and the upper sideband.在頻域中,這是 $\omega_c$ 兩側、相距 $\omega_m$ 的兩條譜線(投影片右上角的小圖),分別稱為下邊帶和上邊帶。周波数領域では、$\omega_c$ の両側に $\omega_m$ 離れて立つ 2 本のスペクトル線(スライド右上の小さな図)であり、それぞれ下側波帯、上側波帯と呼ばれる。

This step is the key: the modulated signal is just a sum of two sinusoids. And we already know what a system does to a single sinusoid: multiply by the gain, add the phase shift.這一步很關鍵:調變訊號只是兩個正弦波的和。而我們已經知道系統對單一正弦波做什麼:乘上增益、加上相移。この一歩が鍵である。変調信号は二つの正弦波の和にすぎない。そしてシステムが単一の正弦波に何をするかはもうわかっている。利得を掛け、位相のずれを加えるだけである。

Through the system. Each sinusoid passes through on its own:通過系統。兩個正弦波各自通過系統:システムを通す。二つの正弦波はそれぞれ別々にシステムを通る。

$$y[n] = \frac{A}{2}\Big[\big|H(e^{j(\omega_c-\omega_m)})\big|\cos\big((\omega_c-\omega_m)n + \theta_l\big) + \big|H(e^{j(\omega_c+\omega_m)})\big|\cos\big((\omega_c+\omega_m)n + \theta_u\big)\Big]$$

with $\theta_l = \theta(\omega_c - \omega_m)$ and $\theta_u = \theta(\omega_c + \omega_m)$. The slide's $H(\cdot)\cos(\cdot)$ is shorthand for “multiply by the magnitude, add the phase”.其中 $\theta_l = \theta(\omega_c - \omega_m)$,$\theta_u = \theta(\omega_c + \omega_m)$。投影片寫成 $H(\cdot)\cos(\cdot)$ 是簡寫,意思就是「乘上大小、加上相位」。ここで $\theta_l = \theta(\omega_c - \omega_m)$、$\theta_u = \theta(\omega_c + \omega_m)$ である。スライドの $H(\cdot)\cos(\cdot)$ は略記であり、「大きさを掛け、位相を加える」という意味である。

The slide then assumes $|H| \approx 1$. The assumption is there to separate the effect of the magnitude from that of the phase: if the two lines got different gains the depth of the envelope would change, and that is amplitude distortion, not the subject here. Under the assumption only the phase is left:投影片接著假設 $|H| \approx 1$。這個假設是為了把大小的影響和相位的影響分開:如果兩條譜線的增益不同,包絡的深度會改變,那是振幅失真,不是這裡要討論的。在這個假設下,只剩相位:スライドは続いて $|H| \approx 1$ と仮定する。この仮定は大きさの影響と位相の影響を切り分けるためのものである。2 本の線の利得が違えば包絡線の深さが変わるが、それは振幅歪みであり、ここでの話題ではない。この仮定のもとでは位相だけが残る。

$$y[n] = \frac{A}{2}\Big[\cos\big((\omega_c-\omega_m)n + \theta_l\big) + \cos\big((\omega_c+\omega_m)n + \theta_u\big)\Big]$$

Recombining: sum-to-product. Slide 36 turns the two terms back into a product with重新組合:和差化積。第 36 頁用和差化積公式把兩項合回乘積形式:組み立て直す:和積公式。スライド 36 は和積公式で二つの項を積の形に戻す。

$$\cos a + \cos b = 2\cos\frac{a+b}{2}\cos\frac{a-b}{2}$$

Let $a = (\omega_c + \omega_m)n + \theta_u$ and $b = (\omega_c - \omega_m)n + \theta_l$:令 $a = (\omega_c + \omega_m)n + \theta_u$,$b = (\omega_c - \omega_m)n + \theta_l$:$a = (\omega_c + \omega_m)n + \theta_u$、$b = (\omega_c - \omega_m)n + \theta_l$ とおく。

$$\frac{a+b}{2} = \omega_c n + \frac{\theta_u + \theta_l}{2},\qquad \frac{a-b}{2} = \omega_m n + \frac{\theta_u - \theta_l}{2}$$

The leading $\frac{A}{2}$ times the 2 of the identity is exactly $A$:前面的 $\frac{A}{2}$ 乘上公式中的 2,剛好是 $A$:前の $\frac{A}{2}$ に公式の 2 を掛けると、ちょうど $A$ になる。

$$y[n] = A\,\underbrace{\cos\Big(\omega_c n + \frac{\theta_u + \theta_l}{2}\Big)}_{\text{carrier}}\cdot\underbrace{\cos\Big(\omega_m n + \frac{\theta_u - \theta_l}{2}\Big)}_{\text{envelope}}$$$$y[n] = A\,\underbrace{\cos\Big(\omega_c n + \frac{\theta_u + \theta_l}{2}\Big)}_{\text{載波}}\cdot\underbrace{\cos\Big(\omega_m n + \frac{\theta_u - \theta_l}{2}\Big)}_{\text{包絡}}$$$$y[n] = A\,\underbrace{\cos\Big(\omega_c n + \frac{\theta_u + \theta_l}{2}\Big)}_{\text{搬送波}}\cdot\underbrace{\cos\Big(\omega_m n + \frac{\theta_u - \theta_l}{2}\Big)}_{\text{包絡線}}$$

The output is still “carrier times envelope”, the same shape as the input, but the two parts get different phase shifts:輸出仍然是「載波乘上包絡」,形狀和輸入一樣,但兩者各自得到不同的相移:出力はやはり「搬送波 × 包絡線」で入力と同じ形をしているが、両者はそれぞれ異なる位相のずれを受ける。

What the result means. This is the most important observation of the whole topic: the envelope cares only about the difference in phase between the two frequencies, not about the size of the phase itself.這個結果的意義。這是整個主題中最重要的觀察:包絡只在乎兩個頻率之間的相位「差」,不在乎相位本身的大小。この結果の意味。これがこの話題全体で最も重要な観察である。包絡線が気にするのは二つの周波数の間の位相の「差」だけであり、位相そのものの大きさは関係ない。

If the system adds the same phase to both frequencies — say $\pi/2$ to each — then $\theta_u - \theta_l$ is unchanged, the envelope is untouched and only the carrier moves. Conversely, as soon as the phases at the two frequencies differ, the envelope is shifted.如果系統讓兩個頻率都多了同一個相位,例如都加上 $\pi/2$,那麼 $\theta_u - \theta_l$ 不變,包絡完全不受影響,只有載波被移動。反過來說,只要兩個頻率的相位有差異,包絡就會被平移。システムが二つの周波数に同じ位相、たとえばどちらにも $\pi/2$ を加えるなら、$\theta_u - \theta_l$ は変わらず、包絡線はまったく影響を受けず、動くのは搬送波だけである。逆に、二つの周波数の位相に差があれば、包絡線はずらされる。

This echoes exactly what was said before: the group delay is the rate at which the steady-state phase shift differs from one frequency to the next. Slide 36 is the full derivation of that sentence.這正好呼應我們先前討論過的:群延遲是穩態相移在不同頻率之間的差異率。第 36 頁就是這句話的完整推導。これは前に述べたことにちょうど対応する。群遅延とは、定常状態の位相のずれが周波数ごとに異なる割合である。スライド 36 はこの一文の完全な導出である。

Slide 37 — local linearity and the group-delay formula第 37 頁:局部線性與群延遲公式スライド 37:局所的な線形性と群遅延の式

Taylor expansion. If $\omega_m$ is small, both lines sit close to $\omega_c$, and over such a short range $\theta(\omega)$ can be approximated by a straight line:泰勒展開。如果 $\omega_m$ 很小,兩條譜線都很靠近 $\omega_c$,在這麼小的範圍內,$\theta(\omega)$ 可以近似成直線:テイラー展開。$\omega_m$ が小さければ 2 本の線はどちらも $\omega_c$ のすぐ近くにあり、その狭い範囲では $\theta(\omega)$ を直線で近似できる。

$$\theta(\omega_c + \Delta\omega) \approx \theta(\omega_c) + S\,\Delta\omega,\qquad S = \left.\frac{d\theta}{d\omega}\right|_{\omega = \omega_c}$$

Substituting $\Delta\omega = \pm\omega_m$:代入 $\Delta\omega = \pm\omega_m$:$\Delta\omega = \pm\omega_m$ を代入する。

$$\theta_l \approx \theta(\omega_c) - S\omega_m,\qquad \theta_u \approx \theta(\omega_c) + S\omega_m$$

The carrier gives the phase delay.載波:得到相位延遲。搬送波からは位相遅延が得られる。

$$\frac{\theta_u + \theta_l}{2} = \theta(\omega_c)$$

The $S\omega_m$ terms cancel, the carrier's phase shift is $\theta(\omega_c)$ itself, and the corresponding delay is precisely the phase delay of slide 32:$S\omega_m$ 正負抵消,載波的相移就是 $\theta(\omega_c)$ 本身,對應的延遲正是第 32 頁的相位延遲:$S\omega_m$ は正負で打ち消し合い、搬送波の位相のずれは $\theta(\omega_c)$ そのものになる。対応する遅延はまさにスライド 32 の位相遅延である。

$$\tau_p(\omega_c) = -\frac{\theta(\omega_c)}{\omega_c}$$

The envelope gives the group delay.包絡:得到群延遲。包絡線からは群遅延が得られる。

$$\frac{\theta_u - \theta_l}{2} = S\,\omega_m$$

The envelope becomes包絡變成:包絡線は次のようになる。

$$\cos(\omega_m n + S\omega_m) = \cos\big(\omega_m(n + S)\big) = \cos\big(\omega_m(n - \tau_g)\big)$$

so the envelope is delayed by所以包絡被延遲:したがって包絡線の遅れは

$$\tau_g(\omega_c) = -S = -\left.\frac{d\theta}{d\omega}\right|_{\omega = \omega_c}$$

— which is the definition of the group delay.這就是群延遲的定義。であり、これが群遅延の定義である。

An easily missed point: $\omega_m$ has disappeared. Note that $\tau_g = -S$ contains no $\omega_m$. As long as local linearity holds, the delay is the same no matter how fast or slowly the envelope varies.一個容易忽略的重點:$\omega_m$ 消失了。注意 $\tau_g = -S$ 裡沒有 $\omega_m$。只要局部線性成立,不論包絡變化多快或多慢,延遲都一樣。見落としやすい点:$\omega_m$ が消えた。$\tau_g = -S$ には $\omega_m$ が含まれていないことに注意しよう。局所的な線形性が成り立つかぎり、包絡線がどれほど速く、あるいは遅く変化しても、遅延は同じである。

This matters. A real envelope is not a single cosine; it is made of many different $\omega_m$ (its Fourier decomposition). Since every component is delayed by the same $\tau_g$, the whole envelope is shifted intact and keeps its shape. So the group delay is a property of the system near $\omega_c$, not a property of a particular signal.這很重要。真實的包絡不只是一個餘弦,而是由許多不同的 $\omega_m$ 組成(傅立葉分解)。既然每個成分都被延遲同樣的 $\tau_g$,整個包絡就被完整地平移,形狀不變。所以群延遲是系統在 $\omega_c$ 附近的性質,不是特定訊號的性質。これは重要である。現実の包絡線は一つの余弦ではなく、多くの異なる $\omega_m$ からなる(フーリエ分解)。どの成分も同じ $\tau_g$ だけ遅れるのだから、包絡線全体はそのまま平行移動し、形は変わらない。したがって群遅延は$\omega_c$ 付近におけるシステムの性質であり、特定の信号の性質ではない。

Conversely, if $\theta(\omega)$ is not a straight line across the signal's bandwidth, different $\omega_m$ get different delays and the shape of the envelope is destroyed. This sets up the last sentence of slide 38.反過來說,如果 $\theta(\omega)$ 在訊號頻寬內不是直線,不同的 $\omega_m$ 就會得到不同的延遲,包絡形狀就會被破壞。這是第 38 頁最後一句話的伏筆。逆に、$\theta(\omega)$ が信号の帯域幅の中で直線でなければ、異なる $\omega_m$ は異なる遅延を受け、包絡線の形は壊れる。これがスライド 38 の最後の一文への伏線である。

Interactive: a modulated carrier through an allpass filter. To match the slide's $|H| \approx 1$ assumption exactly, the figure below uses a second-order allpass filter: poles at $\rho e^{\pm j1.2}$, zeros at the conjugate-reciprocal positions. Its $|H|$ is exactly 1 at every frequency; only the phase changes, so everything you see comes from the phase alone.互動圖:調變載波通過全通濾波器。為了完全符合投影片 $|H| \approx 1$ 的假設,下面用二階全通濾波器(allpass):極點在 $\rho e^{\pm j1.2}$,零點在共軛倒數位置。它的 $|H|$ 在所有頻率都精確等於 1,只改變相位,所以看到的效果純粹來自相位。インタラクティブ:全域通過フィルタを通る変調された搬送波。スライドの $|H| \approx 1$ の仮定に正確に合わせるため、下の図では2 次の全域通過フィルタ(allpass)を使う。極は $\rho e^{\pm j1.2}$、零点は共役逆数の位置にある。その $|H|$ はすべての周波数で厳密に 1 であり、変わるのは位相だけなので、見える効果は純粋に位相から来ている。

Near the resonance at 1.2 the phase changes fast, so the group delay is large; the phase itself is not large there, so the phase delay is small. This is a case where the two differ clearly.在共振頻率 1.2 附近,相位變化很快,群延遲很大;而相位本身的大小不大,所以相位延遲較小。這正是兩者明顯不同的情況。共振周波数 1.2 の付近では位相が急に変わるので群遅延は大きいが、位相そのものはそれほど大きくないので位相遅延は小さい。両者がはっきり異なる場面である。

Try these in order:建議依序嘗試:次の順に試してみるとよい。

  1. The defaults ($\omega_c = 1.2$, carrier right on the resonance). In the four number cards the formulas and the measurements agree almost exactly: a group delay of about 19 samples, a phase delay of only about 3. In the time-domain plot the red envelope clearly lags the grey one, but after pressing “zoom” you find the blue carrier has moved only a little relative to the grey one. This is the upper figure of slide 38: a small carrier delay and a large envelope delay — the carrier “slides” inside the envelope.預設值($\omega_c = 1.2$,載波剛好在共振頻率)。四張數字卡中,公式和實測的結果幾乎一致:群延遲約 19 個樣本,相位延遲只有約 3 個樣本。下方時域圖中,紅色包絡虛線明顯落後灰色包絡,但按「放大」後會發現,藍色載波相對於灰色載波只移動了一點點。這就是第 38 頁上方那張圖:載波延遲小、包絡延遲大,載波在包絡裡「滑動」。初期値($\omega_c = 1.2$、搬送波がちょうど共振周波数にある)。四つの数値カードでは、式と実測がほぼ一致する。群遅延は約 19 サンプル、位相遅延はわずか約 3 サンプルである。下の時間領域の図では、赤の包絡線の破線が灰色の包絡線よりはっきり遅れているが、「拡大」を押すと、青の搬送波は灰色の搬送波に対して少ししか動いていないことがわかる。これがスライド 38 の上の図である。搬送波の遅れは小さく、包絡線の遅れは大きい。搬送波が包絡線の中を「すべって」いく。
  2. Move $\omega_c$ to 2.5 (away from the resonance). The phase curve is nearly straight there, the tangent and the chord have similar slopes, and $\tau_p$ and $\tau_g$ both shrink and come close to each other.把 $\omega_c$ 移到 2.5(遠離共振)。相位曲線在這附近接近直線,切線和原點連線的斜率差不多,$\tau_p$ 和 $\tau_g$ 都變小,而且彼此接近。$\omega_c$ を 2.5 に移す(共振から離れる)。このあたりでは位相曲線はほぼ直線で、接線と原点からの弦の傾きはほぼ同じになり、$\tau_p$ も $\tau_g$ も小さくなり、互いに近づく。
  3. Pull $\rho$ from 0.9 up to 0.97. The resonance sharpens, the phase near 1.2 becomes almost a step, and the peak group delay exceeds 60 samples. This agrees with what we saw before: the closer the poles are to the unit circle, the larger the group delay and the longer the transient ringing.把 $\rho$ 從 0.9 拉到 0.97。共振變得更尖銳,相位在 1.2 附近幾乎呈階梯狀,群延遲峰值超過 60 個樣本。這和之前討論的一致:極點越靠近單位圓,群延遲越大,暫態振鈴也越長。$\rho$ を 0.9 から 0.97 に上げる。共振が鋭くなり、1.2 付近の位相はほとんど階段状になり、群遅延のピークは 60 サンプルを超える。これは前に見たことと一致する。極が単位円に近いほど群遅延は大きく、過渡的なリンギングも長くなる。
  4. At $\omega_c = 1.2$, raise $\omega_m$ to 0.15. The two green dots separate and leave the linear region of the phase curve. “envelope, measured” starts to depart from “$\tau_g$ formula”, because the local-linear approximation no longer holds. The envelope of a two-line signal is still a cosine, so its shape does not break, but the amount of delay is no longer $\tau_g(\omega_c)$. The phase-distortion walk-through in §10.3.3 shows what happens when the envelope has many frequency components.在 $\omega_c = 1.2$ 時把 $\omega_m$ 拉大到 0.15。兩個綠點分開,離開了相位曲線的線性區。「包絡實測」開始偏離「$\tau_g$ 公式」,因為局部線性近似不再成立。兩譜線訊號的包絡仍然是餘弦,所以形狀不會壞,但延遲量已經不等於 $\tau_g(\omega_c)$。§10.3.3 的相位失真導讀會看到,包絡含有多個頻率成分時會發生什麼事。$\omega_c = 1.2$ のまま $\omega_m$ を 0.15 に上げる。二つの緑の点が離れ、位相曲線の線形な領域から出る。局所線形近似が成り立たなくなるので、「包絡線の実測」は「$\tau_g$ の式」からずれ始める。2 本線の信号の包絡線はやはり余弦なので形は壊れないが、遅延量はもはや $\tau_g(\omega_c)$ に等しくない。包絡線が多くの周波数成分を含むと何が起こるかは、§10.3.3 の位相歪みの読み解きで見る。
τp(ωc) formulaτp(ωc) 公式τp(ωc) の式
carrier, measured −(θu+θl)/2ωc載波實測 −(θu+θl)/2ωc搬送波の実測 −(θu+θl)/2ωc
τg(ωc) formulaτg(ωc) 公式τg(ωc) の式
envelope, measured −(θu−θl)/2ωm包絡實測 −(θu−θl)/2ωm包絡線の実測 −(θu−θl)/2ωm
phase delay / chord / output相位延遲/原點連線/輸出位相遅延/原点からの弦/出力 group delay / tangent / output envelope群延遲/切線/輸出包絡群遅延/接線/出力の包絡線 input and input envelope輸入與輸入包絡入力と入力の包絡線
Interactive — the AM test signal $\cos(\omega_m n)\cos(\omega_c n)$ through the second-order allpass $H(z) = \dfrac{\rho^2 - 2\rho\cos\phi\,z^{-1} + z^{-2}}{1 - 2\rho\cos\phi\,z^{-1} + \rho^2 z^{-2}}$, $\phi = 1.2$, for which $|H| \equiv 1$. The output is built from the two side lines with the exact phases $\theta_l$, $\theta_u$ of the unwrapped phase, so the “measured” cards involve no Taylor approximation; the “formula” cards are $\tau_p = -\theta(\omega_c)/\omega_c$ and the closed-form $\tau_g(\omega_c)$.互動圖 — AM 測試訊號 $\cos(\omega_m n)\cos(\omega_c n)$ 通過二階全通濾波器 $H(z) = \dfrac{\rho^2 - 2\rho\cos\phi\,z^{-1} + z^{-2}}{1 - 2\rho\cos\phi\,z^{-1} + \rho^2 z^{-2}}$,$\phi = 1.2$,$|H| \equiv 1$。輸出由兩條邊帶譜線以展開相位的精確值 $\theta_l$、$\theta_u$ 組成,所以「實測」卡片不含泰勒近似;「公式」卡片是 $\tau_p = -\theta(\omega_c)/\omega_c$ 與 $\tau_g(\omega_c)$ 的閉合式。インタラクティブ — AM テスト信号 $\cos(\omega_m n)\cos(\omega_c n)$ を 2 次の全域通過フィルタ $H(z) = \dfrac{\rho^2 - 2\rho\cos\phi\,z^{-1} + z^{-2}}{1 - 2\rho\cos\phi\,z^{-1} + \rho^2 z^{-2}}$($\phi = 1.2$、$|H| \equiv 1$)に通す。出力は 2 本の側波帯の線をアンラップ位相の正確な値 $\theta_l$、$\theta_u$ で組み立てたものなので、「実測」のカードにはテイラー近似が入っていない。「式」のカードは $\tau_p = -\theta(\omega_c)/\omega_c$ と $\tau_g(\omega_c)$ の閉じた式である。

Slide 38 — the two delays in one picture第 38 頁:圖解兩種延遲スライド 38:二つの遅延を図で見る

Chord and tangent. The lower figure of slide 38 is the most intuitive way to understand the two delays:割線與切線。第 38 頁下方的圖是理解兩種延遲最直觀的方式:弦と接線。スライド 38 の下の図は、二つの遅延を理解するいちばん直観的な方法である。

$$\tau_p(\omega_c) = -\frac{\theta(\omega_c) - 0}{\omega_c - 0},\qquad \tau_g(\omega_c) = -\left.\frac{d\theta}{d\omega}\right|_{\omega_c}$$

In the slide's figure the red tangent is steeper than the blue chord, so $\tau_g \gt \tau_p$, matching the upper time-domain figure where the red arrow (envelope delay) is longer than the blue one (carrier delay). It is exactly what the interactive figure above shows at $\omega_c = 1.2$.投影片的圖中,紅色切線比藍色割線陡,所以 $\tau_g \gt \tau_p$,對應上方時域圖中紅色箭頭(包絡延遲)比藍色箭頭(載波延遲)長。這正是前一個互動圖在 $\omega_c = 1.2$ 時看到的情況。スライドの図では赤の接線が青の弦より急なので $\tau_g \gt \tau_p$ であり、上の時間領域の図で赤の矢印(包絡線の遅延)が青の矢印(搬送波の遅延)より長いことに対応する。上のインタラクティブな図で $\omega_c = 1.2$ のときに見えたのがまさにこれである。

How the two are related. From $\theta(\omega) = -\omega\,\tau_p(\omega)$, differentiate with respect to $\omega$:兩者的數學關係。由 $\theta(\omega) = -\omega\,\tau_p(\omega)$,對 $\omega$ 微分:両者の関係。$\theta(\omega) = -\omega\,\tau_p(\omega)$ を $\omega$ で微分する。

$$\frac{d\theta}{d\omega} = -\tau_p - \omega\frac{d\tau_p}{d\omega} \;\Rightarrow\; \tau_g = \tau_p + \omega\frac{d\tau_p}{d\omega}$$

So $\tau_g = \tau_p$ if and only if $\tau_p$ does not change with frequency, i.e. the phase is a straight line through the origin.所以 $\tau_g = \tau_p$ 若且唯若 $\tau_p$ 不隨頻率改變,也就是相位是一條通過原點的直線。したがって $\tau_g = \tau_p$ となるのは $\tau_p$ が周波数によって変わらないとき、かつそのときに限る。つまり位相が原点を通る直線のときである。

Three cases.三種情況。三つの場合。

Form of the phase相位形式位相の形Examples例子例τpτgOutput輸出出力
$\theta = -\omega n_0$ (a line through the origin)$\theta = -\omega n_0$(過原點的直線)$\theta = -\omega n_0$(原点を通る直線)pure delay; symmetric FIR where $A \gt 0$純延遲、對稱 FIR 在 $A \gt 0$ 區域純粋な遅延、$A \gt 0$ の領域の対称 FIR$n_0$$n_0$the whole waveform is shifted, completely undistorted整個波形平移,完全不變形波形全体が平行移動し、まったく歪まない
$\theta = -\omega n_0 + c$ (a line not through the origin)$\theta = -\omega n_0 + c$(不過原點的直線)$\theta = -\omega n_0 + c$(原点を通らない直線)the 3-point filter for $\omega \gt 0.4$ ($c = \pi$); the Hilbert transformer ($c = -\pi/2$)3 點濾波器在 $\omega \gt 0.4$($c = \pi$)、Hilbert 轉換器($c = -\pi/2$)$\omega \gt 0.4$ の 3 点フィルタ($c = \pi$)、ヒルベルト変換器($c = -\pi/2$)$n_0 - c/\omega$$n_0$the envelope is shifted intact; the carrier gets an extra fixed phase relative to the envelope包絡完整平移;載波相對包絡多了固定相移包絡線はそのまま平行移動し、搬送波は包絡線に対して一定の位相のずれを余分に受ける
$\theta$ not a straight lineθ 不是直線θ が直線でないIIR filters, allpass filtersIIR 濾波器、全通濾波器IIR フィルタ、全域通過フィルタvaries with ω隨 ω 變化ω とともに変わるvaries with ω隨 ω 變化ω とともに変わるthe envelope may be deformed (phase distortion)包絡可能變形(相位失真)包絡線が変形しうる(位相歪み)

The second case deserves attention. The envelope is not distorted at all, because the group delay is constant, but the relative position of carrier and envelope changes. For signals whose information is in the envelope, such as AM or speech, that has no effect whatsoever, so the second case is treated as linear phase just like the first — strictly, generalized linear phase. This also explains the earlier question of why the 3-point filter still counts as linear phase although its phase jumps by $\pi$ at $\omega = 0.4$.第二種情況特別值得注意。包絡完全不失真,因為群延遲是常數,但載波和包絡的相對位置改變了。對 AM 或語音這類「資訊在包絡」的訊號,這完全沒有影響,所以第二種情況和第一種一樣,都被視為線性相位,嚴格稱為廣義線性相位。這也解釋了先前的問題:3 點濾波器在 $\omega \gt 0.4$ 處相位跳 $\pi$,為什麼仍然算線性相位。二番目の場合は特に注目に値する。群遅延が一定なので包絡線はまったく歪まないが、搬送波と包絡線の相対的な位置は変わる。AM や音声のように「情報が包絡線にある」信号にとってはまったく影響がないので、二番目の場合も一番目と同じく線形位相とみなされ、厳密には一般化線形位相と呼ばれる。3 点フィルタの位相が $\omega = 0.4$ で $\pi$ 跳ぶのに、なぜ線形位相とみなされるのかという先の問いも、これで説明がつく。

10.3.3 Phase Distortion10.3.3 相位失真10.3.3 位相歪み

If $\theta(\omega)$ is not linear across the band occupied by $A[n]$, different envelope frequencies suffer different delays and the envelope is smeared — phase distortion(相位失真). The lecture closes with a striking example, worked through in full at the end of this subsection: a signal made of three pulse bursts at different carrier frequencies passes through a system whose group delay differs by some 140 samples between two of those bands — at the output the bursts come out in the opposite order, and nothing in the magnitude response hints that they would.若 $\theta(\omega)$ 在 $A[n]$ 所佔的頻帶上不是線性的,不同的包絡頻率就會承受不同的延遲,包絡因而被塗抹開來——這就是相位失真。投影片以一個很鮮明的例子收尾,本小節最後會完整推演一遍:一個由三段不同載波頻率的脈衝所組成的訊號,通過一個在其中兩個頻帶之間群延遲相差約 140 個樣本的系統——輸出端的脈衝以相反的順序出場,而大小響應完全看不出這件事會發生。$\theta(\omega)$ が $A[n]$ の占める帯域にわたって線形でない場合、包絡線の周波数ごとに遅れが異なり、包絡線はにじんでしまう。これが位相歪みである。講義は印象的な例で締めくくられる。本小節の最後で最後まで追う例である。搬送波周波数の異なる三つのパルスからなる信号を、そのうち二つの帯域のあいだで群遅延がおよそ 140 サンプルも違うシステムに通す。出力ではパルスが逆の順序で出てきて、そうなることは振幅応答からはまったく読み取れない。

Warning — flat magnitude does not mean distortion-free注意 — 振幅平坦不代表沒有失真注意 — 振幅が平坦でも歪みがないとはかぎらない
A system can have $|H(e^{j\omega})| \equiv 1$ (all-pass, next section) and still mangle a waveform badly through its nonlinear phase. Checking only the magnitude response is a classic exam (and engineering) trap. Distortionless transmission requires both constant magnitude and linear phase over the signal band.一個系統可以有 $|H(e^{j\omega})| \equiv 1$(全通,見下一節),卻仍然用它的非線性相位把波形弄得面目全非。只檢查振幅響應,是考試(以及工程)上的經典陷阱。無失真傳輸要求在訊號頻帶上同時具備常數振幅與線性相位。$|H(e^{j\omega})| \equiv 1$(全域通過、次節)であっても、非線形な位相によって波形をひどく崩してしまうシステムはありうる。振幅応答だけを確かめるのは、試験でも(そして工学でも)古典的な落とし穴である。無歪み伝送には、信号帯域にわたって一定の振幅と線形な位相の両方が要る。
直觀解釋(點擊展開)
把 $\theta(\omega)$ 想成「每個頻率的出發時刻表」。$\tau_p$ 是某一班車(單一頻率)誤點多久;$\tau_g$ 是「一群班車」(一個窄頻帶,承載包絡訊息)整體誤點多久。若時刻表是一條直線(線性相位),所有班車誤點相同,乘客(波形)完好抵達;若是彎曲的(非線性相位),不同班車誤點不一,整個訊號的形狀就被拉扯變形——即使每班車的「載客量」(振幅)完全沒變。

Phase distortion — when θ(ω) is not a straight line across the signal band相位失真:當 θ(ω) 在訊號頻帶內不是直線位相歪み — θ(ω) が信号の帯域内で直線でないとき

From two lines to a real signal. The last sentence of slide 38: “If θ(ω) is not linear around ωc, A[n] suffers phase distortion → correction…”從兩條譜線到真實訊號。第 38 頁最後一句:「If θ(ω) is not linear around ωc, A[n] suffers phase distortion → correction…」2 本の線から現実の信号へ。スライド 38 の最後の一文:「If θ(ω) is not linear around ωc, A[n] suffers phase distortion → correction…」

In the two-line analysis of §10.3.2 the envelope had a single frequency $\omega_m$; whatever the system, the output envelope was still a cosine, at most with a different amount of delay. A real envelope is far more complicated — a pulse, a syllable of speech, a digital symbol. Its spectrum occupies a bandwidth $B$ around $\omega_c$ and can be thought of as many pairs of lines with different $\omega_m$ stacked together.§10.3.2 的兩譜線分析中,包絡只有一個頻率 $\omega_m$,不論系統如何,輸出包絡都還是一個餘弦,最多只是延遲量不同。真實的包絡則複雜得多,例如一個脈衝、一個語音音節、一個數位符號。它的頻譜在 $\omega_c$ 附近佔據一段頻寬 $B$,可以想成很多對不同 $\omega_m$ 的譜線疊加。§10.3.2 の 2 本線の解析では包絡線の周波数は $\omega_m$ 一つだけで、システムが何であれ出力の包絡線は余弦のままであり、違うのはせいぜい遅延量だけだった。現実の包絡線はずっと複雑で、たとえば一つのパルス、音声の一音節、一つのディジタル符号である。そのスペクトルは $\omega_c$ のまわりに帯域幅 $B$ を占め、異なる $\omega_m$ をもつ多くの線の対が重なったものと考えられる。

Most noteworthy: even if $|H| = 1$ at every frequency, the signal can still be badly deformed. A flat magnitude response does not mean the waveform is preserved.最值得注意的是:即使 $|H|$ 在所有頻率都等於 1,訊號仍然可能嚴重變形。大小響應平坦,不代表波形會被保留。最も注目すべきは、すべての周波数で $|H| = 1$ であっても、信号はなお大きく変形しうるということである。振幅応答が平坦だからといって、波形が保たれるわけではない。

Judging how bad the distortion is. A practical criterion compares two quantities:失真程度的判斷。一個實用的判斷標準是比較兩個量:歪みの程度の見積もり。実用的な目安は二つの量を比べることである。

If $\Delta\tau_g$ is much smaller than the envelope's width, the misalignment between components is negligible and the envelope hardly changes shape. If $\Delta\tau_g$ is comparable to the width or larger, the distortion is obvious.如果 $\Delta\tau_g$ 遠小於包絡寬度,不同成分之間的錯開微不足道,包絡幾乎不變形。如果 $\Delta\tau_g$ 和包絡寬度差不多或更大,失真就很明顯。$\Delta\tau_g$ が包絡線の幅よりずっと小さければ、成分どうしのずれは無視でき、包絡線はほとんど変形しない。$\Delta\tau_g$ が包絡線の幅と同程度かそれ以上なら、歪みははっきり現れる。

This brings out an important trade-off: the narrower (shorter) the envelope, the wider its bandwidth, the more $\tau_g$ variation it covers, and the more easily it is distorted.這帶出一個重要的取捨:包絡越窄(越短促),頻寬越寬,涵蓋的 $\tau_g$ 變化越多,越容易失真。ここから重要なトレードオフが出てくる。包絡線が狭い(短い)ほど帯域幅は広くなり、覆う $\tau_g$ の変化が大きくなり、歪みやすくなる。

Interactive: a Gaussian pulse through the allpass filter. The input is a Gaussian envelope times a carrier,互動圖:高斯脈衝通過全通濾波器。輸入是高斯包絡乘上載波:インタラクティブ:全域通過フィルタを通るガウスパルス。入力はガウス形の包絡線に搬送波を掛けたものである。

$$x[n] = e^{-\frac{1}{2}\left(\frac{n - n_0}{\sigma}\right)^2}\cos\big(\omega_c(n - n_0)\big)$$

$\sigma$ is the envelope width, and the bandwidth is roughly $1/\sigma$. The system is still the allpass of §10.3.2, but this time the output is computed sample by sample from the difference equation, with no approximation at all:$\sigma$ 是包絡寬度,頻寬約為 $1/\sigma$。系統仍是 §10.3.2 的全通濾波器,這次直接用差分方程逐點計算輸出,不使用任何近似:$\sigma$ は包絡線の幅で、帯域幅はおよそ $1/\sigma$ である。システムは §10.3.2 と同じ全域通過フィルタだが、今回は差分方程式から出力を一点ずつ計算し、近似は一切使わない。

$$y[n] = 2\rho\cos\phi\,y[n-1] - \rho^2 y[n-2] + \rho^2 x[n] - 2\rho\cos\phi\,x[n-1] + x[n-2]$$

The red dashed line is the “ideal result”: the input envelope shifted by $\tau_g(\omega_c)$. If the output hugs the red dashed line, the envelope has survived intact; if it does not, that is phase distortion.紅色虛線是「理想結果」:把輸入包絡平移 $\tau_g(\omega_c)$。如果輸出貼合紅色虛線,代表包絡完整保留;如果不貼合,就是相位失真。赤の破線は「理想的な結果」、すなわち入力の包絡線を $\tau_g(\omega_c)$ だけずらしたものである。出力が赤の破線にぴったり沿えば包絡線はそのまま保たれており、沿わなければそれが位相歪みである。

Try the three buttons in order:建議依序嘗試三個按鈕:三つのボタンを順に試してみるとよい。

  1. Narrowband pulse ($\sigma = 45$). The envelope is wide and the bandwidth narrow; it covers only a tiny piece at the top of the $\tau_g$ curve, which is nearly straight. The blue output fits the red dashed line almost perfectly: the whole pulse is delayed, untouched, by about 19 samples. This is the case where slide 37's local-linearity assumption holds.窄頻脈衝($\sigma = 45$)。包絡很寬,頻寬很窄,只涵蓋 $\tau_g$ 曲線頂端很小的一段,近似直線。藍色輸出幾乎完美地貼合紅色虛線:整個脈衝原封不動地延遲了約 19 個樣本。這就是第 37 頁局部線性假設成立的情況。狭帯域パルス($\sigma = 45$)。包絡線は広く帯域幅は狭いので、$\tau_g$ 曲線の頂上のごく一部しか覆わず、そこはほぼ直線である。青の出力は赤の破線にほとんど完全に沿う。パルス全体がそのまま約 19 サンプル遅れている。スライド 37 の局所線形の仮定が成り立つ場合である。
  2. Wideband pulse ($\sigma = 5$). The envelope is short and the bandwidth wide enough to cover the whole resonance; across the band $\tau_g$ ranges from a few samples to nearly 20. The output looks nothing like the input: part of the energy comes out with almost no delay, while the rest keeps ringing in the resonator and trails a long tail. The red dashed line can no longer describe the output. This is phase distortion.寬頻脈衝($\sigma = 5$)。包絡很短,頻寬寬到涵蓋整個共振區,$\tau_g$ 在頻帶內從個位數變化到將近 20。輸出完全不像輸入:一部分能量幾乎沒有延遲就出來了,另一部分在共振器中迴盪,拖出一條長尾巴。紅色虛線已經無法描述輸出。這就是相位失真。広帯域パルス($\sigma = 5$)。包絡線は短く、帯域幅は共振の領域全体を覆うほど広い。帯域内で $\tau_g$ は数サンプルから 20 近くまで変わる。出力は入力にまったく似ていない。エネルギーの一部はほとんど遅れずに出てくるが、残りは共振器の中で響き続け、長い尾を引く。赤の破線ではもう出力を記述できない。これが位相歪みである。
  3. Away from the resonance ($\sigma = 8$, $\omega_c = 2.4$). Even a fairly short pulse comes through almost undistorted, as long as the carrier is far from the resonance: the phase over that stretch is nearly straight, and $\tau_g$ there is small and flat.遠離共振($\sigma = 8$,$\omega_c = 2.4$)。即使是相當短的脈衝,只要載波遠離共振頻率,那一段的相位就接近直線,$\tau_g$ 小而平坦,輸出幾乎無失真。共振から離れる($\sigma = 8$、$\omega_c = 2.4$)。かなり短いパルスでも、搬送波が共振周波数から離れていれば、その区間の位相はほぼ直線で、$\tau_g$ は小さく平らなので、出力はほとんど歪まない。

Once more: this filter's $|H|$ is exactly 1 at every frequency. No frequency component of the signal is amplified or attenuated, yet the waveform is wrecked — only because the components are delayed by different amounts. You can also fix $\sigma = 12$ and slowly pull $\rho$ from 0.5 to 0.97: the larger $\rho$, the sharper the resonance and the higher and narrower the $\tau_g$ peak, so the same pulse is distorted more easily.再強調一次:這個濾波器的 $|H|$ 在所有頻率都精確等於 1。訊號的每個頻率成分都沒有被放大或衰減,但波形還是被破壞了,只因為各成分的延遲不同。你也可以固定 $\sigma = 12$,然後慢慢把 $\rho$ 從 0.5 拉到 0.97。$\rho$ 越大,共振越尖銳,$\tau_g$ 峰值越高也越窄,同樣的脈衝就越容易被扭曲。もう一度強調しておく。このフィルタの $|H|$ はすべての周波数で厳密に 1 である。信号のどの周波数成分も増幅も減衰もされていないのに、波形は壊れる。ただ各成分の遅延が違うというだけの理由で。$\sigma = 12$ に固定して、$\rho$ を 0.5 から 0.97 へゆっくり上げてみてもよい。$\rho$ が大きいほど共振は鋭くなり、$\tau_g$ のピークは高く狭くなり、同じパルスがより歪みやすくなる。

τg(ωc)
range of τg over ωc ± 2/σ頻帶 ωc ± 2/σ 內 τg 範圍帯域 ωc ± 2/σ 内の τg の範囲
delay spread ÷ envelope width延遲差 ÷ 包絡寬度遅延差 ÷ 包絡線の幅
input輸入入力 output (difference equation, sample by sample)輸出(差分方程逐點計算)出力(差分方程式で一点ずつ計算) ideal: input envelope delayed by τg(ωc)理想:輸入包絡延遲 τg(ωc)理想:入力の包絡線を τg(ωc) 遅らせたもの
Interactive — a Gaussian burst centred at $n_0 = 150$ through the same allpass ($\phi = 1.2$, $|H| \equiv 1$), run through its difference equation from rest. The status line compares the spread of $\tau_g$ over $\omega_c \pm 2/\sigma$ with the envelope width $\sigma$: below 0.3 the pulse is delayed intact, between 0.3 and 1 it starts to smear, above 1 a single $\tau_g$ no longer describes the output.互動圖 — 中心在 $n_0 = 150$ 的高斯脈衝,通過同一個全通濾波器($\phi = 1.2$,$|H| \equiv 1$),從靜止狀態以差分方程計算。狀態列比較 $\omega_c \pm 2/\sigma$ 內 $\tau_g$ 的變化量與包絡寬度 $\sigma$:小於 0.3 時脈衝完整延遲,0.3 到 1 之間開始變形,大於 1 時單一 $\tau_g$ 已無法描述輸出。インタラクティブ — $n_0 = 150$ を中心とするガウスパルスを同じ全域通過フィルタ($\phi = 1.2$、$|H| \equiv 1$)に、静止状態から差分方程式で通す。状態表示は $\omega_c \pm 2/\sigma$ での $\tau_g$ の変化量を包絡線の幅 $\sigma$ と比べる。0.3 未満ならパルスはそのまま遅れ、0.3 から 1 の間で崩れ始め、1 を超えると一つの $\tau_g$ ではもう出力を記述できない。

The textbook example: the bursts come out in the wrong order課本範例:三個脈衝的出場順序被顛倒了教科書の例:パルスの出てくる順序が入れ替わる

Oppenheim & Schafer close §5.1 with this example, which takes everything above — “group delay = envelope delay”, applied band by band — and runs it on one real signal. The whole point fits in a sentence: the system delays the envelopes at different frequencies by different amounts, and as a result the three bursts change places.Oppenheim & Schafer 在 §5.1 的最後用這個例子收尾。它把前面「群延遲 = 包絡延遲」的觀念逐頻帶套用在一個實際的訊號上。重點只有一句話:系統對不同頻率的包絡造成不同的延遲,結果三個脈衝的出場順序被改變了。Oppenheim & Schafer は §5.1 をこの例で締めくくる。これまでの「群遅延 = 包絡線の遅延」という考えを、帯域ごとに一つの現実の信号へ当てはめたものである。要点は一文に収まる。システムは周波数ごとに包絡線を違う量だけ遅らせ、その結果、三つのパルスの出てくる順序が入れ替わる。

The input: three narrowband bursts. $x[n]$ is three bursts laid end to end, each about 61 samples long, each a Hamming envelope (a bell, large in the middle and small at the edges) filled with a carrier of its own. The rate of oscillation tells them apart:輸入訊號:三個窄頻脈衝。$x[n]$ 由三段脈衝串接而成,每段長約 61 個樣本,包絡是 Hamming 窗(中間大、兩邊小的鐘形),裡面是各自不同頻率的載波。從振盪的快慢可以分辨:入力信号:三つの狭帯域パルス。$x[n]$ は三つのパルスを端から端へつないだもので、各区間はおよそ 61 サンプル、包絡線は Hamming 窓(中央が大きく両端が小さい釣鐘形)、その中にそれぞれ別の搬送波が入っている。振動の速さで見分けられる。

Burst脈衝パルスSamples樣本範圍サンプル範囲Centre中心中心Carrier載波頻率搬送波周波数Period週期周期
1st第 1 個1 番目0 – 60$n = 30$$0.8\pi$2.5 samples (nearly alternating sign)2.5 個樣本(幾乎正負交錯)2.5 サンプル(ほぼ正負が交互)
2nd第 2 個2 番目61 – 121$n = 91$$0.2\pi$10 samples10 個樣本10 サンプル
3rd第 3 個3 番目122 – 182$n = 152$$0.4\pi$5 samples5 個樣本5 サンプル

$|X(e^{j\omega})|$ confirms it: six peaks, at $\pm 0.2\pi$, $\pm 0.4\pi$ and $\pm 0.8\pi$, and essentially nothing anywhere else. Each peak is narrow — a Hamming window of length 61 has a main lobe of half-width $4\pi/60 \approx 0.067\pi$. The longer the envelope lasts, the narrower its band. All three bursts are narrowband signals, so the result derived above applies to each one directly: after passing through the system, a burst's amplitude is multiplied by $|H(e^{j\omega_c})|$ and its envelope is delayed by $\tau_g(\omega_c)$.$|X(e^{j\omega})|$ 驗證了這一點:只有在 $\pm 0.2\pi$、$\pm 0.4\pi$、$\pm 0.8\pi$ 有六個尖峰,其他頻率幾乎是 0。每個尖峰都很窄——長度 61 的 Hamming 窗,主瓣半寬約 $4\pi/60 \approx 0.067\pi$。包絡持續的時間越長,頻寬越窄。三個脈衝都是窄頻訊號,所以前面推導的結論可以逐一直接套用:每個脈衝通過系統後,振幅乘上 $|H(e^{j\omega_c})|$,包絡延遲 $\tau_g(\omega_c)$。$|X(e^{j\omega})|$ がそれを裏づける。$\pm 0.2\pi$、$\pm 0.4\pi$、$\pm 0.8\pi$ に六つの峰があるだけで、ほかの周波数はほぼ 0 である。どの峰も狭い。長さ 61 の Hamming 窓のメインローブは半値幅でおよそ $4\pi/60 \approx 0.067\pi$ である。包絡線が長く続くほど帯域は狭くなる。三つのパルスはいずれも狭帯域信号なので、上で導いた結果をそれぞれにそのまま当てはめられる。システムを通ると、振幅は $|H(e^{j\omega_c})|$ 倍になり、包絡線は $\tau_g(\omega_c)$ だけ遅れる。

2026-10-29T09:02:24.721732 image/svg+xml Matplotlib v3.11.1, https://matplotlib.org/ 0 50 100 150 200 250 300 sample number (n) −1.0 −0.5 0.0 0.5 1.0 0.8π 0.2π 0.4π (a) input x[n] −π −0.8π −0.4π 0 0.4π 0.8π π ω −50 0 50 100 150 200 150 7 −49 ( c )     g r o u p   d e l a y     ( )     ( s a m p l e s ) τ ω g −π −0.8π −0.4π 0 0.4π 0.8π π ω 0 5 10 15 20 ( b )     | ( ) | X e j ω −π −0.8π −0.4π 0 0.4π 0.8π π ω 0.0 0.5 1.0 1.5 2.0 2.5 1.21 2.1 0.00417 ( d )     | ( ) | H e j ω
Fig. 10-10 — the lecture’s Signal & System slide, recomputed from the $H(z)$ below so the panels and the interactive figure cannot disagree. (a) the three bursts laid end to end; (b) their DTFT — six narrow peaks and essentially nothing else; (c) the group delay, with the allpass spike at $0.2\pi$ and the dive at the $0.8\pi$ zeros; (d) the magnitude response, which carries no trace at all of the spike in (c).講義的 Signal & System 投影片,由下面的 $H(z)$ 重新計算而得,因此這些面板與互動圖不會互相矛盾。(a) 三段脈衝依序排列;(b) 它們的 DTFT——六個窄峰,其餘幾乎什麼都沒有;(c) 群延遲,$0.2\pi$ 處是全通段造成的尖峰,$0.8\pi$ 處是零點造成的俯衝;(d) 大小響應,對 (c) 的那個尖峰完全沒有留下任何痕跡。講義の Signal & System のスライドを、下の $H(z)$ から計算し直したもの。これによりパネルとインタラクティブ図が食い違うことはない。(a) 三つのパルスを端から端へ並べたもの。(b) その DTFT。六つの狭い峰があるだけで、ほかはほとんど何もない。(c) 群遅延。$0.2\pi$ に全域通過部による尖り、$0.8\pi$ の零点のところに急降下がある。(d) 振幅応答。(c) の尖りの痕跡はまったくない。

The system. It is best read as two parts in cascade: one shapes the magnitude, the other does nothing but pile up delay near $0.2\pi$.系統。這個系統最好看成兩部分的串接:一部分負責塑造大小,另一部分只負責在 $0.2\pi$ 附近製造大量延遲。システム。二つの部分の縦続接続と読むのがいちばんわかりやすい。一方は振幅を形づくり、もう一方は $0.2\pi$ の近くに遅延を積み上げるだけの働きをする。

$$H(z) = \underbrace{G\,\frac{1 - 2r_z\cos(0.8\pi)z^{-1} + r_z^2 z^{-2}}{1 - 2r_p\cos(0.4\pi)z^{-1} + r_p^2 z^{-2}}}_{H_{\text{shape}}(z)}\;\cdot\;\underbrace{\prod_{k=1}^{8}\frac{\rho^2 - 2\rho\cos\phi_k\,z^{-1} + z^{-2}}{1 - 2\rho\cos\phi_k\,z^{-1} + \rho^2 z^{-2}}}_{A(z),\ \ |A(e^{j\omega})| \equiv 1}$$

with $r_z = 0.98$ (a pair of zeros just inside the circle at $\pm 0.8\pi$), $r_p = 0.80$ (a pair of poles at $\pm 0.4\pi$), $G = 0.3283$, and the eight allpass pole pairs at radius $\rho = 0.95$, their angles $\phi_k$ spread evenly from $0.164\pi$ to $0.236\pi$.其中 $r_z = 0.98$(一對零點,在 $\pm 0.8\pi$ 方向、剛好落在單位圓內),$r_p = 0.80$(一對極點在 $\pm 0.4\pi$),$G = 0.3283$,而八組全通極點的半徑 $\rho = 0.95$,角度 $\phi_k$ 從 $0.164\pi$ 到 $0.236\pi$ 均勻分佈。ここで $r_z = 0.98$($\pm 0.8\pi$ の方向で単位円のすぐ内側にある一対の零点)、$r_p = 0.80$($\pm 0.4\pi$ にある一対の極)、$G = 0.3283$ であり、八組の全域通過の極は半径 $\rho = 0.95$、角度 $\phi_k$ は $0.164\pi$ から $0.236\pi$ まで等間隔に並ぶ。

$\omega$$|H(e^{j\omega})|$$\tau_g(\omega)$Why原因理由
$0.2\pi$1.21150the allpass cluster — a tall, narrow spike with no feature at all in the magnitude全通群集——又高又窄的尖峰,而大小響應上完全沒有對應的特徵全域通過の集まり — 高く狭い尖りで、振幅側には対応する特徴がまったくない
$0.4\pi$2.107poles near this direction form the peak; delay is only a few samples極點靠近這個方向,形成峰值;延遲只有幾個樣本この方向に近い極が峰をつくる。遅延は数サンプルだけ
$0.8\pi$0.004−49zeros at $r_z = 0.98$ almost on the circle: the band is removed, and the delay dives negative$r_z = 0.98$ 的零點幾乎貼在圓上:這個頻帶被濾掉,延遲同時深深轉負$r_z = 0.98$ の零点が円のすぐ内側にある。この帯域は取り除かれ、同時に遅延は大きく負へ沈む
$0$, 、、$\pi$1.02, 、、0.065, 、、0.5far from everything遠離所有極零點極にも零点にも遠い
A contrast worth pausing on一個值得停下來看的對比立ち止まって見る価値のある対比
At $0.2\pi$ the group delay has an enormous spike while the magnitude response is perfectly smooth — not a bump, not a dip, nothing. That is the signature of an allpass section: its poles and zeros are conjugate reciprocals of each other, the magnitudes cancel exactly, and only phase is left over. It is the same structure as the interactive figures above, just several of them in cascade with pole radii closer to 1, which is how $\tau_g$ reaches 150. Moving the $\rho$ slider below therefore changes the group-delay panel and the output, and never moves the magnitude panel by even a pixel.在 $0.2\pi$ 處,群延遲有巨大的尖峰,但大小響應卻完全平滑——沒有凸起、沒有凹陷,什麼都沒有。這正是全通節的特徵:它的極點和零點互為共軛倒數,大小完全抵消,只留下相位。這就是前面互動圖所用的結構,只是這裡串接了多組、極點半徑也更接近 1,所以群延遲才能高達 150。因此拉動下方的 $\rho$ 滑桿時,群延遲圖和輸出會變,大小響應圖一個像素都不會動。$0.2\pi$ では群遅延に巨大な尖りがあるのに、振幅応答はまったく滑らかである。盛り上がりも窪みもない。これは全域通過の節の特徴である。極と零点が互いに共役の逆数であり、振幅はちょうど打ち消し合って位相だけが残る。上のインタラクティブな図と同じ構造で、ただしそれを何組も縦続接続し、極の半径をより 1 に近づけてある。だからこそ群遅延は 150 にも達する。下の $\rho$ スライダーを動かすと群遅延のパネルと出力は変わるが、振幅のパネルは1 ピクセルも動かない。

Predicting the output. Handle the three bursts separately; each needs only two numbers, $|H(e^{j\omega_c})|$ and $\tau_g(\omega_c)$.預測輸出。把三個脈衝分開處理,每一個只需要兩個數字:$|H(e^{j\omega_c})|$ 和 $\tau_g(\omega_c)$。出力を予測する。三つのパルスを別々に扱えばよい。必要な数字はそれぞれ二つ、$|H(e^{j\omega_c})|$ と $\tau_g(\omega_c)$ だけである。

Burst脈衝パルスInput centre輸入中心入力の中心$|H|$$\tau_g$Predicted centre預測輸出中心予測される出力の中心Measured centre實測輸出中心実測の出力の中心Measured peak實測振幅実測の振幅
$0.8\pi$30≈ 0−49 (meaningless)−49(無意義)−49(意味をもたない)removed被濾除取り除かれる—0.02
$0.2\pi$911.21150$91 + 150 = \mathbf{241}$2321.00
$0.4\pi$1522.107$152 + 7 = \mathbf{159}$1591.98

The $0.4\pi$ burst lands exactly where predicted and comes out $2.1\times$ taller. The $0.2\pi$ burst arrives 9 samples early and 0.2 short of its predicted height — §“Three details” below explains why, and it is not an error in the prediction so much as a limit of it.$0.4\pi$ 的脈衝精準落在預測位置,而且振幅放大了 $2.1$ 倍。$0.2\pi$ 的脈衝則早到 9 個樣本、振幅比預測少 0.2——下面「三個值得注意的細節」會解釋原因,那與其說是預測錯了,不如說是預測本身的適用界限。$0.4\pi$ のパルスは予測どおりの位置にぴたりと現れ、振幅は $2.1$ 倍になる。$0.2\pi$ のパルスは 9 サンプル早く着き、振幅は予測より 0.2 低い。その理由は下の「注目すべき三つの細部」で説明する。これは予測が誤っているというより、予測が通用する範囲の限界である。

τg(0.2π)
τg(0.4π)
0.2π burst leaves at0.2π 脈衝離開於0.2π のパルスが出る位置
0.4π burst leaves at0.4π 脈衝離開於0.4π のパルスが出る位置
0.8π burst (removed by the zeros)0.8π 脈衝(被零點濾除)0.8π のパルス(零点に取り除かれる) 0.2π burst (delayed by the allpass)0.2π 脈衝(被全通延遲)0.2π のパルス(全域通過に遅らされる) 0.4π burst (amplified, barely delayed)0.4π 脈衝(被放大,幾乎無延遲)0.4π のパルス(増幅され、ほとんど遅れない) y[n], computed from the difference equationsy[n],由差分方程逐點計算y[n]、差分方程式で一点ずつ計算
Interactive — the three-burst signal through $H_{\text{shape}}(z)A(z)$, every sample computed from the difference equations of the nine biquads, from rest. $|A| \equiv 1$, so $\rho$ moves the group delay and the output only; the magnitude panel is fixed. At $\rho = 0$ each allpass section degenerates to $z^{-2}$, making $A(z) = z^{-16}$: a flat 16-sample delay that shifts both bursts equally and leaves their order alone. Raise $\rho$ and watch the $0.2\pi$ burst walk to the right, first colliding with the $0.4\pi$ burst near $\rho = 0.8$, then overtaking it.互動圖 — 三脈衝訊號通過 $H_{\text{shape}}(z)A(z)$,九個雙二階節的差分方程從靜止狀態逐點計算每一個樣本。因為 $|A| \equiv 1$,$\rho$ 只會改變群延遲與輸出,大小響應圖固定不動。在 $\rho = 0$ 時每個全通節退化成 $z^{-2}$,整個 $A(z) = z^{-16}$:平坦的 16 樣本延遲,把兩個脈衝平移同樣的量,順序不受影響。把 $\rho$ 拉大,可以看到 $0.2\pi$ 的脈衝一路往右走,在 $\rho = 0.8$ 附近先和 $0.4\pi$ 的脈衝撞在一起,然後超越它。インタラクティブ — 三つのパルスからなる信号を $H_{\text{shape}}(z)A(z)$ に通す。九つのバイカッドの差分方程式から、静止状態で一サンプルずつ計算している。$|A| \equiv 1$ なので $\rho$ は群遅延と出力だけを変え、振幅のパネルは動かない。$\rho = 0$ では各全域通過の節が $z^{-2}$ に退化し、$A(z) = z^{-16}$ となる。平坦な 16 サンプルの遅延で、二つのパルスを同じだけずらすので順序は変わらない。$\rho$ を上げていくと $0.2\pi$ のパルスが右へ歩いていき、$\rho = 0.8$ あたりでまず $0.4\pi$ のパルスとぶつかり、やがて追い越す。

What actually comes out. Compare the output panel against the prediction:實際的輸出。把輸出面板和預測對照:実際に出てくるもの。出力のパネルを予測と照らし合わせる。

2026-10-29T09:02:24.809269 image/svg+xml Matplotlib v3.11.1, https://matplotlib.org/ 0 50 100 150 200 250 300 sample number (n) −2 −1 0 1 2 in: 0.2π @ 91 in: 0.4π @ 152 0.2π @ 232 0.4π @ 159 output y[n] — the 0.4π burst now arrives first
Fig. 10-11 — the lecture’s Output slide, the fixed $\rho = 0.95$ case of the figure above. The $0.4\pi$ burst went in last, at $n = 152$, and comes out first, at 159; the $0.2\pi$ burst went in at 91 and comes out last, at 232. Grey markers are the input centres, red dashes the output centres. The faint ripple before $n \approx 115$ is all that survives of the $0.8\pi$ burst.講義的 Output 投影片,即上圖固定 $\rho = 0.95$ 的情形。$0.4\pi$ 的脈衝最後進入($n = 152$),卻最先出來(159);$0.2\pi$ 的脈衝在 91 進入,最後才出來(232)。灰色標記是輸入中心,紅色虛線是輸出中心。$n \approx 115$ 之前那些微弱的漣漪,就是 $0.8\pi$ 脈衝僅存的殘餘。講義の Output のスライド。上図で $\rho = 0.95$ に固定した場合である。$0.4\pi$ のパルスは最後に($n = 152$ で)入りながら最初に(159 で)出てくる。$0.2\pi$ のパルスは 91 で入り、最後に(232 で)出てくる。灰色の印は入力の中心、赤の破線は出力の中心。$n \approx 115$ より前のかすかなさざ波が、$0.8\pi$ のパルスの残りのすべてである。
  1. $n \approx 130 – 190$: a burst of amplitude about 2.0 with a period of 5 samples — the $0.4\pi$ burst, amplified roughly $2\times$ and essentially not delayed.$n \approx 130 – 190$:一個振幅約 2.0 的脈衝,週期約 5 個樣本,就是 $0.4\pi$ 的脈衝。被放大約 2 倍,幾乎沒有延遲。$n \approx 130 – 190$:振幅およそ 2.0、周期 5 サンプルのパルス。$0.4\pi$ のパルスである。およそ 2 倍に増幅され、遅れはほとんどない。
  2. $n \approx 200 – 270$: a burst of amplitude about 1.0 with a period of 10 samples — the $0.2\pi$ burst, its height essentially unchanged, its centre moved to about 232, a delay of some 140 samples.$n \approx 200 – 270$:一個振幅約 1.0 的脈衝,週期約 10 個樣本,就是 $0.2\pi$ 的脈衝。振幅大致不變,中心移到約 232,延遲約 140 個樣本。$n \approx 200 – 270$:振幅およそ 1.0、周期 10 サンプルのパルス。$0.2\pi$ のパルスである。高さはほぼ変わらず、中心は 232 あたりへ移り、およそ 140 サンプル遅れている。
  3. The $0.8\pi$ burst is gone, leaving only a trace of ripple before $n \approx 115$, with a peak of about 0.04.$0.8\pi$ 的脈衝消失了,只在 $n \approx 115$ 之前留下極小的漣漪,峰值約 0.04。$0.8\pi$ のパルスは消えている。$n \approx 115$ より前にごくわずかな波打ちが残るだけで、その山は 0.04 ほどである。

The order is reversed.脈衝的順序被顛倒了。パルスの順序が入れ替わる。

First先出現先に現れるSecond後出現あとに現れる
Input輸入入力$0.2\pi$ ($n \approx 91$)$0.4\pi$ ($n \approx 152$)
Output輸出出力$0.4\pi$ ($n \approx 159$)$0.2\pi$ ($n \approx 232$)

The $0.2\pi$ burst entered the system 61 samples before the $0.4\pi$ burst and came out 73 samples after it. This is phase distortion in its most extreme form. Each burst on its own still looks intact, because each is narrowband and the phase is nearly linear within its own band. But the signal as a whole is made of components at different frequencies, their delays differ by some 140 samples, and the waveform they combine into is a completely different one.$0.2\pi$ 的脈衝比 $0.4\pi$ 早 61 個樣本進入系統,卻晚了 73 個樣本才出來。這是相位失真最極端的形式。每個脈衝單獨看起來都還算完整,因為各自頻寬很窄,在自己的頻帶內相位近似線性。但整個訊號是由不同頻率的成分組成的,各成分的延遲差了約 140 個樣本,組合起來的波形就完全不一樣了。$0.2\pi$ のパルスは $0.4\pi$ のパルスより 61 サンプル早くシステムに入り、73 サンプル遅れて出てきた。これは位相歪みのもっとも極端な形である。パルスは一つずつ見ればまだ無事に見える。どれも狭帯域で、それぞれの帯域の中では位相がほぼ線形だからである。しかし信号全体は異なる周波数の成分からできており、その遅延はおよそ 140 サンプルも違う。組み合わさってできる波形はまったく別のものになる。

What the magnitude response alone would miss只看大小響應會漏掉什麼振幅応答だけでは見落とすもの
From $|H|$ alone you would predict: “$0.8\pi$ is removed, $0.4\pi$ is doubled, $0.2\pi$ passes unchanged.” All three are correct — and none of them tells you that the $0.2\pi$ burst leaves 140 samples late. Even the output spectrum $|Y(e^{j\omega})| = |H(e^{j\omega})|\,|X(e^{j\omega})|$ cannot reveal the swap, because the information about what came before what lives entirely in the phase. That is why a system cannot be judged by its magnitude response: the group delay matters just as much.如果只看 $|H|$,你會預測:「$0.8\pi$ 被濾除,$0.4\pi$ 放大 2 倍,$0.2\pi$ 不變。」這三點都對,但沒有一點會告訴你 $0.2\pi$ 的脈衝會晚 140 個樣本才出來。連輸出的頻譜 $|Y(e^{j\omega})| = |H(e^{j\omega})|\,|X(e^{j\omega})|$ 也看不出順序被顛倒,因為時間上的先後順序資訊完全藏在相位裡。這就是為什麼分析系統不能只看大小響應,群延遲同樣重要。$|H|$ だけから予測すれば「$0.8\pi$ は取り除かれ、$0.4\pi$ は 2 倍になり、$0.2\pi$ はそのまま通る」となる。三つとも正しい。しかしどれ一つとして、$0.2\pi$ のパルスが 140 サンプル遅れて出てくることを教えてはくれない。出力のスペクトル $|Y(e^{j\omega})| = |H(e^{j\omega})|\,|X(e^{j\omega})|$ ですら入れ替わりを示さない。どちらが先に来たかという情報は、すべて位相の中にあるからである。システムを振幅応答だけで判断できない理由がここにある。群遅延も同じだけ重要である。

How this differs from the Gaussian-pulse figure above. There, one pulse had a bandwidth that straddled a region where the group delay was changing, and the pulse itself was stretched and deformed. Here, different pulses sit at frequencies with different group delays; each keeps its shape more or less intact, but their relative timing is thrown into disarray. Both are phase distortion, happening at different scales.和上面高斯脈衝互動圖的差別。在那裡,是同一個脈衝的頻寬跨越了群延遲變化的區域,結果脈衝本身被拉長、變形。在這個例子中,是不同的脈衝落在群延遲不同的頻率,每個脈衝大致保持形狀,但彼此的相對時間被打亂了。兩者都是相位失真,只是發生在不同的尺度上。上のガウスパルスの図との違い。あちらは一つのパルスの帯域幅が群遅延の変化する領域にまたがり、パルスそのものが引き伸ばされて変形した。この例では別々のパルスが群遅延の異なる周波数に置かれており、各パルスはおおむね形を保つものの、互いの時間関係が崩される。どちらも位相歪みであり、起きている尺度が違うだけである。

Three details worth noticing.三個值得注意的細節。注目すべき三つの細部。

  1. The $0.2\pi$ output burst is slightly asymmetric, and lands early. The $\tau_g$ spike at $0.2\pi$ is narrow: its half-width is about $\pm 0.044\pi$, while the burst's own band is about $\pm 0.067\pi$ wide. So $\tau_g$ is not constant across the burst's band — about 150 at the centre frequency, only a few tens at the edges. This is exactly the criterion from the previous subsection, and it is why the measured centre (232) falls short of the predicted 241, and the measured peak (1.00) short of the predicted 1.21: the band edges arrive early and spread the energy out. Look closely at $n \approx 190 – 215$ in the output and you can see the smaller oscillations that precede the main burst — the edge components, arriving first. Set $\rho = 0$ and the same burst comes out at 1.18, matching $|H| = 1.21$ almost exactly, because a flat delay smears nothing.$0.2\pi$ 的輸出脈衝稍微不對稱,而且早到。$0.2\pi$ 處的 $\tau_g$ 尖峰很窄,半寬約 $\pm 0.044\pi$,而脈衝本身的頻寬約 $\pm 0.067\pi$。所以脈衝頻帶內的 $\tau_g$ 並不是常數:中心頻率延遲約 150,邊緣只有幾十。這正是前一小節的判斷準則,也是為什麼實測中心(232)比預測的 241 早,實測振幅(1.00)比預測的 1.21 低:頻帶邊緣的成分提前抵達,把能量攤開了。仔細看輸出中 $n \approx 190 – 215$ 那一段,在主脈衝之前有一些較小的振盪,就是邊緣成分先到。把 $\rho$ 設成 0,同一個脈衝輸出振幅是 1.18,幾乎精確等於 $|H| = 1.21$,因為平坦的延遲不會造成任何塗抹。$0.2\pi$ の出力パルスはわずかに非対称で、しかも早く着く。$0.2\pi$ の $\tau_g$ の尖りは狭く、半値幅はおよそ $\pm 0.044\pi$、一方パルス自身の帯域幅はおよそ $\pm 0.067\pi$ ある。つまりパルスの帯域内で $\tau_g$ は一定ではない。中心周波数では約 150、端では数十しかない。これはまさに前の小節の判定基準であり、実測の中心(232)が予測の 241 より早く、実測の振幅(1.00)が予測の 1.21 より低い理由でもある。帯域の端の成分が先に着き、エネルギーを広げてしまう。出力の $n \approx 190 – 215$ をよく見ると、主パルスの前に小さな振動がある。端の成分が先に到着したものである。$\rho$ を 0 にすると同じパルスの出力は 1.18 となり、$\lvert H\rvert = 1.21$ とほぼ一致する。平坦な遅延は何もにじませないからである。
  2. The faint ripple before $n \approx 115$. The $0.8\pi$ burst occupies a band of some width, and the zeros can only force $|H|$ to zero exactly at $0.8\pi$; a little energy at the edges of that band still gets through, and this residue is what is left of it.$n \approx 115$ 之前的微小漣漪。$0.8\pi$ 脈衝的頻帶有一定寬度,而零點只能讓 $0.8\pi$ 這一點的 $|H|$ 精確為 0;頻帶邊緣仍有少量能量通過,這些殘餘就是它留下的痕跡。$n \approx 115$ より前のかすかな波打ち。$0.8\pi$ のパルスはある幅の帯域を占めるが、零点が $|H|$ をちょうど 0 にできるのは $0.8\pi$ のその一点だけである。帯域の端ではわずかなエネルギーが通り抜け、その残りがこれである。
  3. The negative group delay at $0.8\pi$ does not matter. The dip sits at a frequency where $|H| \approx 0$, so the signal there has already been removed. This matches the discussion in §10.3.2: a negative group delay appears near a zero, where the signal is heavily attenuated, and it never produces anything that “arrives before the input”.$0.8\pi$ 的負群延遲不重要。負尖峰對應的是 $|H| \approx 0$ 的頻率,那裡的訊號已經被濾掉了。這和 §10.3.2 的討論一致:負群延遲出現在零點附近,訊號在那裡被大幅衰減,不會造成任何「比輸入更早出現」的現象。$0.8\pi$ の負の群遅延は問題にならない。この窪みは $|H| \approx 0$ の周波数にあり、そこの信号はすでに取り除かれている。§10.3.2 の議論と同じである。負の群遅延は零点の近くに現れ、そこでは信号が大きく減衰しているので、「入力より先に着く」ようなものは決して生じない。

The lecture's three-burst example, reproduced講義的三脈衝例子:完整重現講義の三つのパルスの例を再現する

The figure below reproduces the textbook example in full. The system is a cascade of two parts:下面用課本的系統把這個例子完整重現。系統由兩部分串接而成:下の図は教科書の例をそのまま再現したものである。システムは二つの部分の縦続接続でできている。

The output is computed sample by sample from the difference equations, with no approximation.輸出是用差分方程逐點算出來的,沒有使用任何近似。出力は差分方程式から一点ずつ計算しており、近似は一切使っていない。

How to read the figure.怎麼讀這張圖。図の読み方。

Try these in order:建議依序嘗試:次の順に試してみるとよい。

  1. The defaults (the lecture's setting). In the table the group delay at $0.2\pi$ is about 150, at $0.4\pi$ only a few samples, and $0.8\pi$ is filtered out. In the output, green ($0.4\pi$) comes out first and blue ($0.2\pi$) comes out a long while later: the order of the two bursts has been reversed. Switch to “sum” and you have the lecture's $y[n]$.預設值(講義設定)。表格中 $0.2\pi$ 的群延遲約 150,$0.4\pi$ 只有幾個樣本,$0.8\pi$ 被濾除。輸出圖中,綠色($0.4\pi$)先出來,藍色($0.2\pi$)晚了一大段才出來,兩個脈衝的順序被顛倒了。切換到「總和」,就是講義上的 $y[n]$。初期値(講義の設定)。表では $0.2\pi$ の群遅延が約 150、$0.4\pi$ はわずか数サンプルで、$0.8\pi$ は除去される。出力の図では緑($0.4\pi$)が先に出てきて、青($0.2\pi$)はずっと後になって出てくる。二つのパルスの順序が入れ替わったのである。「総和」に切り替えると、講義の $y[n]$ になる。
  2. Press “remove the allpass section”. Note that the $|H|$ plot at the top left does not change at all, yet the group-delay spike at $0.2\pi$ disappears. The blue burst returns to around $n \approx 91$ and the order is back to normal. This is the most convincing contrast of the whole example: the two systems have identical magnitude responses, yet the time structure of their outputs is completely different. The whole difference comes from the phase.按「移除全通部分」。注意左上的 $|H|$ 圖完全沒有變化,但群延遲在 $0.2\pi$ 的尖峰消失了。輸出中藍色脈衝回到 $n \approx 91$ 附近,順序恢復正常。這是整個例子最有說服力的對照:兩個系統的大小響應一模一樣,輸出的時間結構卻完全不同。差別全部來自相位。「全域通過部を外す」を押す。左上の $|H|$ の図はまったく変わらないのに、$0.2\pi$ の群遅延の尖りは消えることに注意しよう。出力の青のパルスは $n \approx 91$ 付近に戻り、順序も元どおりになる。これがこの例で最も説得力のある対比である。二つのシステムの振幅応答はまったく同じなのに、出力の時間構造はまったく違う。違いはすべて位相から来ている。
  3. Pull the repeat count from 1 to 3. The group delay at $0.2\pi$ goes roughly 75 → 150 → 225: each extra set of allpass sections adds about 75 samples. This confirms that the group delays of cascaded systems simply add. With 3 repeats the blue burst has already run off the plot.把重複次數從 1 拉到 3。$0.2\pi$ 的群延遲大約從 75 → 150 → 225,每多一組全通就多約 75 個樣本。這驗證了串接系統的群延遲直接相加。重複 3 次時,藍色脈衝已經跑出畫面之外。繰り返し回数を 1 から 3 に上げる。$0.2\pi$ の群遅延はおよそ 75 → 150 → 225 と増え、全域通過部を一組増やすごとに約 75 サンプル増える。これは縦続接続したシステムの群遅延はそのまま足し合わされることの確認である。3 回にすると、青のパルスはもう図の外に出てしまう。
  4. Adjust $\rho$. At $\rho = 0.97$ the group-delay peak is higher but narrower: the blue burst is delayed more and its shape is more distorted, with a longer “early” oscillation in front and a tail behind. At $\rho = 0.85$ the peak is lower and wider: the delay is smaller, but $\tau_g$ is flatter across the burst's band, so the blue burst actually keeps its shape better. While you adjust $\rho$ the $|H|$ plot again does not change, because the allpass section affects only the phase.調整 $\rho$。$\rho$ 拉到 0.97:群延遲峰值更高但更窄。藍色脈衝延遲更多,形狀也更扭曲,前面出現較長的「先到」振盪,後面拖出尾巴。$\rho$ 降到 0.85:群延遲峰值變低變寬,延遲減少,但在脈衝頻帶內比較平坦,藍色脈衝的形狀反而保持得比較好。調整 $\rho$ 時,$|H|$ 圖同樣不會變,因為全通部分只影響相位。$\rho$ を調整する。$\rho = 0.97$ では群遅延のピークは高くなるが狭くなる。青のパルスはより大きく遅れ、形もより歪み、前には長めの「先に届く」振動が、後ろには尾が現れる。$\rho = 0.85$ ではピークは低く広くなり、遅延は減るが、パルスの帯域内では $\tau_g$ がより平らなので、青のパルスの形はかえってよく保たれる。$\rho$ を動かしても $|H|$ の図は変わらない。全域通過部は位相にしか影響しないからである。
burst脈衝パルスinput centre輸入中心入力の中心|H(ωc)|τg(ωc)predicted centre預測中心予測中心measured centre實測中心実測中心output peak輸出峰值出力のピーク
0.8π burst0.8π 脈衝0.8π のパルス 0.2π burst0.2π 脈衝0.2π のパルス 0.4π burst0.4π 脈衝0.4π のパルス input centre + τg (predicted position)輸入中心+τg(預測位置)入力の中心+τg(予測位置)
Interactive — the Oppenheim & Schafer group-delay example. Three 61-point Hamming-windowed bursts at $0.8\pi$, $0.2\pi$ and $0.4\pi$ pass through the shaping biquad and then $4 \times$ (repeat count) second-order allpass sections with poles at $\rho e^{\pm j(0.15+0.02k)\pi}$. Each burst is filtered on its own (the system is linear), so the table can give each one's measured energy centre $\sum n\,y^2[n] / \sum y^2[n]$.互動圖 — Oppenheim & Schafer 的群延遲例子。三個 61 點 Hamming 窗脈衝($0.8\pi$、$0.2\pi$、$0.4\pi$)先通過塑形 biquad,再通過 $4 \times$ 重複次數個二階全通節,極點在 $\rho e^{\pm j(0.15+0.02k)\pi}$。系統是線性的,所以每個脈衝分開濾波,表格才能給出各自的實測能量中心 $\sum n\,y^2[n] / \sum y^2[n]$。インタラクティブ — Oppenheim & Schafer の群遅延の例。$0.8\pi$、$0.2\pi$、$0.4\pi$ の 61 点ハミング窓パルス三つが、整形用の biquad を通り、続いて極が $\rho e^{\pm j(0.15+0.02k)\pi}$ にある 2 次全域通過節を $4 \times$ 繰り返し回数だけ通る。システムは線形なので各パルスを別々にフィルタし、表ではそれぞれの実測エネルギー中心 $\sum n\,y^2[n] / \sum y^2[n]$ を示す。

Why the blue burst's measured centre differs from its predicted centre. The predicted centre uses $\tau_g$ at the centre frequency $0.2\pi$ — the very top of the group-delay spike. But the blue burst's bandwidth (about $\pm 0.066\pi$, see the band) is about as wide as the spike itself, so the components at the edges of the band are delayed by only a few tens of samples, much less than the centre.為什麼藍色的「實測中心」和「預測中心」有差距。預測中心用的是中心頻率 $0.2\pi$ 的 $\tau_g$,也就是群延遲尖峰的頂端。但藍色脈衝的頻寬(約 $\pm 0.066\pi$,見色帶)和群延遲尖峰的寬度差不多,所以頻帶邊緣的成分只被延遲了幾十個樣本,比中心少很多。青の「実測中心」と「予測中心」がずれる理由。予測中心は中心周波数 $0.2\pi$ での $\tau_g$、すなわち群遅延の尖りの頂上を使っている。しかし青のパルスの帯域幅(約 $\pm 0.066\pi$、色の帯を参照)は尖りの幅とほぼ同じなので、帯域の端の成分は数十サンプルしか遅れず、中心よりずっと少ない。

The measured centre is the energy-weighted mean position of the output, roughly “the $\tau_g$ of the components in the band, averaged with their energies as weights”, so it comes out somewhat below the peak value. The size of this gap is how far the local-linear approximation has failed — the dispersion discussed above:實測中心是輸出能量的加權平均位置,大致等於「頻帶內各成分的 $\tau_g$ 依能量加權平均」,所以會比尖峰值小一些。這個差距就是局部線性近似失效的程度,也就是前面說的色散:実測中心は出力のエネルギーで重み付けした平均位置であり、おおよそ「帯域内の各成分の $\tau_g$ をエネルギーで重み付けして平均したもの」なので、ピークの値より少し小さくなる。このずれの大きさが局所線形近似が破れている程度、すなわち上で述べた分散である。

Observation觀察観察Underlying principle對應的原理対応する原理
the $0.8\pi$ burst disappears$0.8\pi$ 脈衝消失$0.8\pi$ のパルスが消えるzeros close to the unit circle, $|H| \approx 0$零點在單位圓附近,$|H| \approx 0$零点が単位円の近くにあり、$|H| \approx 0$
the $0.4\pi$ burst is amplified about 2×$0.4\pi$ 脈衝被放大約 2 倍$0.4\pi$ のパルスが約 2 倍に増幅されるpoles near the $0.4\pi$ direction極點靠近 $0.4\pi$ 方向極が $0.4\pi$ の方向の近くにある
the $0.2\pi$ burst is about 150 samples late$0.2\pi$ 脈衝晚了約 150 個樣本$0.2\pi$ のパルスが約 150 サンプル遅れるthe allpass poles cluster near $0.2\pi$ and create a large group delay全通極點聚集在 $0.2\pi$ 附近,產生大量群延遲全域通過の極が $0.2\pi$ 付近に集まり、大きな群遅延を作る
the order of the bursts is reversed脈衝順序顛倒パルスの順序が入れ替わるthe group delay differs strongly between frequencies — phase distortion不同頻率的群延遲差異很大,這是相位失真周波数によって群遅延が大きく違う。これが位相歪みである
removing the allpass leaves $|H|$ unchanged, yet the order is restored移除全通後 $|H|$ 不變,順序卻恢復全域通過部を外しても $|H|$ は変わらないのに、順序は元に戻るthe information about time structure is hidden entirely in the phase時間結構的資訊完全藏在相位中時間構造の情報はすべて位相の中に隠れている
the blue burst's prediction and measurement differ, and its shape is distorted藍色脈衝預測與實測有落差,形狀被扭曲青のパルスの予測と実測がずれ、形が歪む$\tau_g$ is not constant across the band; local linearity fails (dispersion)頻帶內 $\tau_g$ 不是常數,局部線性失效(色散)帯域内で $\tau_g$ が一定でなく、局所線形性が破れる(分散)

Correction, and where it matters校正(correction)與實際應用補正(correction)と実際の応用

The slide ends with “→ correction…”, a pointer to the next topic. Here is the direction in brief.投影片最後寫「→ correction…」,這是下一個主題的伏筆,這裡先簡單說明方向。スライドは「→ correction…」で終わっており、次の話題への伏線になっている。ここでは方向だけを簡単に述べる。

Group delays add. Frequency responses of cascaded systems multiply, their phases add, and so their group delays add directly:群延遲可以相加。串接系統的頻率響應相乘,相位相加,所以群延遲也直接相加:群遅延は足し合わせられる。縦続接続したシステムの周波数応答は掛け合わされ、位相は足し合わされるので、群遅延もそのまま足し合わされる。

$$H_{\text{total}} = H_{\text{filter}}\cdot H_{\text{eq}} \;\Rightarrow\; \tau_{g,\text{total}}(\omega) = \tau_{g,\text{filter}}(\omega) + \tau_{g,\text{eq}}(\omega)$$

That gives a natural way to correct: if the filter's $\tau_g$ has a hump somewhere in the passband, cascade an allpass equalizer whose $\tau_g$ is low there and high elsewhere, so the sum is close to constant. Because an allpass has $|H| = 1$, the magnitude response is untouched; only the phase is repaired.這給了一個很自然的校正方法:如果濾波器的 $\tau_g$ 在通帶中某處有隆起,就串接一個全通等化器(allpass equalizer),讓它的 $\tau_g$ 在那裡低、在其他地方高,兩者相加後變成接近常數。因為全通濾波器的 $|H| = 1$,大小響應完全不受影響,只修正相位。ここから自然な補正の方法が得られる。フィルタの $\tau_g$ が通過域のどこかで盛り上がっていれば、そこで $\tau_g$ が低く、ほかで高い全域通過イコライザ(allpass equalizer)を縦続接続し、和がほぼ一定になるようにする。全域通過フィルタは $|H| = 1$ なので、振幅応答はまったく変わらず、位相だけが直される。

Other ways to avoid phase distortion.其他避免相位失真的方法。位相歪みを避けるほかの方法。

Where it matters.在哪些地方重要。どこで重要になるか。

Field領域分野Problem caused by a non-flat group delay群延遲不平坦造成的問題平坦でない群遅延が引き起こす問題
Digital communications數位通訊ディジタル通信symbol envelopes are stretched into neighbouring symbols, causing intersymbol interference (ISI)符號的包絡被拉長,侵入相鄰符號,造成符號間干擾(ISI)符号の包絡線が引き伸ばされて隣の符号に入り込み、符号間干渉(ISI)を起こす
Audio音訊オーディオtransients such as drum hits and plucked strings become blurred; the phase design of loudspeaker crossovers鼓聲、撥弦等暫態聲音變得模糊;喇叭分音器的相位設計ドラムや撥弦などの過渡的な音がぼやける。スピーカーのクロスオーバーの位相設計
Measurement, biomedical signals量測、生醫訊號計測、生体信号for waveforms such as the ECG the shape itself is the information; distortion leads to misreadings心電圖等波形的形狀本身就是資訊,失真會造成誤判心電図などは波形の形そのものが情報であり、歪むと誤判定につながる
Radar雷達レーダーdispersion is used deliberately: transmit a stretched chirp and compress it back into a narrow pulse with the opposite dispersion at the receiver (pulse compression)反過來刻意利用色散:發射被拉長的 chirp,接收端用相反的色散壓縮回窄脈衝(pulse compression)逆に分散を意図的に利用する。引き伸ばしたチャープを送信し、受信側で逆の分散によって狭いパルスに圧縮し直す(パルス圧縮)

The last row is the interesting one: dispersion is not necessarily bad. As long as you know its form, you can exploit it, or compensate for it exactly.最後一項很有意思:色散不一定是壞事,只要知道它的形式,就能利用它,或者精確地補償回來。最後の行は興味深い。分散は必ずしも悪者ではない。その形がわかっていれば、利用することも、正確に補償して元に戻すこともできる。

Common misconceptions, and a summary常見誤解與總結よくある誤解とまとめ

“Phase delay and group delay are two different times.” Both are steady-state properties, but they look at different things. The phase delay looks at the carrier — the crests of a single frequency; the group delay looks at the envelope — the information. For carrying information, the group delay is what really matters.「相位延遲和群延遲是兩種不同的時間」:它們都是穩態性質,但看的對象不同。相位延遲看載波,也就是單一頻率的波峰;群延遲看包絡,也就是資訊。對傳遞資訊而言,群延遲才是真正重要的。「位相遅延と群遅延は二種類の違う時間である」:どちらも定常状態の性質だが、見ている対象が違う。位相遅延は搬送波、つまり単一周波数の山を見ており、群遅延は包絡線、つまり情報を見ている。情報を伝えるうえで本当に重要なのは群遅延である。

“The phase delay can be measured directly.” A single steady-state sinusoid has no time marker; its phase delay is ambiguous by integer multiples of $2\pi/\omega$ and can even count a sign flip as a time shift (the $\omega \gt 0.4$ case in the first interactive figure, §10.3.1). The group delay depends only on the slope of the phase, is insensitive to $2\pi$ wrapping and to constant phase offsets, and can actually be measured from the envelope.「相位延遲可以直接量測」:單一穩態正弦波沒有時間標記,相位延遲有 $2\pi/\omega$ 整數倍的歧義,還會把反相誤算成時間平移(§10.3.1 互動圖一的 $\omega \gt 0.4$ 情況)。群延遲只依賴相位的斜率,對 $2\pi$ 折返和常數相位偏移都不敏感,可以透過包絡實際量測。「位相遅延は直接測れる」:定常正弦波一つには時刻の目印がなく、位相遅延には $2\pi/\omega$ の整数倍のあいまいさがあり、符号の反転まで時間のずれと数えてしまう(§10.3.1 の一つ目の図の $\omega \gt 0.4$ の場合)。群遅延は位相の傾きだけに依存し、$2\pi$ の折り返しにも一定の位相オフセットにも影響されず、包絡線から実際に測ることができる。

“If $|H|$ is flat there is no distortion.” Wrong. The allpass in the Gaussian-pulse figure above has $|H|$ exactly 1, yet a wideband pulse is badly distorted. Distortionless transmission needs two conditions: $|H|$ constant across the signal band, and $\tau_g$ constant across the signal band.「|H| 平坦就不會失真」:錯。上面高斯脈衝互動圖中的全通濾波器 $|H|$ 精確等於 1,但寬頻脈衝仍然被嚴重扭曲。波形不失真需要兩個條件:$|H|$ 在訊號頻帶內是常數,而且 $\tau_g$ 在訊號頻帶內是常數。「|H| が平坦なら歪まない」:誤り。上のガウスパルスの図の全域通過フィルタは $|H|$ が厳密に 1 だが、広帯域パルスはやはり大きく歪む。波形を歪ませないには二つの条件が要る。信号帯域内で $|H|$ が一定であること、かつ信号帯域内で $\tau_g$ が一定であることである。

“A negative group delay violates causality.” As discussed in §10.3.2: a negative group delay appears near a zero inside the unit circle, where $|H|$ is small and the signal heavily attenuated, and it holds only under the narrowband approximation. The signal's energy never comes out earlier than the input.「負的群延遲違反因果律」:先前(§10.3.2)討論過:負群延遲出現在單位圓內的零點附近,那裡 $|H|$ 很小,訊號被大幅衰減;而且它只在窄頻近似下成立。訊號的能量不會比輸入更早出現。「負の群遅延は因果律に反する」:§10.3.2 で述べたとおり、負の群遅延は単位円内の零点の近くに現れ、そこでは $|H|$ が小さく信号は大きく減衰している。しかも狭帯域近似のもとでしか成り立たない。信号のエネルギーが入力より早く出てくることはない。

Item項目項目Phase delay τp相位延遲 τp位相遅延 τpGroup delay τg群延遲 τg群遅延 τg
Definition定義定義$-\dfrac{\theta(\omega)}{\omega}$$-\dfrac{d\theta}{d\omega}$
Geometric meaning幾何意義幾何学的な意味slope of the chord from the origin to the point on the curve (negated)原點到曲線上點的割線斜率(取負)原点から曲線上の点への弦の傾き(符号反転)slope of the tangent to the curve (negated)曲線的切線斜率(取負)曲線の接線の傾き(符号反転)
Describes描述對象表すものthe carrier (where the crests of a single frequency are)載波(單一頻率的波峰位置)搬送波(単一周波数の山の位置)the envelope (when the information and energy arrive)包絡(資訊、能量到達的時間)包絡線(情報やエネルギーが届く時刻)
Derived from推導來源導出のもとthe average of the two sideband phases $\frac{\theta_u+\theta_l}{2}$兩邊帶相位的平均 $\frac{\theta_u+\theta_l}{2}$二つの側波帯の位相の平均 $\frac{\theta_u+\theta_l}{2}$half the difference of the two sideband phases $\frac{\theta_u-\theta_l}{2}$兩邊帶相位的半差 $\frac{\theta_u-\theta_l}{2}$二つの側波帯の位相の差の半分 $\frac{\theta_u-\theta_l}{2}$
$2\pi$ wrapping or constant phase offset對 $2\pi$ 折返或常數相位偏移$2\pi$ の折り返しや一定の位相オフセットsensitive, ambiguous敏感,有歧義影響を受け、あいまいunaffected不受影響影響を受けない
3-point FIR filter3 點 FIR 濾波器3 点 FIR フィルタ1 for $\omega \lt 0.4$, $1 - \pi/\omega$ for $\omega \gt 0.4$$\omega \lt 0.4$ 時為 1,$\omega \gt 0.4$ 時為 $1 - \pi/\omega$$\omega \lt 0.4$ で 1、$\omega \gt 0.4$ で $1 - \pi/\omega$1 everywhere (except at the zero)處處為 1(零點處除外)至るところ 1(零点を除く)
Allpass filter at its resonance全通濾波器在共振頻率共振周波数での全域通過フィルタsmall (about 3)小(約 3)小さい(約 3)large (about 19)大(約 19)大きい(約 19)
Slides 32–38 in one sentence一句話總結這七張投影片スライド 32–38 を一文で
The delay a system imposes on a signal's information is the slope of the phase curve near the signal's frequency; when that slope is not constant across the signal band, the signal is distorted and needs correcting.系統對訊號資訊造成的延遲,是相位曲線在訊號頻率附近的斜率;當這個斜率在訊號頻帶內不固定時,訊號就會失真,需要校正。システムが信号の情報に与える遅延は、信号の周波数付近での位相曲線の傾きである。この傾きが信号帯域内で一定でなければ、信号は歪み、補正が必要になる。

10.4 System Classes in the Transform Domain10.4 轉換域中的系統類別10.4 変換領域におけるシステムの分類

(Supplementary to the slides.) Three classical families of systems are defined directly by their pole-zero geometry, and together they organize everything in 10.2–10.3: all-pass systems carry only phase, minimum-phase systems carry the least possible phase for a given magnitude, and linear-phase FIR systems carry a pure delay phase.(投影片之外的補充。)有三個經典的系統家族,直接由極零幾何定義,而它們合起來正好把 10.2–10.3 的內容整理了一遍:全通系統只帶相位,最小相位系統在給定振幅下帶最少可能的相位,線性相位 FIR 系統則帶一個純延遲式的相位。(スライドへの補足。)極零配置によって直接定義される古典的なシステムの族が三つあり、それらを合わせると 10.2–10.3 の内容がきれいに整理される。全域通過システムは位相だけを担い、最小位相システムは与えられた振幅に対してとりうる最小の位相を担い、線形位相 FIR システムは純粋な遅延としての位相を担う。

10.4.1 All-Pass Systems10.4.1 全通系統10.4.1 全域通過システム

An all-pass system(全通系統) has $|H_{ap}(e^{j\omega})| = $ constant for all $\omega$. The construction: pair every pole $a$ with a zero at its conjugate reciprocal $1/a^{*}$:全通系統是指對所有 $\omega$ 都有 $|H_{ap}(e^{j\omega})| = $ 常數的系統。做法是:把每個極點 $a$ 與一個位於其共軛倒數 $1/a^{*}$ 的零點配成一對:全域通過システムとは、すべての $\omega$ について $|H_{ap}(e^{j\omega})| = $ 一定となるシステムである。作り方はこうである。各々の極 $a$ に対し、その共役逆数 $1/a^{*}$ に零点を置いて対にする。

All-pass building block全通的基本元件全域通過の構成要素 $$H_{ap}(z) = \frac{z^{-1} - a^{*}}{1 - a z^{-1}} \qquad\Longrightarrow\qquad \big|H_{ap}(e^{j\omega})\big| = 1 \ \ \forall \omega$$

On the unit circle the vector to the zero at $1/a^{*}$ is always proportional in length to the vector to the pole at $a$ — the ratio of lengths is constant, so the magnitude never moves. Only the phase (and hence the group delay) varies.在單位圓上,指向 $1/a^{*}$ 那個零點的向量,長度永遠與指向極點 $a$ 的向量成固定比例——長度之比是常數,所以振幅動也不動。只有相位(連帶群延遲)會變。単位円上では、$1/a^{*}$ の零点へ向かうベクトルの長さは、極 $a$ へ向かうベクトルの長さにつねに比例する。長さの比が一定なので、振幅はまったく動かない。変わるのは位相(したがって群遅延)だけである。

2026-06-12T22:40:41.662026 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ −1 0 1 Re{z} −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 Im{z} Pole–zero: conjugate-reciprocal pair pole a = 0.8 zero 1/a = 1.25 0 π/2 π ω (rad/sample) 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 |H(e^jω)| Magnitude: exactly 1 at all ω 0 π/2 π ω (rad/sample) 0 2 4 6 8 τg(ω) (samples) Group delay: positive, peaks near pole angle
Fig. 10-7 — First-order all-pass with pole $a = 0.8$ and zero $1/a = 1.25$: the magnitude is exactly 1 everywhere, while the group delay is positive and peaks near the pole angle ($\omega = 0$ here). For a stable causal all-pass, $\tau_g(\omega) > 0$ always(穩定因果全通系統的群延遲恆為正).圖 10-7 — 一階全通系統,極點 $a = 0.8$、零點 $1/a = 1.25$:振幅處處恰為 1,而群延遲為正,並在極點角度附近(這裡是 $\omega = 0$)達到最大。對穩定且因果的全通系統,恆有 $\tau_g(\omega) > 0$(穩定因果全通系統的群延遲恆為正)。図 10-7 — 極 $a = 0.8$、零点 $1/a = 1.25$ の 1 次全域通過システム。振幅はどこでもちょうど 1 であり、群遅延は正で、極の角度の近く(ここでは $\omega = 0$)で最大になる。安定かつ因果的な全域通過システムでは、つねに $\tau_g(\omega) > 0$ である(安定・因果的な全域通過システムの群遅延はつねに正)。
Key facts about all-pass systems全通系統的重點整理全域通過システムの要点
  • Poles inside the circle, zeros at conjugate-reciprocal positions outside.極點在圓內,零點則在圓外的共軛倒數位置。極は円の内側に、零点はその共役逆数の位置、すなわち円の外側にある。
  • $\tau_g(\omega) > 0$ for every $\omega$ (stable causal case) — an all-pass can only add delay.對每一個 $\omega$ 都有 $\tau_g(\omega) > 0$(穩定因果的情形)——全通系統只能增加延遲。どの $\omega$ でも $\tau_g(\omega) > 0$ である(安定・因果的な場合)。全域通過は遅延を加えることしかできない。
  • The continuous phase $\arg H_{ap}(e^{j\omega})$ is monotonically decreasing.連續相位 $\arg H_{ap}(e^{j\omega})$ 是單調遞減的。連続位相 $\arg H_{ap}(e^{j\omega})$ は単調に減少する。
  • Used to equalize phase without touching magnitude, and as the "phase carrier" in the decomposition of 10.4.2.可用來在不動振幅的前提下等化相位,也可作為 10.4.2 那個分解裡的「相位載體」。振幅に手を触れずに位相を等化する用途に使われ、また 10.4.2 の分解における「位相の担い手」としても使われる。

10.4.2 Minimum-Phase and Inverse Systems10.4.2 最小相位系統與反系統10.4.2 最小位相システムと逆システム

A causal stable system is minimum-phase(最小相位) if all its zeros (as well as poles) are inside the unit circle. Then the inverse system $1/H(z)$ — whose poles are the zeros of $H(z)$ — is also causal and stable: minimum-phase systems are exactly the ones that can be undone by a realizable filter (e.g. channel equalization).一個因果穩定的系統,若它的零點(連同極點)全都在單位圓內,就稱為最小相位系統。此時反系統 $1/H(z)$ —— 它的極點就是 $H(z)$ 的零點 —— 也是因果且穩定的:最小相位系統正好就是那些能被可實現濾波器還原回去的系統(例如通道等化)。因果的かつ安定なシステムは、その零点が(極と同様に)すべて単位円の内側にあるとき最小位相であるという。このとき逆システム $1/H(z)$ —— その極は $H(z)$ の零点である —— もまた因果的かつ安定になる。最小位相システムとは、実現可能なフィルタによって元に戻せるシステムにほかならない(たとえば通信路の等化)。

Reflecting a zero $\zeta$ to $1/\zeta^{*}$ multiplies the response by an all-pass factor, which leaves $|H(e^{j\omega})|$ unchanged. Hence many systems share one magnitude, and:把零點 $\zeta$ 反射到 $1/\zeta^{*}$,等於把響應乘上一個全通因子,而這並不改變 $|H(e^{j\omega})|$。因此許多系統會共用同一個振幅,於是:零点 $\zeta$ を $1/\zeta^{*}$ へ反射させることは、応答に全域通過の因子を掛けることにあたり、$|H(e^{j\omega})|$ は変わらない。したがって多くのシステムがひとつの振幅を共有することになり、次が成り立つ。

Magnitude–phase decomposition振幅-相位分解振幅と位相の分解 $$\boxed{\;H(z) = H_{min}(z)\,H_{ap}(z)\;}$$

Every rational $H(z)$ is a minimum-phase system (carrying all of the magnitude) cascaded with an all-pass (carrying the excess phase). Among all systems with the same $|H(e^{j\omega})|$, the minimum-phase one has:任何有理的 $H(z)$,都可以寫成一個最小相位系統(承擔全部振幅)串接一個全通系統(承擔多餘的相位)。在所有具有相同 $|H(e^{j\omega})|$ 的系統之中,最小相位的那一個具有:任意の有理な $H(z)$ は、最小位相システム(振幅のすべてを担う)と全域通過システム(余分な位相を担う)の縦続接続として書ける。同じ $|H(e^{j\omega})|$ をもつすべてのシステムのうち、最小位相のものは次の性質をもつ。

2026-06-12T22:40:42.454812 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ 0 π/2 π ω (rad/sample) −10.0 −7.5 −5.0 −2.5 0.0 2.5 5.0 dB Identical magnitude (dB) H_min H_max 0 π/2 π ω (rad/sample) −6 −5 −4 −3 −2 −1 0 radians Unwrapped phase H_min (zeros at 0.8e^±j0.6π) H_max (zeros at 1.25e^±j0.6π) 0 π/2 π ω (rad/sample) −4 −2 0 2 4 6 samples Group delay H_min H_max
Fig. 10-8 — Minimum-phase FIR $H_{min}$ (zeros $0.8e^{\pm j0.6\pi}$) vs the maximum-phase mirror $H_{max}$ (zeros reflected to $1.25e^{\pm j0.6\pi}$): identical magnitude (left, curves overlap), but $H_{max}$ accumulates more phase lag and a larger group delay everywhere(相同振幅、不同相位/群延遲——最小相位版本延遲最小).圖 10-8 — 最小相位 FIR $H_{min}$(零點 $0.8e^{\pm j0.6\pi}$)對上最大相位的鏡像 $H_{max}$(零點反射到 $1.25e^{\pm j0.6\pi}$):振幅完全相同(左圖,兩條曲線重疊),但 $H_{max}$ 在每個頻率上都累積了更多的相位落後與更大的群延遲(相同振幅、不同相位/群延遲——最小相位版本延遲最小)。図 10-8 — 最小位相 FIR $H_{min}$(零点 $0.8e^{\pm j0.6\pi}$)と、最大位相の鏡像 $H_{max}$(零点を $1.25e^{\pm j0.6\pi}$ へ反射したもの)の比較。振幅は同一だが(左、二つの曲線は重なる)、$H_{max}$ はどの周波数でもより多くの位相遅れと大きな群遅延を積み上げる(振幅は同じで位相と群遅延が違う。最小位相のものが最も遅延が小さい)。

10.4.3 Generalized Linear-Phase FIR Systems10.4.3 廣義線性相位 FIR 系統10.4.3 一般化線形位相 FIR システム

A system has (generalized) linear phase(線性相位) if $H(e^{j\omega}) = A(\omega)\,e^{-j(\alpha\omega - \beta)}$ with $A(\omega)$ real. Then $\tau_g(\omega) = \alpha$ is constant — no phase distortion, every envelope is delayed by the same $\alpha$ samples. For causal FIR filters of length $M$ this happens exactly when the impulse response is symmetric or antisymmetric:若一個系統可以寫成 $H(e^{j\omega}) = A(\omega)\,e^{-j(\alpha\omega - \beta)}$,其中 $A(\omega)$ 為實數,就說它具有(廣義)線性相位。此時 $\tau_g(\omega) = \alpha$ 為常數——沒有相位失真,每個包絡都被延遲同樣的 $\alpha$ 個樣本。對長度為 $M$ 的因果 FIR 濾波器,這件事發生的充要條件就是脈衝響應對稱或反對稱:システムが実数の $A(\omega)$ を用いて $H(e^{j\omega}) = A(\omega)\,e^{-j(\alpha\omega - \beta)}$ と書けるとき、そのシステムは(一般化)線形位相をもつという。このとき $\tau_g(\omega) = \alpha$ は一定であり、位相歪みはなく、どの包絡線も同じ $\alpha$ 標本だけ遅れる。長さ $M$ の因果的 FIR フィルタでは、これが成り立つのはインパルス応答が対称または反対称であるとき、かつそのときにかぎる。

Linear-phase condition (FIR)線性相位條件(FIR)線形位相の条件(FIR) $$h[n] = \pm\,h[M-1-n] \quad\Longrightarrow\quad \tau_g(\omega) = \alpha = \frac{M-1}{2} \ \text{samples}$$

The symmetry constrains the zero locations: $z^{-(M-1)}H(1/z) = \pm H(z)$, so if $\zeta$ is a zero, then $1/\zeta$, $\zeta^{*}$, $1/\zeta^{*}$ are all zeros. The zero constellation therefore consists of:這個對稱性限制了零點的位置:$z^{-(M-1)}H(1/z) = \pm H(z)$,所以只要 $\zeta$ 是零點,$1/\zeta$、$\zeta^{*}$、$1/\zeta^{*}$ 也都是零點。因此零點的分布必然由下列幾種組合構成:この対称性は零点の位置を縛る。$z^{-(M-1)}H(1/z) = \pm H(z)$ なので、$\zeta$ が零点ならば $1/\zeta$、$\zeta^{*}$、$1/\zeta^{*}$ もすべて零点である。したがって零点の配置は次のものから成る。

2026-06-12T22:40:42.782213 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ 0 1 2 3 4 5 6 7 n 0.0 0.2 0.4 0.6 0.8 1.0 h[n] Symmetric h[n] = h[M−1−n] (type-II-like, M = 8) −1 0 1 Re{z} −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 Im{z} Zeros: reciprocal-conjugate quadruples / unit-circle pairs / z = −1
Fig. 10-9 — A symmetric length-8 FIR ($h[n] = h[7-n]$, left) and its zero constellation (right): a quadruple $0.7e^{\pm j\pi/2}$, $1.43e^{\pm j\pi/2}$, a conjugate pair on the unit circle at $e^{\pm j0.8\pi}$, and a zero at $z = -1$(線性相位 ⇒ 零點成「倒數共軛」對稱組).圖 10-9 — 一個長度為 8 的對稱 FIR($h[n] = h[7-n]$,左圖)與它的零點分布(右圖):一組四元組 $0.7e^{\pm j\pi/2}$、$1.43e^{\pm j\pi/2}$,一對落在單位圓上的共軛零點 $e^{\pm j0.8\pi}$,以及一個位於 $z = -1$ 的零點(線性相位 ⇒ 零點成「倒數共軛」對稱組)。図 10-9 — 長さ 8 の対称 FIR($h[n] = h[7-n]$、左)と、その零点配置(右)。四つ組 $0.7e^{\pm j\pi/2}$、$1.43e^{\pm j\pi/2}$、単位円上の共役対 $e^{\pm j0.8\pi}$、そして $z = -1$ の零点からなる(線形位相 ⇒ 零点は「逆数共役」の対称な組をなす)。
Warning — linear phase vs minimum phase vs causality注意 — 線性相位、最小相位與因果性注意 — 線形位相と最小位相と因果性
A linear-phase FIR cannot be minimum-phase (its zeros come in $\zeta, 1/\zeta$ pairs, so some lie on/outside the circle, except in degenerate cases) — the price of zero phase distortion is the fixed delay $(M-1)/2$. More generally, causality forces a nonzero phase response: a causal system cannot have $\theta(\omega) \equiv 0$ unless $h[n] = c\,\delta[n]$. Zero-phase filtering is only possible offline (non-causal processing, e.g. MATLAB filtfilt).線性相位 FIR 不可能是最小相位的(它的零點成對出現為 $\zeta, 1/\zeta$,所以除了退化情形之外,總有一些落在圓上或圓外)——零相位失真的代價,就是固定的延遲 $(M-1)/2$。更一般地說,因果性本身就逼出非零的相位響應:除非 $h[n] = c\,\delta[n]$,否則因果系統不可能有 $\theta(\omega) \equiv 0$。零相位濾波只能離線做(非因果處理,例如 MATLAB 的 filtfilt)。線形位相 FIR は最小位相にはなれない(零点が $\zeta, 1/\zeta$ の対で現れるため、退化した場合を除いていくつかは円上か円の外に出る)。位相歪みをゼロにする代価が、固定遅延 $(M-1)/2$ なのである。より一般に、因果性そのものが非零の位相応答を強いる。$h[n] = c\,\delta[n]$ でないかぎり、因果的なシステムが $\theta(\omega) \equiv 0$ をもつことはない。零位相フィルタリングはオフラインでしかできない(非因果的な処理、たとえば MATLAB の filtfilt)。
直觀解釋(點擊展開)
三個家族各司其職:全通=只動相位不動振幅(純「時間整形器」);最小相位=給定振幅下相位代價最小、能量最早到、且可被穩定地反轉(等化);線性相位=相位是一條直線,所有頻率等延遲,波形不變形。任何系統都可拆成 $H_{min}\cdot H_{ap}$:振幅全部由 $H_{min}$ 負責,多餘的相位推給 $H_{ap}$。考試常考:把單位圓外的零點 $\zeta$ 反射到 $1/\zeta^{*}$,振幅不變、相位變小——這就是兩者只差一個全通因子的意思。

10.5 Chapter Summary10.5 本章總結10.5 章のまとめ

Frequency response頻率響應周波数応答
$e^{j\omega_0 n}$ is an eigenfunction: output $= H(e^{j\omega_0})\,e^{j\omega_0 n}$. Real sinusoid → gain $|H|$, phase shift $\theta(\omega_0)$. Gated input = steady state − transient (DTFT of the $h[n]$ tail); transient vanishes after $N$ samples for FIR, decays for stable IIR.$e^{j\omega_0 n}$ 是特徵函數:輸出 $= H(e^{j\omega_0})\,e^{j\omega_0 n}$。實數弦波 → 增益 $|H|$、相位平移 $\theta(\omega_0)$。被閘控的輸入 = 穩態 − 暫態($h[n]$ 尾巴的 DTFT);對 FIR 而言暫態在 $N$ 個樣本後消失,對穩定的 IIR 則是逐漸衰減。$e^{j\omega_0 n}$ は固有関数であり、出力は $= H(e^{j\omega_0})\,e^{j\omega_0 n}$ となる。実正弦波なら → 利得 $|H|$、位相シフト $\theta(\omega_0)$。ゲートされた入力 = 定常状態 − 過渡($h[n]$ の尾部の DTFT)。過渡は FIR なら $N$ 標本後に消え、安定な IIR なら減衰していく。
Transfer function轉移函數伝達関数
$Y(z) = H(z)X(z)$; $H(z)$ from the difference equation ($\sum p_k z^{-k} / \sum d_k z^{-k}$) or from $h[n]$. Causal → ROC outside the largest pole; stable ⇔ poles inside the unit circle. FR $=$ TF on the unit circle.$Y(z) = H(z)X(z)$;$H(z)$ 可由差分方程式($\sum p_k z^{-k} / \sum d_k z^{-k}$)或由 $h[n]$ 得到。因果 → 收斂區域在最大極點之外;穩定 ⇔ 極點都在單位圓內。頻率響應 $=$ 單位圓上的轉移函數。$Y(z) = H(z)X(z)$。$H(z)$ は差分方程式($\sum p_k z^{-k} / \sum d_k z^{-k}$)からも $h[n]$ からも得られる。因果的 → 収束領域は最大の極の外側。安定 ⇔ 極がすべて単位円の内側。周波数応答 $=$ 単位円上の伝達関数。
Pole-zero geometry極零幾何極零配置の幾何
$|H|$ = product of zero-vector lengths ÷ pole-vector lengths; $\theta$ = zero angles − pole angles $+\ \omega(N-M)$. Zeros near the u.c. → dips; poles near the u.c. → peaks; close pole-zero pairs cancel from afar.$|H|$ = 零點向量長度的乘積 ÷ 極點向量長度的乘積;$\theta$ = 零點角度 − 極點角度 $+\ \omega(N-M)$。零點靠近單位圓 → 凹谷;極點靠近單位圓 → 尖峰;靠得很近的極零對從遠處看互相抵消。$|H|$ = 零点ベクトルの長さの積 ÷ 極ベクトルの長さの積。$\theta$ = 零点の角度 − 極の角度 $+\ \omega(N-M)$。零点が単位円に近い → 谷。極が単位円に近い → ピーク。近接した極と零点の対は遠くから見ると打ち消し合う。
Phase delay vs group delay相位延遲與群延遲位相遅延と群遅延
$\tau_p = -\theta(\omega)/\omega$ delays the carrier; $\tau_g = -d\theta/d\omega$ delays the envelope (information). Nonlinear $\theta(\omega)$ over the signal band → phase distortion even with flat magnitude.$\tau_p = -\theta(\omega)/\omega$ 延遲載波;$\tau_g = -d\theta/d\omega$ 延遲包絡(也就是資訊)。訊號頻帶上 $\theta(\omega)$ 非線性 → 即使振幅平坦也會有相位失真。$\tau_p = -\theta(\omega)/\omega$ は搬送波を遅らせ、$\tau_g = -d\theta/d\omega$ は包絡線(すなわち情報)を遅らせる。信号帯域で $\theta(\omega)$ が非線形 → 振幅が平坦でも位相歪みが生じる。
System classes系統類別システムの分類
All-pass: $|H| \equiv 1$, pole $a$ ↔ zero $1/a^{*}$, $\tau_g > 0$. Minimum-phase: all roots inside, invertible by a causal stable filter, least delay for its magnitude. Any $H = H_{min}H_{ap}$.全通:$|H| \equiv 1$,極點 $a$ ↔ 零點 $1/a^{*}$,$\tau_g > 0$。最小相位:所有根都在圓內,可被因果穩定的濾波器反轉,在該振幅下延遲最小。任何系統皆可寫成 $H = H_{min}H_{ap}$。全域通過:$|H| \equiv 1$、極 $a$ ↔ 零点 $1/a^{*}$、$\tau_g > 0$。最小位相:根がすべて円の内側にあり、因果的で安定なフィルタによって逆にでき、その振幅に対して遅延が最小。任意のシステムは $H = H_{min}H_{ap}$ と書ける。
Linear phase線性相位線形位相
FIR with $h[n] = \pm h[M-1-n]$ → $\theta$ linear, $\tau_g = (M-1)/2$ constant, zero constellation in reciprocal-conjugate quadruples / unit-circle pairs / $z=\pm1$. No phase distortion, fixed bulk delay.滿足 $h[n] = \pm h[M-1-n]$ 的 FIR → $\theta$ 為線性、$\tau_g = (M-1)/2$ 為常數,零點分布由倒數共軛四元組/單位圓上的共軛對/$z=\pm1$ 構成。沒有相位失真,只有固定的整體延遲。$h[n] = \pm h[M-1-n]$ を満たす FIR → $\theta$ は線形、$\tau_g = (M-1)/2$ は一定、零点配置は逆数共役の四つ組/単位円上の共役対/$z=\pm1$ からなる。位相歪みはなく、一定の全体遅延だけが残る。

Exercises習題演習問題

Exercise 1 — Steady-State Response to a Real Sinusoid習題 1 — 實數弦波的穩態響應演習 1 — 実正弦波に対する定常状態の応答

Problem: A 3-point moving-average filter $h[n] = \{\tfrac13, \tfrac13, \tfrac13\}$ (for $n = 0,1,2$) is driven by $x[n] = \cos\!\big(\tfrac{\pi}{4}n + \tfrac{\pi}{6}\big)$. Find the steady-state output $y[n]$ exactly, and interpret the phase shift as a time delay.題目:一個 3 點移動平均濾波器 $h[n] = \{\tfrac13, \tfrac13, \tfrac13\}$($n = 0,1,2$)由 $x[n] = \cos\!\big(\tfrac{\pi}{4}n + \tfrac{\pi}{6}\big)$ 驅動。請精確求出穩態輸出 $y[n]$,並把相位平移解讀為時間延遲。問題:3 点移動平均フィルタ $h[n] = \{\tfrac13, \tfrac13, \tfrac13\}$($n = 0,1,2$)を $x[n] = \cos\!\big(\tfrac{\pi}{4}n + \tfrac{\pi}{6}\big)$ で駆動する。定常状態の出力 $y[n]$ を厳密に求め、位相のずれを時間遅れとして解釈せよ。

Click to reveal solution點擊展開解答クリックして解答を表示

Frequency response (Example 10-A with $M = 3$, or directly):頻率響應(取範例 10-A 的 $M = 3$,或直接計算):周波数応答(例題 10-A で $M = 3$ とするか、直接求める)。

$$H(e^{j\omega}) = \frac13\big(1 + e^{-j\omega} + e^{-2j\omega}\big) = \frac13 e^{-j\omega}\big(1 + 2\cos\omega\big)$$

At $\omega_0 = \pi/4$: $\cos(\pi/4) = \tfrac{\sqrt2}{2}$, so在 $\omega_0 = \pi/4$ 處:$\cos(\pi/4) = \tfrac{\sqrt2}{2}$,所以$\omega_0 = \pi/4$ では $\cos(\pi/4) = \tfrac{\sqrt2}{2}$ なので、

$$H(e^{j\pi/4}) = \frac{1+\sqrt{2}}{3}\,e^{-j\pi/4} \approx 0.805\,e^{-j\pi/4}$$

Real input, real $h[n]$ → apply the boxed result of 10.1.2:實數輸入、實數 $h[n]$ → 套用 10.1.2 的方框結論:実入力で $h[n]$ も実数 → 10.1.2 の囲みの結論を適用する。

$$y[n] = 0.805\cos\Big(\frac{\pi}{4}n + \frac{\pi}{6} - \frac{\pi}{4}\Big) = 0.805\cos\Big(\frac{\pi}{4}(n-1) + \frac{\pi}{6}\Big)$$

The phase shift $-\pi/4$ at frequency $\pi/4$ is exactly a one-sample delay ($\tau_p = \frac{\pi/4}{\pi/4} = 1$), consistent with linear phase $\theta(\omega) = -\omega$ and the symmetry center of $h[n]$ at $n = 1$.在頻率 $\pi/4$ 處的相位平移 $-\pi/4$,恰好就是一個樣本的延遲($\tau_p = \frac{\pi/4}{\pi/4} = 1$),這與線性相位 $\theta(\omega) = -\omega$ 以及 $h[n]$ 的對稱中心落在 $n = 1$ 完全一致。周波数 $\pi/4$ における位相のずれ $-\pi/4$ は、ちょうど1 標本の遅れ($\tau_p = \frac{\pi/4}{\pi/4} = 1$)である。これは線形位相 $\theta(\omega) = -\omega$ とも、$h[n]$ の対称中心が $n = 1$ にあることとも整合している。

Exercise 2 — Moving-Average Frequency Response and Nulls習題 2 — 移動平均的頻率響應與零點演習 2 — 移動平均の周波数応答と零点

Problem: (a) Derive the closed-form frequency response of the $M$-point moving average $y[n] = \frac1M\sum_{\ell=0}^{M-1}x[n-\ell]$. (b) For $M = 4$, list all frequencies in $(0, \pi]$ at which the response is exactly zero, and explain them with the zero locations of $H(z)$. (c) Which input sinusoids are completely blocked?題目:(a) 推導 $M$ 點移動平均 $y[n] = \frac1M\sum_{\ell=0}^{M-1}x[n-\ell]$ 的閉合形式頻率響應。(b) 取 $M = 4$,列出 $(0, \pi]$ 中所有使響應恰為零的頻率,並用 $H(z)$ 的零點位置解釋它們。(c) 哪些輸入弦波會被完全擋掉?問題:(a) $M$ 点移動平均 $y[n] = \frac1M\sum_{\ell=0}^{M-1}x[n-\ell]$ の周波数応答を閉じた形で導け。(b) $M = 4$ のとき、$(0, \pi]$ のうち応答がちょうど 0 になる周波数をすべて挙げ、$H(z)$ の零点の位置から説明せよ。(c) 完全に阻止される入力正弦波はどれか。

Click to reveal solution點擊展開解答クリックして解答を表示

(a) Geometric sum:(a) 等比級數和:(a) 等比級数和を使う。

$$H(e^{j\omega}) = \frac1M\,\frac{1-e^{-j\omega M}}{1-e^{-j\omega}} = \frac1M\,e^{-j\omega\frac{M-1}{2}}\,\frac{\sin(M\omega/2)}{\sin(\omega/2)}$$

(b) Zeros where $\sin(M\omega/2) = 0$ but $\sin(\omega/2) \ne 0$: $\omega = 2\pi k/M$, $k = 1, \dots, M-1$. For $M = 4$:(b) 零點出現在 $\sin(M\omega/2) = 0$ 但 $\sin(\omega/2) \ne 0$ 之處:$\omega = 2\pi k/M$,$k = 1, \dots, M-1$。取 $M = 4$:(b) 零点は $\sin(M\omega/2) = 0$ かつ $\sin(\omega/2) \ne 0$ の点、すなわち $\omega = 2\pi k/M$、$k = 1, \dots, M-1$ である。$M = 4$ なら、

$$\omega = \frac{\pi}{2}, \ \pi \quad (k = 1, 2; \ k=3 \text{ gives } \tfrac{3\pi}{2} \notin (0,\pi])$$

In the z-plane, $H(z) = \frac{z^4 - 1}{4z^3(z-1)}$: the 4th roots of unity $\{1, j, -1, -j\}$ minus the cancelled root at $z=1$ leave zeros at $z = j, -1, -j$, i.e. on the unit circle at angles $\pm\pi/2$ and $\pi$ — exactly the magnitude nulls (the vector from an on-circle zero to $e^{j\omega}$ has length zero there).在 z 平面上 $H(z) = \frac{z^4 - 1}{4z^3(z-1)}$:4 次單位根 $\{1, j, -1, -j\}$ 扣掉在 $z=1$ 被對消的那個根,剩下 $z = j, -1, -j$ 這三個零點,也就是單位圓上角度 $\pm\pi/2$ 與 $\pi$ 的位置——正好就是振幅零點(從圓上零點指向 $e^{j\omega}$ 的向量在那裡長度為零)。z 平面では $H(z) = \frac{z^4 - 1}{4z^3(z-1)}$ である。1 の 4 乗根 $\{1, j, -1, -j\}$ から $z=1$ で相殺された根を除くと、零点は $z = j, -1, -j$ に残る。すなわち単位円上の角度 $\pm\pi/2$ と $\pi$ の位置であり、これが振幅の零点そのものである(円上の零点から $e^{j\omega}$ へのベクトルの長さがそこで 0 になる)。

(c) Any sinusoid $A\cos(\omega n + \phi)$ with $\omega = \pi/2$ or $\omega = \pi$ produces zero steady-state output — e.g. $\{\dots, 1, 0, -1, 0, \dots\}$ and $\{\dots, 1, -1, 1, -1, \dots\}$: every 4 consecutive samples average to 0.(c) 任何 $\omega = \pi/2$ 或 $\omega = \pi$ 的弦波 $A\cos(\omega n + \phi)$ 的穩態輸出都是零——例如 $\{\dots, 1, 0, -1, 0, \dots\}$ 與 $\{\dots, 1, -1, 1, -1, \dots\}$:任意連續 4 個樣本的平均都是 0。(c) $\omega = \pi/2$ または $\omega = \pi$ の正弦波 $A\cos(\omega n + \phi)$ は、どれも定常状態の出力が 0 になる。たとえば $\{\dots, 1, 0, -1, 0, \dots\}$ や $\{\dots, 1, -1, 1, -1, \dots\}$ であり、連続する 4 標本の平均がつねに 0 になるからである。

Exercise 3 — Transfer Function, Poles, ROC, and Stability習題 3 — 轉移函數、極點、收斂區域與穩定性演習 3 — 伝達関数・極・収束領域・安定性

Problem: A causal system satisfies題目:某因果系統滿足問題:ある因果的なシステムが次を満たすとする。 $$y[n] = x[n] - 0.5x[n-1] + 1.1y[n-1] - 0.3y[n-2].$$ (a) Find $H(z)$ and factor it. (b) Locate poles and zeros. (c) Give the ROC and decide stability. (d) Could a different (non-causal) system with the same $H(z)$ expression be stable?(a) 求出 $H(z)$ 並因式分解。(b) 找出極點與零點。(c) 給出收斂區域並判斷穩定性。(d) 具有相同 $H(z)$ 表示式的另一個(非因果)系統有可能穩定嗎?(a) $H(z)$ を求めて因数分解せよ。(b) 極と零点の位置を求めよ。(c) 収束領域を示し、安定性を判定せよ。(d) 同じ $H(z)$ の式をもつ別の(非因果的な)システムが安定になりうるか。

Click to reveal solution點擊展開解答クリックして解答を表示

(a) Transforming with $Y$ terms collected:(a) 把 $Y$ 的各項集中之後取轉換:(a) $Y$ の項をまとめてから変換する。

$$H(z) = \frac{1 - 0.5z^{-1}}{1 - 1.1z^{-1} + 0.3z^{-2}} = \frac{1 - 0.5z^{-1}}{(1 - 0.5z^{-1})(1 - 0.6z^{-1})} = \frac{1}{1 - 0.6z^{-1}}$$

The denominator factors via $\lambda^2 - 1.1\lambda + 0.3 = (\lambda - 0.5)(\lambda - 0.6)$.分母可以分解為 $\lambda^2 - 1.1\lambda + 0.3 = (\lambda - 0.5)(\lambda - 0.6)$。分母は $\lambda^2 - 1.1\lambda + 0.3 = (\lambda - 0.5)(\lambda - 0.6)$ と因数分解できる。

(b) Zero at $z = 0.5$, poles at $z = 0.5$ and $z = 0.6$. The pole at $0.5$ is cancelled by the zero (a pole-zero cancellation — "near poles and zeros cancel", here exactly). Effective system: single pole at $z = 0.6$, $h[n] = (0.6)^n u[n]$.(b) 零點在 $z = 0.5$,極點在 $z = 0.5$ 與 $z = 0.6$。位於 $0.5$ 的極點被零點對消掉了(極零對消——「靠得很近的極零對會互相抵消」,這裡則是完全抵消)。等效的系統是:單一極點位於 $z = 0.6$,$h[n] = (0.6)^n u[n]$。(b) 零点は $z = 0.5$、極は $z = 0.5$ と $z = 0.6$ にある。$0.5$ の極は零点によって相殺される(極零相殺であり、「近接した極と零点は打ち消し合う」が、ここでは厳密に打ち消し合う)。実効的なシステムは $z = 0.6$ に極をひとつもつもので、$h[n] = (0.6)^n u[n]$ となる。

(c) Causal → ROC $|z| > 0.6$. This includes the unit circle → stable.(c) 因果 → 收斂區域 $|z| > 0.6$。它包含單位圓 → 穩定。(c) 因果的 → 収束領域は $|z| > 0.6$。これは単位円を含む → 安定である。

(d) The other ROC choice $|z| < 0.6$ (left-sided $h[n] = -(0.6)^n u[-n-1]$) does not include the unit circle → unstable. So for this $H(z)$ only the causal version is stable. (In general a stable non-causal choice exists only when some pole lies outside the unit circle and the annular ROC between pole radii still contains $|z| = 1$.)(d) 另一種收斂區域的選擇 $|z| < 0.6$(左側序列 $h[n] = -(0.6)^n u[-n-1]$)不包含單位圓 → 不穩定。所以對這個 $H(z)$ 而言,只有因果的版本是穩定的。(一般來說,只有當某個極點落在單位圓外、而極點半徑之間的環狀收斂區域仍然包含 $|z| = 1$ 時,才會存在穩定的非因果選擇。)(d) もう一方の収束領域 $|z| < 0.6$(左側系列 $h[n] = -(0.6)^n u[-n-1]$)は単位円を含まない → 不安定である。つまりこの $H(z)$ では、安定なのは因果的な版だけである。(一般に、安定な非因果的の選択が存在するのは、いずれかの極が単位円の外にあり、極の半径のあいだの円環状の収束領域がなお $|z| = 1$ を含む場合にかぎる。)

Exercise 4 — Geometric Interpretation of a Resonator習題 4 — 共振器的幾何解釋演習 4 — 共振器の幾何学的な解釈

Problem: Consider the two-pole resonator題目:考慮下面這個雙極點共振器問題:次の 2 極共振器を考える。 $$H(z) = \frac{1}{(1 - 0.9e^{j\pi/3}z^{-1})(1 - 0.9e^{-j\pi/3}z^{-1})}.$$ Using only pole-vector geometry (no full evaluation): (a) near which frequency does $|H(e^{j\omega})|$ peak, and why? (b) Estimate $|H|$ at $\omega = \pi/3$. (c) What happens to the peak as the pole radius $r \to 1$? (d) Sketch the expected phase behavior near the peak.只用極點向量的幾何(不做完整計算):(a) $|H(e^{j\omega})|$ 會在哪個頻率附近出現尖峰?為什麼?(b) 估計 $\omega = \pi/3$ 處的 $|H|$。(c) 當極點半徑 $r \to 1$ 時,尖峰會怎麼變?(d) 畫出尖峰附近預期的相位行為。極ベクトルの幾何だけを使って(完全な評価はせずに)答えよ。(a) $|H(e^{j\omega})|$ はどの周波数の近くでピークをもつか。またそれはなぜか。(b) $\omega = \pi/3$ での $|H|$ を見積もれ。(c) 極の半径が $r \to 1$ となるとピークはどうなるか。(d) ピーク付近で予想される位相のふるまいを図示せよ。

Click to reveal solution點擊展開解答クリックして解答を表示

(a) $|H(e^{j\omega})| = \dfrac{1}{|e^{j\omega} - 0.9e^{j\pi/3}|\;|e^{j\omega} - 0.9e^{-j\pi/3}|}$. The first pole-vector length is minimized when $e^{j\omega}$ passes closest to the pole, i.e. $\omega \approx \pi/3$ — the magnitude peaks there (the true maximum is a hair below $\pi/3$ because the conjugate pole's vector also shrinks slightly as $\omega$ decreases, but for $r = 0.9$ the shift is tiny).(a) $|H(e^{j\omega})| = \dfrac{1}{|e^{j\omega} - 0.9e^{j\pi/3}|\;|e^{j\omega} - 0.9e^{-j\pi/3}|}$。第一個極點向量的長度在 $e^{j\omega}$ 離該極點最近時達到最小,也就是 $\omega \approx \pi/3$——振幅就在那裡出現尖峰(真正的極大值會比 $\pi/3$ 低一點點,因為 $\omega$ 減小時共軛極點的向量也會稍微變短,但在 $r = 0.9$ 的情況下這個偏移小得可以忽略)。(a) $|H(e^{j\omega})| = \dfrac{1}{|e^{j\omega} - 0.9e^{j\pi/3}|\;|e^{j\omega} - 0.9e^{-j\pi/3}|}$ である。一つめの極ベクトルの長さは、$e^{j\omega}$ がその極に最も近づくとき、すなわち $\omega \approx \pi/3$ で最小になる。振幅はそこでピークをもつ(真の最大はごくわずかに $\pi/3$ より下である。$\omega$ が小さくなると共役な極のベクトルもわずかに縮むからだが、$r = 0.9$ ではこのずれはごく小さい)。

(b) At $\omega = \pi/3$:(b) 在 $\omega = \pi/3$ 處:(b) $\omega = \pi/3$ では次のようになる。

  • distance to the near pole: $|e^{j\pi/3} - 0.9e^{j\pi/3}| = 1 - 0.9 = 0.1$;到近極點的距離:$|e^{j\pi/3} - 0.9e^{j\pi/3}| = 1 - 0.9 = 0.1$;近い極までの距離は $|e^{j\pi/3} - 0.9e^{j\pi/3}| = 1 - 0.9 = 0.1$。
  • distance to the conjugate pole: $|e^{j\pi/3} - 0.9e^{-j\pi/3}|$. With $e^{j\pi/3} = 0.5 + j0.866$, $0.9e^{-j\pi/3} = 0.45 - j0.779$: difference $= 0.05 + j1.645$, length $\approx 1.646$.到共軛極點的距離:$|e^{j\pi/3} - 0.9e^{-j\pi/3}|$。代入 $e^{j\pi/3} = 0.5 + j0.866$、$0.9e^{-j\pi/3} = 0.45 - j0.779$:差為 $= 0.05 + j1.645$,長度 $\approx 1.646$。共役な極までの距離は $|e^{j\pi/3} - 0.9e^{-j\pi/3}|$ である。$e^{j\pi/3} = 0.5 + j0.866$、$0.9e^{-j\pi/3} = 0.45 - j0.779$ とすると、差は $= 0.05 + j1.645$、長さは $\approx 1.646$ となる。
$$|H(e^{j\pi/3})| \approx \frac{1}{0.1 \times 1.646} \approx 6.1$$

(c) As $r \to 1$ the near-pole distance $\to 0$, so the peak height $\to \infty$ (pole on the unit circle = oscillator) and the peak bandwidth shrinks $\propto (1-r)$.(c) 當 $r \to 1$ 時,到近極點的距離 $\to 0$,所以尖峰高度 $\to \infty$(極點落在單位圓上就是振盪器),而尖峰的頻寬則以 $\propto (1-r)$ 的方式收窄。(c) $r \to 1$ とすると、近い極までの距離が $\to 0$ となるので、ピークの高さは $\to \infty$ になる(極が単位円上に乗れば発振器である)。ピークの帯域幅は $\propto (1-r)$ で狭くなる。

(d) Phase = $-$(sum of pole-vector angles)$+2\omega$. As $e^{j\omega}$ sweeps past the near pole, that pole's vector angle rotates rapidly by nearly $\pi$, so $\theta(\omega)$ drops steeply through the resonance — and correspondingly $\tau_g = -d\theta/d\omega$ has a tall positive peak at $\omega \approx \pi/3$.(d) 相位 = $-$(極點向量角度之和)$+2\omega$。當 $e^{j\omega}$ 掃過近極點時,該極點的向量角度會快速轉過接近 $\pi$,所以 $\theta(\omega)$ 在共振處陡降——相對應地,$\tau_g = -d\theta/d\omega$ 在 $\omega \approx \pi/3$ 處出現一個高聳的正峰。(d) 位相 = $-$(極ベクトルの角度の和)$+2\omega$ である。$e^{j\omega}$ が近い極のそばを通り過ぎるとき、その極のベクトルの角度は $\pi$ 近くまで一気に回る。したがって $\theta(\omega)$ は共振を抜けるところで急降下し、対応して $\tau_g = -d\theta/d\omega$ は $\omega \approx \pi/3$ で高い正のピークをもつ。

Exercise 5 — Phase Delay vs Group Delay習題 5 — 相位延遲與群延遲的比較演習 5 — 位相遅延と群遅延の比較

Problem: For the symmetric 3-pt filter $h[n] = \{\alpha, \beta, \alpha\}$ with $H(e^{j\omega}) = e^{-j\omega}(\beta + 2\alpha\cos\omega)$: (a) Show that wherever $\beta + 2\alpha\cos\omega > 0$, $\tau_p(\omega) = \tau_g(\omega) = 1$ sample, and explain why this filter causes no phase distortion. (b) What happens to $\theta(\omega)$, $\tau_p$, and $\tau_g$ at a frequency $\omega_z$ where $\beta + 2\alpha\cos\omega$ changes sign? (c) An AM signal $A[n]\cos(\omega_c n)$ with narrowband $A[n]$ passes through a system with $\theta(\omega_c) = -1.2$ rad, $\frac{d\theta}{d\omega}|_{\omega_c} = -8$, $\omega_c = 0.3$. By how many samples are the carrier and the envelope delayed?題目:對於對稱的 3 點濾波器 $h[n] = \{\alpha, \beta, \alpha\}$,其 $H(e^{j\omega}) = e^{-j\omega}(\beta + 2\alpha\cos\omega)$:(a) 證明只要 $\beta + 2\alpha\cos\omega > 0$,就有 $\tau_p(\omega) = \tau_g(\omega) = 1$ 個樣本,並說明為何這個濾波器不會造成相位失真。(b) 在 $\beta + 2\alpha\cos\omega$ 變號的頻率 $\omega_z$ 處,$\theta(\omega)$、$\tau_p$ 與 $\tau_g$ 會發生什麼事?(c) 一個 AM 訊號 $A[n]\cos(\omega_c n)$($A[n]$ 為窄頻)通過一個系統,該系統有 $\theta(\omega_c) = -1.2$ rad、$\frac{d\theta}{d\omega}|_{\omega_c} = -8$、$\omega_c = 0.3$。載波與包絡各被延遲幾個樣本?問題:対称な 3 点フィルタ $h[n] = \{\alpha, \beta, \alpha\}$ は $H(e^{j\omega}) = e^{-j\omega}(\beta + 2\alpha\cos\omega)$ をもつ。(a) $\beta + 2\alpha\cos\omega > 0$ であるかぎり $\tau_p(\omega) = \tau_g(\omega) = 1$ 標本となることを示し、なぜこのフィルタが位相歪みを生じないのかを説明せよ。(b) $\beta + 2\alpha\cos\omega$ が符号を変える周波数 $\omega_z$ で、$\theta(\omega)$、$\tau_p$、$\tau_g$ はどうなるか。(c) 狭帯域の $A[n]$ をもつ AM 信号 $A[n]\cos(\omega_c n)$ が、$\theta(\omega_c) = -1.2$ rad、$\frac{d\theta}{d\omega}|_{\omega_c} = -8$、$\omega_c = 0.3$ のシステムを通る。搬送波と包絡線はそれぞれ何標本遅れるか。

Click to reveal solution點擊展開解答クリックして解答を表示

(a) Where the real factor is positive it contributes no phase, so $\theta(\omega) = -\omega$:(a) 在實數因子為正的地方,它不貢獻任何相位,所以 $\theta(\omega) = -\omega$:(a) 実数因子が正のところでは位相をまったく寄与しないので、$\theta(\omega) = -\omega$ である。

$$\tau_p = -\frac{-\omega}{\omega} = 1, \qquad \tau_g = -\frac{d(-\omega)}{d\omega} = 1$$

Both delays are constant and equal: every sinusoid and every envelope is delayed exactly 1 sample, so the output waveform shape is preserved (only amplitude-shaped by $|\beta + 2\alpha\cos\omega|$). Constant $\tau_g$ ⇔ linear phase ⇔ no phase distortion.兩個延遲都是常數而且相等:每個弦波、每個包絡都剛好延遲 1 個樣本,因此輸出波形的形狀被保留下來(只是振幅被 $|\beta + 2\alpha\cos\omega|$ 塑形)。$\tau_g$ 為常數 ⇔ 線性相位 ⇔ 沒有相位失真。二つの遅延はともに一定で、しかも等しい。どの正弦波もどの包絡線もちょうど 1 標本だけ遅れるので、出力波形の形は保たれる(振幅が $|\beta + 2\alpha\cos\omega|$ で整形されるだけである)。$\tau_g$ が一定 ⇔ 線形位相 ⇔ 位相歪みなし。

(b) At a sign change the phase jumps by $\pi$ (the magnitude $|\beta + 2\alpha\cos\omega|$ has a corner touching 0). $\tau_p$ becomes $\frac{\omega + \pi \cdot(\text{accumulated jumps})}{\omega}$-like — ill-defined/discontinuous at $\omega_z$ — and $\tau_g$, the derivative of a step, has an impulse there: group delay is simply not meaningful at frequencies where the response is zero (nothing gets through to be delayed).(b) 變號處相位跳 $\pi$(振幅 $|\beta + 2\alpha\cos\omega|$ 在那裡有一個觸及 0 的尖角)。$\tau_p$ 變成 $\frac{\omega + \pi \cdot(\text{accumulated jumps})}{\omega}$ 那樣的東西——在 $\omega_z$ 處定義不清、不連續——而 $\tau_g$ 作為階梯函數的導數,在那裡會出現一個脈衝:在響應為零的頻率上,群延遲根本沒有意義(根本沒有東西通過,自然談不上延遲)。(b) 符号が変わるところで位相は $\pi$ だけ跳ぶ(振幅 $|\beta + 2\alpha\cos\omega|$ はそこで 0 に触れる角をもつ)。$\tau_p$ は $\frac{\omega + \pi \cdot(\text{accumulated jumps})}{\omega}$ のような形になり、$\omega_z$ では定義が定まらず不連続になる。また $\tau_g$ は階段関数の微分として、そこにインパルスをもつ。応答がゼロになる周波数では、群遅延はそもそも意味をもたない(遅れるべきものが何も通っていないからである)。

(c) Carrier delay $\tau_p(\omega_c) = -\theta(\omega_c)/\omega_c = 1.2/0.3 = 4$ samples. Envelope delay $\tau_g(\omega_c) = -d\theta/d\omega = 8$ samples. The carrier slips 4 samples while the information envelope arrives 8 samples late.(c) 載波延遲 $\tau_p(\omega_c) = -\theta(\omega_c)/\omega_c = 1.2/0.3 = 4$ 個樣本。包絡延遲 $\tau_g(\omega_c) = -d\theta/d\omega = 8$ 個樣本。載波滑移 4 個樣本,而承載資訊的包絡則晚到 8 個樣本。(c) 搬送波の遅れは $\tau_p(\omega_c) = -\theta(\omega_c)/\omega_c = 1.2/0.3 = 4$ 標本。包絡線の遅れは $\tau_g(\omega_c) = -d\theta/d\omega = 8$ 標本である。搬送波は 4 標本ずれ、情報を担う包絡線は 8 標本遅れて到着する。

Exercise 6 — MATLAB: freqz, grpdelay, zplane on the Lecture TF Example習題 6 — MATLAB:對投影片的轉移函數例子用 freqz、grpdelay、zplane演習 6 — MATLAB:講義の伝達関数の例に freqz・grpdelay・zplane を使う

Problem: For the lecture system題目:對投影片中的系統問題:講義のシステム $$H(z) = \frac{z^{-1} - 1.2z^{-2} + z^{-3}}{1 - 1.3z^{-1} + 1.04z^{-2} - 0.222z^{-3}},$$ write MATLAB code to (a) plot the log-magnitude, principal-value phase, and group delay over $0 \le \omega \le \pi$, and (b) draw the pole-zero plot. (c) From the plots, explain the deep magnitude notch and the adjacent peak near $\omega \approx 0.3\pi$, and the sign of the group delay around the notch.請寫出 MATLAB 程式碼:(a) 在 $0 \le \omega \le \pi$ 上畫出對數振幅、主值相位與群延遲;(b) 畫出極零圖。(c) 由這些圖說明 $\omega \approx 0.3\pi$ 附近那個很深的振幅凹口與緊鄰的尖峰,以及凹口周圍群延遲的正負號。について、MATLAB のコードを書け。(a) $0 \le \omega \le \pi$ で対数振幅・主値位相・群遅延を描くこと。(b) 極零図を描くこと。(c) 得られた図から、$\omega \approx 0.3\pi$ 付近の深い振幅のノッチと隣り合うピーク、そしてノッチ周辺での群遅延の符号を説明せよ。

Click to reveal solution點擊展開解答クリックして解答を表示
b = [0 1 -1.2 1];              % numerator  z^-1 - 1.2 z^-2 + z^-3
a = [1 -1.3 1.04 -0.222];      % denominator

[H, w]   = freqz(b, a, 1024);  % frequency response on [0, pi)
[gd, wg] = grpdelay(b, a, 1024);

figure;
subplot(3,1,1); plot(w/pi, 20*log10(abs(H)));
ylabel('dB'); title('Log magnitude'); grid on;
subplot(3,1,2); plot(w/pi, angle(H));
ylabel('radians'); title('Phase (principal value)'); grid on;
subplot(3,1,3); plot(wg/pi, gd);
ylabel('samples'); xlabel('\omega/\pi'); title('Group delay'); grid on;

figure; zplane(b, a);          % poles x, zeros o
% roots(b(2:end)) -> zeros 0.6 +/- 0.8i   (|z| = 1, angle 0.2952*pi)
% roots(a)        -> poles 0.5 +/- 0.7i, 0.3 (|z| = 0.86, angle 0.3026*pi)

Regenerated result (numpy/scipy equivalent of freqz/grpdelay):重新產生的結果(freqz/grpdelay 的 numpy/scipy 對應版本):再生成した結果(freqz/grpdelay の numpy/scipy 版)。

2026-06-12T22:40:43.038722 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/ −40 −20 0 dB 20log₁₀|H(e^jω)| −3 −2 −1 0 radians Phase (principal value) 0 π/4 π/2 3π/4 π ω (rad/sample) 2 4 6 8 samples Group delay
Fig. 10-E6 — Log magnitude, principal phase, and group delay of the lecture transfer function.圖 10-E6 — 投影片轉移函數的對數振幅、主值相位與群延遲。図 10-E6 — 講義の伝達関数の対数振幅・主値位相・群遅延。

(c) The zeros $0.6 \pm j0.8$ sit exactly on the unit circle at angle $0.295\pi$ → $|H| = 0$ there: $20\log_{10}|H| \to -\infty$, the deep notch. The complex poles $0.5 \pm j0.7$ sit at radius $0.86$ at almost the same angle ($0.303\pi$) → a short pole vector boosts the magnitude immediately around the notch, producing the adjacent peak. Around the on-circle zero the phase jumps by $\pi$ (sign change of the zero factor), so the group delay shows a large negative spike right at the notch — group delay is not meaningful at a frequency where nothing is transmitted; just outside the notch the pole dominates and $\tau_g$ is large and positive.(c) 零點 $0.6 \pm j0.8$ 恰好落在單位圓上、角度為 $0.295\pi$ → 那裡 $|H| = 0$:$20\log_{10}|H| \to -\infty$,形成那個很深的凹口。複極點 $0.5 \pm j0.7$ 位於半徑 $0.86$、角度幾乎相同($0.303\pi$)→ 很短的極點向量把凹口緊鄰處的振幅推高,於是出現相鄰的尖峰。在圓上零點附近,相位跳了 $\pi$(零點因子變號),所以群延遲在凹口正上方出現一根很大的負向尖刺——在什麼都傳不過去的頻率上,群延遲本就沒有意義;而一離開凹口,極點便佔上風,$\tau_g$ 又大又正。(c) 零点 $0.6 \pm j0.8$ はちょうど単位円上、角度 $0.295\pi$ にある → そこで $|H| = 0$ となり、$20\log_{10}|H| \to -\infty$、これが深いノッチである。複素極 $0.5 \pm j0.7$ は半径 $0.86$、ほぼ同じ角度($0.303\pi$)にある → 短い極ベクトルがノッチのすぐ周りで振幅を押し上げ、隣り合うピークを作る。円上の零点のまわりでは位相が $\pi$ だけ跳ぶので(零点因子の符号変化による)、群遅延はノッチのちょうどその場所で大きな負のスパイクを見せる。何も伝わらない周波数で群遅延は意味をもたないのである。ノッチを少し外れれば極が支配的になり、$\tau_g$ は大きな正の値になる。