Presentation is loading. Please wait.

Presentation is loading. Please wait.

Signals and systems By Dr. Amin Danial Asham.

Similar presentations


Presentation on theme: "Signals and systems By Dr. Amin Danial Asham."β€” Presentation transcript:

1 Signals and systems By Dr. Amin Danial Asham

2 References A. V. OPPENHEIM, A. S. WILLSKY and S. H. NAWAB , Signals & Systems, PRENTICE HALL, 1996.

3 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
A continuous-time system is a system in which a continuous-time input signal π‘₯(𝑑) is applied and result in continuous-time output signal 𝑦(𝑑). Symbolcally π‘₯(𝑑)→𝑦(𝑑) Such a system is depicted as

4 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
A discrete-time system is a system that transforms discrete-time inputs (π‘₯[𝑛]) into discrete-time outputs (𝑦[𝑛]). Symbolically π‘₯[𝑛]→𝑦[𝑛] Such a system is depicted as:

5 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
Example: In this the RC circuit, input is 𝑉 𝑠 (𝑑) and the output 𝑉 𝑐 (𝑑) From Ohm’s law 𝑖 𝑑 = 𝑉 𝑠 (𝑑)βˆ’ 𝑉 𝐢 (𝑑) 𝑅 From the capacitor relation 𝑖 𝑑 =𝐢 𝑑 𝑉 𝐢 (𝑑) 𝑑𝑑 Then, the input-output relation is: 𝐢 𝑑 𝑉 𝐢 (𝑑) 𝑑𝑑 = 𝑉 𝑠 (𝑑)βˆ’ 𝑉 𝐢 (𝑑) 𝑅 𝑑 𝑉 𝐢 (𝑑) 𝑑𝑑 + 1 𝑅𝐢 𝑉 𝐢 𝑑 = 1 𝑅𝐢 𝑉 𝑠 (𝑑)

6 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
Example: For an automobile, the input is the force 𝑓(𝑑), and the output is the velocity 𝑣(𝑑). From the Newton’s second law: π‘š 𝑑𝑣(𝑑) 𝑑𝑑 = πΉπ‘œπ‘Ÿπ‘π‘’π‘  =𝑓 𝑑 βˆ’πœŒπ‘£(𝑑) Where π‘š is the mass of the automobile and πœŒπ‘£(𝑑) if the friction force. Then 𝑑𝑣(𝑑) 𝑑𝑑 + 𝜌 π‘š 𝑣 𝑑 = 1 π‘š 𝑓(𝑑)

7 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
By comparing the following equations 𝑑 𝑉 𝐢 (𝑑) 𝑑𝑑 + 1 𝑅𝐢 𝑉 𝐢 𝑑 = 1 𝑅𝐢 𝑉 𝑠 (𝑑) 𝑑𝑣(𝑑) 𝑑𝑑 + 𝜌 π‘š 𝑣 𝑑 = 1 π‘š 𝑓(𝑑) We find that the input-output relationships captured in these two equations for these two very different physical systems are basically the same. They are both examples of first-order linear differential equations of the form: 𝑑𝑦(𝑑) 𝑑𝑑 +π‘Ž.𝑦 𝑑 =𝑏.π‘₯(𝑑)

8 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
Example: The balance in a bank account from month to month an example of a discrete system. 𝑦 𝑛 =1.01𝑦 π‘›βˆ’1 +π‘₯[𝑛] Or 𝑦 𝑛 βˆ’1.01𝑦 𝑛 =π‘₯[𝑛] Where 𝑦[𝑛] denotes the balance at the end of the nth month and π‘₯[𝑛] is the net deposit (i.e., deposits minus withdrawals) during the nth month. The interest each month is 1%.

9 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
Example: By sampling a the signals of the automobile with βˆ† second between each successive samples. The instant 𝑑 is corresponding to the π‘›π‘‘β„Ž sample, that is 𝑑=π‘›βˆ† The time derivative is approximated as follows: 𝑣 π‘›βˆ† βˆ’π‘£( π‘›βˆ’1 βˆ†) βˆ†

