Lecture02 Ee620 Linear Circuits
Lecture02 Ee620 Linear Circuits
Sam Palermo
Analog & Mixed-Signal Center
Texas A&M University
Agenda
• Transfer Functions
• Mason’s Rule
• Second-Order Systems
• Review Material
• Laplace Transform
• Passive Circuit s-Domain Models
• Transfer Functions
• Sinusoidal Steady-State Response
• Poles & Zeros
• Bode Plots 2
Transfer Function
L vo t Vo s
H s
L vi t Vi s
If input vi t is sinusoidal
vi t A cost
v ss t H j A cost H j
4
Mason’s Rule
[Franklin]
Y s 1
G s
U s G
i
i i
a a a a a a
1 1 22 33 0 1 1 22 33
s s s s s s
Forward Path Determinants
Note, all loops touch the forward paths
1 1 0 1
Forward Path Gains Loop Gains
2 1 0 1
b1 a1
G1 1236 l1 232 3 1 0 1
s s
b2 a2 System Transfer Function
G2 12346 2
l 2 2342
s s2 b1 b2 b3
b3 a3 Y s s s2 s3 b1s 2 b2 s b3
G3 123456 l3 23452 U s a1 a 2 a3 s 3 a1s 2 a 2 s a3
s3 s3 1 2 3
s s s
7
Mason’s Rule Example 2
Y s 1
[Franklin] G s
U s G
i
i i
G1 1236 H 4 1 H 1 H 5 H 2 H 6 H 3 H 7 H 4 H 7 H 6 H 5 H 1 H 5 H 3 H 7
G2 12456 H1 H 2 H 3 Forward Path Determinants
1 0
sQ s Q
9
Second-Order Systems:
Real or Complex Poles?
k102
H s
0
s2 s 02
Q
2
0
2 poles p1 ,p2 0 02
2Q 2Q
ImH j
1
H j tan
ReH j
11
Second-Order Systems – Real Poles (1)
104 104 2 poles : p1 1, p2 1000
H s 2
s 1001s 1000 s 1s 1000
Note, Q 0.032
-20dB/dec.
-45/dec.
-40dB/dec.
-45/dec.
-20dB/dec. -45/dec.
-40dB/dec.
-90/dec.
-45/dec.
k102
H s
0
s2 s 02
Q
What is the low frequency magnitude?
H j 0 k1
What is the high frequency magnitude?
k102
H j -40dB/dec. slope at high frequencies
2
k102
H j 0 k1Q
02
02 j 02
Q
Note, if Q 1 then the magnitude exceeds the low frequency value, i.e. frequency peaking occurs!
14
Frequency Peaking w/ Complex Poles
Where is the peak frequency? For k1=1 and 0=1
d H j
2
d 2
k1 04
0
d d 2
02
2 2 0
Q
1
pk 0 1 0 for large Q
2Q 2
k1Q
T pk k1Q for large Q
1
1
4Q 2
16
Review Material
• The following material reviews Laplace
transforms, transfer functions, sinusoidal
steady-state response, and Bode plots
17
References
• Continuous & Discrete Signal & System Analysis,
3rd Ed., C. McGillem and G. Cooper, Saunders
College Publishing, 1991.
18
Laplace Transform
• Laplace transforms are useful for solving
differential equations
• One-Sided Laplace Transform
Lxt X s xt e st dt
0
[McGillem]
20
Laplace Transform of Operations
[McGillem]
21
Resistor s-Domain Equivalent Circuit
vt Rit
Time-domain Representation: 1
i t vt
R
1
Complex Frequency V s RI s I s V s
R
Representation:
22
Capacitor s-Domain Equivalent Circuit
t
1
vt i d v0
C
Time-domain Representation: 0
dv
i t C
dt
V s
1 1
I s v0 I s sCV s Cv0
Complex Frequency sC s
Representation:
23
Inductor s-Domain Equivalent Circuit
di
vt L
dt
Time-domain Representation: t
1
i t v d i0
L
0
1 1
Complex Frequency V s sLs Li 0 I s V s i0
sL s
Representation:
24
s-Domain Impedance w/o I.C.
V s I s R 1 V s I s sL
V s I s
SC
Z s R Z s sL
1
Z s
sC
25
Transfer Function
L vo t Vo s
H s
L vi t Vi s
1
ZC 1
Vo s Vin s sC Vin s Vin s
Z R ZC 1 1 sRC
R
sC
Vo s 1
H s
Vin s 1 sRC
27
Laplace Transform Circuit Example
Given vo 0 0
Convert to
Laplace Domain
Vo s 1 1 10 5
H s
Vin s 1 sRC 1 s s 10 5
10 5
10 5 10 5
Vo s H s Vi s
s 10 5 2
s 10 5
2
v o t
1 105 t
2
e
1
2
1
2
1
2
5
cos10 5 t sin 10 5 t e 10 t
1
sin 10 5 t 45
2
28
Laplace Transform Circuit Example
We can decompose the output into it' s transient and steady - state response
1
v o t e 10 t
2
5 1
sin 10 5 t 45 vtr t v ss t
2
1
v tr t e 10 t
5
2
v ss t
1
sin 10 5 t 45
2
If input vi t is sinusoidal
vi t A cost
v ss t H j A cost H j
30
RC Circuit Sinusoidal Steady-State Response
Vo s 1 s j 1
H s H j
Vin s 1 sRC 1 jRC
Output Magnitude
1
H j H j H j
* 1
1
H j
1 jRC 1 jRC 1 RC 2
Output Phase
ImH j ImNum ImDen
H j tan 1 tan 1 tan 1
Re H j Re Num Re Den
H j tan 1 RC
where Num Numerator and Den Denominator of H j
0 RC
H j tan 1 tan 1 tan RC
1
1 1
31
RC Circuit Sinusoidal Steady-State
Response Example
1
H s
s
1
10 5
with s j j10 5
H j10 5 1
1 j
H j10 5
1
2
1
2
H j10 5 tan 1 1 45
v ss t
1
sin 10 5 t 45
2
32
Complex Numbers Properties
[Silva]
Numerical Example
1 j1010 j10
100 j101000 j10
1 j1010 j10
12 10 2 10 2 10 2
1.41 10 3
100 j101000 j10 100 2 10 2 1000 2 10 2
1 j1010 j10 tan 1 10 tan 1 10 tan 1 10 tan 1 10 123
100 j101000 j10 1 10
100 1000
33
Poles & Zeros
H s A
s z1 s z2 ...s zm
s p1 s p2 ...s pn
• Poles are the roots of the denominator (p1, p2, … pn) where H(s)∞
• Zeros are the roots of the numerator (z1, z2, … zm) where H(s)0
105
Example 1 : H s 100s 15
s 105 Example 3 : H s
s 2 50 s 1500
s 105 0
s 15 0
p1 s 105 rad / s z1 s 15rad / s
s s 2 50 s 1500 0
Example 2 : H s
s 105
z1 s 0rad / s 50 2500 6000
p1, 2 s1, 2 25 j 29.6rad / s
2
s 105 0
p1 s 105 rad / s
34
Bode Plots
• Technique to plot the Magnitude (squared) and
Phase response of a transfer function
• Magnitude is plotted in Decibels (dB), which is a power
ratio unit
dB
H j 10 log10 H j
2 2
dB 20 log
10 H j dB
• Phase is typically plotted in degrees
ImH j
1
H j tan
ReH j
35
RC Bode Plot Example
Vo s 1 1 1
H s
Vin s 1 sRC 1 s10 5 1 j10 5
1 1
H s , where p1 10 5 rad/s
1 j10 5 j
1
p1
20 log10 H j 20 log10
1
20 log10 1 20 log10 1 10 5
2
1 10 5
2
20 log10 H j 20 log10
1
20 log10 1 20 log10 1 10 5
2
1 10 5
2
Phase:
PhaseH j tan 1 10 5
(rad/s) |H(j)| |H(j)|2 20log10|H(j)| (dB) Phase (H(j)) ()
103 0.9999 0.9999 ~0 ~0
~20log10 (1) 104 0.995 0.990 -0.043 -5.71
= 0dB 5x104 0.894 0.800 -0.969 -26.6
105 0.707 0.500 -3.01 -45.0 -45/dec
5x105 0.196 0.039 -14.2 -78.7
106 0.100 0.010 -20.0 -84.3
~-20log10 (10-5) 107 10-2 10-4 -40.0 -89.4
= -20dB/dec
108 10-3 10-6 -60.0 -89.9
37
RC Bode Plot Example
Max Error = 3.01dB
-20dB/dec
-45/dec
38
Transient Response
vo t 1 1 vo t 0.1
vo t
2
Phase Shift 0 Phase Shift 84.3
Phase Shift -45
39
Bode Plot Algorithm - Magnitude
1. Where is a good starting point?
a. Calculate DC value of |H(j)|
b. If not a reasonable value, I like to calculate |H(j)| at equal
to the lowest value of p1/10 or z1/10
2. Where to end?
a. Calculate |H(j)| as ∞
3. Where are the poles and zeros?
a. Beginning at each pole frequency, the magnitude will decrease
with a slope of -20dB/dec
b. Beginning at each zero frequency, the magnitude will increase
with a slope of +20dB/dec
4. Note, the above algorithm is only valid for real poles
and zeros. We will discuss complex poles later.
40
Bode Plot Algorithm - Magnitude
104 s 1 101 s
H s
s 10s 100 1 s 1 s 20 log10 H j 20 log10
10 1 2
10 100 1 10
1 2
1 10
2 2
DC Magnitude 10 20dB
20 log10 10 20 log10 1 2 20 log10 1 101 20 log10 1 10 2
2
2
HF Magnitude 0 dB
+20dB/dec. -20dB/dec.
-20dB/dec.
+20dB/dec.
-20dB/dec.
41
Bode Plot Algorithm - Phase
1. Calculate low frequency value of Phase(H(j))
a. An negative sign introduces -180 phase shift
b. A DC pole introduces -90 phase shift
c. A DC zero introduces +90 phase shift
2. Where are the poles and zeros?
a. For negative poles: 1 dec. before the pole freq., the phase will
decrease with a slope of -45/dec. until 1 dec. after the pole
freq., for a total phase shift of -90
b. For zeros poles: 1 dec. before the zero freq., the phase will
increase with a slope of +45/dec. until 1 dec. after the zero
freq., for a total phase shift of +90
c. Note, if you have positive poles or zeros, the phase change
polarity is inverted
3. Note, the above algorithm is only valid for real poles
and zeros. We will discuss complex poles later. 42
Bode Plot Algorithm - Phase
104 s 1 101 s
H s H j 180 tan 1 tan 1 tan 1
s 10s 100 1 s 1 s 1 10 100
10 100
LF Phase 180
z1 1, p1 10, p2 100
+45/dec.
-90/dec.
+45/dec. -45/dec.
-45/dec. -45/dec.
43