Signal and Systems Prof. H. Sameti Chapter #2: 1) 2) 3) 4) 5) 6) 7) 8) Representation of DT signals in terms of shifted unit samples System properties and examples Convolution sum representation of DT LTI systems Examples The unit sample response and properties of DT LTI systems Representation of CT Signals in terms of shifted unit impulses Convolution integral representation of CT LTI systems Properties and Examples The unit impulse as an idealized pulse that is “short enough”: The operational definition of δ(t) Book Chapter#: Section# Exploiting Superposition and TimeInvariance ï ð¥[ð] = ð ðð ð¥ð [ð] ð¿ðððððððŠð ð¡ðð ðŠ[ð] = ð ðŠ [ð] ð ð ð ï Question: Are there sets of “basic” signals so that: ï ï We can represent rich classes of signals as linear combinations of these building block signals. The response of LTI Systems to these basic signals are both simple and insightful. ï Fact: For LTI Systems (CT or DT) there are two natural choices for these building blocks ï Focus for now: DT Shifted unit samples CT Shifted unit impulses Computer Engineering Department, Signal and Systems 2 Book Chapter#: Section# Representation of DT Signals Using Unit Samples Computer Engineering Department, Signal and Systems 3 Book Chapter#: Section# ï That is … ð¥[ð] =. . . +ð¥[−2]ð¿[ð + 2] + ð¥[−1]ð¿[ð + 1] + ð¥[0]ð¿[ð] + ð¥[1]ð¿[ð − 1]+. . . ∞ ð¥[ð]ð¿[ð − ð] => ð¥[ð] = ð=−∞ Coefficients Basic Signals The Shifting Property of the Unit Sample Computer Engineering Department, Signal and Systems 4 Book Chapter#: Section# ï Suppose the system is linear, and define âð [ð] as the response to ð¿[ð − ð]: ð¿[ð − ð] → âð [ð] ï From superposition: ∞ ð¥[ð] = ∞ ð¥[ð]ð¿[ð − ð] → ðŠ[ð] = ð→−∞ Computer Engineering Department, Signal and Systems ð¥[ð]âð [ð] ð→−∞ 5 Book Chapter#: Section# ï Now suppose the system is LTI, and define the unit sample response â[ð]: ð¿[ð] → â[ð] From TI: ð¿[ð − ð] → â[ð − ð] From LTI: ∞ ð¥[ð] = ∞ ð¥[ð]â[ð − ð] ð¥[ð]ð¿[ð − ð] → ðŠ[ð] = ð→−∞ Computer Engineering Department, Signal and Systems ð→−∞ convolution sum 6 Book Chapter#: Section# Convolution Sum Representation of Response of LTI Systems ∞ ð¥[ð]â[ð − ð] ðŠ[ð] = ð¥[ð] ∗ â[ð] = ð→−∞ Interpretation: Computer Engineering Department, Signal and Systems 7 Book Chapter#: Section# Visualizing the calculation of ðŠ[ð] = ð¥[ð] ∗ â[ð] ï Choose value of n and consider it fixed ∞ ðŠ[ð] = ð¥[ð]â[ð − ð] ð→−∞ View as functions of k with n fixed prod of overlap for prod of overlap for Computer Engineering Department, Signal and Systems 8 Book Chapter#: Section# Calculating Successive Values: Shift, Multiply, Sum ðŠ[ð] = 0 ð < −1 ðŠ[−1] = 1 × 1 = 1 ðŠ[0] = 0 × 1 + 1 × 2 = 2 ðŠ[1] = (−1) × 1 + 0 × 2 + 1 × (−1) = −2 ðŠ[2] = (−1) × 2 + 0 × (−1) + 1 × (−1) = −3 ðŠ[3] = (−1) × (−1) + 0 × (−1) = 1 ðŠ[4] = (−1) × (−1) = 1 ðŠ[ð] = 0 ð > 4 Computer Engineering Department, Signal and Systems 9 Book Chapter#: Section# Properties of Convolution and DT LTI Systems ï A DT LTI System is completely characterized by its unit sample response ðžð¥#1: â[ð] = ð¿[ð − ð0 ] There are many systems with this response to ð¿[ð] There is only one LTI System with this response to ð¿[ð] ðŠ[ð] = ð¥[ð − ð0 ] ⇒ ð¥[ð] ∗ ð¿[ð − ð0 ] = ð¥[ð − ð0 ] Computer Engineering Department, Signal and Systems 10 Book Chapter#: Section# Example 2: ð ðŠð = - An Accumulator ð¥[ð] ð=−∞ Unit Sample response h [n ] ïœ n ï¥ ï€ [k ] ïœ u [n ] k ïœïï¥ x [n ]*u [n ] ïœ n ï¥ x [k ] k ïœïï¥ Computer Engineering Department, Signal and Systems 11 Book Chapter#: Section# The Commutative Property ðŠ[ð] = ð¥[ð] ∗ â[ð] = â[ð] ∗ ð¥[ð] Ex: Step response ð [ð] of an LTI system ð [ð] = ð¢[ð] ∗ â[ð] = â[ð] ∗ ð¢[ð] ð â[ð] ⇒ ð [ð] = ð→−∞ Computer Engineering Department, Signal and Systems 12 Book Chapter#: Section# The Distributive Property ð¥[ð] ∗ (â1 [ð] + â2 [ð]) = ð¥[ð] ∗ â1 [ð] + ð¥[ð] ∗ â2 [ð] Interpretation: Computer Engineering Department, Signal and Systems 13 Book Chapter#: Section# The Associative Property ð¥[ð] ∗ (â1 [ð] ∗ â2 [ð]) = (ð¥[ð] ∗ â1 [ð]) ∗ â2 [ð] â Commutative ð¥[ð] ∗ (â2 [ð] ∗ â1 [ð]) = (ð¥[ð] ∗ â2 [ð]) ∗ â1 [ð] ï Implication (Very special to LTI Systems): Computer Engineering Department, Signal and Systems 14 Properties of LTI Systems Causality ï h [ n ] ïœ 0 nïŒ0 a) Sufficient condition: Causality ⇒ â ð = 0, ð < 0 b) Necessity: Proof If h[n]=0 for n<0, ∞ ðŠð = ð¥ ð â[ð − ð] ð=−∞ ï¥ Which is equivalent to: y [n ] ïœ ï¥ h [k ]x [n ï k ] k ïœ0 Meaning that the output at n depends only on previous inputs Book Chapter#: Section# Properties of LTI Systems ï«ï¥ ï¥ | h [k ] | ïŒ ï¥ Stability ï k ï®ïï¥ a) sufficiency: If ð¥ ð < ðµ ððð ððð ð +∞ ðŠ ð =| â ð ð¥ ð−ð | ð=−∞ +∞ ðŠð ≤ â ð |ð¥ ð − ð | ð=−∞ +∞ ðŠ ð ≤ðµ âð ððð ððð ð ð=−∞ So we can conclude that if the impulse response is absolutely summable, that is, if: +∞ â ð <∞ ð=−∞ Then, y[n] is bounded and hence, the system is stable. Computer Engineering Department, Signal and Systems 16 Book Chapter#: Section# Properties of LTI Systems ï b) necessity: ï Assume we have a stable system. ï Suppose the input to the system is: 0, ð¥ ð = â[−ð] , |â −ð | This is a bounded input, The output at n=0 is: ðð â −ð = 0 ðð â[−ð] ≠ 0 â ð < 1 ððð ððð ð ∞ ðŠ0 = ð¥ ð â[−ð] ð=−∞ ðŠ0 = 2 â [ð] ∞ ð=−∞ |â ð | = ∞ ð=−∞ |â ð | < ∞ since the system is assumed to be stable. Computer Engineering Department, Signal and Systems 17 Book Chapter#2: Section# Representation of CT Signals ï Approximate any input x(t) as a sum of shifted, scaled pulses ^ x(t ) ïœ x(k ï) k ï ïŒ t ïŒ (k ï« 1)ï Computer Engineering Department, Signal and Systems 18 Book Chapter#: Section# ï€ ï (t ) has unit area ïœ x(kï)ï€ ï (t ï kï)ï Computer Engineering Department, Signal and Systems 19 Book Chapter#: Section# x(t ) ïœ ï¥ ï¥ k ï®ïï¥ x(k ï)ï€ ï (t ï k ï)ï limit as ï¥ x(t ) ïœ ï² ï ï®0 x(ïŽ )ï€ (t ï ïŽ ) dïŽ ïï¥ The Shifting Property of the Unit Impulse Computer Engineering Department, Signal and Systems 20 Book Chapter#: Section# Response of CT LTI system ï€ ï (t ) ï® hï (t ) ï¥ x (t ) ïœ ï¥ x(kï)ï€ k ï® ïï¥ ï (t ï kï ) ï ï® y (t ) ïœ ï¥ ï¥ x(kï)h k ï® ïï¥ ï (t ï kï ) ï Impulse response : ï€ (t ) ï® h (t ) Taking limits ï ï® 0 ï¥ x (t ) ïœ ï² x(ïŽ )ï€ (t ï ïŽ )dïŽ ïï¥ ï¥ ï® y (t ) ïœ ï² x(ïŽ )h(t ï ïŽ )dïŽ ïï¥ Convolution Integral Computer Engineering Department, Signal and Systems 21 Book Chapter#: Section# Operation of CT Convolution ï¥ y (t ) ïœ x(t ) * h(t ) ïœ ï² x(ïŽ )h(t ï ïŽ )dïŽ ïï¥ h(ïŽ ) Flip h(ïïŽ ) Integrate Slide h(t ï ïŽ ) Multiply x(ïŽ )h(t ï ïŽ ) ï¥ ï² x(ïŽ )h(t ï ïŽ )dïŽ ïï¥ Computer Engineering Department, Signal and Systems 22 Book Chapter#: Section# PROPERTIES AND EXAMPLES Commutativity Shifting property Example: An integrator x(t ) * h(t ) ïœ h(t ) * x(t ) x(t ) *ï€ (t ï t0 ) ïœ x(t ï t0 ), t y(t ) ïœ ï² x(ïŽ )dïŽ ïï¥ t So if input h(t ) ïœ ï² ï€ (ïŽ )dïŽ ïœ u(t ) ïï¥ Step response: x(t ) *ï€ (t ) ïœ x(t ) x (t ) ïœ ï€ (t ) output y (t ) ïœ h(t ) t y(t ) ïœ x(t ) * h(t ) ïœ x(t ) * u(t ) ïœ ï² x(ïŽ )dïŽ ïï¥ t s(t ) ïœ u (t )* h(t ) ïœ h(t )* u(t ) ïœ ï² h(ïŽ )dïŽ ïï¥ Computer Engineering Department, Signal and Systems 23 Book Chapter#: Section# DISTRIBUTIVITY y(t ) ïœ x(t ) *[ h1 (t ) ï« h2 (t )] y(t ) ïœ x(t ) * h1 (t ) ï« x(t ) * h2 (t ) Computer Engineering Department, Signal and Systems 24 Book Chapter#: Section# ASSOCIATIVITY y(t ) ïœ [ x(t ) * h1 (t )] * h2 (t ) y(t ) ïœ x(t ) *[ h1 (t ) * h2 (t )] y(t ) ïœ x(t ) *[ h2 (t ) * h1 (t )] y(t ) ïœ [ x(t ) * h2 (t )] * h1 (t ) Computer Engineering Department, Signal and Systems 25 Book Chapter#: Section# Causality and Stability ï h(t ) ïœ 0, t ïŒ 0 ï¥ ï ï² | h(ïŽ ) | dïŽ ïŒ ï¥ ïï¥ Computer Engineering Department, Signal and Systems 26 Book Chapter#: Section# The impulse as an idealized “short” pulse dy (t ) 1 1 ï« y (t ) ïœ x(t ) dt RC RC Consider response from initial rest to pulses of different shapes and durations, but with unit area. As the duration decreases, the responses become similar for different pulse shapes. Computer Engineering Department, Signal and Systems 27 Book Chapter#: Section# The Operational Definition of the Unit Impulse δ(t) ï δ(t) —idealization of a unit-area pulse that is so short that, for any physical systems of interest to us, the system responds only to the area of the pulse and is insensitive to its duration Operationally: The unit impulse is the signal which when applied to any LTI system results in an output equal to the impulse response of the system. That is, ï€ (t ) * h(t ) ïœ h(t ) for all h(t) δ(t) is defined by what it does under convolution. Computer Engineering Department, Signal and Systems 28 Book Chapter#: Section# The Unit Doublet —Differentiator dx(t ) y (t ) ïœ dt Impulse response = unit doublet dï€ (t ) u1 (t ) ïœ dt The operational definition of the unit doublet: dx(t ) x(t ) * u1 (t ) ïœ dt Computer Engineering Department, Signal and Systems 29 Book Chapter#: Section# Triplets and beyond! nïŸ0 un (t ) ïœ u1 (t ) * ... * u1 (t ) n times n is number of differentiations Operational definitions d n x(t ) x(t ) * u n (t ) ïœ dt n Computer Engineering Department, Signal and Systems ( n ïŸ 0) 30 Book Chapter#: Section# Impulse response: uï1 (t ) ïº u(t ) “-1 derivatives" = integral ⇒I.R.= unit step Operational definition: t x(t ) * uï1 (t ) ïœ ï² x(ïŽ )dïŽ Cascade of n integrators : ïï¥ uïn (t ) ïœ uï1 (t ) * ... * uï1 (t ), (n ïŸ 0) Computer Engineering Department, Signal and Systems 31 Book Chapter#: Section# Integrators (continued) t t ïï¥ ïï¥ uï2 (t ) ïœ ï² uï1 (ïŽ )dïŽ ïœ ï² u(ïŽ )dïŽ ïœ t.u (t ) More generally, for n>0 Computer Engineering Department, Signal and Systems the unit ramp t n ï1 uï n (t ) ïœ u (t ) (n ï 1)! 32 Book Chapter#: Section# Define Then u 0 (t ) ïœ ï€ (t ) u n (t ) *u m (t ) ïœu n ï« m (t ) n and m can be positive or negative E.g. u1(t ) *u ï1(t ) ïœu 0 (t ) ïŠ du (t ) ï¶ ï§ ï· ïœ dt ïš ïž Computer Engineering Department, Signal and Systems ï€ (t ) 33 Book Chapter#: Section# Sometimes Useful Tricks x(t ) * h(t ) ïœ x(t ) * ï€ (t ) * h(t ) ïœ x(t ) * u1 (t ) * uï1 (t ) * h(t ) ïœ {[ x(t ) * u1 (t )] * h(t )}* uï1 (t ) Differentiate first, then convolve, then integrate Computer Engineering Department, Signal and Systems 34 Book Chapter#: Section# Example dx(t ) ïœ ï€ (t ï« 1) ï 2ï€ (t ï 1) ï« ï€ (t ï 2) dt Computer Engineering Department, Signal and Systems 35 Book Chapter#: Section# Example (continued) dx(t ) * h(t ) ïœ h(t ï« 1) ï 2h(t ï 1) ï« h(t ï 2) dt ï© dx(ïŽ ) ï¹ x(t ) * h(t ) ïœ ï² ïª * h(ïŽ )ïºdïŽ ïï¥ ï« dïŽ ï» t Computer Engineering Department, Signal and Systems 36