Chapter 2: Linear systems & sinusoids OVE EDFORS DEPT. OF EIT, LUND UNIVERSITY

Similar documents
2 Classification of Continuous-Time Systems

EECE 3620: Linear Time-Invariant Systems: Chapter 2

Discussion Section #2, 31 Jan 2014

Frequency Response (III) Lecture 26:

LTI Systems (Continuous & Discrete) - Basics

06/12/ rws/jMc- modif SuFY10 (MPF) - Textbook Section IX 1

Signals and Systems Chapter 2

Lecture 2. Introduction to Systems (Lathi )

CH.3 Continuous-Time Linear Time-Invariant System

Properties of LTI Systems

Chapter 3 Convolution Representation

Chapter 1 Fundamental Concepts

Module 1: Signals & System

ECE 301 Division 1 Exam 1 Solutions, 10/6/2011, 8-9:45pm in ME 1061.

Modeling and Analysis of Systems Lecture #3 - Linear, Time-Invariant (LTI) Systems. Guillaume Drion Academic year

MAE143 A - Signals and Systems - Winter 11 Midterm, February 2nd

Review of Frequency Domain Fourier Series: Continuous periodic frequency components

Introduction to Signals and Systems Lecture #4 - Input-output Representation of LTI Systems Guillaume Drion Academic year

1.17 : Consider a continuous-time system with input x(t) and output y(t) related by y(t) = x( sin(t)).

Figure 1 A linear, time-invariant circuit. It s important to us that the circuit is both linear and time-invariant. To see why, let s us the notation

Volterra Series. Nick Gamroth. January 2005

Convolution and Linear Systems

1 otherwise. Note that the area of the pulse is one. The Dirac delta function (a.k.a. the impulse) can be defined using the pulse as follows:

Cosc 3451 Signals and Systems. What is a system? Systems Terminology and Properties of Systems

EE 224 Signals and Systems I Review 1/10

Background LTI Systems (4A) Young Won Lim 4/20/15

2. CONVOLUTION. Convolution sum. Response of d.t. LTI systems at a certain input signal

Convolution. Define a mathematical operation on discrete-time signals called convolution, represented by *. Given two discrete-time signals x 1, x 2,

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 2 Laplace Transform I 1/52

EC Signals and Systems

Mathematical Foundations of Signal Processing

Chapter 1 Fundamental Concepts

L2 gains and system approximation quality 1

LINEAR SYSTEMS. J. Elder PSYC 6256 Principles of Neural Coding

The Convolution Sum for Discrete-Time LTI Systems

Interconnection of LTI Systems

Solving a RLC Circuit using Convolution with DERIVE for Windows

Linear Filters and Convolution. Ahmed Ashraf

FOURIER TRANSFORMS. At, is sometimes taken as 0.5 or it may not have any specific value. Shifting at

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

Lecture 2 ELE 301: Signals and Systems

Aspects of Continuous- and Discrete-Time Signals and Systems

Differential and Difference LTI systems

Introduction ODEs and Linear Systems

New Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Spring 2018 Exam #1

Ch 2: Linear Time-Invariant System

Definition and Properties

Volterra/Wiener Representation of Non-Linear Systems

2.161 Signal Processing: Continuous and Discrete Fall 2008

信號與系統 Signals and Systems

Continuous-Time Frequency Response (II) Lecture 28: EECS 20 N April 2, Laurent El Ghaoui

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Review of Analog Signal Analysis

ECE 3620: Laplace Transforms: Chapter 3:

Signals & Systems interaction in the Time Domain. (Systems will be LTI from now on unless otherwise stated)

NAME: 23 February 2017 EE301 Signals and Systems Exam 1 Cover Sheet

ENSC327 Communications Systems 2: Fourier Representations. Jie Liang School of Engineering Science Simon Fraser University

Laplace Transforms and use in Automatic Control

CLTI System Response (4A) Young Won Lim 4/11/15

Dynamical systems: basic concepts

