CHAPTER 1 Signals and Systems 1 Signals and

  • Slides: 44
Download presentation
CHAPTER 1 Signals and Systems 1

CHAPTER 1 Signals and Systems 1

Signals and Systems. 1. 1 What is a Signal ? 1. 2 Classification of

Signals and Systems. 1. 1 What is a Signal ? 1. 2 Classification of a Signals. 1. 2. 1 Continuous-Time and Discrete-Time Signals 1. 2. 2 Even and Odd Signals. 1. 2. 3 Periodic and Non-periodic Signals. 1. 2. 4 Deterministic and Random Signals. 1. 2. 5 Energy and Power Signals. 1. 3 Basic Operation of the Signal. 1. 4 Properties of the System. 1. 6. 1 Stability. 1. 6. 2 Memory. 1. 6. 3 Causality. 1. 6. 4 Inevitability. 1. 6. 5 Time Invariance. 1. 6. 6 Linearity. 2

1. 1 What is a Signal ? þ A common form of human communication;

1. 1 What is a Signal ? þ A common form of human communication; (i) use of speech signal, face to face or telephone channel. (ii) use of visual, visual signal taking the form of images of people or objects around us. þ Real life example of signals; (i) Doctor listening to the heartbeat, blood pressure and temperature of the patient. These indicate the state of health of the patient. (ii) Daily fluctuations in the price of stock market will convey an information on the how the share for a company is doing. (iii) Weather forecast provides information on the temperature, humidity, and the speed and direction of the prevailing wind. 3

Cont’d… þ By definition, signal is a function of one or more variable, which

Cont’d… þ By definition, signal is a function of one or more variable, which conveys information on the nature of a physical phenomenon. þ A function of time representing a physical or mathematical quantities. e. g. : Velocity, acceleration of a car, voltage/current of a circuit. An example of signal; the electrical activity of the heart recorded with electrodes on the surface of the chest — the electrocardiogram (ECG or EKG) in the figure below. 4

1. 2 Classifications of a Signal. þ There are five types of signals; (i)

1. 2 Classifications of a Signal. þ There are five types of signals; (i) Continuous-Time and Discrete-Time Signals (ii) Even and Odd Signals. (iii) Periodic and Non-periodic Signals. (iv) Deterministic and Random Signals. (v) Energy and Power Signals. 5

1. 2. 1 Continuous-Time and Discrete-Time Signals. Continuous-Time (CT) Signals þ Continuous-Time (CT) Signals

1. 2. 1 Continuous-Time and Discrete-Time Signals. Continuous-Time (CT) Signals þ Continuous-Time (CT) Signals are functions whose amplitude or value varies continuously with time, x(t). þ The symbol t denotes time for continuous-time signal and ( ) used to denote continuous-time value quantities. þ Example, speed of car, converting acoustic or light wave into electrical signal and microphone converts variation in sound pressure into correspond variation in voltage and current. Figure 1. 1: Continuous-Time Signal. 6

Cont’d… Discrete-Time Signals þ Discrete-Time Signals are function of discrete variable, i. e. they

Cont’d… Discrete-Time Signals þ Discrete-Time Signals are function of discrete variable, i. e. they are defined only at discrete instants of time. þ It is often derived from continuous-time signal by sampling at uniform rate. Ts denotes sampling period and n denotes integer. þ The symbol n denotes time for discrete time signal and [. ] is used to denote discrete-value quantities. þ Example: the value of stock at the end of the month. Figure 1. 3: Discrete-Time Signal. 7

1. 2. 2 Even and Odd Signals. þ A continuous-time signal x(t) is said

1. 2. 2 Even and Odd Signals. þ A continuous-time signal x(t) is said to be an even signal if þ The signal x(t) is said to be an odd signal if þ In summary, an even signal are symmetric about the vertical axis (time origin) whereas an odd signal are antisymetric about the origin. Figure 1. 4: Even Signal Figure 1. 5: Odd Signal. 8

Cont’d… 9

Cont’d… 9

Example 1. 1: Even and Odd Signals. Find the even and odd components of

Example 1. 1: Even and Odd Signals. Find the even and odd components of each of the following signals: (a) x(t) = 4 cos(3πt) Answer: ge(t) = 4 cos(3πt) go(t) = 0 (no ODD component) 10

1. 2. 3 Periodic and Non-Periodic Signals. Periodic Signal. þ A periodic signal x(t)