10 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
Example (cont.): If we let 𝑣[𝑛]=𝑣 π‘›βˆ† and 𝑓[𝑛]=𝑓 π‘›βˆ† , then the system differential equation 𝑑𝑣(𝑑) 𝑑𝑑 + 𝜌 π‘š 𝑣 𝑑 = 1 π‘š 𝑓(𝑑), is transformed to the following discrete form 𝑣[𝑛]βˆ’π‘£[π‘›βˆ’1] βˆ† + 𝜌 π‘š 𝑣[𝑛]= 1 π‘š 𝑓[𝑛] 𝑣 𝑛 βˆ’π‘£ π‘›βˆ’1 + πœŒβˆ† π‘š 𝑣[𝑛]= βˆ† π‘š 𝑓[𝑛] π‘š+πœŒβˆ† π‘š 𝑣 𝑛 βˆ’π‘£ π‘›βˆ’1 = βˆ† π‘š 𝑓[𝑛] 𝑣 𝑛 βˆ’ π‘š π‘š+πœŒβˆ† 𝑣 π‘›βˆ’1 = βˆ† π‘š+πœŒβˆ† 𝑓[𝑛]

11 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
By comparing the following equations 𝑦[𝑛]βˆ’1.01𝑦[𝑛]=π‘₯[𝑛] 𝑣 𝑛 βˆ’ π‘š π‘š+πœŒβˆ† 𝑣 π‘›βˆ’1 = βˆ† π‘š+πœŒβˆ† 𝑓[𝑛] They are both examples of the same general first- order linear difference equation of the following form: 𝑦 𝑛 +π‘Žπ‘¦ π‘›βˆ’1 =π‘₯[𝑛]

12 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
Many different systems can be described with the same differential or difference equations. Hence considered of the same class. This fact facilitated to develop a general mathematical tools to analyze the behavior of the systems of the same class.

13 CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
A critical point is that any model used in describing or analyzing a physical system represents an idealization of that system, and thus, any resulting analysis is only as good as the model itself. For Example, the simple linear model of a resistor in and that of a capacitor are idealizations. However, these idealizations are quite accurate for real resistors and capacitors in many applications.

14 Interconnections of Systems
Series (Cascaded) Systems The output of System 1 is the input to System 2, and the overall system transforms an input by processing it first by System 1 and then by System 2. An example of a series interconnection is a radio receiver followed by an amplifier. Similarly, one can define a series interconnection of three or more systems.

15 Interconnections of Systems
Parallel Systems The same input signal is applied to Systems 1 and 2. The symbol ⨁ in the figure denotes addition, so that the output of the parallel interconnection is the sum of the outputs of Systems 1 and 2. An example of a parallel interconnection is a simple audio system with several microphones feeding into a single amplifier and speaker system.

16 Interconnections of Systems
Series-Parallel Interconnection

17 Interconnections of Systems
Feedback Interconnection The output of System 1 is the input to System 2, while the output of System 2 is fed back and added to the external input to produce the actual input to System 1 For example, a cruise control system on an automobile senses the vehicle's velocity and adjusts the fuel flow in order to keep the speed at the desired level. Similarly, a digitally controlled aircraft is most naturally thought of as a feedback system in which differences between actual and desired speed, heading, or altitude are fed back through the autopilot in order to correct these discrepancies

18 Interconnections of Systems
Feedback Interconnection (cont.) The following electrical circuit can be considered as a feedback interconnection of the two circuit elements.

19 BASIC SYSTEM PROPERTIES
Systems with and without Memory A system is said to be memoryless if its output for each value of the independent variable at a given time is dependent on the input at only that same time. For example: 𝑦 𝑛 = (π‘₯ 𝑛 βˆ’ π‘₯ 2 𝑛 ) 2 A resistor is a memoryless system; with the current 𝑖(𝑑) is the input and the voltage is the output 𝑉(𝑑), the input-output relationship of a resistor is 𝑉 𝑑 =𝑅.𝑖(𝑑)

20 BASIC SYSTEM PROPERTIES
Systems with and without Memory (cont.) The identity system is memoryless 𝑦 𝑑 =π‘₯(𝑑) Or 𝑦 𝑛 =π‘₯[𝑛]

21 BASIC SYSTEM PROPERTIES
Systems with and without Memory (cont.) Roughly speaking, the concept of memory in a system corresponds to the presence of a mechanism in the system that retains or stores information about input values at times other than the current time An accumulator or summer has memory 𝑦 𝑛 = βˆ’βˆž 𝑛 π‘₯[π‘˜] = βˆ’βˆž π‘›βˆ’1 π‘₯[π‘˜] +π‘₯ 𝑛 Thus, 𝑦 𝑛 =𝑦 π‘›βˆ’1 +π‘₯[𝑛] Therefore, the accumulator remembers the running sum of previous input values, which is exactly the preceding value of the accumulator output.

