3. Signals and Systems

Linear Systems

Cover linearity, time-invariance, causality, stability, convolution, impulse response, and system characterization techniques.

Linear Systems

Hey students! šŸ‘‹ Welcome to one of the most fundamental concepts in electrical engineering - linear systems! This lesson will help you understand how linear systems work, what makes them special, and why they're absolutely crucial in everything from audio processing to communication systems. By the end of this lesson, you'll be able to identify linear systems, understand their key properties like time-invariance and causality, and use powerful tools like convolution and impulse response to analyze them. Get ready to unlock the mathematical foundation that powers most of the electronic devices you use every day! šŸ”§

Understanding Linearity and Linear Systems

Let's start with the big question: what makes a system "linear"? šŸ¤” A linear system follows two fundamental principles that make it incredibly predictable and mathematically elegant.

The Principle of Superposition is the heart of linearity. This means two things happen simultaneously:

  1. Additivity: If input $x_1(t)$ produces output $y_1(t)$, and input $x_2(t)$ produces output $y_2(t)$, then input $x_1(t) + x_2(t)$ must produce output $y_1(t) + y_2(t)$.
  1. Homogeneity (Scaling): If input $x(t)$ produces output $y(t)$, then input $ax(t)$ produces output $ay(t)$ for any constant $a$.

Think of it like mixing paint colors! šŸŽØ If you know how much red and blue paint you need separately to get certain shades, you can predict exactly what happens when you mix them together. A linear system behaves the same way with signals.

Real-world example: Consider an audio amplifier. If it's truly linear, playing two songs at half volume each should sound exactly the same as playing each song separately at full volume and then mixing them. Most high-quality amplifiers are designed to be as linear as possible to avoid distortion.

However, perfect linearity is rare in real systems. A guitar amplifier intentionally introduces non-linearity to create that warm, distorted rock sound. When you crank up the volume, the output doesn't just get proportionally louder - it changes character entirely!

Time-Invariance: When Timing Doesn't Matter

A time-invariant system has a wonderfully simple property: it doesn't care when you apply an input! ā° If you delay your input signal by some amount, the output is just delayed by exactly the same amount - nothing else changes.

Mathematically, if input $x(t)$ produces output $y(t)$, then input $x(t - t_0)$ produces output $y(t - t_0)$ for any delay $t_0$.

Think about your car's cruise control system. Whether you set it to 65 mph at 2 PM or 8 PM, the system responds identically. The time of day doesn't affect how it maintains your speed - that's time-invariance in action! šŸš—

Linear Time-Invariant (LTI) Systems combine both properties and are the golden standard in signal processing. About 80% of signal processing theory focuses on LTI systems because they're mathematically tractable and represent many real-world systems quite well.

Causality: The Arrow of Time

Causality might seem obvious, but it's crucial for real systems! šŸƒā€ā™‚ļø A causal system can only depend on present and past inputs - never future ones. The output at time $t$ can only depend on inputs from times $\tau \leq t$.

Why does this matter? Imagine a real-time audio processor that needs to remove noise from your voice during a phone call. It can use information from what you said a moment ago and what you're saying right now, but it can't wait to hear what you'll say next - that would create an unacceptable delay!

Non-causal systems do exist and are useful in offline processing. When Netflix processes a movie for streaming, they can analyze the entire film to optimize compression - they have access to "future" frames. But for live applications, causality is essential.

Stability: Keeping Things Under Control

System stability determines whether small inputs lead to reasonable outputs or complete chaos! šŸ“ˆ There are different types of stability, but Bounded-Input Bounded-Output (BIBO) stability is most practical.

A system is BIBO stable if every bounded input produces a bounded output. In mathematical terms, if $|x(t)| \leq M$ for all time, then $|y(t)| \leq K$ for some finite constant $K$.

Consider a microphone feedback loop - you know, that awful screeching sound when a mic gets too close to a speaker! šŸŽ¤ This happens because the system becomes unstable. A tiny sound gets amplified, picked up again, amplified more, and grows exponentially until it saturates the system.

For LTI systems, stability has a beautiful connection to the impulse response: the system is stable if and only if $\int_{-\infty}^{\infty} |h(\tau)| d\tau < \infty$ where $h(t)$ is the impulse response.