9.2 The Input-Output Description of a System

x(t) = t[u(t 1) u(t 2)] + 1[u(t 2) u(t 3)]

信號與系統 Signals and Systems

Lecture 2 Discrete-Time LTI Systems: Introduction

Laplace Transform Part 1: Introduction (I&N Chap 13)

The (Fast) Fourier Transform

EE 210. Signals and Systems Solutions of homework 2

Therefore the new Fourier coefficients are. Module 2 : Signals in Frequency Domain Problem Set 2. Problem 1

Review of Linear Time-Invariant Network Analysis

Linear systems, small signals, and integrators

2.1 Basic Concepts Basic operations on signals Classication of signals

Digital Signal Processing Lecture 5

New Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Fall 2017 Exam #1

Lecture Notes of EE 714

Math 3313: Differential Equations Laplace transforms

Lecture 1 From Continuous-Time to Discrete-Time

2.161 Signal Processing: Continuous and Discrete Fall 2008

Communication Theory II

Homework 4. May An LTI system has an input, x(t) and output y(t) related through the equation y(t) = t e (t t ) x(t 2)dt

18. Impulse and step responses

a_n x^(n) a_0 x = 0 with initial conditions x(0) =... = x^(n-2)(0) = 0, x^(n-1)(0) = 1/a_n.

University Question Paper Solution

2. Time-Domain Analysis of Continuous- Time Signals and Systems

CT Correlation (2A) Young Won Lim 9/9/14

1.4 Unit Step & Unit Impulse Functions

Lecture 6: Time-Domain Analysis of Continuous-Time Systems Dr.-Ing. Sudchai Boonto

Rui Wang, Assistant professor Dept. of Information and Communication Tongji University.

Chapter 6: The Laplace Transform 6.3 Step Functions and

The Laplace transform

System Identification & Parameter Estimation

Fourier Transform for Continuous Functions

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Lecture Notes for Math 251: ODE and PDE. Lecture 22: 6.5 Dirac Delta and Laplace Transforms

(f g)(t) = Example 4.5.1: Find f g the convolution of the functions f(t) = e t and g(t) = sin(t). Solution: The definition of convolution is,

EE 3054: Signals, Systems, and Transforms Summer It is observed of some continuous-time LTI system that the input signal.

Discrete and continuous dynamic systems

Signal Processing and Linear Systems1 Lecture 4: Characterizing Systems

Analysis III for D-BAUG, Fall 2017 Lecture 10

Practice Problems For Test 3

Representation of Signals and Systems. Lecturer: David Shiung

Transcription:

Chapter 2: Linear systems & sinusoids OVE EDFORS DEPT. OF EIT, LUND UNIVERSITY

Learning outcomes After this lecture, the student should understand what a linear system is, including linearity conditions, their consequences, and the superposition principle, understand what time-invariance is, and its connection to linear systems linear and time-invariant (LTI) systems, understand what impulses and step functions are and how they are defined, have a basic understanding of what generalized functions are, understand what the impulse response of an LTI system is and how it can be used to calculate output signals, be able to calculate the output signal of an LTI system, when given an input signal and the system s impulse response, understand causality and why it is an important property of real, physical, systems, and be able to find out if a certain given LTI system is causal or not. O. Edfors EITA30 - Chapter 2 1

Linear systems, what s that?

Linear systems Definition Input x(t) System L( ) Output y(t) Definition (Linear system) A system L is said to be linear if, whenever an input x(t) = x 1 (t) yields an output y(t) = L(x 1 (t)) and an input x(t) = x 2 (t) yields an output y(t) = L(x 2 (t)) this also leads to that we have L(αx 1 (t) + βx 2 (t)) = αl(x 1 (t)) + βl(x 2 (t)), where α and β are real or complex valued constants. Short version for memory: Weighted sum of inputs leads to same weighted sum of outputs. O. Edfors EITA30 - Chapter 2 2

