22. Z-transform#
Contents
Definition
Elementary transforms
Region of convergence
Applications
Solution of difference equations
Analysis of stability of numerical integration methods
Discrete-time design of filters and discrete-time systems. Relation between continuous-time and discrete-time systems due to sampling. Relation with Laplace transform.
22.1. Definition#
Z-transform can be considered as a discrete-time counterpart of the Laplace transform, as section Laplace transform of a sampled function tries to show. Z-transform converts a discrete-time signal \(\{ x_n \}\) into a complex-valued function \(X(z)\). Similarly to the definition of Laplace transform, Z-transform can be either two-sided
or one-sided
that can be also thought as the two-sided transform of causal time-series, i.e. \(x_{k} = 0\), \(\forall k < 0\).
22.1.1. Z-transform and discrete-time Fourier transform (DTFT)#
The discrete-time Fourier transform of a sequence, that can be written as (21.6),
can be thought as a scaled Z-transform of the signal, evaluated in \(z = i \omega \Delta t = i 2 \pi \nu \Delta t\),
22.1.2. Laplace transform of a sampled function#
Delta sampling. Let \(\widetilde{x}(t) = x(t) \text{III}_{\delta t}(t) = x(t) \sum_{m = - \infty}^{+\infty} \delta(t - m \Delta t)\) the sampling of the continuous-time function \(x(t)\) with Dirac’s comb. Its one-sided Laplace transform reads
with \(x_m = x(t_m)\), \(t_m = m \Delta t\), and \(z = e^{s \Delta t}\). Here the summation runs over \(m = 0:+\infty\), as the integral of \(\delta(t - m \Delta t)\) produces a non-zero result only for \(m \ge 0\). The relation (22.1) shows that the Laplace transform of the Dirac delta sampled function is equivalent to the Z-transform of its samples, if the relations between \(t_m\) and \(m\) and \(z\) and \(s \Delta t\) hold.
Sample and Hold.
with \(z = e^{s \Delta t}\), \(s = \frac{1}{\Delta t} \ln z\).
22.2. Inverse transform#
…
22.3. Elementary one-sided transforms#
In this section, some elementary Z-transforms are collected. These can be interpreted as the discrete-time counterpart of the elementary Laplace transforms
Linearity.
Kronecker delta. \(x_n = \delta_{0n} = \left\{ \begin{aligned} & 1 && n = 0 \\ & 0 && n \ne 0 \end{aligned}\right.\)
“Time” delay. Z-transform of a causal sequence \(x_n\) (with \(x_n = 0\) for \(n < 0\)), \(x_{n-k}\) with \(k \ge 0\)
Proof
First difference backward. Directly follows from the Z-transform of time delay
First difference forward.
Accumulation.
Convolution.
Initial value. If \(x_n\) is causal, i.e. \(x_n = 0\) for \(n < 0\), then
Proof
As
for every \(z\), with \(|z| > 1\) s.t. the geometric series is convergent. As \(|z| \rightarrow + \infty\), the series goes to zero, and thus
Final value. If the poles of \((z-1) X(z)\) are inside the unit circle (condition for as.stability), then
Proof
…
22.4. Applications#
22.4.1. Solution of difference equations#
First-order reduction.
Reduction to first order \(\ k\)-dimensional system of a \(\ k\)-order ODE
From \(k\)-order difference equation to system of \(1\)-order difference equations, as it can be done with ODEs. For ODEs
may be written as a first-order \(k\)-dimensional system
Reduction to first order \(\ k\)-dimensional system of a \(\ k\)-order difference equation
For a difference equation
may be written as
with \(z_{j,n} = x_{n-k+1+j}\), for \(j=0:k-1\).
Ansatz. The solution of a homogeneous linear ODE can be solved as a linear combination of elementary solutions with expression \(x(t) = X e^{st}\) - except for the case of multiple roots in the characteristic polynomial
with values of \(s\) as the roots of the polynomial
The solution is then
with the integration constants to be determined with the initial conditions provided along with the differential equation. Asymptotical stability conditions depend on the real part of the eigenvalues, and on the multiplicity of the imaginary eigenvalues.
A linear difference equation can be solved as a linear combination of elementary solutions with expression \(x_n = X z^n\)
with values of \(z\) as the roots of the polynomial
The solution is then
with the integration constants to be determined with the initial conditions provided along with the difference equation.
Stability conditions. …
asymptotically stable if all the eigenvalues are \(|z_a| < 1\)
unstable if…
marginally stable if…
todo treat multiple roots