Lecture1-Signals & Systems
Lecture1-Signals & Systems
Lecture1-Signals & Systems
(1) Systems, signals, mathematical models. Continuous-time and discrete-time signals and systems. Energy and power signals. Linear systems. Examples for use throughout the course, introduction to Matlab and Simulink tools Specific Objectives: Introduce, using examples, what is a signal and what is a system Why mathematical models are appropriate What are continuous-time and discrete-time representations and how are they related Brief introduction to Matlab and Simulink
EE-2027 SaS, L1 1/20
EE-2027 SaS, L1
2/20
What is a Signal?
A signal is a pattern of variation of some form Signals are variables that carry information Examples of signal include: Electrical signals
Voltages and currents in a circuit
Acoustic signals
Acoustic pressure (sound) over time
Mechanical signals
Velocity of a car over time
Video signals
Intensity level of a pixel (camera, video) over time
EE-2027 SaS, L1 3/20
EE-2027 SaS, L1
4/20
vs
+ -
vc
The signals vc and vs are patterns of variation over time Step (signal) vs at t=1 RC = 1 First order (exponential) response for vc
t
Note, we could also have considered the voltage across the resistor or the current as signals
EE-2027 SaS, L1 5/20
vs, vc
Discrete-Time Signals
Some real world and many digital signals are discrete time, as they are sampled E.g. pixels, daily stock price (anything that a digital computer processes) Denote by x[n], where n is an integer value that varies discretely
x[n]
Signal Properties
On this course, we shall be particularly interested in signals with certain properties: Periodic signals: a signal is periodic if it repeats itself after a fixed period T, i.e. x(t) = x(t+T) for all t. A sin(t) signal is periodic. Even and odd signals: a signal is even if x(-t) = x(t) (i.e. it can be reflected in the axis at zero). A signal is odd if x(-t) = -x(t). Examples are cos(t) and sin(t) signals, respectively. Exponential and sinusoidal signals: a signal is (real) exponential if it can be represented as x(t) = Ceat. A signal is (complex) exponential if it can be represented in the same form but C and a are complex numbers. Step and pulse signals: A pulse signal is one which is nearly completely zero, apart from a short spike, d(t). A step signal is zero up to a certain time, and then a constant value after that time, u(t). These properties define a large class of tractable, useful signals and will be further considered in the coming lectures
EE-2027 SaS, L1 7/20
What is a System?
Systems process input signals to produce output signals Examples:
A circuit involving a capacitor can be viewed as a system that transforms the source voltage (signal) to the voltage (signal) across the capacitor A CD player takes the signal on the CD and transforms it into a signal sent to the loud speaker A communication system is generally composed of three sub-systems, the transmitter, the channel and the receiver. The channel typically attenuates and adds noise to the transmitted signal which must be processed by the receiver
EE-2027 SaS, L1 8/20
System
In a very broad sense, a system can be represented as the ratio of the output signal over the input signal
That way, when we multiply the system by the input signal, we get the output signal This concept will be firmed up in the coming weeks
EE-2027 SaS, L1 9/20
vs
+ -
vc
vs(t)
vc(t)
vs, vc
EE-2027 SaS, L1
10/20
Discrete-Time Systems
Most discrete time systems represent how discrete signals v[n] m v[n 1] f [ n] are transformed via difference m m equations dv(n) v(n) v((n 1)) E.g. bank account, discrete car velocity system dt First order difference equations
EE-2027 SaS, L1 11/20
Properties of a System
On this course, we shall be particularly interested in signals with certain properties: Causal: a system is causal if the output at a time, only depends on input values up to that time. Linear: a system is linear if the output of the scaled sum of two input signals is the equivalent scaled sum of outputs Time-invariance: a system is time invariant if the systems output is the same, given the same input signal, regardless of time. These properties define a large class of tractable, useful systems and will be further considered in the coming lectures
EE-2027 SaS, L1 12/20
Variable browser
Command window
EE-2027 SaS, L1
14/20
Selecting Simulation-Start from the pull down menu will run the dynamic simulation. Click on the blocks to view the data or alter the run-time parameters
EE-2027 SaS, L1 15/20
Design a system to remove the unknown noise component n(t), so that y(t) d(t) x(t) = d(t) + n(t) System ? y(t) d(t)
EE-2027 SaS, L1
16/20
Design a system to invert the transformation g(), so that y(t) = d(t) x(t) = g(d(t)) System ? y(t) = d(t) = g-1(x(t))
EE-2027 SaS, L1
17/20
Design a system to invert the transformation g(), so that y(t) = d(t) x(t) dynamic system ? y(t) = d(t)
EE-2027 SaS, L1
18/20
Lecture 1: Summary
Signals and systems are pervasive in modern engineering courses:
Electrical circuits Physical models and control systems Digital media (music, voice, photos, video)
This will be the foundation for studying systems and signals as a generic subject on this course.
EE-2027 SaS, L1 19/20
Lecture 1: Exercises
Read SaS OW, Chapter 1. This contains most of the material in the first three lectures, a bit of pre-reading will be extremely useful! SaS OW: Q1.1 Q1.2 Q1.4 Q1.5 Q1.6 In lecture 2, well be looking at signals in more depth and look at how they can be represented in Matlab/Simulink
EE-2027 SaS, L1 20/20