Hubbry Logo
Impulse invarianceImpulse invarianceMain
Open search
Impulse invariance
Community hub
Impulse invariance
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Impulse invariance
Impulse invariance
from Wikipedia

Impulse invariance is a technique for designing discrete-time infinite-impulse-response (IIR) filters from continuous-time filters in which the impulse response of the continuous-time system is sampled to produce the impulse response of the discrete-time system. The frequency response of the discrete-time system will be a sum of shifted copies of the frequency response of the continuous-time system; if the continuous-time system is approximately band-limited to a frequency less than the Nyquist frequency of the sampling, then the frequency response of the discrete-time system will be approximately equal to it for frequencies below the Nyquist frequency.

Discussion

[edit]

The continuous-time system's impulse response, , is sampled with sampling period to produce the discrete-time system's impulse response, .

Thus, the frequency responses of the two systems are related by

If the continuous time filter is approximately band-limited (i.e. when ), then the frequency response of the discrete-time system will be approximately the continuous-time system's frequency response for frequencies below π radians per sample (below the Nyquist frequency 1/(2T) Hz):

for

Comparison to the bilinear transform

[edit]

Note that aliasing will occur, including aliasing below the Nyquist frequency to the extent that the continuous-time filter's response is nonzero above that frequency. The bilinear transform is an alternative to impulse invariance that uses a different mapping that maps the continuous-time system's frequency response, out to infinite frequency, into the range of frequencies up to the Nyquist frequency in the discrete-time case, as opposed to mapping frequencies linearly with circular overlap as impulse invariance does.

Effect on poles in system function

[edit]

If the continuous poles at , the system function can be written in partial fraction expansion as

Thus, using the inverse Laplace transform, the impulse response is

The corresponding discrete-time system's impulse response is then defined as the following

Performing a z-transform on the discrete-time impulse response produces the following discrete-time system function

Thus the poles from the continuous-time system function are translated to poles at z = eskT. The zeros, if any, are not so simply mapped.[clarification needed]

Poles and zeros

[edit]

If the system function has zeros as well as poles, they can be mapped the same way, but the result is no longer an impulse invariance result: the discrete-time impulse response is not equal simply to samples of the continuous-time impulse response. This method is known as the matched Z-transform method, or pole–zero mapping.

Stability and causality

[edit]

Since poles in the continuous-time system at s = sk transform to poles in the discrete-time system at z = exp(skT), poles in the left half of the s-plane map to inside the unit circle in the z-plane; so if the continuous-time filter is causal and stable, then the discrete-time filter will be causal and stable as well.

Corrected formula

[edit]

When a causal continuous-time impulse response has a discontinuity at , the expressions above are not consistent.[1] This is because has different right and left limits, and should really only contribute their average, half its right value , to .

Making this correction gives

Performing a z-transform on the discrete-time impulse response produces the following discrete-time system function

The second sum is zero for filters without a discontinuity, which is why ignoring it is often safe.

See also

