Recent from talks
Nothing was collected or created yet.
Impulse invariance
View on WikipediaThis article includes a list of general references, but it lacks sufficient corresponding inline citations. (April 2009) |
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]- ^ Jackson, L.B. (1 October 2000). "A correction to impulse invariance". IEEE Signal Processing Letters. 7 (10): 273–275. Bibcode:2000ISPL....7..273J. doi:10.1109/97.870677. ISSN 1070-9908.
Other sources
[edit]- Oppenheim, Alan V. and Schafer, Ronald W. with Buck, John R. Discrete-Time Signal Processing. Second Edition. Upper Saddle River, New Jersey: Prentice-Hall, 1999.
- Sahai, Anant. Course Lecture. Electrical Engineering 123: Digital Signal Processing. University of California, Berkeley. 5 April 2007.
- Eitelberg, Ed. "Convolution Invariance and Corrected Impulse Invariance." Signal Processing, Vol. 86, Issue 5, pp. 1116–1120. 2006
External links
[edit]- Impulse Invariant Transform at CircuitDesign.info Brief explanation, an example, and application to Continuous Time Sigma Delta ADC's.
Impulse invariance
View on GrokipediaOverview
Definition
Impulse invariance is a technique in digital signal processing for converting continuous-time analog filters to discrete-time infinite impulse response (IIR) filters by ensuring the discrete-time impulse response matches a scaled, uniformly sampled version of the continuous-time impulse response.[1] 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.[2] The core relation is defined by the equation where is the discrete-time impulse response, is the continuous-time impulse response, and is the sampling period.[4] The scaling factor accounts for the sampling rate to align the frequency responses appropriately in the low-frequency range.[5] The technique assumes the analog filter possesses a rational transfer function of the form in the Laplace domain, where and are polynomials, ensuring the impulse response can be expressed as a sum of exponentials for practical computation.[1] Impulse invariance emerged as part of early digital filter design methods during the 1960s and 1970s, 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 impulse response sampling.[5]Purpose and applications
Impulse invariance is a digital filter design technique employed to convert continuous-time analog filters into discrete-time infinite impulse response (IIR) filters, with the primary goal of preserving the shape of the analog filter's impulse response at the sampling instants. This method ensures that the discrete-time impulse response matches the sampled version of the continuous-time impulse response , specifically , where is the sampling period, thereby approximating the analog system's transient behavior in the digital domain. By focusing on this time-domain equivalence, impulse invariance facilitates the emulation of analog prototypes in digital implementations without requiring complex frequency-domain adjustments.[1][6] 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.[7][8][6] 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.[1][8]Mathematical Derivation
Impulse response sampling
The impulse invariance method for designing discrete-time filters from continuous-time prototypes fundamentally relies on sampling the impulse response of the analog system. Consider a continuous-time linear time-invariant (LTI) system with transfer function , excited by the Dirac delta function . The resulting impulse response is the inverse Laplace transform of , and for a causal system, for . To obtain the discrete-time impulse response , sample at uniform intervals , where is the sampling period and is an integer. This yields for , with for , preserving the causality of the original system. The scaling factor 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.[9] For practical computation, particularly when is a rational function with simple poles, the partial fraction expansion is employed to express explicitly. Assume , where are the poles and are the corresponding residues (determined as ). The inverse Laplace transform then gives where is the unit step function. Sampling this at produces This form facilitates direct implementation in discrete-time filter structures.Transfer function equivalence
The discrete-time transfer function in the impulse invariance method is obtained as the Z-transform of the scaled sampled impulse response, where for , with denoting the sampling period and the continuous-time impulse response of . This scaling by ensures that the discrete convolution approximates the continuous-time convolution via a Riemann sum, preserving the system's response characteristics at sampling instants.[9] To derive , assume is a proper rational function with simple poles at for . Perform partial fraction expansion: where is the residue of at pole , given by . The inverse Laplace transform yields with the unit step function. Sampling and scaling gives The Z-transform is then for . Equivalently, this can be expressed as since the denominator is constant with respect to the residue computation.[9] For a single-pole system , the residue , so This form arises directly from the geometric series sum in the Z-transform of .[9] The equivalence between and the sampled continuous-time system is proven by the inverse Z-transform: applying it to recovers , which matches the scaled samples of the continuous impulse response, ensuring the discrete system replicates the continuous one's time-domain behavior at .[1]Frequency Domain Characteristics
Aliasing in frequency response
In the impulse invariance method, the frequency response of the resulting digital filter is derived from the continuous-time analog filter's frequency response through the sampling process, leading to a periodic extension in the frequency domain.[10] Specifically, the digital frequency response is given by where is the sampling period and is the normalized digital frequency ranging from to .[10] 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 .[1] Aliasing arises when these spectral replicas overlap within the principal frequency range , which occurs if the analog filter's response is not sufficiently band-limited and extends beyond the Nyquist frequency .[10] Such overlap distorts the desired frequency response by introducing contributions from higher-frequency components that "fold back" into the baseband, thereby altering the filter's magnitude and phase characteristics compared to the original analog prototype.[1] This aliasing effect is inherent to the sampling of the impulse response and cannot be avoided without modifications to the design process. To eliminate aliasing entirely, the analog filter must be strictly band-limited such that for all , ensuring no spectral energy exists outside the Nyquist bandwidth.[10] In practice, this condition is rarely met perfectly, but aliasing can be minimized for low-pass filters when the cutoff frequency is much lower than the Nyquist frequency, as the higher-frequency tails contribute negligibly.[11] However, the impact is more severe for high-pass or band-pass filters, where significant energy resides at higher frequencies near or beyond , leading to substantial distortion from overlapping replicas.[11]Relation to continuous-time spectrum
In the impulse invariance method, under the assumption of negligible aliasing, the discrete-time frequency response directly corresponds to the continuous-time frequency response through a linear frequency scaling, where the digital frequency (in radians per sample) maps to the analog frequency (in radians per second), with being the sampling period.[12] This mapping arises from the time-domain equivalence where the discrete impulse response is set as , leading to the approximation for , preserving the shape of the continuous-time spectrum in the baseband without distortion.[12] The inclusion of the scaling factor in the impulse response ensures that the magnitudes align appropriately, particularly at DC where , yielding , or more generally matching the overall gain to avoid attenuation due to sampling density.[12] Without this normalization, the discrete response would be scaled by , underestimating the continuous-time gain for typical sampling rates where . 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 against (scaled to the analog Nyquist frequency ) alongside against over the principal interval ; the curves overlay precisely under the linear mapping, demonstrating how the digital spectrum folds the continuous one without warping in the passband.[12] This direct proportionality contrasts with methods like the bilinear transform, which introduce nonlinear frequency warping (e.g., ) to prevent aliasing but distort the spectral shape.System Properties
Pole mapping
In the impulse invariance method, each pole of the continuous-time transfer function is mapped to a corresponding pole in the discrete-time transfer function, where is the sampling period.[1][13] 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.[14] The mapping preserves the stability properties of the analog system, as poles in the open left-half s-plane () are relocated inside the unit circle in the z-plane ().[1][15] Specifically, the real part of the analog pole dictates the magnitude of the digital pole through , which remains less than 1 for stable poles due to the negative real part and positive , thereby maintaining exponential decay in the time domain.[13] The imaginary part determines the angular position via , positioning the pole at a frequency scaled by the sampling rate.[1] Repeated poles in the analog domain, sharing the same , map directly to repeated poles at the identical without any modification to their multiplicity.[14] 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.[14]Zero placement and stability
In the impulse invariance method, the zeros of the digital filter transfer function do not map directly from the zeros of the analog prototype in the same exponential manner as the poles. Instead, is constructed via the partial fraction expansion of , yielding , where the numerator coefficients arise from combining these terms into a rational polynomial of degree for an th-order denominator. This process often introduces additional zeros not present in the analog filter, determined by the residues and sampling period , 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 to reflect high-frequency attenuation equivalent to analog zeros at infinity.[16][17] Stability in the resulting digital filter is directly inherited from the analog prototype under the impulse invariance transformation. Analog poles with negative real parts () map to digital poles inside the unit circle (), preserving bounded-input bounded-output stability for causal systems. Poles on the -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.[14][16] Causality is inherently ensured by the impulse invariance approach, as the discrete-time impulse response for (and for ) directly samples the one-sided causal response of the analog filter . However, at extremely high sampling rates (small ), 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.[16] The non-conformal mapping of zeros can introduce phase distortions absent in the analog filter, altering the overall phase response of . 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.[17]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 , where is the analog frequency, is the digital frequency, and 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.[13] In contrast, the bilinear transform employs a nonlinear mapping , which compresses the entire analog frequency range into the digital range from 0 to without aliasing, though it warps the frequency scale, particularly compressing higher frequencies.[18][17] The pole transformation in each method further highlights these differences, affecting stability margins in the z-plane. Impulse invariance uses an exponential mapping , 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.[13] The bilinear transform, however, applies , 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.[18][17] 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.[13][18] 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.[17] In a representative example of a first-order low-pass filter with analog transfer function and sampling period , impulse invariance yields a digital filter 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 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.[17][18]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 , where is the analog impulse response, to obtain the discrete step response , with as the sampling period. The digital transfer function is then derived from the z-transform of , often involving partial fraction expansion of followed by sampling and transformation.[10][19] In contrast to the impulse invariance method, which directly samples the analog impulse response to yield 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 -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 , the step-invariant mapping produces , where 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 , ensuring pole relocation similar to impulse invariance but tailored to step response preservation.[19][10] The step invariance method offers advantages over impulse invariance in scenarios with low sampling rates relative to the filter's passband frequency (), where it provides superior magnitude response accuracy for low-pass and band-pass filters, reducing aliasing distortions that plague impulse invariance 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 , whose step response is sampled to derive , demonstrating exact step response matching at samples . Overall, while impulse invariance 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.[19][10]Practical Implementation
Design procedure
The design procedure for impulse invariance begins with selecting an appropriate continuous-time analog prototype filter , typically a classical filter such as Butterworth, Chebyshev, or elliptic, designed to meet the desired frequency response specifications translated from the digital domain.[20] Next, compute the continuous-time impulse response by taking the inverse Laplace transform of . This step often involves partial fraction expansion for rational transfer functions to facilitate the inversion.[1] Then, sample the impulse response to obtain the discrete-time impulse response for , where is the sampling period. The scaling factor ensures that the digital filter's frequency response approximates the analog one without additional gain adjustment due to sampling.[20] Proceed by computing the z-transform of to yield the digital transfer function . For pole-residue forms, this results in , where and are residues and poles from the analog filter.[1] Finally, realize the digital filter from using standard structures, such as direct form I or II, to implement it via a difference equation .[20] Prior to sampling, it is recommended to apply an analog anti-aliasing filter to the input signal if the analog prototype does not sufficiently attenuate frequencies above the Nyquist rate, though this is more relevant in hardware implementations.[21] The sampling period (or equivalently, sampling frequency ) should be chosen such that the Nyquist frequency is at least 2-3 times the analog filter's cutoff frequency to minimize aliasing effects in the baseband response.[1] In practice, this procedure can be automated using software tools, such as MATLAB'simpinvar function, which converts analog filter coefficients to digital ones via impulse invariance.[4]
