Digital Signal Analysis and ProcessingUnit 29 min read
LTI Systems: Properties, Convolution, Stability & Causality
Unit 2 of Digital Signal Analysis and Processing explores Linear Time-Invariant (LTI) systems, covering their defining properties, impulse response, convolution, stability, causality, and real-world applications in signal processing pipelines like audio compression (WhatsApp voice notes) and financial forecasting (NEPS
Core Concepts: What Makes a System LTI?
A Linear Time-Invariant (LTI) system is the foundation of digital signal processing. It satisfies three key properties:
- Linearity: Superposition and homogeneity hold.
- Time-invariance: System behavior does not change over time.
- Memory: Output depends on past, present, and future inputs (unless non-causal).
1. Linearity: Superposition and Homogeneity
A system is linear if it obeys:
- Additivity (Superposition): when .
- Homogeneity (Scaling): when .
Visual Check:
graph LR
A["Input: x₁(t)"] -->|"System"| B["Output: y₁(t)"]
C["Input: x₂(t)"] -->|"System"| D["Output: y₂(t)"]
E["Combined Input: x₁(t) + x₂(t)"] -->|"System"| F["Output: y₁(t) + y₂(t)"]
G["Scaled Input: a·x(t)"] -->|"System"| H["Output: a·y(t)"]Example: If a system processes an audio signal (e.g., WhatsApp voice note) and outputs , linearity ensures that mixing two notes produces .
Nonlinear Example: A rectifier circuit (used in power supplies) violates linearity because . Doubling input does not double output.
2. Time-Invariance: Unchanging Behavior Over Time
A system is time-invariant (TI) if a time-shifted input produces a time-shifted output:
Real-World Analogy:
- Ncell’s call routing: The system’s rules for connecting calls (e.g., "if busy, redirect") do not change over time.
- Khalti’s transaction processing: A payment of ₹100 at 10 AM or 10 PM follows the same validation rules.
Non-TI Example: A traffic light controller that changes its timing based on the day of the week is time-variant.
3. Impulse Response and Convolution
Impulse Response
The output of an LTI system when the input is a unit impulse is called the impulse response . It fully characterizes the system.
Example: For a low-pass filter (used in WhatsApp’s voice clarity enhancement), the impulse response might look like:
The output for any input is the convolution of and :
Convolution in Discrete Time
For digital signals (e.g., sampled audio in YouTube’s compression), convolution becomes:
Worked Example: Convolution of Two Sequences Let:
- (a 3-sample window).
- (a simple moving average filter).
Compute :
| values | values | ||
|---|---|---|---|
| -1 | 0, 0, 0 | 1, 1, 0 | 0 |
| 0 | 1, 0, 0 | 1, 1, 0 | |
| 1 | 1, 2, 0 | 1, 1, 0 | |
| 2 | 1, 2, 1 | 1, 1, 0 | |
| 3 | 0, 2, 1 | 0, 1, 1 | |
| 4 | 0, 0, 1 | 0, 0, 1 |
Output: .
Real-World Tie-In: This is how Daraz’s order processing system smooths out sudden spikes in orders (e.g., during sales). The "input" is the order volume at each time step, and the "filter" averages it to predict server load.
4. Stability and Causality
Stability
An LTI system is BIBO (Bounded-Input Bounded-Output) stable if every bounded input produces a bounded output. Mathematically:
Condition for Stability: For continuous-time systems: For discrete-time systems:
Example: A system with impulse response (where ) is stable because the sum converges.
Unstable Example: is unstable because diverges.
Causality
A system is causal if its output at time depends only on present and past inputs, not future inputs:
Example:
- Causal: A FIR filter (used in audio equalizers) processes samples sequentially.
- Non-causal: A spectral analyzer (e.g., in NEPSE stock trend analysis) may need future data to compute Fourier transforms.
Real-World Example:
- Pathao’s ride allocation: Uses only past and current demand data (causal).
- NTC’s traffic prediction: May use future weather data (non-causal).
5. Properties of LTI Systems
| Property | Definition | Example |
|---|---|---|
| Linearity | Superposition and homogeneity. | Mixing two audio tracks in WhatsApp. |
| Time-Invariance | Output shift matches input shift. | Khalti’s transaction rules unchanged over time. |
| Causality | Output depends only on present/past inputs. | FIR filters in DSP applications. |
| Stability | Bounded input → bounded output. | Stable low-pass filters in audio processing. |
| Invertibility | Existence of an inverse system. | Decoding a compressed WhatsApp voice note. |
| Memorylessness | Output depends only on current input (non-LTI if memory exists). | Nonlinear gain stages in amplifiers. |
6. System Classification
In the Real World
WhatsApp Voice Notes:
- Convolution: The app applies FIR filters (linear, time-invariant) to reduce background noise. The impulse response is designed to suppress high frequencies (noise) while preserving speech.
- Stability: The filters are BIBO stable to avoid distortion during long recordings.
NEPSE Stock Trend Analysis:
- LTI Systems: Analysts use moving average filters (convolution of price data with a window) to smooth out volatility. For example, a 5-day moving average:
- Causality: Predictive models (e.g., ARIMA) are causal—they use past prices to forecast future trends.
Khalti’s Fraud Detection:
- Nonlinearity Check: Transactions are first passed through a linear preprocessor (e.g., normalization) to meet LTI assumptions before applying anomaly detection (which may be nonlinear).
- Time-Invariance: Rules like "block transactions > ₹50,000 without OTP" are time-invariant.
Exam Tip
- Always check linearity and time-invariance before assuming a system is LTI. Many exam questions test this with counterexamples (e.g., is nonlinear).
- Convolution is the most tested operation:
- Memorize the graphical method (flipping, shifting, multiplying, integrating).
- For discrete signals, use the tabular method (as shown in the worked example).
- Stability questions often involve impulse responses:
- If is an exponential decay (), check for stability.
- Causality is about time dependence:
- Non-causal systems appear in spectral analysis (e.g., FFT requires future samples).
- Real-world applications:
- Tie convolution to filtering (audio, images), prediction (stocks, weather), and control systems (traffic lights, robotics).
- For Nepali context, relate LTI systems to:
- NTC’s traffic flow modeling (convolution of vehicle counts).
- Ncell’s call routing (linear queuing systems).
- eSewa’s payment processing (stability under high transaction loads).
Key Formulas to Remember
| Concept | Formula |
|---|---|
| Convolution (CT) | |
| Convolution (DT) | |
| Impulse Response | (for CT) or (for DT) |
| Stability (DT) | |
| Causality | for (CT) or for (DT) |
Based on the PU BE Computer (PU) syllabus for Digital Signal Analysis and Processing (CMM344), unit 2.
Discussion
Loading…