TransferFunctions PDF
TransferFunctions PDF
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 1
Transfer Functions
Assume zero initial conditions.
N
M
dk y(t) dk x(t)
ak = bk
dtk dtk
k=0 k=0
N
M
ak sk Y (s) = bk sk X(s)
k=0 k=0
N
M
Y (s) ak sk = X(s) bk sk
k=0 k=0
M k
k=0 bk s
Y (s) = N X(s) = H(s)X(s)
k
k=0 ak s
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 2
Initial Conditions
Assume zero initial conditions.
N
M
dk y(t) dk x(t)
ak = bk
dtk dtk
k=0 k=0
N
M
ak sk Y (s) = bk sk X(s)
k=0 k=0
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 3
Transfer Functions Continued
M k
k=0 bk s
Y (s) = N X(s) = H(s)X(s)
k
k=0 ak s
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 4
Example 1: Transfer Function vs. Impulse Response
Fill in the missing parts to determine how the transfer function of an
LTI system G(s) is related to the impulse response h(t)
x(t) = δ(t) X(s) =
y(t) = Y (s) =
L {h(t)} = L−1 {G(s)} =
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 5
Transfer Functions and the Impulse Response
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 6
Continous-Time Convolution Tradeoffs
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 7
Transfer Function Analysis Tradeoffs
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 8
Laplace Transform Circuit Analysis Tradeoffs
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 9
Example 6: Transfer Functions
vs(t) C vo(t)
-
Find the transfer function for the circuit above. The input is the
voltage source vs (t) and the output is labeled vo (t).
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 10
Example 7: Transfer Functions
+
vs(t)
vo(t)
-
Find the transfer function for the circuit above. Do you recognize this
function?
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 11
Example 8: Transfer Functions
+
vs(t)
vo(t)
-
Find the transfer function for the circuit above. Do you recognize this
function?
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 12
Example 9: Transfer Functions
CB
CA RB
RA
+
vs(t)
vo(t)
RL
-
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 13
Example 9: Workspace
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 14
Example 10: Transfer Functions
+ vR(t) - + vL(t) -
R L
+
vs(t) C vC(t)
-
Find the transfer function from the input voltage to an output voltage
across each element of the three passive elements in a series RLC
circuit.
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 15
Example 10: Workspace
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 16
Poles and Stability
Assume all of the poles in a transfer function H(s) are unique. Then
H(s) can be written as follows using partial fraction expansion:
N
N (s) k
H(s) = =
D(s) s − p
=1
N
L−1 {H(s)} = h(t) = k e+p t u(t)
=1
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 17
Pole-Zero Plots
N (s)
H(s) =
D(s)
• Zeros: roots of N (s)
• Poles: roots of D(s)
• Poles must be in the left half plane for the system to be stable
• As the poles get closer to the boundary, the system becomes less
stable
• Pole-Zero Plot: plot of the zeros and poles on the complex s
plane
• You will use these throughout the junior sequence (ECE 32x)
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 18
Example 11: Pole-Zero Plots
Use MATLAB to generate a Pole-Zero plot for a system with the
following transfer function
s2 − 1
H(s) = 3
s + 4s2 + 6s + 4
Using the MATLAB, we can quickly find the roots
(s + 1)(s − 1)
H(s) =
(s + 2)(s + 1 − j)(s + 1 + j)
Is the system stable? The pole-zero plot, impulse response, and step
response are shown on the following slides.
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 19
Example 11: Pole-Zero Plot
Pole−Zero Plot
1.5
0.5
Imaginary Axis
−0.5
−1
−1.5
−3 −2.5 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2
Real Axis
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 20
Example 11: MATLAB Code for Pole-Zero Plot
sys = tf([1 0 -1],[1 4 6 4]);
figure;
[p,z] = pzmap(sys);
h = plot(real(p),imag(p),’bx’,real(z),imag(z),’ro’);
set(h,’LineWidth’,1.2);
set(h,’MarkerSize’,5);
hold on;
plot([0 0],[-2 2],’k:’,[-3 2],[0 0],’k:’);
hold off;
xlabel(’Real Axis’);
ylabel(’Imaginary Axis’);
title(’Pole-Zero Plot’);
axis([-3 2 -1.5 1.5]);
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 21
Example 11: Impulse Response
Impulse Response
0.8
0.6
0.4
h(t)
0.2
−0.2
−0.4
0 1 2 3 4 5 6 7
Time (seconds)
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 22
Example 11: MATLAB Code for Impulse Response
sys = tf([1 0 -1],[1 4 6 4]);
figure;
t = 0:0.01:7;
[h,t] = impulse(sys,t);
h = plot(t,h);
set(h,’LineWidth’,1.5);
hold on;
plot([0 0],[-2 2],’k:’,[0 max(t)],[0 0],’k:’);
hold off;
axis([0 max(t) -0.5 1.2]);
xlabel(’Time (seconds)’);
ylabel(’h(t)’);
title(’Impulse Response’);
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 23
Example 11: Step Response
Step Response
0.1
−0.1
y(t)
−0.2
−0.3
−0.4
−0.5
0 1 2 3 4 5 6 7
Time (seconds)
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 24
Example 11: MATLAB Code for Step Response
sys = tf([1 0 -1],[1 4 6 4]);
figure;
t = 0:0.01:7;
[h,t] = step(sys,t);
h = plot(t,h);
set(h,’LineWidth’,1.5);
hold on;
plot([0 0],[-2 2],’k:’,[0 max(t)],[0 0],’k:’);
hold off;
axis([0 max(t) -0.5 0.2]);
xlabel(’Time (seconds)’);
ylabel(’y(t)’);
title(’Step Response’);
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 25
Steady-State Sinusoidal Analysis
Assume a system H(s) is BIBO stable. Consider a sinusoidal input
x(t) = A cos(ωt + φ)
= A cos(φ) cos(ωt) − A sin(φ) sin(ωt)
L s
cos(ωt) ⇐⇒
s2 + ω 2
L ω
sin(ωt) ⇐⇒
s2 + ω 2
s ω
X(s) = A cos(φ) 2 − A sin(φ) 2
s + ω2 s + ω2
A [s cos(φ) − ω sin(φ)]
=
s2 + ω 2
Y (s) = H(s)X(s)
A [s cos(φ) − ω sin(φ)]
Y (s) = H(s)
s2 + ω 2
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 26
Steady-State Sinusoidal Analysis Continued
A [s cos(φ) − ω sin(φ)]
Y (s) = H(s)
s2 + ω 2
N
k k∗ k
= + +
s − jω s + jω s + p
=1
N
y(t) = 2|k| cos(ωt + ∠k)u(t) + k e−pt u(t)
=1
= yss (t) + ytr (t)
yss (t) = lim y(t)
t→∞
= 2|k| cos(ωt + ∠k)
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 27
Steady-State Sinusoidal Analysis Comments
If x(t) = A cos(ωt + φ),
yss (t) = lim y(t) = 2|k| cos(ωt + ∠k)
t→∞
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 28
Solving for the Complex Residue
A (s cos φ − ω sin φ)
Y (s) = H(s)
s2 + ω 2
N
k k∗ k
= + +
s − jω s + jω s + p
=1
A [s cos(φ) − ω sin(φ)]
k = H(s)
s + jω s=+jω
A [jω cos(φ) − ω sin(φ)]
= H(jω)
2jω
A [cos(φ) + j sin(φ)]
= H(jω)
2
= 12 H(jω)A ejφ
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 29
Sinusoidal Steady-State Output
Since H(jω) is complex, we can write it in polar form as
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 30
Sinusoidal Steady-State Output
x(t) = A cos(ωt + φ)
yss (t) = |H(jω)|A cos (ωt + φ + ∠H(jω))
• The input is sinusoidal
• The steady-state signal yss (t) is also a sinusoid
– Same frequency as x(t): ω
– Amplitude is scaled by |H(jω)|
– The phase is shifted by ∠H(jω)
• If we know H(s), we can easily find the steady-state solution for
any sinusoidal input signal
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 31
Example 12: Steady-State Sinusoidal Analysis
vs(t) C vo(t)
-
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 32
Example 12: Workspace
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 33
Steady-State Sinusoidal Analysis Comments
• We will study this in depth shortly
• There is analytical significance to how the magnitude and phase of
H(s) vary with s = jω
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 34
LTI Systems
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 35
; ; k
Example 13: Transfer Function Analysis
x(t)
m
b
y(t)
Find the transfer function for the linear system shown above. The
external force x(t) is the input to the system and the displacement
y(t) is the output. Find the transfer function.
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 36
Transfer Function Synthesis
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 37
Cascade Transfer Function Synthesis
N (s)
H(s) = = H1 (s) × H2 (s) × · · · × HP (s)
D(s)
• There are many approaches to transfer function synthesis
• Will discuss how to specify H(s) to meet the requirements for a
given application later this term
• The most common (and perhaps easiest) approach to synthesis is
to break H(s) up into 1st (real poles) or 2nd (complex poles)
order components
• Thus each component, Hi (s) has either a 1st or 2nd order
polynomial in the numerator and denominator
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 38
Cascade Transfer Function Synthesis Continued
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 39
Summary
• Circuits with a single input (independent source) and zero initial
conditions can be represented generically by their transfer
functions
• H(s) is the Laplace transform of the system impulse response
• The output of the system is y(t) = L−1 {H(s)X(s)} for any
causal input signal (x(t) = 0 for t < 0)
• For sinusoidal inputs, the output is also sinusoidal at the same
frequency but amplified by |H(jω)| and shifted in phase by
∠H(jω)
• Thus, transfer functions make sinusoidal steady-state analysis easy
• Generalization of phasors
• Transfer function analysis used for all types of LTI systems, not
just circuits
• Can synthesize a transfer function using a cascade of 1st and 2nd
order active circuits
J. McNames Portland State University ECE 222 Transfer Functions Ver. 1.67 40