Discrete-time systems review
הוצג
7:22
עיבוד אותות דיגיטלי
Digital signal processing rebuilds the continuous theory for samples, where arithmetic is exact: N samples in, N numbers out, and every promise can be…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| impulse response/ˈɪmpʌls rɪˈspɒns/ | תגובת פולס |
| convolution/kɒnvəˈluːʃn/ | התכתבות |
| causality/kɔːˈzælɪti/ | סיבתיות |
| BIBO stability/ˌbiː aɪ biː ˈəʊ stəˈbɪlɪti/ | BIBO יציבות |
| frequency response/ˈfriːkwənsi rɪˈspɒns/ | תגובת תדר |
תוכנית על רשימת מספרים
- כל פילטר, כל ספקטרום וכל שיפור מהירות בקורס הזה הם תוכניות הפועלות על רשימה של מספרים.
- רשימה אחת קובעת את כל מה שהתוכנית הזו עושה: התגובה לאימפולסה.
קונבולוציה
- מערכת ליניארית עם זמן בלתי תלוי מתוארת במלואה על ידי התגובה לאימפולסה שלה, $h[n]$.
- הפלט הוא הקונבולוציה $y[n] = \sum_{k} h[k]\,x[n-k]$: החלק את ה-Taps לאורך הכניסה, כפל וחבר.
h = [1, 2, 1] and x = [1, 1]. What is y?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
y[0] = 1; y[1] = 2 + 1 = 3; y[2] = 1 + 2 = 3; y[3] = 1. The output is len(h) + len(x) − 1 = 4 samples long.
סיבתיות ויציבות
- Causality: $h[n] = 0$ for $n < 0$, so no output comes before its input.
- יציבות BIBO: $\sum |h[n]|$ הוא סופי, ולכן כל כניסה מוגבלת נותנת פלט מוגבל.
A system with h[n] = 1.1ⁿ for n ≥ 0 is BIBO stable.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
The terms grow, so their sum diverges. A step input would drive the output without limit.
Match each property to its test.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
All three are read straight off the impulse response.
תגובת תדר
- Feed in $e^{j\omega n}$ and the same exponential comes out, multiplied by $H(e^{j\omega}) = \sum h[n]e^{-j\omega n}$.
- מכפיל זה הוא תגובת התדר. ב-$\omega = 0$ הוא סכום ה-Taps, גיבוי ה-DC.
What is the DC gain of h = [0.25, 0.5, 0.25]?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
The tap sum is 1, so a constant input passes unchanged.
הכרטיס הזה חדש, לכן הוא מוצג באנגלית עד שהתרגום שלו יהיה מוכן.
Worked example: reading the frequency response
- What does $h = [1, 2, 1]$ do to each frequency?
- Take out the middle delay $e^{-j\omega}$:
- Gain $|H| = 2 + 2\cos\omega$: 4 at DC ($\omega = 0$), 2 at $\omega = \pi/2$ (a quarter of $f_s$), and 0 at $\omega = \pi$ (Nyquist). It is a gentle low-pass.
- Phase $-\omega$: a delay of exactly one sample at every frequency, because the taps are symmetric about the middle one.
- Divide by the tap sum, $h = [\tfrac14, \tfrac12, \tfrac14]$, and the DC gain becomes 1: the usual way to make a smoother that keeps a steady signal's level.
A filter has taps $h = [1, -1]$. Its gain $|H|$ at the Nyquist frequency ($\omega = \pi$)?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
$H(e^{j\pi}) = 1 - e^{-j\pi} = 1 - (-1) = 2$, while at DC the gain is $1 - 1 = 0$: a difference is a high-pass filter.
דוגמה פתורה: הטבלה החלקה
- $h = [1, 2, 1]$ על מדרגה: $y = 1, 3, 4, 4, \ldots$ היא מתכנסת לסכום המטפס, 4, לאחר שלושה דגימות.
- פולס $[1, 1, 1]$ נותן $1, 3, 4, 3, 1$.


h = [1, 3, 1] filters a unit step. What value does the output settle at?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
A step through any FIR settles at the tap sum, 1 + 3 + 1 = 5, after three samples.
דוגמה פתורה: המאמץ הרקורסיבי
- $y[n] = \dfrac{y[n-1] + x[n]}{2}$ יש לה $h[n] = 0.5^{n+1}$, שלא מסתיים לעולם. תגובת המדרגה שלה היא $0.5, 0.75, 0.875, 0.9375, \ldots = 1 - 2^{-(n+1)}$.
- הקוטב היחיד שלה נמצא ב$z = 0.5$, בתוך עיגול היחידה, ולכן היא יציבה. היא מתקרבת ל1 אך מעולם לא מגיעה אליו.
The averager y[n] = (y[n−1] + x[n])/2 starts at rest. What is its step response at n = 4? Give 5 decimal places.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
$1 - 2^{-5} = 0.96875$: it halves the remaining distance each step.
$y[n] = 1.2\,y[n-1] + x[n]$ gets a single input of 1 at $n = 0$. What is $y[5]$ (two decimals)?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
$y[n] = 1.2^n$, so $y[5] = 1.2^5 = 2.49$. The pole at 1.2 lies outside the unit circle, and the output keeps growing.
שלוש טעויות נפוצות
- הפיכה לא עקבית. בטבלת יד, הפוך אות אחד ושמור עליו.
- "$\sum h$ הוא הרווח." זהו הרווח רק בתדר אפס (DC).
- ציפייה שהמסנן הרקורסיבי יתכנס. הוא מתקרב יותר בכל צעד, אך מעולם לא מגיע בדיוק.
Which recursive filter is stable?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
The pole sits at the feedback coefficient. Only 0.8 is inside the unit circle; a coefficient of 1 is an accumulator, which is only marginal.
סיכום
- Output = input convolved with $h[n]$.
- Causal: $h[n] = 0$ for $n < 0$. Stable: $\sum |h| < \infty$, or poles inside the unit circle.
- $H(e^{j\omega})$ is the frequency response; the tap sum is the DC gain.
מה השתבש? רק צוות האתר רואה זאת.