ZTransform n Fourier Transform n ztransform ZTransform continue

  • Slides: 61
Download presentation
Z-Transform n Fourier Transform n z-transform

Z-Transform n Fourier Transform n z-transform

Z-Transform (continue) n n Z-transform operator: The z-transform operator is seen to transform the

Z-Transform (continue) n n Z-transform operator: The z-transform operator is seen to transform the sequence x[n] into the function X{z}, where z is a continuous complex variable. n From time domain (or space domain, n-domain) to the z-domain

Bilateral vs. Unilateral n Two sided or bilateral z-transform n Unilateral z-transform

Bilateral vs. Unilateral n Two sided or bilateral z-transform n Unilateral z-transform

Example of z-transform n x[n] n 1 0 1 2 3 4 5 N>5

Example of z-transform n x[n] n 1 0 1 2 3 4 5 N>5 0 2 4 6 4 2 1 0

Relationship to the Fourier Transform n n If we replace the complex variable z

Relationship to the Fourier Transform n n If we replace the complex variable z in the ztransform by ejw, then the z-transform reduces to the Fourier transform. The Fourier transform is simply the z-transform when evaluating X(z) in a unit circle in the z-plane. n Generally, we can express the complex variable z in the polar form as z = rejw. With z expressed in this form,

Relationship to the Fourier Transform (continue) n In this sense, the z-transform can be

Relationship to the Fourier Transform (continue) n In this sense, the z-transform can be interpreted as the Fourier transform of the product of the original sequence x[n] and the exponential sequence r n. n For r=1, the z-transform reduces to the Fourier transform. The unit circle in the complex z plane