Impulse Response: The System's Fingerprint

The impulse response $h(t)$ is like a system's DNA - it contains complete information about how the system behaves! 🧬 It's the output when the input is a unit impulse (delta function) $\delta(t)$.

Why is this so powerful? Because any input signal can be thought of as a collection of scaled and shifted impulses. If you know how the system responds to a single impulse, you can predict its response to any input using convolution.

Real-world example: When you clap your hands in a large cathedral, you hear the impulse response of that acoustic space. Audio engineers actually measure room impulse responses and use them to add realistic reverb effects to recordings! šŸ›ļø

The impulse response tells you immediately about system properties:

  • If $h(t) = 0$ for $t < 0$, the system is causal
  • If $\int |h(t)| dt < \infty$, the system is stable
  • The shape of $h(t)$ reveals the system's frequency characteristics

Convolution: The Mathematical Engine

Convolution is the mathematical operation that connects inputs to outputs in LTI systems. For continuous time: $$y(t) = x(t) * h(t) = \int_{-\infty}^{\infty} x(\tau)h(t-\tau) d\tau$$

Think of convolution as a "sliding correlation." šŸ“Š You flip the impulse response, slide it across the input signal, multiply them together at each position, and integrate. The result at each position becomes one point of the output.

Here's an intuitive way to understand it: imagine you're painting a fence with a special brush. The brush has a particular shape (that's your impulse response). As you move the brush along (that's the time shift), the amount of paint you apply depends on both the brush shape and how much paint is available at each position (that's your input signal). The final painted fence is your output!

Image processing uses 2D convolution constantly. When Instagram applies a blur filter to your photo, it's convolving your image with a blurring kernel. Edge detection, sharpening, and many other effects are all convolution operations! šŸ“±

System Characterization Techniques

Engineers use several methods to characterize linear systems:

Frequency Response Analysis examines how systems respond to sinusoidal inputs at different frequencies. This is measured using tools like network analyzers and gives insight into filtering behavior. Most audio equipment specifications include frequency response plots showing how evenly they reproduce different frequencies.

Step Response Testing applies a sudden jump in input and observes the output. This reveals settling time, overshoot, and stability margins. When you suddenly press the gas pedal in your car, the step response shows how quickly and smoothly the engine responds.

Transfer Function Analysis uses Laplace transforms to represent the system as a ratio of polynomials. This algebraic representation makes it easy to analyze stability, design controllers, and predict behavior.

Pole-Zero Analysis examines the roots of the transfer function polynomials. Poles determine stability and transient response, while zeros affect the frequency response shape. Systems with poles in the right half-plane are unstable - a critical design consideration.

Conclusion

Linear systems form the mathematical foundation of modern electrical engineering! We've explored how linearity and time-invariance create predictable, analyzable systems that can be completely characterized by their impulse response. Understanding causality ensures our systems work in real-time, while stability keeps them well-behaved. Convolution provides the mathematical engine that connects inputs to outputs, and various characterization techniques help us design and analyze these systems effectively. These concepts aren't just academic - they're the tools that make possible everything from your smartphone's signal processing to the power grid's control systems.

Study Notes

• Linearity: System satisfies superposition principle (additivity + homogeneity)

• Time-Invariance: Delaying input delays output by same amount, no other changes

• LTI Systems: Combine linearity and time-invariance, foundation of signal processing

• Causality: Output depends only on present and past inputs, never future

• BIBO Stability: Bounded inputs produce bounded outputs

• Impulse Response h(t): System output when input is unit impulse Ī“(t)

• Convolution Formula: $y(t) = x(t) * h(t) = \int_{-\infty}^{\infty} x(\tau)h(t-\tau) d\tau$

• Stability Condition: $\int_{-\infty}^{\infty} |h(\tau)| d\tau < \infty$

• Causality Condition: $h(t) = 0$ for $t < 0$

• System Characterization: Frequency response, step response, transfer functions, pole-zero analysis

• Convolution Interpretation: Sliding correlation between input and time-reversed impulse response

Practice Quiz

5 questions to test your understanding

Linear Systems — Electrical Engineering | A-Warded