360 likes | 388 Views
Explore the power of Z-Transform for analyzing and designing discrete-time systems, the concept of Region of Convergence (ROC), rational Z-Transforms, pole-zero diagrams, and properties of Z-Transform. Learn how to determine ROC, solve Linear Constant Coefficient Difference Equations (LCCDEs), and apply Z-Transform in various sequences and transformations.
E N D
ELEN E4810: Digital Signal ProcessingTopic 4: The Z Transform • The Z Transform • Inverse Z Transform Dan Ellis
1. The Z Transform • Powerful tool for analyzing & designing DT systems • Generalization of the DTFT: • z is complex... • z = ejw DTFT • z = r·ejw Z Transform DTFT of r-n·g[n] Dan Ellis
Im{z} Re{z} l z-plane ROC|z| > l Region of Convergence (ROC) • Critical question:Does summationconverge (to a finite value)? • In general, depends on the value of zRegion of Convergence:Portion of complex z-planefor which a particularG(z)will converge Dan Ellis
n -2 -1 1 2 3 4 ROC Example • e.g. x[n] = lnm[n] • S converges for |lz-1| < 1i.e. ROC is |z| > |l| • |l| < 1 (e.g. 0.8) - finite energy sequence • |l| > 1 (e.g. 1.2) - divergent sequence, infinite energy, DTFT does not existbut still has ZT when |z| > 1.2 (ROC) (see previous slide) Dan Ellis
About ROCs • ROCs always defined in terms of |z|circular regions on z-plane (inside circles/outside circles/rings) • If ROC includes unit circle (|z| = 1), g[n] has a DTFT (finite energy sequence) Im{z} Re{z} 1 Unit circlelies in ROC DTFT OK z-plane Dan Ellis
-5 -4 -3 -2 -1 n 1 2 3 4 Another ROC example • Anticausal (left-sided) sequence: • Same ZT as lnm[n], different sequence? ROC:|l| > |z| Dan Ellis
Im Re n |l| -4 -3 -2 -1 1 2 3 4 z-plane -4 -3 -2 -1 n 1 2 3 4 ROC is necessary! • To completely define a ZT, you must specify the ROC: x[n] = lnm[n] ROC|z| > |l| x[n] = -lnm[-n-1] ROC|z| < |l| • A single G(z) can describe several sequences with different ROCs DTFTs? Dan Ellis
Rational Z-transforms • G(z) can be any function;rational polynomials are important class: • By convention, expressed in terms of z-1– matches ZT definition • (Reminiscent of LCCDE expression...) Dan Ellis
Factored rational ZTs • Numerator, denominator can be factored: • {zl} are roots of numeratorG(z) = 0{zl} are thezerosofG(z) • {ll} are roots of denominatorG(z) = {ll} are the poles ofG(z) Dan Ellis
Im{z} poles ll(cpx conj for real g[n]) o Re{z} o o 1 o zeros zl z-plane Pole-zero diagram • Can plot poles and zeros on complex z-plane: Dan Ellis
Z-plane surface • G(z): cpx function of a cpx variable • Can calculate value over entire z-plane • Slice between surface and unit cylinder (|z| = 1 z = ejw) is G(ejw), the DTFT Dan Ellis
Z-plane and DTFT • Unwrapping the cylindrical slice gives the DTFT: Dan Ellis
ZT is Linear • Thus, ifthen Z Transform • y[n] = ag[n] + bh[n] • Y(z) = S(ag[n]+bh[n])z-n =Sag[n]z-n + Sbh[n]z-n = aG(z) + bH(z) Linear ROC: |z|>|l1|,|l2| Dan Ellis
ZT of LCCDEs • LCCDEs have solutions of form: • Hence ZT • Each termlin in g[n] corresponds to a poleli of G(z) ... and vice versa • LCCDE sol’ns are right-sided ROCs are |z| > |li| (samels) outsidecircles Dan Ellis
Im n Re n |l| z-plane ROCs and sidedness • Two sequences have: • Each ZT poleregion in ROCoutside or inside|l| for R/L sided term in g[n] • Overall ROC is intersection of each term’s ROC |z| > |l| g[n] = lnm[n] RIGHT-SIDED ( |l| < 1 ) ROC |z| < |l| g[n] = -lnm[-n-1] LEFT-SIDED Dan Ellis
n n ROC intersections • Consider with |l1| < 1 , |l2| > 1 ... • Two possible sequences for l1 term... • Similarly for l2 ... 4 possible g[n] seq’s and ROCs ... no ROC specified -l1nm[-n-1] l1nm[n] or -l2nm[-n-1] n l2nm[n] or n Dan Ellis
Im Im Re |l1| |l2| n ROC intersections: Case 1 ROC:|z| > |l1| and |z| > |l2| g[n] = l1nm[n] + l2nm[n] both right-sided: Dan Ellis
Im Im Re |l1| |l2| n ROC intersections: Case 2 g[n] = -l1nm[-n-1] - l2nm[-n-1] both left-sided: ROC:|z| < |l1| and |z| < |l2| Dan Ellis
Im Im Re |l1| |l2| n ROC intersections: Case 3 ROC:|z| > |l1| and |z| < |l2| g[n] = l1nm[n] - l2nm[-n-1] two-sided: Dan Ellis
n Im Re |l1| |l2| ROC intersections: Case 4 ROC:|z| < |l1| and |z| > |l2| ? g[n] = -l1nm[-n-1] + l2nm[n] two-sided: no ROC ... Dan Ellis
n Im Re |a| ROC intersections • Note: Two-sided exponential • No overlap in ROCs ZT does not exist(does not converge for any z) ROC|z| > |a| ROC|z| < |a| Dan Ellis
Some common Z transforms g[n]G(z)ROC d[n] 1 z m[n] |z| > 1 anm[n] |z| > |a| rncos(w0n)m[n] |z| > r rnsin(w0n)m[n] |z| > r sum of rejw0n + re-jw0n “conjugate polepair” poles at z = re±jw0 Dan Ellis
Z Transform properties g[n] G(z)w/ROCRg Conjugation g*[n]G*(z*)Rg Time reversal g[-n] G(1/z) 1/Rg Time shift g[n-n0] z-n0G(z)Rg(0/?) Exp. scaling ang[n] G(z/a)|a|Rg Diff. wrt zng[n] Rg(0/?) Dan Ellis
Z Transform properties g[n] G(z)ROC Convolution g[n] h[n]G(z)H(z) Modulation g[n]h[n] Parseval: at leastRgRh * at leastRgRh Dan Ellis
ZT Example • ; can express as • Hence, v[n] = 1/2m[n]an ; a = rejw0V(z) = 1/(2(1- rejw0z-1))ROC: |z| > r Dan Ellis
Another ZT example where x[n] = anm[n] repeatedroot - IZT Dan Ellis
2. Inverse Z Transform (IZT) • Forward z transform was defined as: • 3 approaches to invertingG(z) to g[n]: • Generalization of inverse DTFT • Power series in z (long division) • Manipulate into recognizable pieces (partial fractions) the usefulone Dan Ellis
Im Re IZT #1: Generalize IDTFT • If then • so • Any closed contour around origin will do • Cauchy: g[n] = S[residues of G(z)zn-1] IDTFT z = rejw dw = dz/jz Counterclockwiseclosed contour at |z| = 1 Dan Ellis
IZT #2: Long division • Since if we could express G(z) as a simple power series G(z) = a + bz-1 + cz-2... then can just read off g[n] = {a, b, c, ...} • Typically G(z) is right-sided (causal)and a rational polynomial • Can expand as power series through long division of polynomials Dan Ellis
IZT #2: Long division • Procedure: • Express numerator, denominator in descending powers of z (for a causal fn) • Find constant to cancel highest term first term in result • Subtract & repeat lower terms in result • Just like long division for base-10 numbers Dan Ellis
IZT #2: Long division • e.g. Result ) ... Dan Ellis
IZT#3: Partial Fractions • Basic idea: Rearrange G(z) as sum of terms recognized as simple ZTs • especiallyor sin/cos forms • i.e. given products rearrange to sums Dan Ellis
Partial Fractions • Note that: • Can do the reverse i.e.go from to • if order of P(z) is less than D(z) order 2 polynomialu + vz-1 + wz-2 order 3 polynomial else cancelw/ long div. Dan Ellis
Partial Fractions order N-1 • Procedure: • where i.e. evaluateF(z)at the pole but multiplied by the pole term dominates = residue of pole no repeatedpoles! (cancels term indenominator) Dan Ellis
Partial Fractions Example • Given (again) factor: • where: Dan Ellis
Partial Fractions Example • Hence • If we know ROC |z| > |a| i.e. h[n] causal: = –1.75{ 1 -0.6 0.36 -0.216 ...} +2.75{ 1 0.2 0.04 0.008 ...} = {1 1.6 -0.52 0.4 ...} same aslong division! Dan Ellis