Relationship to the Fourier Transform (continue) n n Beginning at z = 1 (i.

Relationship to the Fourier Transform (continue) n n Beginning at z = 1 (i. e. , w = 0) through z = j (i. e. , w = /2) to z = 1 (i. e. , w = ), we obtain the Fourier transform from 0 w . Continuing around the unit circle in the z-plane corresponds to examining the Fourier transform from w = to w = 2. n Fourier transform is usually displayed on a linear frequency axis. Interpreting the Fourier transform as the z-transform on the unit circle in the z-plane corresponds conceptually to wrapping the linear frequency axis around the unit circle.

Convergence Region of Ztransform n Region of convergence (ROC) n n Since the z-transform

Convergence Region of Ztransform n Region of convergence (ROC) n n Since the z-transform can be interpreted as the Fourier transform of the product of the original sequence x[n] and the exponential sequence r n, it is possible for the ztransform to converge even if the Fourier transform does not. Because X(z) is convergent (i. e. bounded) i. e. , x[n]r n < , if x[n] is absolutely summable. Eg. , x[n] = u[n] is absolutely summable if r>1. This means that the z-transform for the unit step exists with ROC |z|>1.

ROC of Z-transform n n n In fact, convergence of the power series X(z)

ROC of Z-transform n n n In fact, convergence of the power series X(z) depends only on |z|. If some value of z, say z = z 1, is in the ROC, then all values of z on the circle defined by |z|=| z 1| will also be in the ROC. Thus the ROC will consist of a ring in the z-plane.

ROC of Z-transform – Ring Shape

ROC of Z-transform – Ring Shape

Analytic Function and ROC n The z-transform is a Laurent series of z. n

Analytic Function and ROC n The z-transform is a Laurent series of z. n n A number of elegant and powerful theorems from the complex-variable theory can be employed to study the z -transform. A Laurent series, and therefore the z-transform, represents an analytic function at every point inside the region of convergence. Hence, the z-transform and all its derivatives exist and must be continuous functions of z with the ROC. This implies that if the ROC includes the unit circle, the Fourier transform and all its derivatives with respect to w must be continuous function of w.

Z-transform and Linear Systems n Z-transform of a causal FIR system n h[n] n

Z-transform and Linear Systems n Z-transform of a causal FIR system n h[n] n n n<0 0 1 2 3 … M 0 b 1 b 2 b 3 … b. M The impulse response is Take the z-transform on both sides N> M 0

Z-transform of Causal FIR System (continue) n Thus, the z-transform of the output of

Z-transform of Causal FIR System (continue) n Thus, the z-transform of the output of a FIR system is the product of the z-transform of the input signal and the z-transform of the impulse response.

Z-transform of Causal FIR System (continue) n H(z) is called the system function (or

Z-transform of Causal FIR System (continue) n H(z) is called the system function (or transfer function) of a (FIR) LTI system. x[n] X(z) h[n] H(z) y[n] Y(z)

Multiplication Rule of Cascading System X(z) H 1(z) X(z) Y(z) H 1(z)H 2(z) Y(z)

Multiplication Rule of Cascading System X(z) H 1(z) X(z) Y(z) H 1(z)H 2(z) Y(z) V(z)

Example n n Consider the FIR system y[n] = 6 x[n] 5 x[n 1]

Example n n Consider the FIR system y[n] = 6 x[n] 5 x[n 1] + x[n 2] The z-transform system function is

Delay of one Sample n n Consider the FIR system y[n] = x[n 1],

Delay of one Sample n n Consider the FIR system y[n] = x[n 1], i. e. , the onesample-delay system. The z-transform system function is z 1

Delay of k Samples n Similarly, the FIR system y[n] = x[n k], i.

Delay of k Samples n Similarly, the FIR system y[n] = x[n k], i. e. , the ksample-delay system, is the z-transform of the impulse response [n k]. z k

System Diagram of A Causal FIR System n x[n] The signal-flow graph of a

System Diagram of A Causal FIR System n x[n] The signal-flow graph of a causal FIR system can be re-represented by z-transforms. b 0 + x[n] y[n] b 1 + x[n-1] TD + x[n-2] TD x[n-M] b 1 + b 2 + b. M + z 1 b 2 x[n-2] + z 1 TD x[n-1] b 0 z 1 b. M + x[n-M] y[n]

Z-transform of General Difference Equation n Remember that the general form of a linear

Z-transform of General Difference Equation n Remember that the general form of a linear constant-coefficient difference equation is for all n n When a 0 is normalized to a 0 = 1, the system diagram can be shown as below

Review of Linear Constantcoefficient Difference Equation x[n] b 0 + y[n] + TD TD

Review of Linear Constantcoefficient Difference Equation x[n] b 0 + y[n] + TD TD b 1 x[n-1] + + a 1 TD TD b 2 x[n-2] + + a 2 y[n-2] TD TD x[n-M] y[n-1] b. M + + a. N y[n-N]

Z-transform of Linear Constantcoefficient Difference Equation n The signal-flow graph of difference equations represented

Z-transform of Linear Constantcoefficient Difference Equation n The signal-flow graph of difference equations represented by z-transforms. X(z) b 0 + Y(z) + z 1 b 1 + + a 1 z 1 b 2 + + a 2 z 1 b. M + + a. N

Z-transform of Difference Equation (continue) n From the signal-flow graph, n Thus, n We

Z-transform of Difference Equation (continue) n From the signal-flow graph, n Thus, n We have

Z-transform of Difference Equation (continue) n Let n n H(z) is called the system

Z-transform of Difference Equation (continue) n Let n n H(z) is called the system function of the LTI system defined by the linear constant-coefficient difference equation. The multiplication rule still holds: Y(z) = H(z)X(z), i. e. , Z{y[n]} = H(z)Z{x[n]}. The system function of a difference equation is a rational form X(z) = P(z)/Q(z). Since LTI systems are often realized by difference equations, the rational form is the most common and useful for ztransforms.

Z-transform of Difference Equation (continue) n n When ak = 0 for k =

Z-transform of Difference Equation (continue) n n When ak = 0 for k = 1 … N, the difference equation degenerates to a FIR system we have investigated before. It can still be represented by a rational form of the variable z as

System Function and Impulse Response n n n When the input x[n] = [n],

System Function and Impulse Response n n n When the input x[n] = [n], the z-transform of the impulse response satisfies the following equation: Z{h[n]} = H(z)Z{ [n]}. Since the z-transform of the unit impulse [n] is equal to one, we have Z{h[n]} = H(z) That is, the system function H(z) is the ztransform of the impulse response h[n].

System Function and Impulse Response (continue) n Generally, for a linear system, y[n] =

System Function and Impulse Response (continue) n Generally, for a linear system, y[n] = T{x[n]} n it can be shown that Y{z} = H(z)X(z). n where H(z), the system function, is the z-transform of the impulse response of this system T{ }. Also, cascading of systems becomes multiplication of system function under z-transforms. X(z) X(ejw Y(z) (= H(z)X(z)) Z-transform Y(ejw) (= H(ejw)X(ejw)) Fourier transform H(z)/H(ejw)

Poles and Zeros n Pole: n n Zero: n n The pole of a

Poles and Zeros n Pole: n n Zero: n n The pole of a z-transform X(z) are the values of z for which X(z)= . The zero of a z-transform X(z) are the values of z for which X(z)=0. When X(z) = P(z)/Q(z) is a rational form, and both P(z) and Q(z) are polynomials of z, the poles of are the roots of Q(z), and the zeros are the roots of P(z), respectively.

Examples n Zeros of a system function n The system function of the FIR

Examples n Zeros of a system function n The system function of the FIR system y[n] = 6 x[n] 5 x[n 1] + x[n 2] has been shown as The zeros of this system are 1/3 and 1/2, and the pole is 0. Since 0 and 0 are double roots of Q(z), the pole is a second-order pole.

Example: Right-sided Exponential Sequence n Right-sided sequence: n A discrete-time signal is right-sided if

Example: Right-sided Exponential Sequence n Right-sided sequence: n A discrete-time signal is right-sided if it is nonzero only for n 0. n Consider the signal x[n] = anu[n]. n For convergent X(z), we need n Thus, the ROC is the range of values of z for which |az 1| < 1 or, equivalently, |z| > a.

Example: Right-sided Exponential Sequence (continue) n By sum of power series, n There is

Example: Right-sided Exponential Sequence (continue) n By sum of power series, n There is one zero, at z=0, and one pole, at z=a. : zeros : poles Gray region: ROC

Example: Left-sided Exponential Sequence n Left-sided sequence: n n A discrete-time signal is left-sided

Example: Left-sided Exponential Sequence n Left-sided sequence: n n A discrete-time signal is left-sided if it is nonzero only for n 1. Consider the signal x[n] = anu[ n 1]. n If |az 1| < 1 or, equivalently, |z| < a, the sum converges.

Example: Left-sided Exponential Sequence (continue) n By sum of power series, n There is

Example: Left-sided Exponential Sequence (continue) n By sum of power series, n There is one zero, at z=0, and one pole, at z=a. The pole-zero plot and the algebraic expression of the system function are the same as those in the previous example, but the ROC is different.

Example: Sum of Two Exponential Sequences Given Then

Example: Sum of Two Exponential Sequences Given Then

Example: Sum of Two Exponential Sequences (continue) Thus

Example: Sum of Two Exponential Sequences (continue) Thus

Example: Sum of Two Exponential Sequences (continue)

Example: Sum of Two Exponential Sequences (continue)

Example: Two-sided Exponential Sequence Given Since and by the left-sided sequence example

Example: Two-sided Exponential Sequence Given Since and by the left-sided sequence example

Example: Two-sided Exponential Sequence (continue) Again, the poles and zeros are the same as

Example: Two-sided Exponential Sequence (continue) Again, the poles and zeros are the same as the previous example, but the ROC is not.

Example: Finite-length Sequence (FIR System) Given There are the N roots of z. N

Example: Finite-length Sequence (FIR System) Given There are the N roots of z. N = a. N, zk = aej(2 k/N). The root of k = 0 cancels the pole at z=a. Thus there are N 1 zeros, zk = aej(2 k/N), k = 1 …N, and a (N 1)th order pole at zero.

Pole-zero Plot

Pole-zero Plot

Some Common Z-transform Pairs

Some Common Z-transform Pairs

Some Common Z-transform Pairs (continue)

Some Common Z-transform Pairs (continue)

Properties of the ROC n n n The ROC is a ring or disk

Properties of the ROC n n n The ROC is a ring or disk in the z-plane centered at the origin; i. e. , 0 r. R < |z| r. L . The Fourier transform of x[n] converges absolutely iff the ROC includes the unit circle. The ROC cannot contain any poles If x[n] is a finite duration sequence, then the ROC is the entire z-plane except possible z=0 or z=. If x[n] is a right-sided sequence, the ROC extends outward from the outermost (i. e. , largest magnitude) finite pole in X(z) to (and possibly

Properties of the ROC (continue) n n n If x[n] is a left-sided sequence,

Properties of the ROC (continue) n n n If x[n] is a left-sided sequence, the ROC extends inward from the innermost (i. e. , smallest magnitude) nonzero pole in X(z) to (and possibly include) z = 0. A two-sided sequence x[n] is an infinite-duration sequence that is neither right nor left sided. The ROC will consist of a ring in the z-plane, bounded on the interior and exterior by a pole, but not containing any poles. The ROC must be a connected region.

Properties of the ROC (continue) n Consider the system function H(z) of a linear

Properties of the ROC (continue) n Consider the system function H(z) of a linear system: n n If the system is stable, the impulse response h(n) is absolutely summable and therefore has a Fourier transform, then the ROC must include the unit circle, . If the system is causal, then the impulse response h(n) is right-sided, and thus the ROC extends outward from the outermost (i. e. , largest magnitude) finite pole in H(z) to (and possibly include) z=.

Inverse Z-transform n n n Given X(z), find the sequence x[n] that has X(z)

Inverse Z-transform n n n Given X(z), find the sequence x[n] that has X(z) as its z-transform. We need to specify both algebraic expression and ROC to make the inverse Z-transform unique. Techniques for finding the inverse z-transform: n Investigation method: n n By inspect certain transform pairs. Eg. If we need to find the inverse z-transform of From the transform pair we see that x[n] = 0. 5 nu[n].

Inverse Z-transform by Partial Fraction Expansion n If X(z) is the rational form with

Inverse Z-transform by Partial Fraction Expansion n If X(z) is the rational form with n An equivalent expression is

Inverse Z-transform by Partial Fraction Expansion (continue) n n There will be M zeros

Inverse Z-transform by Partial Fraction Expansion (continue) n n There will be M zeros and N poles at nonzero locations in the z-plane. Note that X(z) could be expressed in the form where ck’s and dk’s are the nonzeros and poles, respectively.

Inverse Z-transform by Partial Fraction Expansion (continue) n Then X(z) can be expressed as

Inverse Z-transform by Partial Fraction Expansion (continue) n Then X(z) can be expressed as Obviously, the common denominators of the fractions in the above two equations are the same. Multiplying both sides of the above equation by 1 dkz 1 and evaluating for z = dk shows that

Example n Find the inverse z-transform of X(z) can be decomposed as Then

Example n Find the inverse z-transform of X(z) can be decomposed as Then

Example (continue) n Thus and so

Example (continue) n Thus and so

Another Example n Find the inverse z-transform of Since both the numerator and denominator

Another Example n Find the inverse z-transform of Since both the numerator and denominator are of degree 2, a constant term exists. B 0 can be determined by the fraction of the coefficients of z 2, B 0 = 1/(1/2) = 2.

Another Example (continue) Therefore

Another Example (continue) Therefore

Power Series Expansion n We can determine any particular value of the sequence by

Power Series Expansion n We can determine any particular value of the sequence by finding the coefficient of the appropriate power of z 1.

Example: Finite-length Sequence n Find the inverse z-transform of By directly expand X(z), we

Example: Finite-length Sequence n Find the inverse z-transform of By directly expand X(z), we have Thus,

Example n Find the inverse z-transform of Using the power series expansion for log(1+x)

Example n Find the inverse z-transform of Using the power series expansion for log(1+x) with |x|<1, we obtain Thus

Z-transform Properties n Suppose n Linearity

Z-transform Properties n Suppose n Linearity

Z-transform Properties (continue) n Time shifting (except for the possible addition or deletion of

Z-transform Properties (continue) n Time shifting (except for the possible addition or deletion of z=0 or z=. ) n Multiplication by an exponential sequence

Z-transform Properties (continue) n Differentiation of X(z) n Conjugation of a complex sequence

Z-transform Properties (continue) n Differentiation of X(z) n Conjugation of a complex sequence

Z-transform Properties (continue) n Time reversal If the sequence is real, the result becomes

Z-transform Properties (continue) n Time reversal If the sequence is real, the result becomes n Convolution

Z-transform Properties (continue) n Initial-value theorem: If x[n] is zero for n<0 (i. e.

Z-transform Properties (continue) n Initial-value theorem: If x[n] is zero for n<0 (i. e. , if x[n] is causal), then