Beruflich Dokumente
Kultur Dokumente
Boyd EE102
Lecture 2
Systems
• electronic realizations
• linearity
• interconnected systems
• differential equations
2–1
Systems
we concentrate on systems with one input and one output signal, i.e.,
single-input, single-output (SISO) systems
notation:
• y = Su or y = S(u) means the system S acts on input signal u to
produce output signal y
• y = Su does not (in general) mean multiplication!
Systems 2–2
Block diagrams
PSfrag replacements
u y
S
Systems 2–3
Examples
Systems 2–4
differentiator: y(t) = u0(t)
Z t
integrator: y(t) = u(τ ) dτ (a is often 0 or −∞)
a
u
Z y
t
1
Z
running average system: y(t) = u(τ ) dτ
t 0
Systems 2–5
sign detector or 1-bit limiter system:
½
1, u(t) ≥ 0
y(t) = sgn(u(t)) =
−1, u(t) < 0
PSfrag replacements u y
convolution system:
Z
y(t) = u(t − τ )h(τ ) dτ,
Systems 2–6
Examples with multiple inputs
Systems 2–7
Electronic realizations
u y
R1 R2
u1 R R y
u2
Systems 2–8
Z t
integrator: y(t) = −1/(RC) u(τ ) dτ
R y
PSfrag replacements
u
Systems 2–9
Linearity
a system F is linear if the following two properties hold:
F (au) = aF (u)
F (u + ũ) = F u + F ũ
(watch out — just a few symbols here express a very complex meaning)
in words, linearity means:
Systems 2–10
linearity means the following pairs of block diagrams are equivalent, i.e.,
have the same output for any input(s)
u y u y
a F F a
g replacements u1 u1
F
y y
F
u2
u2
F
Systems 2–11
Interconnections of systems
u y
F G
F
PSfrag replacements u y
Systems 2–12
feedback: y = F (u − Gy)
u y
PSfrag replacements F
in general,
Systems 2–13
PSfrag replacements
Example: Two-stage amplifier
u y
a1 a2
n1 n2
Systems 2–14
Example: Integrator with feedback
PSfrag replacements u
Z y
Systems 2–15
Systems described by differential equations
many systems are described by a linear constant coefficient ordinary
differential equation (LCCODE):
Systems 2–16
Examples
simple examples
• scaling system (a0 = 1, b0 = a)
• integrator (a1 = 1, b0 = 1)
• differentiator (a0 = 1, b1 = 1)
• integrator with feedback (page 2–15)
RC circuit
R
PSfrag replacements
u C y
u(t) − y(t)
current flowing into capacitor is Cy 0(t) =
R
rewrite as first-order LCCODE: RCy 0(t) + y(t) = u(t)
Systems 2–17
PSfrag replacements
second-order RC circuit
R1 v1 R2
u C1 C2 y
v1 − y
• current into C2 is C2y 0 =
R2
0 u − v 1 v1 − y
• current into C1 is C1v1 = −
R1 R2
Systems 2–18
mechanical system (mass-spring-damper)
y
PSfrag replacements m
k b
my 00 + by 0 + ky = bu0 + ku
Systems 2–19