1. 2. 3 Periodic and Non-Periodic Signals. Periodic Signal. þ A periodic signal x(t) is a function of time that satisfies the condition where T is a positive constant. þ The smallest value of T that satisfy the definition is called a period. 11

1. 2. 4 Deterministic and Random Signals. Deterministic Signal. þ A deterministic signal is

1. 2. 4 Deterministic and Random Signals. Deterministic Signal. þ A deterministic signal is a signal that has no uncertainty with respect to its value at any time. þ The deterministic signal can be modeled as completely specified function of time. Figure 1. 8: Deterministic Signal; Square Wave. 12

Cont’d… Random Signal. þ A random signal is a signal about which there is

Cont’d… Random Signal. þ A random signal is a signal about which there is uncertainty before it occurs. The signal may be viewed as belonging to an ensemble or a group of signals which each signal in the ensemble having a different waveform. þ The signal amplitude fluctuates between positive and negative in a randomly fashion. þ Example; noise generated by amplifier of a radio or television. Figure 1. 9: Random Signal 13

Energy Signal and Power Signals. A signal with finite signal energy is called an

Energy Signal and Power Signals. A signal with finite signal energy is called an energy signal. A signal with infinite signal energy and finite average signal power is called a power signal. 14

1. 2. 5 Energy Signal and Power Signals. Energy Signal. þ A signal is

1. 2. 5 Energy Signal and Power Signals. Energy Signal. þ A signal is refer to energy signal if and only if the total energy satisfy the condition; Power Signal. þ A signal is refer to power signal if and only if the average power of signal satisfy the condition; 15

1. 3 Basic Operation of the Signals. 1. 3. 1 Time Scaling. 1. 3.

1. 3 Basic Operation of the Signals. 1. 3. 1 Time Scaling. 1. 3. 2 Reflection and Folding. 1. 3. 3 Time Shifting. 1. 3. 4 Precedence Rule for Time Shifting and Time Scaling. 16

1. 3. 1 Time Scaling. þ Time scaling refers to the multiplication of the

1. 3. 1 Time Scaling. þ Time scaling refers to the multiplication of the variable by a real positive constant. þ If a > 1 the signal y(t) is a compressed version of x(t). þ If 0 < a < 1 the signal y(t) is an expanded version of x(t). þ Example: Figure 1. 11: Time-scaling operation; continuous-time signal x(t), (b) version of x(t) compressed by a factor of 2, and (c) version of x(t) expanded by a factor of 2. 17

Cont’d… þ In the discrete time, þ It is defined for integer value of

Cont’d… þ In the discrete time, þ It is defined for integer value of k, k > 1. Figure below for k = 2, sample for n = +-1, Figure 1. 12: Effect of time scaling on a discrete-time signal: (a) discrete-time signal x[n] and (b) version of x[n] compressed by a factor of 2, with some values of the original x[n] lost as a result of the compression. 18

1. 3. 2 Reflection and Folding. þ Let x(t) denote a continuous-time signal and

1. 3. 2 Reflection and Folding. þ Let x(t) denote a continuous-time signal and y(t) is the signal obtained by replacing time t with –t; þ y(t) is the signal represents a refracted version of x(t) about t = 0. þ Two special cases for continuous and discrete-time signal; (i) Even signal; x(-t) = x(t) an even signal is same as reflected version. (ii) Odd signal; x(-t) = -x(t) an odd signal is the negative of its reflected version. 19

Example 1. 2: Reflection. Given the triangular pulse x(t), find the reflected version of

Example 1. 2: Reflection. Given the triangular pulse x(t), find the reflected version of x(t) about the amplitude axis (origin). Solution: Replace the variable t with –t, so we get y(t) = x(-t) as in figure below. Figure 1. 13: Operation of reflection: (a) continuous-time signal x(t) and (b) reflected version of x(t) about the origin x(t) = 0 for t < -T 1 and t > T 2. y(t) = 0 for t > T 1 and t < -T 2. ý. 20

1. 3. 3 Time Shifting. þ A time shift delay or advances the signal

1. 3. 3 Time Shifting. þ A time shift delay or advances the signal in time by a time interval +t 0 or –t 0, without changing its shape. y(t) = x(t - t 0) þ If t 0 > 0 the waveform of y(t) is obtained by shifting x(t) toward the right, right relative to the tie axis. þ If t 0 < 0, x(t) is shifted to the left Example: Figure 1. 14: Shift to the Left. Figure 1. 15: Shift to the Right. Q: How does the x(t) signal looks like? 21

