6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 1 / 38
6.003
Description
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 2 / 38
Staff
Lecturer:
Alex Megretski, ameg@mit.edu
Recitation Instructors:
Akintunde I. Akinwande, akinwand@mtl.mit.edu
Omer Tanovic, otanovic@mit.edu
Teaching Assistants:
Aliaa Atwi, aliaa87@mit.edu (head TA)
Matthew Matt Overlin, moverlin@mit.edu
Akshay Padmanabha, akshayp@mit.edu
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 3 / 38
Class Time
Lectures:
TR noon-1pm, room 34-101
Recitations:
Section 1: WF 10am-11am room 26-210
Section 2: WF 11am-noon room 26-210
Section 3: WF 1pm-2pm room 36-144
Section 4: WF 2pm-3pm room 36-144
Tutorials:
Mondays, time/location TBA
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 4 / 38
Web Presence
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 5 / 38
Exams
Midterm:
Wednesday October 26, 2016, 7.30-9.30pm, Room 4-370
Final:
Finals week, 3 hours, time/location TBD
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 6 / 38
Problem Set Policy
There will be 11 problem sets.
Problem sets 1-10 will be collected and graded.
Problem set 11 will not be collected, nor graded.
Problem sets 1-11 will be issued on
Sept. 15, 22, 29, Oct. 6, 13, 20, Nov. 3, 10, 17, Dec. 1,8.
Problem set 1-10 papers will be collected on
Sept. 22, 29, Oct.6, 13, 20, Nov. 3, 10, 17, Dec. 1,8.
Homework papers must be submitted by the scheduled due time, which will
always be before a Thursday lecture, with collection stopped by 12.30pm.
Absolutely no late problem set papers will be accepted: late problem
set papers will receive a score of zero. However, problem set papers
excused officially by a Dean, or a Medical Official, will not count among
the papers the student is responsible for. In addition, up to two of the
worst problem set grades, out of those a student is responsible for, will be
dropped before the problem set average is computed.
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 7 / 38
Participation Grade
At the end of the term, the 6.003 staff will collectively assign you a
participation grade, out of the {0, 1, 2, 3, 4, 5} range. The grade will
estimate your contribution to the process of learning in the class, taking
into account:
active participation in lectures, recitations, and tutorials
asking and answering questions on Piazza
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 8 / 38
Final Grade
At the end of the term, an overall numerical grade N in the 0-100
range will be computed for each student, according to the following
weight:
I Problem sets: 20%
I Midterm exam: 30%
I Final exam: 45%
I Participation grade: 5%
The final letter grade will be determined by your numerical grade N.
You can expect
I an A if N 80,
I at least an A- if N 75,
I at least a B+ if N 70,
I at least a B if N 65,
I at least a B- if N 60,
I at least a C+ if N 55,
I at least a C if N 50,
I at least a C- if N 45.
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 9 / 38
Regrade Policy
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 10 / 38
Collaboration Policy
We encourage students to discuss assignments in this subject with other
students and with the teaching staff to better understand the concepts.
However, when you submit an assignment under your name, we assume
that you are certifying that the details are entirely your own work and that
you played at least a substantial role in the conception stage.
You should not use results from other students (from this year or from
previous years) in preparing your solutions. You should not take credit for
computer code or graphics that were generated by other students.
Students should never share their solutions with other students.
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 11 / 38
Texts
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 12 / 38
spectrum of DT signals spectrum of CT signals
DT LTI frequency response CT LTI frequency response
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 13 / 38
Signals and Time
Signals are numeric parameters changing with time.
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 14 / 38
DT versus CT: a Sound Fragment
DT fragment (abscissa: an integer index): x[49981], x[49982], . . .
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 15 / 38
Working With Signals: Analyze
recognize accent
find object
detect trend
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 16 / 38
Working With Signals: Repair
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 17 / 38
Working With Signals: Distort Intentionally
modulate for radio transmission
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 18 / 38
Things To Learn in This Class
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 19 / 38
Example: Noise Cancellation
Design a system which recovers the useful signal
(chords) from the noisy record:
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 20 / 38
Noise Cancellation: Spectral Analysis
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 21 / 38
Noise Cancellation: Spectrum Scaling
r
Want to scale spectrum by something like r +2000 , r = |f 250|2 :
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 22 / 38
Noise Cancellation: Spectrum Scaling by a FIR filter
finite impulse response (FIR) filters:
y [n l] = b0 v [n] + b1 v [n 1] + + bm v [n m]
v [n]
-D -D - ... -
? ? ? ?
b0 b1 b2 bm
y [n l]
? - c? - ?
c- ... c
-? -
+ + +
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 23 / 38
Noise Cancellation: an Optimized FIR Filter
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 24 / 38
Noise Cancellation: FIR vs. IIR
The fact that filters frequency response is positive guarantees
preservation of phases of the signal spectrum
It is widely accepted (though not completely true) that the human ear
does not detect much of the phase information of sound spectrum
When phase distortion can be ignored, there are notch filters which
are equivalent to infinitely long FIR filters (hence the abbreviation
IIR), but can be implemented using a few multiplications per
sample.
The resulting cleaned signal sounds just as good as the one done by
the FIR filter.
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 25 / 38
Noise Cancellation: IIR Filter
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 26 / 38
Noise Cancellation: State Space Model
The suggested IIR filter has the difference equation form
y [n] + a1 y [n-1] + a2 y [n-2] = b0 v [n] + b1 v [n-1] + b2 v [n-2].
It is a feedback system
v [n]
- D - D
? ? ?
b0 b1 b2
y [n]
+d
? -+d
? d
-+? -
6 6
a2 a1
6 6
D D
the outputs of the unit delay D blocks form a state of the IIR filter
system
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 27 / 38
Noise Cancellation: System Function
Stability and frequency response of the IIR filter
y [n] + a1 y [n-1] + a0 y [n-2] = b0 v [n] + b1 v [n-1] + b2 v [n-2]
can be explained in terms of poles and zeros of its system function
b0 + b1 z 1 + b2 z 2
H(z) =
1 + a1 z 1 + a2 z 2
(zeros exp(j0 ), poles 0.99exp(j0 ), noise frequency 0 )
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 28 / 38
Example:
s 2 + 2s + 2 (s + 1 + j)(s + 1 j)
4 2
=
s s s 2 (s 1)(s + 1)
poles:
zeros:
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 29 / 38
Example:
s 2 + 2s + 2 (s + 1 + j)(s + 1 j)
4 2
=
s s s 2 (s 1)(s + 1)
poles:
I 1 (multiplicity 1)
I 1 (multiplicity 1)
I 0 (multiplicity 2)
zeros:
I 1 j (multiplicity 1)
I 1 + j (multiplicity 1)
I (multiplicity 2)
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 29 / 38
Noise Cancellation: Poles and Zeros
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 30 / 38
Example: Flyball Governor Stability
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 33 / 38
Governor Stability: Linearization Around an Equilibrium
At
J mL2 sin cos
J L 3
J m
Jx
-
mg sin
+ mL2 sin
mg
?
(t) :
Equilibrium equations: (t) , (t) ,
2 cos = g ,
L =
J() + J .
v -- c e - 1 -y
- s+b0
6 c0
K s 2 +a1 s+a0
Plant:
I input e = v K , output y
I differential equation y + b0 y = e
I system function P(s) = 1/(s + b0 ).
Sensor:
I input y , output
I + a1
differential equation + a0 = c0 y
I system function H(s) = c0 /(s 2 + a1 s + a0 )
Feedback Gain: K
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 35 / 38
Governor Stability: System Functions Algebra
v -- c e - 1 -y
- s+b0
6 c0
K s 2 +a1 s+a0
It works as if we have
P(s)
Y (s) = P(s)[V (s) + KH(s)Y (s)], i.e., Y (s) = V (s),
1 + KP(s)H(s)
Closed Loop:
input v , output y
system function G (s) = P(s)/(1 + KP(s)H(s))
s 2 + a1 s + a0
G (s) =
s 3 + (b0 + a1 )s 2 + (b0 a1 + a0 )s + (a0 b0 + c0 K )
For stability, need all roots of denominator to have negative real part
According to (a special case of) the Routh-Hurwitz criterion, this is
true if and only if all coefficients are positive, and the product of the
two middle coefficients is greater than the last one:
Since all coefficients are naturally positive, the inequality will fail as
the governor friction decreases, i.e., as a1 0.
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 37 / 38
next lecture: DT systems: examples and basic properties
6.003 Fall 2016 Lecture 1 6.003 Signals and Systems: An Introduction September 8, 2016 38 / 38