Linear systems Property illustration This system with two superpositioned input signals is equivalent to these two parallel systems, each with its own input, but outputs superpositioned the same way (same α and β) O. Edfors EITA30 - Chapter 2 3

The linearity condition infinite sums In order to extend the linearity condition L (αx 1 (t) + βx 2 (t)) = αl (x 1 (t)) + βl (x 2 (t)) to infinite sums (integrals think Riemann sum) we must assume that the system L is sufficiently smooth or continuous. In other words: Small changes in input must give small changes in output. O. Edfors EITA30 - Chapter 2 4

The linearity condition equivalent formulation The linearity condition L(αx 1 (t) + βx 2 (t)) = αl(x 1 (t)) + βl(x 2 (t)) can be replaced by two simpler conditions L(x 1 (t) + x 2 (t)) = L(x 1 (t)) + L(x 2 (t)) L(αx(t)) = αl(x(t)) [Additivity] [Homogeneity] Important note: Both simplified conditions must be true for the first (linearity) condition to be true! O. Edfors EITA30 - Chapter 2 5

Linear system properties

A consequence of the linearity condition Assuming that both input x 1 (t) and x 2 (t) are zero, i.e., x 1 (t) = x 2 (t) = 0 we obtain [additivity] L(0 + 0) = L(0) + L(0), which can only be true if L(0) = 0. An important consequence Zero input results in zero output for ALL linear systems! Note: This property is not true for nonlinear systems, which may e.g. oscillate despite a zero-input. O. Edfors EITA30 - Chapter 2 6

