Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books

Chapters

Chapter Contents:

Search Physical Audio Signal Processing

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

Finite Difference Approximation

As introduced in Appendix N, the finite difference approximation (FDA) amounts to replacing derivatives by finite differences, or

$\displaystyle \frac{d}{dt} x(t) \isdef \lim_{\delta\to 0} \frac{x(t) - x(t-\delta)}{\delta} \approx \frac{x(n T)-x[(n-1)T]}{T} \protect$ (L.2)

for sufficiently small $ T$.L.5

See §H.2.1 for a discussion of using the FDA to model ideal vibrating strings.

Viewing Eq.$ \,$(L.2) in the frequency domain, the transfer function of an ideal differentiator is $ H(s)=s$, which can be viewed as the Laplace transform of the operator $ d/dt$ (left-hand side of Eq.$ \,$(L.2)). Moving to the right-hand side, the z transform of the first-order difference operator is $ (1-z^{-1})/T$. Thus, in the frequency domain, the finite-difference approximation may be performed by making the substitution

$\displaystyle s \leftarrow \frac{1-z^{-1}}{T} \protect$ (L.3)

in any continuous-time transfer function (Laplace transform of an integro-differential operator) to obtain a discrete-time transfer function (z transform of a finite-difference operator).

The inverse of substitution Eq.$ \,$(L.3) is

$\displaystyle z = \frac{1}{1 - sT} = 1 + sT+ (sT)^2 + \cdots \, .
$

The FDA is a special case of the matched $ z$ transformation [371] applied to the point $ s=0$. In general, the matched $ z$ transformation maps a pole at $ s = -a$ to the point $ z =
e^{-aT}$, where $ T$ is the sampling period. Thus, each pole and zero are mapped according to

$\displaystyle z_i = e^{s_i T} = 1 + {s_i T} + \frac{(s_i T)^2}{2} + \cdots\, .
$

The actual transformation is carried out by factoring $ H(s)$ into a product of first-order terms such as $ (s+a)$, and substituting

$\displaystyle s+a \to 1 - z^{-1}e^{-aT}.
$

Setting $ a=0$ gives the FDA for $ T=1$.L.6

Since the FDA is the matched $ z$ transformation for poles and zeros at the origin of the $ s$ plane, it follows that it maps analog dc ($ s=0$) to digital dc ($ z=1$). However, that is the only ideal mapping in the frequency domain, as discussed further below.

Note that the FDA does not