[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Impulse invariance is a technique in for designing discrete-time (IIR) filters from continuous-time analog filters, such that the of the digital filter matches the sampled of the analog filter at the sampling instants. This method ensures that the digital filter's time-domain response preserves the essential shape of the analog counterpart, particularly useful for applications requiring accurate transient responses, such as audio processing and control systems. The core principle involves mapping the poles of the analog Ha(s)H_a(s) to the z-plane via z=esTz = e^{sT}, where TT is the sampling period, while scaling residues appropriately to maintain the sampled h=ha(nT)h = h_a(nT). For an analog filter expressed in partial fractions as Ha(s)=k=1NAksskH_a(s) = \sum_{k=1}^N \frac{A_k}{s - s_k}, the corresponding digital becomes H(z)=k=1NAk1eskTz1H(z) = \sum_{k=1}^N \frac{A_k}{1 - e^{s_k T} z^{-1}}, ensuring stability if the analog filter is stable (i.e., Re{sk}0\operatorname{Re}\{s_k\} \leq 0). The design process typically starts with analog filter specifications transformed from digital requirements, followed by partial fraction expansion and pole mapping. While impulse invariance preserves the filter order and time-domain characteristics effectively for bandlimited signals, it suffers from in the , as the digital is a summed aliased version of the analog response scaled by the sampling rate. This can distort high-frequency components unless the sampling rate is sufficiently high relative to the analog filter's bandwidth, making it less suitable for signals compared to alternatives like the . Despite these limitations, the method remains a foundational approach in IIR , as detailed in classic texts on .

Overview

Definition

Impulse invariance is a technique in for converting continuous-time analog filters to discrete-time (IIR) filters by ensuring the discrete-time matches a scaled, uniformly sampled version of the continuous-time . This method preserves the time-domain behavior of the analog filter at the sampling instants, facilitating the design of digital filters that approximate their analog counterparts. The core relation is defined by the equation h=Thc(nT),n0,h = T \, h_c(nT), \quad n \geq 0, where hh is the discrete-time , hc(t)h_c(t) is the continuous-time , and TT is the sampling period. The scaling factor TT accounts for the sampling rate to align the frequency responses appropriately in the low-frequency range. The technique assumes the analog filter possesses a rational of the form Hc(s)=P(s)Q(s)H_c(s) = \frac{P(s)}{Q(s)} in the Laplace domain, where P(s)P(s) and Q(s)Q(s) are polynomials, ensuring the can be expressed as a sum of exponentials for practical computation. Impulse invariance emerged as part of early design methods during the and , contributing to the foundational tools for IIR filter synthesis without a single credited inventor. It serves a primary role in IIR filter design by directly linking analog prototypes to digital implementations through sampling.

Purpose and applications

Impulse invariance is a digital filter design technique employed to convert continuous-time analog filters into discrete-time (IIR) filters, with the primary goal of preserving the shape of the analog filter's at the sampling instants. This method ensures that the discrete-time hh matches the sampled version of the continuous-time h(t)h(t), specifically h=Th(nT)h = T \cdot h(nT), where TT is the sampling period, thereby approximating the analog system's transient behavior in the . By focusing on this time-domain equivalence, impulse invariance facilitates the emulation of analog prototypes in digital implementations without requiring complex frequency-domain adjustments. The technique finds widespread applications in digital signal processing tasks where analog filter characteristics need to be replicated digitally, such as in audio processing for bandlimited signals, control systems for discrete-time controller design, and communications for signal conditioning. For instance, it is commonly used to transform well-established analog prototypes like Butterworth or Chebyshev low-pass filters into digital IIR equivalents, enabling efficient processing in real-time systems like digital audio effects or sampled-data control loops. In these contexts, impulse invariance is particularly valuable when the analog filter is inherently band-limited, minimizing discrepancies between continuous and discrete responses. Key advantages of impulse invariance include its simplicity in implementation for low-pass filters, as it directly maps the analog transfer function via partial fraction expansion and z-transform, while maintaining the filter order and stability—provided the analog system is stable, the resulting digital poles lie inside the unit circle. This approach yields a digital filter that closely mimics the analog transient response, which is beneficial for applications requiring similar settling times or impulse shapes, and it offers lower computational demands compared to finite impulse response (FIR) alternatives for equivalent specifications. However, its efficacy is most pronounced in scenarios where aliasing is negligible, positioning it as one of several methods in the broader toolkit for analog-to-digital filter conversion, alongside techniques like the bilinear transform.

Mathematical Derivation

Impulse response sampling

The impulse invariance method for designing discrete-time filters from continuous-time prototypes fundamentally relies on sampling the of the analog system. Consider a continuous-time linear time-invariant (LTI) system with transfer function Hc(s)H_c(s), excited by the δ(t)\delta(t). The resulting hc(t)h_c(t) is the of Hc(s)H_c(s), and for a , hc(t)=0h_c(t) = 0 for t<0t < 0. To obtain the discrete-time impulse response hh, sample hc(t)h_c(t) at uniform intervals t=nTt = nT, where TT is the sampling period and nn is an integer. This yields h=Thc(nT)h = T h_c(nT) for n0n \geq 0, with h=0h = 0 for n<0n < 0, preserving the causality of the original system. The scaling factor TT is essential to match the gain of the discrete-time filter to that of the continuous-time prototype, ensuring consistent response amplitudes across the sampling instants without introducing extraneous scaling in the overall system behavior. For practical computation, particularly when Hc(s)H_c(s) is a rational function with simple poles, the partial fraction expansion is employed to express hc(t)h_c(t) explicitly. Assume Hc(s)=k=1NKkspkH_c(s) = \sum_{k=1}^{N} \frac{K_k}{s - p_k}, where pkp_k are the poles and KkK_k are the corresponding residues (determined as Kk=limspk(spk)Hc(s)K_k = \lim_{s \to p_k} (s - p_k) H_c(s)). The inverse Laplace transform then gives hc(t)=k=1NKkepktu(t),h_c(t) = \sum_{k=1}^{N} K_k e^{p_k t} u(t), where u(t)u(t) is the unit step function. Sampling this at t=nTt = nT produces h=Tk=1NKkepknTu.h = T \sum_{k=1}^{N} K_k e^{p_k n T} u. This form facilitates direct implementation in discrete-time filter structures.

Transfer function equivalence

The discrete-time transfer function H(z)H(z) in the impulse invariance method is obtained as the Z-transform of the scaled sampled impulse response, where h=Thc(nT)h = T h_c(nT) for n0n \geq 0, with TT denoting the sampling period and hc(t)h_c(t) the continuous-time impulse response of Hc(s)H_c(s). This scaling by TT ensures that the discrete convolution approximates the continuous-time convolution via a Riemann sum, preserving the system's response characteristics at sampling instants. To derive H(z)H(z), assume Hc(s)H_c(s) is a proper rational function with simple poles at s=sks = s_k for k=1,,Nk = 1, \dots, N. Perform partial fraction expansion: Hc(s)=k=1NAkssk,H_c(s) = \sum_{k=1}^N \frac{A_k}{s - s_k}, where AkA_k is the residue of Hc(s)H_c(s) at pole sks_k, given by Ak=limssk(ssk)Hc(s)A_k = \lim_{s \to s_k} (s - s_k) H_c(s). The inverse Laplace transform yields hc(t)=k=1NAkesktu(t),h_c(t) = \sum_{k=1}^N A_k e^{s_k t} u(t), with u(t)u(t) the unit step function. Sampling and scaling gives h=Tk=1NAkesknT,n0.h = T \sum_{k=1}^N A_k e^{s_k n T}, \quad n \geq 0. The Z-transform is then H(z)=n=0hzn=Tk=1NAkn=0(eskTz1)n=Tk=1NAk1eskTz1,H(z) = \sum_{n=0}^\infty h z^{-n} = T \sum_{k=1}^N A_k \sum_{n=0}^\infty (e^{s_k T} z^{-1})^n = T \sum_{k=1}^N \frac{A_k}{1 - e^{s_k T} z^{-1}}, for z>maxkeskT|z| > \max_k |e^{s_k T}|. Equivalently, this can be expressed as H(z)=Tk=1N[residue of Hc(s) at sk/(1eskTz1)],H(z) = T \sum_{k=1}^N \left[ \text{residue of } H_c(s) \text{ at } s_k \bigg/ (1 - e^{s_k T} z^{-1}) \right], since the denominator is with respect to the residue computation. For a single-pole system Hc(s)=1/(ssk)H_c(s) = 1/(s - s_k), the residue Ak=1A_k = 1, so H(z)=T1eskTz1.H(z) = \frac{T}{1 - e^{s_k T} z^{-1}}. This form arises directly from the geometric series sum in the Z-transform of h=TesknTh = T e^{s_k n T}. The equivalence between H(z)H(z) and the sampled continuous-time system is proven by the inverse Z-transform: applying it to H(z)H(z) recovers h=Thc(nT)h = T h_c(nT), which matches the scaled samples of the continuous impulse response, ensuring the discrete system replicates the continuous one's time-domain behavior at t=nTt = nT.

Frequency Domain Characteristics

Aliasing in frequency response

In the impulse invariance method, the frequency response of the resulting digital filter H(ejω)H(e^{j\omega}) is derived from the continuous-time analog filter's frequency response Hc(jΩ)H_c(j\Omega) through the sampling process, leading to a periodic extension in the frequency domain. Specifically, the digital frequency response is given by H(ejω)=k=Hc(jω+2πkT),H(e^{j\omega}) = \sum_{k=-\infty}^{\infty} H_c \left( j \frac{\omega + 2\pi k}{T} \right), where TT is the sampling period and ω\omega is the normalized digital frequency ranging from π-\pi to π\pi. This expression represents an infinite sum of shifted copies of the analog frequency response, with each term corresponding to a spectral replica centered at multiples of the sampling frequency 2π/T2\pi / T. Aliasing arises when these spectral replicas overlap within the principal frequency range ωπ|\omega| \leq \pi, which occurs if the analog filter's response Hc(jΩ)H_c(j\Omega) is not sufficiently band-limited and extends beyond the π/T\pi / T. Such overlap distorts the desired by introducing contributions from higher-frequency components that "fold back" into the , thereby altering the filter's magnitude and phase characteristics compared to the original analog prototype. This effect is inherent to the sampling of the and cannot be avoided without modifications to the design process. To eliminate entirely, the analog filter must be strictly band-limited such that Hc(jΩ)=0H_c(j\Omega) = 0 for all Ω>π/T|\Omega| > \pi / T, ensuring no spectral energy exists outside the Nyquist bandwidth. In practice, this condition is rarely met perfectly, but can be minimized for low-pass filters when the is much lower than the , as the higher-frequency tails contribute negligibly. However, the impact is more severe for high-pass or band-pass filters, where significant energy resides at higher frequencies near or beyond π/T\pi / T, leading to substantial distortion from overlapping replicas.

Relation to continuous-time spectrum

In the impulse invariance method, under the assumption of negligible , the discrete-time H(ejω)H(e^{j\omega}) directly corresponds to the continuous-time Hc(jΩ)H_c(j\Omega) through a linear , where the digital frequency ω\omega (in radians per sample) maps to the analog frequency Ω=ω/T\Omega = \omega / T (in radians per second), with TT being the sampling period. This mapping arises from the time-domain equivalence where the discrete is set as h=Thc(nT)h = T h_c(nT), leading to the approximation H(ejω)Hc(jωT)H(e^{j\omega}) \approx H_c\left(j \frac{\omega}{T}\right) for ω<π|\omega| < \pi, preserving the shape of the continuous-time spectrum in the baseband without distortion. The inclusion of the scaling factor TT in the impulse response ensures that the magnitudes align appropriately, particularly at DC where ω=0\omega = 0, yielding H(ej0)=Hc(j0)H(e^{j0}) = H_c(j0), or more generally matching the overall gain to avoid attenuation due to sampling density. Without this normalization, the discrete response would be scaled by 1/T1/T, underestimating the continuous-time gain for typical sampling rates where T<1T < 1. This adjustment is crucial for applications requiring faithful reproduction of low-frequency behavior, such as in audio or control systems. To visualize this relation, the magnitude responses can be compared by plotting Hc(jΩ)|H_c(j\Omega)| against Ω\Omega (scaled to the analog Nyquist frequency π/T\pi / T) alongside H(ejω)|H(e^{j\omega})| against ω\omega over the principal interval [0,π][0, \pi]; the curves overlay precisely under the linear mapping, demonstrating how the digital spectrum folds the continuous one without warping in the passband. This direct proportionality contrasts with methods like the bilinear transform, which introduce nonlinear frequency warping (e.g., Ω=(2/T)tan(ω/2)\Omega = (2/T) \tan(\omega / 2)) to prevent aliasing but distort the spectral shape.

System Properties

Pole mapping

In the impulse invariance method, each pole sks_k of the continuous-time transfer function is mapped to a corresponding pole zk=eskTz_k = e^{s_k T} in the discrete-time transfer function, where TT is the sampling period. This transformation derives from the sampling of the analog impulse response, ensuring the digital filter's response matches the sampled continuous counterpart at discrete times. The mapping preserves the stability properties of the analog system, as poles in the open left-half s-plane ((sk)<0\Re(s_k) < 0) are relocated inside the unit circle in the z-plane (zk<1|z_k| < 1). Specifically, the real part of the analog pole dictates the magnitude of the digital pole through zk=e(sk)T|z_k| = e^{\Re(s_k) T}, which remains less than 1 for stable poles due to the negative real part and positive TT, thereby maintaining exponential decay in the time domain. The imaginary part determines the angular position via arg(zk)=(sk)T\arg(z_k) = \Im(s_k) T, positioning the pole at a frequency scaled by the sampling rate. Repeated poles in the analog domain, sharing the same sks_k, map directly to repeated poles at the identical zkz_k without any modification to their multiplicity. This pole mapping is often illustrated graphically by the exponential function, which conformally transforms the s-plane to the z-plane such that radial lines in the s-plane correspond to spirals in the z-plane, emphasizing the preservation of relative pole positions while accounting for the nonlinear distortion introduced by sampling.

Zero placement and stability

In the impulse invariance method, the zeros of the digital filter transfer function H(z)H(z) do not map directly from the zeros of the analog prototype H(s)H(s) in the same exponential manner as the poles. Instead, H(z)H(z) is constructed via the partial fraction expansion of H(s)=k=1NckspkH(s) = \sum_{k=1}^N \frac{c_k}{s - p_k}, yielding H(z)=k=1NckT1epkTz1H(z) = \sum_{k=1}^N \frac{c_k T}{1 - e^{p_k T} z^{-1}}, where the numerator coefficients arise from combining these terms into a rational polynomial of degree N1N-1 for an NNth-order denominator. This process often introduces additional zeros not present in the analog filter, determined by the residues ckc_k and sampling period TT, rather than a direct transformation; for strictly proper analog filters, these extra zeros account for the degree difference and may appear at locations such as z=1z = -1 to reflect high-frequency attenuation equivalent to analog zeros at infinity. Stability in the resulting digital filter is directly inherited from the analog prototype under the impulse invariance transformation. Analog poles pkp_k with negative real parts (Re(pk)<0\operatorname{Re}(p_k) < 0) map to digital poles zk=epkTz_k = e^{p_k T} inside the unit circle (zk<1|z_k| < 1), preserving bounded-input bounded-output stability for causal systems. Poles on the jωj\omega-axis in the analog domain would map to the unit circle, potentially causing marginal stability, but standard stable prototypes avoid this by design; thus, the method reliably maintains stability without additional checks beyond verifying the analog filter's pole locations. Causality is inherently ensured by the impulse invariance approach, as the discrete-time impulse response h=ha(nT)h = h_a(nT) for n0n \geq 0 (and h=0h = 0 for n<0n < 0) directly samples the one-sided causal response of the analog filter ha(t)h_a(t). However, at extremely high sampling rates (small TT), implementation challenges such as finite-precision arithmetic or overflow in computing exponentials can indirectly compromise effective causality in practice, though the theoretical formulation remains strictly causal. The non-conformal mapping of zeros can introduce phase distortions absent in the analog filter, altering the overall phase response of H(z)H(z). These additional or relocated zeros, often resulting in non-minimum-phase behavior (e.g., zeros outside the unit circle), contribute to deviations in the phase characteristics, particularly in the passband, where the digital phase may exhibit nonlinearity not matching the analog prototype's smoother response. For example, a zero with magnitude greater than 1, as seen in transformed second-order filters, exacerbates this effect by adding excess phase lag.

Comparisons

With bilinear transform

Impulse invariance and the bilinear transform represent two prominent methods for designing infinite impulse response (IIR) digital filters from continuous-time prototypes, differing fundamentally in their frequency domain mappings. In impulse invariance, the frequency axis is mapped linearly as Ω=ω/T\Omega = \omega / T, where Ω\Omega is the analog frequency, ω\omega is the digital frequency, and TT is the sampling period; this direct scaling preserves the shape of the continuous-time frequency response at low frequencies but introduces aliasing from higher-frequency components folding back into the baseband. In contrast, the bilinear transform employs a nonlinear mapping ω=2tan1(ΩT/2)\omega = 2 \tan^{-1}(\Omega T / 2), which compresses the entire analog frequency range into the digital range from 0 to π\pi without aliasing, though it warps the frequency scale, particularly compressing higher frequencies. The pole transformation in each method further highlights these differences, affecting stability margins in the z-plane. Impulse invariance uses an exponential mapping z=esTz = e^{sT}, which places poles based on the sampled impulse response and maintains stability for stable analog poles but can lead to clustered poles near the unit circle due to aliasing effects. The bilinear transform, however, applies z=1+sT/21sT/2z = \frac{1 + s T/2}{1 - s T/2}, mapping the left-half s-plane conformally onto the interior of the unit circle in the z-plane, preserving stability without aliasing but altering pole locations through frequency warping, which can result in wider stability margins for certain filter types. Regarding advantages and disadvantages, impulse invariance excels in matching the time-domain impulse response of the analog filter, making it suitable for applications where transient response fidelity is critical, such as in low-pass or bandpass filters with minimal high-frequency content; however, its aliasing renders it inappropriate for high-pass or bandstop filters. The bilinear transform, by avoiding aliasing, provides exact preservation of the frequency response up to the Nyquist frequency when prewarping is applied to critical frequencies, offering better overall frequency domain accuracy and broader applicability, though it requires compensation for the warping distortion. In a representative example of a first-order low-pass filter with analog transfer function Hc(s)=1/(s+1)H_c(s) = 1/(s + 1) and sampling period T=1T = 1, impulse invariance yields a digital filter H(z)=11e1z1H(z) = \frac{1}{1 - e^{-1} z^{-1}} with 3 dB cutoff frequency approximately 1 rad/sample (exactly ~1.1 rad/sample), but introduces aliasing and significantly alters the DC gain to ~1.58; the bilinear transform, without prewarping, yields H(z)=1+z13z1H(z) = \frac{1 + z^{-1}}{3 - z^{-1}} with cutoff compressed to ~0.93 rad/sample due to warping, but prewarping adjusts it precisely to match a desired digital cutoff, demonstrating superior frequency control at the cost of nonlinear scaling.

With step invariance method

The step invariance method, also known as step-invariant transformation, is a design technique for infinite impulse response (IIR) digital filters that ensures the discrete-time filter's response to a unit step input matches the sampled values of the continuous-time analog prototype's step response at the sampling instants. This approach is particularly useful in applications involving step-like inputs, such as control systems or signal processing where transient responses to abrupt changes are critical. Unlike methods that focus on frequency-domain mapping, step invariance prioritizes time-domain equivalence for the integrated impulse response, achieved by sampling the analog step response sa(t)=0tha(τ)dτs_a(t) = \int_0^t h_a(\tau) \, d\tau, where ha(t)h_a(t) is the analog impulse response, to obtain the discrete step response s=sa(nT)s = s_a(nT), with TT as the sampling period. The digital transfer function H(z)H(z) is then derived from the z-transform of ss, often involving partial fraction expansion of Ha(s)/sH_a(s)/s followed by sampling and transformation. In contrast to the impulse invariance method, which directly samples the analog impulse response to yield h=Tha(nT)h = T h_a(nT) and preserves the shape of the impulse response but introduces aliasing due to the lack of scaling in higher frequencies, the step invariance method avoids the TT-scaling factor in the impulse response sampling. This results in a digital filter where the step response equivalence holds without the proportional scaling seen in impulse invariance, leading to a more direct match for cumulative responses. For a first-order analog filter with pole at p-p, the step-invariant mapping produces H(z)=A(1epT)/p1epTz1H(z) = \frac{A (1 - e^{-pT}) / p}{1 - e^{-pT} z^{-1}}, where AA is the residue, differing from the impulse-invariant form by emphasizing the integrated behavior rather than the differential impulse. For higher-order systems with complex poles, the mapping involves trigonometric terms like z=eaT(cos(θT)+jsin(θT))z = e^{aT} (\cos(\theta T) + j \sin(\theta T)), ensuring pole relocation similar to impulse invariance but tailored to step response preservation. The step invariance method offers advantages over impulse invariance in scenarios with low sampling rates relative to the filter's passband frequency (fs/fp<10f_s / f_p < 10), where it provides superior magnitude response accuracy for low-pass and band-pass filters, reducing aliasing distortions that plague at undersampled conditions. However, it does not preserve the impulse response, potentially leading to discrepancies in applications requiring sharp transient peaks, and introduces phase errors near complex poles, making it less suitable for precise phase-sensitive designs compared to the bilinear transform. Stability is maintained if the analog filter is stable, as poles map inside the unit circle in the z-plane, but the method's complexity increases with filter order due to the need for step response computation and z-transform inversion. An illustrative example is transforming an analog filter with ha(t)=e0.9tu(t)h_a(t) = e^{-0.9t} u(t), whose step response sa(t)=1e0.9t0.9s_a(t) = \frac{1 - e^{-0.9t}}{0.9} is sampled to derive H(z)=(1e0.9T)/0.91e0.9Tz1H(z) = \frac{(1 - e^{-0.9T}) / 0.9}{1 - e^{-0.9T} z^{-1}}, demonstrating exact step response matching at samples nTnT. Overall, while excels in replicating transient impulses, step invariance is preferred for integrated response fidelity, though both suffer from frequency-domain aliasing without additional anti-aliasing measures.

Practical Implementation

Design procedure

The design procedure for impulse invariance begins with selecting an appropriate continuous-time analog prototype filter Hc(s)H_c(s), typically a classical filter such as Butterworth, Chebyshev, or elliptic, designed to meet the desired frequency response specifications translated from the digital domain. Next, compute the continuous-time impulse response hc(t)h_c(t) by taking the inverse Laplace transform of Hc(s)H_c(s). This step often involves partial fraction expansion for rational transfer functions to facilitate the inversion. Then, sample the impulse response to obtain the discrete-time impulse response h=Thc(nT)h = T h_c(nT) for n=0,1,2,n = 0, 1, 2, \dots, where TT is the sampling period. The scaling factor TT ensures that the digital filter's frequency response approximates the analog one without additional gain adjustment due to sampling. Proceed by computing the z-transform of hh to yield the digital transfer function H(z)H(z). For pole-residue forms, this results in H(z)=k=1NAkT1epkTz1H(z) = \sum_{k=1}^N \frac{A_k T}{1 - e^{p_k T} z^{-1}}, where AkA_k and pkp_k are residues and poles from the analog filter. Finally, realize the digital filter from H(z)H(z) using standard structures, such as direct form I or II, to implement it via a difference equation y=k=0Mbkx[nk]k=1Naky[nk]y = \sum_{k=0}^M b_k x[n-k] - \sum_{k=1}^N a_k y[n-k]. Prior to sampling, it is recommended to apply an analog to the input signal if the analog prototype does not sufficiently attenuate frequencies above the , though this is more relevant in hardware implementations. The sampling period TT (or equivalently, sampling frequency fs=1/Tf_s = 1/T) should be chosen such that the is at least 2-3 times the analog filter's cutoff frequency to minimize aliasing effects in the baseband response. In practice, this procedure can be automated using software tools, such as MATLAB's impinvar function, which converts analog filter coefficients to digital ones via impulse invariance.

Numerical example

Consider a first-order low-pass analog filter with transfer function Hc(s)=1s+aH_c(s) = \frac{1}{s + a}, where a=1a = 1. The impulse response is hc(t)=eatu(t)h_c(t) = e^{-a t} u(t), with u(t)u(t) denoting the unit step function. Using the impulse invariance method with sampling period T=0.1T = 0.1, the discrete-time impulse response is obtained as h=Thc(nT)=TeanTuh = T h_c(n T) = T e^{-a n T} u. This yields h=0.1e0.1nuh = 0.1 e^{-0.1 n} u. The corresponding z-transform is H(z)=n=0hzn=T1eaTz1H(z) = \sum_{n=0}^{\infty} h z^{-n} = \frac{T}{1 - e^{-a T} z^{-1}}. Substituting the parameters gives eaT=e0.10.9048e^{-a T} = e^{-0.1} \approx 0.9048, so H(z)=0.110.9048z1H(z) = \frac{0.1}{1 - 0.9048 z^{-1}}. The analog and digital impulse responses match at the sampling instants t=nTt = n T, with the digital version scaled by TT to approximate the continuous-time response in the frequency domain for low frequencies. Plots of the impulse responses show the exponential decay of hc(t)h_c(t) closely sampled by hh, while the magnitude frequency responses Hc(jω)=1/ω2+a2|H_c(j \omega)| = 1 / \sqrt{\omega^2 + a^2}
Add your contribution
Related Hubs
User Avatar
No comments yet.