Superposition principle A system is said to be linear if the output resulting from an input that is a weighted sum of signals is the same as the weighted sum of the outputs obtained when the input signals are acting separately. This means L(αx 1 (t) + βx 2 (t)) = αl(x 1 (t)) + βl(x 2 (t)) }{{}}{{} Weighted sum of input signals Corresponding weighted sum of output signals In other words: Per definition, linear systems obey the superposition principle. (See definition of linear system.) O. Edfors EITA30 - Chapter 2 7

Linear and time invariant systems

Time invariance A system I is said to be time-invariant if a delay of the input by any amount of time only causes the same delay of the output. More precisely: Definition (Time invariance) A system I with output is time-invariant if holds for all delays (shifts) τ. y(t) = I(x(t)) y(t τ) = I(x(t τ)) What it means: The system as such does not change its behavior with time. Its components do not grow old. O. Edfors EITA30 - Chapter 2 8

Linear and time-invariant (LTI) systems A system that is both linear and time-invariant is called an LTI system. LTI systems are an important class of systems which have many applications in real life! O. Edfors EITA30 - Chapter 2 9

A circuit example: Impulses and step functions Consider the output when charging a capacitor with a current pulse: i(t) q(t)= t i(t)dt 1/ε Unit area Input signal i(t) [Ampere] 1 Out signal q(t) [Coulomb] ε t [Second] ε t [Second] O. Edfors EITA30 - Chapter 2 10

A circuit example: Impulses and step functions i(t) [Ampere] q(t) [Coulomb] 1/ε Unit area 1 ε t [Second] ε t [Second] Now, let the current pulse become shorter and shorter, approaching zero-length in time. i(t) [Ampere] q(t) [Coulomb] 1/ε Unit impulse when ε 0 ε t [Second] 1 Unit step when ε 0 ε t [Second] O. Edfors EITA30 - Chapter 2 11

Impulses, steps and impulse responses

The delta/unit-impulse function When the length of our pulse (with unit area) in the circuit example approaches zero, the pulse approaches the delta-function δ(t) also called the unit impulse or Dirac s delta-function 1. Definition (Delta function) The delta function δ(t) (unit impulse) is a function that has the following two properties: δ(t) δ(t) = 0 for all t = 0 δ(t)dt = 1 t This is a very important function. We will use it throughout the course! 1 Named after Paul Dirac (1902-1984), one of the founders of quantum mechanics. O. Edfors EITA30 - Chapter 2 12

The unit-step function If a delta/unit-impulse function acts as input in our circuit example, the charge in the capacitor will rise immediately from 0 to 1 Coulomb, at t = 0, and stay there forever. We say that when the pulse length on the input approaches zero, the output (charge) approaches the unit-step function u(t) also called Heaviside s step-function 2. Definition (Unit-step function) The unit-step function u(t) is defined as 0, t < 0 u(t) = 1/2, t = 0 1, t > 0 This is another very important function. We will use it throughout the course! 1 1 2 u(t) t 2 Named after Oliver Heaviside (1850 1925), a famous English mathematician. O. Edfors EITA30 - Chapter 2 13

Generalized functions and LTI systems

Generalized functions/distributions The delta function is not a function in the ordinary sense it a generalized function or a distribution. These need to be treated in a special way. The derivative of a generalized function/distribution is indirectly defined: Definition (Derivative of generalized function/distribution) The derivative g (t) of a generalized function/distribution g(t) is given by g (t)ϕ(t)dt def = g(t)ϕ (t)dt where ϕ(t) is a test function which is infinitely differentiable (smooth) and has compact support (zero outside some bounded interval). O. Edfors EITA30 - Chapter 2 14

Important property of the delta function Using the definition of the delta function δ(t) we can conclude that δ(t)f (t)dt = f (0) if f (t) is a function which is continuous at t = 0. We can see this as the above integral sampling (picking up the value of) the function f (t) at t = 0. f (0) f (t) δ(t) t O. Edfors EITA30 - Chapter 2 15

QUIZ: Sampling at a certain time As we have seen, this expression δ(t)f (t)dt = f (0) accomplishes a sampling of f (t) at t = 0. What would the corresponding expression sampling f (t) at an arbitrary time t = t 0? f (t) Solution: By moving (delaying) the δ(t) function by f (t 0 ) t 0 units along the t-axis, we get δ(t t 0 ) δ(t t 0 )f (t)dt = f (t 0 ) t 0 t O. Edfors EITA30 - Chapter 2 16

Derivatives and integrals Between delta and step functions, δ(t) and u(t), we have the following relationships (derivative defined for generalized functions): t u (t) = δ(t) δ(t)dt = u(t) O. Edfors EITA30 - Chapter 2 17

LTI system impulse response Input δ(t) LTI system L( ) Output h(t) The impulse response h(t) of an LTI system is defined as the output when an (Dirac/unit) impulse at t = 0 acts as input. We often draw the block diagram of such as system: Input x(t) h(t) Output y(t) O. Edfors EITA30 - Chapter 2 18

LTI system input-output relation x(t) h(t) y(t) The input-output relation for an LTI system with impulse response h(t) is y(t) = x(τ)h(t τ)dτ = where x(t) is the input and y(t) the corresponding output. h(τ)x(t τ)dτ This particular integral is called a convolution and is one of the most important mathematical concepts in the course. Convolution is commutative and denoted by. We write y(t) = x(t) h(t) = h(t) x(t). O. Edfors EITA30 - Chapter 2 19

Example 1 Assume we have an LTI system with input x(t) and impulse response h(t), according to the figures below. x(t) h(t) 2 1 0 1 t -1/2 1/2 t What will the output y(t) be? O. Edfors EITA30 - Chapter 2 20

Solution 1 The output of an LTI system with input x(t) and impulse response h(t) is determined by the convolution y(t) = x(t) h(t) = x(τ)h(t τ)dτ. Let s start with performing the convolution by using the integral. First, what does the factors of the integrand, x(τ) and h(t τ), look like on the τ-axis? 2 x(τ) the same 1 flipped shifted by t h(t τ) 0 1 τ t 1/2 t t + 1/2 τ O. Edfors EITA30 - Chapter 2 21

Solution 1 (cont.) Result of y(t) = Let s perform the convolution: x(τ)h(t τ)dτ x(τ) t < 1/2 : 2 y(t) = 0 h(t h(t τ) h(t τ) τ) h(t τ) h(t h(t τ) τ) τ) 1 1 1 1 1 1 1/2 t < 1/2 : y(t) = 2(t + 1/2) 0 1 τ 1/2 t < 3/2 : t 1/2 t t 1/2 t 1/2t + 1/2 t + t + 1/2 1/2 t t1/2 t+ 1/2 t + t 1/2 t + 1/2 y(t) = 2(3/2 t) t 3/2 : y(t) = 0 O. Edfors EITA30 - Chapter 2 22

