The formula for the impulse response of a system is fundamentally its definition: it is the output of the system when the input is a Dirac delta function, assuming all initial conditions are zero. This unique output, denoted as h(t) for continuous-time systems or h[n] for discrete-time systems, acts as a characteristic "fingerprint" for linear time-invariant (LTI) systems, revealing how they react to the shortest possible input.
Understanding the Impulse Response
The impulse response is a cornerstone concept in system analysis. It completely characterizes the behavior of an LTI system because any arbitrary input signal can be expressed as a sum or integral of scaled and shifted impulses. The system's response to that arbitrary input can then be found by applying the superposition principle, which results in convolution with the impulse response.
Continuous-Time Systems
For a continuous-time system, the impulse response, h(t), is defined as the system's output y(t) when the input x(t) is the Dirac delta function, denoted as δ(t). The Dirac delta function is an idealized impulse that is zero everywhere except at t = 0, where it has infinite amplitude such that its integral over all time is one.
- Formula for Continuous-Time Impulse Response:
$$h(t) = y(t) \quad \text{when} \quad x(t) = \delta(t)$$
(with zero initial conditions)
This means that if you inject a perfect, infinitesimally short pulse into the system, the signal you observe at the output is h(t).
Discrete-Time Systems
Similarly, for a discrete-time system, the impulse response, h[n], is defined as the system's output y[n] when the input x[n] is the discrete-time unit impulse, denoted as δ[n]. The discrete-time unit impulse is a sequence that is 1 at n = 0 and 0 for all other values of n.
- Formula for Discrete-Time Impulse Response:
$$h[n] = y[n] \quad \text{when} \quad x[n] = \delta[n]$$
(with zero initial conditions)
To find the impulse response $h[n]$ of a discrete-time system:
If the input $x[n]$ is the unit impulse $δ[n]$ and all initial conditions are set to zero (i.e., $y[n] = 0$ for $n < 0$), then the resulting output $y[n]$ is the system's impulse response $h[n]$. This implies that $y[n] = h[n]$ when $x[n] = \delta[n]$ under these conditions.
Why is the Impulse Response Important?
The impulse response is crucial for several reasons in system analysis:
- System Characterization: It completely characterizes the behavior of any LTI system. Knowing h(t) or h[n] allows you to predict the system's output for any input.
- Convolution: The output y(t) or y[n] of an LTI system for any input x(t) or x[n] is given by the convolution of the input with the system's impulse response:
- Continuous-Time: $y(t) = x(t) * h(t) = \int_{-\infty}^{\infty} x(\tau)h(t-\tau)d\tau$
- Discrete-Time: $y[n] = x[n] * h[n] = \sum_{k=-\infty}^{\infty} x[k]h[n-k]$
- Stability Analysis: The impulse response can be used to determine the stability of a system. For example, an LTI system is bounded-input, bounded-output (BIBO) stable if and only if its impulse response is absolutely integrable (for continuous-time) or absolutely summable (for discrete-time).
- Frequency Response: The Fourier transform of the continuous-time impulse response gives the system's frequency response H(jω), and the Z-transform of the discrete-time impulse response gives the system's transfer function H(z).
Methods to Find or Derive the Impulse Response
While the "formula" for the impulse response is its definition, the methods for calculating or deriving it for a specific system are often what engineers and scientists refer to when they discuss finding the impulse response.
From System Equations (LTI Systems)
For systems described by linear constant-coefficient differential or difference equations, the impulse response can be found by solving these equations with an impulse input and zero initial conditions.
System Type | Input-Output Relation | Method to Find $h(t)$ or $h[n]$ |
---|---|---|
Continuous-Time | Described by a Differential Equation (e.g., $RC \frac{dy(t)}{dt} + y(t) = x(t)$) | Solve the differential equation by setting $x(t) = \delta(t)$ and assuming zero initial conditions. |
Discrete-Time | Described by a Difference Equation (e.g., $y[n] - ay[n-1] = bx[n]$) | Solve the difference equation by setting $x[n] = \delta[n]$ and assuming zero initial conditions. |
From the Transfer Function
For LTI systems, the impulse response can also be obtained from the system's transfer function, which is often easier than solving differential or difference equations directly.
- Continuous-Time Systems: If the system's transfer function is $H(s)$ (obtained via Laplace Transform of the differential equation), the impulse response $h(t)$ is the inverse Laplace transform of $H(s)$:
$$h(t) = \mathcal{L}^{-1}{H(s)}$$ - Discrete-Time Systems: If the system's transfer function is $H(z)$ (obtained via Z-Transform of the difference equation), the impulse response $h[n]$ is the inverse Z-transform of $H(z)$:
$$h[n] = \mathcal{Z}^{-1}{H(z)}$$
Practical Insights and Examples
Understanding the formula for the impulse response allows for practical analysis and design:
-
Example 1: RC Circuit (Continuous-Time)
- Consider a simple RC low-pass filter with input voltage $x(t)$ and output voltage $y(t)$ across the capacitor. Its differential equation is $RC \frac{dy(t)}{dt} + y(t) = x(t)$.
- To find $h(t)$, we set $x(t) = \delta(t)$ and solve for $y(t)$ with $y(0^-)=0$. The resulting impulse response is $h(t) = \frac{1}{RC}e^{-t/RC}u(t)$, where $u(t)$ is the unit step function. This shows an exponential decay, characteristic of a capacitor discharging.
-
Example 2: Simple Averaging Filter (Discrete-Time)
- Consider a discrete-time system that averages the current and previous input samples: $y[n] = \frac{1}{2}x[n] + \frac{1}{2}x[n-1]$.
- To find $h[n]$, we set $x[n] = \delta[n]$ and assume zero initial conditions.
- $h[n] = \frac{1}{2}\delta[n] + \frac{1}{2}\delta[n-1]$. This means the output is 1/2 at $n=0$ (due to $\delta[n]$) and 1/2 at $n=1$ (due to $\delta[n-1]$), and zero elsewhere.
In real-world scenarios, a perfect Dirac delta function cannot be generated. However, engineers can use very short, high-amplitude pulses as an approximation to measure a system's impulse response, which is then used to predict its behavior for more complex inputs.
The impulse response is thus not just a theoretical formula but a fundamental concept enabling powerful analytical tools for understanding and designing dynamic systems across various engineering and scientific disciplines.