Example 1. 3: Time Shifting. Given the rectangular pulse x(t) of unit amplitude and

Example 1. 3: Time Shifting. Given the rectangular pulse x(t) of unit amplitude and unit duration. Find y(t)=x (t - 2) Solution: t 0 is equal to 2 time units. Shift x(t) to the right by 2 time units. (a) Figure 1. 16: Time-shifting operation: continuous-time signal in the form of a rectangular pulse of amplitude 1. 0 and duration 1. 0, symmetric about the origin; and (b) time-shifted version of x(t) by 2 time shifts. ý. 22

1. 3. 4 Precedence Rule for Time Shifting and Time Scaling. þ Time shifting

1. 3. 4 Precedence Rule for Time Shifting and Time Scaling. þ Time shifting operation is performed first on x(t), which results in þ Time shift has replace t in x(t) by t - b. þ Time scaling operation is performed on v(t), replacing t by at and resulting in, þ Example in real-life: Voice signal recorded on a tape recorder; þ (a > 1) tape is played faster than the recording rate, resulted in compression. 23 þ (a < 1) tape is played slower than the recording rate,

Example 1. 4: Continuous Signal. A CT signal is shown in Figure 1. 17

Example 1. 4: Continuous Signal. A CT signal is shown in Figure 1. 17 below, sketch and label each of this signal; a) x(t -1) b) x(2 t) c) x(-t) x(t) 2 t -1 3 Figure 1. 17 24

Solution: (a) x(t -1) x(t) (b) x(2 t) x(t-1) 2 2 t t 0

Solution: (a) x(t -1) x(t) (b) x(2 t) x(t-1) 2 2 t t 0 4 -1/2 3/2 (c) x(-t) 2 t -3 1 25

Example 1. 5: Discrete Time Signal. A discrete-time signal x[n] is shown below, Sketch

Example 1. 5: Discrete Time Signal. A discrete-time signal x[n] is shown below, Sketch and label each of the following signal. (a) x[n – 2] (c. ) x[-n+2] (b) x[2 n] (d) x[-n] x[n] 4 2 0 1 2 3 n 26

Cont’d… (a) A discrete-time signal, x[n-2]. q A delay by 2 x[n-2] 4 2

Cont’d… (a) A discrete-time signal, x[n-2]. q A delay by 2 x[n-2] 4 2 0 1 2 3 4 5 n 27