Solution 1 (cont.) Plotting the graph of the output signal 0, t < 1/2 2(t + 1/2), 1/2 t < 1/2 y(t) = 2(3/2 t), 1/2 t < 3/2 0, t 3/2 we get 2 y(t) -1/2 3/2 t O. Edfors EITA30 - Chapter 2 23

Example 2 h(t) Consider an LTI system with impulse response { 1, 1 t 1 h(t) = 0, otherwise and input signal x(t) = { 2, 0 t 1 0, otherwise 1-1 1 x(t) 2 t 0 1 t O. Edfors EITA30 - Chapter 2 24

Solution 2 Following the same type of reasoning as in Example 1, we get a piece-wise linear output (since x(t) and h(t) are piece-wise constant), but now with four corners rather than three (since x(t) and h(t) are of different length): y(t) y(t) = 0, t < 1 2t + 2, 1 t < 0 2, 0 t < 1 2t + 4, 1 t < 2 0, t 2 2-2 -1 0 1 2 t O. Edfors EITA30 - Chapter 2 25

Example 3 h(t) Consider an LTI system with impulse response h(t) = e t u(t) 1 and the same input signal { 2, 0 t 1 x(t) = 0, otherwise 2 x(t) 1 t as in Example 2. 0 1 t O. Edfors EITA30 - Chapter 2 26

Solution 3 With the given impulse response and input signal, we get three cases when calculating the convolution y(t) = x(t) h(t) = h(τ)x(t τ)dτ: When t < 0: x(t τ) 2 1 h(τ) When 0 t < 1: x(t τ) 2 1 h(τ) When t 1: x(t τ) 1 h(τ) 2-1 t 1 t 1 τ -1 t 1 t 1 τ -1 1 t 1 t τ the output becomes the output becomes the output becomes y(t) = 0 y(t) = t 0 2e τ dτ y(t) = t t 1 2e τ dτ O. Edfors EITA30 - Chapter 2 27

Solution 3 (cont.) Performing the integrations on the previous slide, we get the following output from our system: 0, t < 0 y(t) = 2(1 e t ), 0 t < 1 2(e 1)e t, t 1 which looks something like this in a plot: y(t) 1.264 1 t O. Edfors EITA30 - Chapter 2 28

Causal systems A system is said to be causal if the reaction always comes after the action 3, i.e., if the output y(t 0 ) at any given time t 0 is only influenced by inputs up to this time t 0, i.e., influenced only by x(t) for t t 0. This means that for causal systems we have y(t) = x(t) h(t) = x(τ)h(t τ)dτ = t x(τ)h(t τ)dτ which implies that τ in the second integral never exeeds t. For the last equality to hold, it is necessary that all causal systems have impulse responses that fulfill h(t) = 0 for t < 0. Important property to remember for causal systems! 3 All real, physical, systems have this property and what we know as speed of light, c m/s, is actually the speed of causality. If input and output are separated in space by d m, the delay is d/c s. O. Edfors EITA30 - Chapter 2 29

LECTURE SUMMARY Linear and time invariant (LTI) systems Linearity Superopsition and linearity condition Time invariance Impulses and step functions Dirac delta function/unit impulse and its properties Step function and its properties Generalized functions/distributions Relation between delta function and step function LTI systems and impulse response What is the impulse response How can we use it to calculate outputs Convolution Causality and causal systems O. Edfors EITA30 - Chapter 2 30