22 BASIC SYSTEM PROPERTIES
Systems with and without Memory (cont.) A Delay is a system with memory. 𝑦 𝑛 =π‘₯[π‘›βˆ’1] A capacitor is an example of a continuous-time system with memory. Where the current is the input and the output is the voltage across the capacitor 𝑉 𝐢 𝑑 = 1 𝐢 βˆ’βˆž 𝑑 𝑖 𝜏 π‘‘πœ

23 BASIC SYSTEM PROPERTIES
Systems with and without Memory (cont.) In many physical systems, memory is directly associated with the storage of energy. For example, the capacitor stores energy by accumulating electrical charge, represented as the integral of the current. Consequently, 𝑅𝐢 circuit has memory physically stored in the capacitor. In discrete-time systems implemented with computers or digital microprocessors, memory is typically directly associated with storage registers that retain values between clock pulses.

24 BASIC SYSTEM PROPERTIES
Invertibility and Inverse Systems A system is said to be invertible if distinct inputs lead to distinct outputs An example of invertible system is 𝑦 𝑑 =2π‘₯ 𝑑 The inverse is 𝑀 𝑑 = 1 2 𝑦(𝑑)

25 BASIC SYSTEM PROPERTIES
Invertibility and Inverse Systems (cont.) An accumulator is 𝑦 𝑛 =𝑦 π‘›βˆ’1 +π‘₯[𝑛] The inverse 𝑀 𝑛 =𝑦 𝑛 βˆ’π‘¦ π‘›βˆ’1

26 BASIC SYSTEM PROPERTIES
Invertibility and Inverse Systems (cont.) An invertible system is 𝑦 𝑛 =0 Since the output is always zero of any input, we cannot determine the input from the output. Another invertible system 𝑦 𝑑 = π‘₯ 2 𝑑 We cannot determine the sign of the input from the output

27 BASIC SYSTEM PROPERTIES
Causality A system is causal if the output at any time depends on values of the input at only the present and past times. This type of systems call non-anticipative, since it cannot anticipate the future values of input. Consequently, if two inputs to a causal system are identical up to some point in time 𝑑 π‘œ or 𝑛 π‘œ , the corresponding outputs must also be equal up to this same time. All memoryless systems are causal, since the output responds only to the current value of the input

28 BASIC SYSTEM PROPERTIES
Causality (cont.) The RC circuit is causal, since the capacitor voltage responds only to the present and past values of the source voltage. Similarly, the motion of an automobile is causal, since it does not anticipate future actions of the driver.

29 BASIC SYSTEM PROPERTIES
Causality (cont.) The following systems are not causal, since the output depends on future input values. 𝑦 𝑛 =π‘₯ 𝑛 βˆ’π‘₯ 𝑛+1 And 𝑦 𝑑 =π‘₯(𝑑+1) In many application, where the time is not the independent variable, noncausality is very useful, such as in image processing.

30 BASIC SYSTEM PROPERTIES
Causality (cont.) In many applications, including historical stock market analysis and demographic studies, we may be interested in determining a slowly varying trend in data that also contain high-frequency fluctuations about that trend. In this case, a commonly used approach is to average data over an interval in order to smooth out the fluctuations and keep only the trend. An example of a noncausal averaging system is 𝑦 𝑛 = 1 2𝑀+1 π‘˜=βˆ’π‘€ 𝑀 π‘₯[π‘›βˆ’π‘˜]

31 BASIC SYSTEM PROPERTIES
Causality (cont.) In processing data that have been recorded previously, as often happens with speech, geophysical, or meteorological signals, to name a few, we are by no means constrained to causal processing.

32 BASIC SYSTEM PROPERTIES
Causality (cont.) Examples: For the following system 𝑦 𝑛 =π‘₯ βˆ’π‘› For any value of 𝑛β‰₯0 the output depends on the present or the past values of the input. On the other hand, for any value of 𝑛<0 the output depends on a future value of the input, hence it is a noncausal system We should always be careful to check the input-output relation for all times.

33 BASIC SYSTEM PROPERTIES
Causality (cont.) Examples (cont.): For the following system 𝑦 𝑑 =π‘₯ 𝑑 .cos(𝑑+1) This system can be rewritten as 𝑦 𝑑 =π‘₯ 𝑑 .𝑔(𝑑) Where 𝑔(𝑑)=cos⁑(𝑑+1) [it is just a function used in the definition of the system] The output 𝑦(𝑑) depends on the present input π‘₯(𝑑), and consequently this is causal (and, in fact, memoryless).

34 Thanks


Download ppt "Signals and systems By Dr. Amin Danial Asham."

Similar presentations


Ads by Google