Cont’d… (b) A discrete-time signal, x[2 n]. Down-sampling by a factor of 2. x(2

Cont’d… (b) A discrete-time signal, x[2 n]. Down-sampling by a factor of 2. x(2 n) 4 2 0 1 2 3 n 28

Cont’d… (c) A discrete-time signal, x[-n+2]. Time reversal and shifting x(-n+2) 4 2 -1

Cont’d… (c) A discrete-time signal, x[-n+2]. Time reversal and shifting x(-n+2) 4 2 -1 0 1 2 n 29

Cont’d… (d) A discrete-time signal, x[-n]. q Time reversal x(-n) 4 2 -3 -2

Cont’d… (d) A discrete-time signal, x[-n]. q Time reversal x(-n) 4 2 -3 -2 -1 0 1 n 30

In Class Exercises. A continuous-time signal x(t) is shown below, Sketch and label each

In Class Exercises. A continuous-time signal x(t) is shown below, Sketch and label each of the following signal (a) x(t – 2) (b) x(2 t) (c. ) x(t/2) (d) x(-t) x(t) 4 0 4 t 31

1. 5 What is a System ? þ A system can be viewed as

1. 5 What is a System ? þ A system can be viewed as an interconnection of operation that transfer an input signal into an output signal with properties different from those of the input signal. þ y(t) is the impulse response of the continuous-time system and y[t] is the impulse response of the discrete-time system. 32

Cont’d… þ Real life example of system; (i) In automatic speaker recognition system; the

Cont’d… þ Real life example of system; (i) In automatic speaker recognition system; the system is to extract the information from an incoming speech signal for the purpose of recognizing and identifying the speaker. (ii) In communication system; the system will transport the information contained in the message over a communication channel and deliver that information to the destination. Figure 1. 30: Elements of a communication system. Figure 1. 31: Block diagram representation of a system. 33

Cont’d… þ By definition, a system is an entity that manipulates one or more

Cont’d… þ By definition, a system is an entity that manipulates one or more signals to accomplish a function, thereby yielding new signals. þ A physical process or a mathematical model of the physical process that relates a set of input signals to yield another set of output signal. þ Process input signals to produce output signals þ System representation of the systems. 34

1. 6 Properties of Systems. þ The properties of a system describe the characteristics

1. 6 Properties of Systems. þ The properties of a system describe the characteristics of the operator H representing the system. þ Basic properties of the system; 1. 6. 1 Stability. 1. 6. 2 Memory. 1. 6. 3 Causality. 1. 6. 4 Inevertibility. 1. 6. 5 Time Invariance. 1. 6. 6 Linearity. 35

1. 6. 1 Stability. þ A system is said to be bounded-input bounded-output (BIBO)

1. 6. 1 Stability. þ A system is said to be bounded-input bounded-output (BIBO) stable if and only if all bounded inputs result in bounded outputs. The output of the system does not diverge if the input does not diverge. þ For the resistor, if i(t) is bounded then so is v(t), but for the capacitance this is not true. Consider i(t) = u(t) then v(t) = tu(t) which is unbounded. 36

1. 6. 2 Memory. þ A system is said to possess memory if its

1. 6. 2 Memory. þ A system is said to possess memory if its output signal depend on pass or future values of the input signal. þ Note that v(t) depends not just on i(t) at one point in time t. Therefore, the system that relates v to i exhibits memory. þ The system is said to be memoryless if its output signal depends only on the present value of the input signal. þ Example: The resistive divider network þ Therefore, vo(to) depends upon the value of vi(to) and not on vi(t) 37 for t = to.

Example 1. 6: Memory and Memoryless System. Below is the moving-average system described by

Example 1. 6: Memory and Memoryless System. Below is the moving-average system described by the input-output relation. Does it has memory or not? (a) (b) Solution: (a) A)It has memory, the value of the output signal y[n] at time n depends on the present and two pass values of x[n]. (b) B)It is memoryless, because the value of the output signal y[n] depends only on the present value of the input signal x[n]. ý. 38

1. 6. 3 Causality. Causal. þ A system is said to be causal if

1. 6. 3 Causality. Causal. þ A system is said to be causal if the present value of the output signal depends only on the present or the past values of the input signal. The system cannot anticipate the input. Noncausal. þ In contrast, the output signal of a noncausal system depends on one or more future values of the input signal. 39

Causality o Any system for which the response occurs only during or after the

Causality o Any system for which the response occurs only during or after the time in which the excitation is applied is called a causal system. o All real physical systems are causal 6/11/2021 Dr. Abid Yahya 40

Example 1. 7: Causal and Noncausal. Causal or noncausal? Solution: Noncausal; the output signal

Example 1. 7: Causal and Noncausal. Causal or noncausal? Solution: Noncausal; the output signal y[n] depends on a future value of the input signal, x[n+1] Causality is required for a system to be capable of operating in real time. 41

1. 6. 4 Inevitability. þ A system is said to be invertible if the

1. 6. 4 Inevitability. þ A system is said to be invertible if the input of the system can be recovered from the output. Figure 1. 32: The notion of system inevitability. The second operator Hinv is the inverse of the first operator H. Hence, the input x(t) is passed through the cascade correction of H and H-1 completely unchanged. 42

1. 6. 5 Time Invariance. þ A system is said to be time invariant

1. 6. 5 Time Invariance. þ A system is said to be time invariant if the time delay or time advance of the input signal leads to an identical time shift in the output signal. þ The Time invariance system responds identically no matter when the input signal is applied. Figure 1. 33: (a) Time-shift operator St 0 preceding operator H. (b) Time-shift operator St 0 following operator H. These two situations are equivalent, provided that H is time invariant 43

1. 6. 6 Linearity. þ A system is said to be linear in term

1. 6. 6 Linearity. þ A system is said to be linear in term of the system input (excitation) x(t) and the system output (response) y(t) if it satisfies the following two properties. 1. Superposition þ The system is initially at rest. The input is x(t)=x 1(t), the output y(t)=y 1(t). So x(t)=x 1(t)+x 2(t) the corresponding output y(t)=y 1(t)+y 2(t). 2. Homogeneity/Scaling þ The system is initially at rest. Input x(t) result in y(t). The system exhibit the property of homogeneity if x(t) scaled by constant factor a result in output y(t) is scaled by exact constant a. 44