S73 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S7 · Lesson 3 · Inverse z-transforms and system functions

Partial fractions with repeated and complex poles, power-series inversion, rational system functions from difference equations, and reading a system's behavior from its poles

Any system built from adders, multipliers and delays has a rational system function, a ratio of polynomials in z−1, and its whole behavior is written in the roots of those polynomials. Inverting the transform turns the poles back into the time-domain pieces they stand for: a real pole becomes a decaying exponential, a pair of complex poles a decaying sinusoid, a repeated pole a ramp times an exponential. This lesson builds the inversion machinery for every case that occurs in practice, so that a pole–zero plot can be read as fluently as a waveform.

  • The impulse response of a two-pole resonator, H(z)=11−2rcos⁡θz−1+r2z−2, with poles at re±jθ: h[n]=rnsin⁡((n+1)θ)sin⁡θu[n].
  • θ sets the oscillation, one cycle every 2π/θ samples; r sets the decay, falling to 1% after ln 0.01/ln r samples.
  • Move r toward 1 and the ringing lasts longer; past 1 the system is unstable and the response grows.

Predict

A causal system has a double pole at z = 0.5 and no other poles. What does its impulse response look like?

Name it

Rational system functions

A difference equation ∑k=0Naky[n−k]=∑k=0Mbkx[n−k] gives

H(z)=∑k=0Mbkz−k∑k=0Nakz−k=b0a0∏(1−ckz−1)∏(1−dkz−1)

with zeros ck and poles dk. FIR systems (N = 0) have all their poles at the origin and are always stable; IIR systems have poles elsewhere.

Inversion by partial fractions

  • If M ≥ N, divide first to extract a polynomial in z−1 (a finite sequence).
  • Simple poles: Ak1−dkz−1 with Ak=(1−dkz−1)X(z)|z=dk, each giving Akdknu[n] (or −Akdknu[−n−1], by the ROC).
  • Complex-conjugate pair re±jθ: the two terms combine into 2|A|rncos⁡(θn+∠A)u[n].
  • Repeated poles: 1(1−az−1)2↔(n+1)anu[n] and az−1(1−az−1)2↔nanu[n].

Inversion by power series

Long division of the numerator by the denominator, in powers of z−1 for a causal sequence, gives x[0], x[1], … one at a time. It's exactly the difference equation run on an impulse.

Reading poles

A pole at radius r decays by r per sample; at angle θ it oscillates with period 2π/θ samples. The second-order section 1+a1z−1+a2z−2 has a1=−2rcos⁡θ, a2=r2. Zeros on the unit circle make exact nulls: the comb 1−z−N has zeros at ej2πk/N.

Worked example

Find h[n] for H(z)=1+z−11−0.9z−1+0.81z−2 in closed form, and check the first samples.

Show the solution
  1. Poles. The poles are 0.9e±jπ/3, since 2(0.9)cos⁡60°=0.90.92=0.81
  2. Residue. At p=0.9ejπ/3: A=1+p−11−p*/p=1.056∠−61.7°
  3. Closed form. The two conjugate terms add to a real cosine: h[n]=2.112(0.9)n×cos⁡(π3n−61.7°)
  4. First samples. That gives 1, 1.9, 0.9, −0.729, −1.385.
  5. Check. Running the recursion on an impulse gives the same: y[n]=0.9y[n−1]−0.81y[n−2]+x[n]+x[n−1]

Answer h[n]=2.112(0.9)ncos⁡(π3n−61.7°), starting 1, 1.9, 0.9, −0.729, −1.385, as the recursion confirms.

Worked example

Invert X(z)=1(1−0.5z−1)2 for a causal sequence, and find x[3].

Show the solution
  1. Inverse transform. x[n]=(n+1)(0.5)nu[n]
  2. x[3]. x[3]=48=0.5
  3. Check by long division. X(z)=(1−z−1+0.25z−2)−1=1+z−1+0.75z−2+0.5z−3+⋯

Answer x[n]=(n+1)(0.5)nu[n], so x[3] = 0.5.

Worked example

Design a resonator with poles at radius 0.95 and angle π/4, running at 8 kHz. What are its coefficients, ringing frequency and decay time to 1%?

Show the solution
  1. Coefficients. a1=−2(0.95)cos⁡(π/4)=−1.344 a2=0.952=0.9025
  2. Ringing frequency. The pole angle π/4 is a period of 8 samples, 1 kHz at 8 kHz.
  3. Decay time. The ringing decays as 0.95n, reaching 1% after n=ln⁡0.01ln⁡0.95=90samples which is 11.2 ms.
  4. A sharper resonator. Moving the poles to r = 0.99 would ring five times longer and sharpen the peak accordingly.

Answer a1=−1.344 and a2=0.9025; it rings at 1 kHz and decays to 1% in 90 samples, 11.2 ms.

Check

A causal resonator 1/(1−2rcos⁡θz−1+r2z−2) has r = 0.9 and θ = 0.5 rad. What's h[9]?

Check

What's x[2] for the causal inverse of 1/(1−0.6z−1)2?

Check

A second-order section 1+a1z−1+a2z−2 has poles at 0.9e^{±j30°}. What's a1?

Check

A pole at radius 0.95: after how many samples has its term decayed to 1%?

Check

A stable causal system has H(z)=1+−0.5z−11+0.6z−1+0.1z−2. What does its step response settle to?

Check

The comb filter 1−z−N with N = 8 runs at 8 kHz. What's its lowest nonzero null frequency?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

Check

A resonator has poles at radius 0.95 and angle 15° and runs at 44.1 kHz.

(a)

What is a1?

(b)

At what frequency does it ring?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

(c)

How long does its ringing take to decay to 1%?

Check

A causal resonator 1/(1+a1z−1+a2z−2) has poles at re±jt.

Step 1

What is a1?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a pair of complex-conjugate poles produce a real, oscillating impulse response?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.