Professional Documents
Culture Documents
Transform
EEE111 Electric Circuit Analysis
Anawach Sangswang
Dept. of Electrical Engineering
KMUTT
Convolution 69 @ÑnÑM@n Control system
y (t ) x( )h(t )d h( ) x(t )d
2
Convolution
2 original signals to be convolved: x1(t) vs. x2(t)
time domain
st axis
variable while t
is a constant
Danny Domain
☐
" was ÑnñiNs 1- Ño9ñÑoÑñ 3
Convolution
Regions of integration y (t ) x1 (t ) x2 ( )d
0 < t < 1 (no overlap)
y (t ) x1 (t ) x2 (t )
x1 (t ) x2 ( )d
0
Tox , (1--7) Robot
1 < t < 2 (overlap from 1 to t)
y (t ) x1 (t ) x2 ( )d
t
(2)(1)d 2(t 1)
1
4
Convolution
2 < t < 3 (completely overlap)
t
y (t ) (2)(1)d 2 t (t 1) 2
t 1
3
y (t ) (2)(1)d 2 3 (t 1) 8 2t
t 1
5
Convolution
t >4
y (t ) 0
enonrouoorog
Combine all Graphical
0 0 t 1 convolution
2t 2 1 t 2
y (t ) 2 2 t 3
8 2t 3 t 4
0 t 4
6
Convolution: Laplace Transform
t
Recall f (t ) f1 (t ) f 2 (t ) f1 ( ) f 2 (t )d
-
- 0
Claim:
¥""
F (s) L f1 (t ) f 2 (t ) F1 ( s ) F2 ( s ) "
"" "" "
s s
F1 ( s ) f1 ( )e d F1 ( s ) F2 ( s ) f1 ( ) F2 ( s )e d
- 0 a- 0 -
This gives us
F1 ( s ) F2 ( s ) f1 ( ) f 2 (t )u (t )e st dt d
0 0
Interchanging order of integral
t
F1 ( s ) F2 ( s ) f1 ( ) f 2 (t )d e st dt L f1 (t ) f 2 (t )
0 0
7
Linear System
Convolution: determination of output of a linear time-
invariant (LTI) system from the input and the system
response Hcs )
ycs )
✗ (s) )= Hostiles >
( ) ( )
yes
HH ) * ✗ (f)
yet ) =
( ) £1T -
ti ) - end signal
1 lnsotowsampling
( )
+
Input function
8
Linear Systems
Let , be the output at time excited by
,
Homogeneity ( ) , ( )
Additivity ( ) , ( )
The output ( ) excited by the input ( )
( ) , ( )
As -
0,
T
becomes an impulse and
= , = ,
9
Linear System
Convolution: determination of output of a
linear time-invariant (LTI) system from the
transfer func
input and the system response !
.
{
H 's ) yes ,
XCS) yes >
- His )
Fcs )
( ) ( )
Lib
hit ,
The output of the above LTI can be found as: impulse response
y (t ) x( )h(t )d
x(t ) h(t )
Find io(t)
s
↳ (s )
%
m-
Inverse Laplace transform
11
0
S Domain
TÉs ) →
Iocs ) →
iolt )
Iscs ) , Ids ) →
Hcs ) → hcf)
I¥¥
=
Hcs) → Ids ) =
Hes )Ics )
, "
i oct ) a L
/ ]
Hooks)
0
Time Domain
isct ) * Hit ) →
ioct )
Graphical
.
Example
Method: convolution integral
t
io (t ) h(t ) is (t ) i (t )e d is (t ) u (t ) u (t 2)
0 s
t t t
io (t ) 1e d e 1 e
0 0
t t t ( t 2)
io (t ) 1e d e e e
t 2 t 2
Complete response
t
1 e 0 t 2
io (t ) t ( t 2)
e e t 2
12
Differential Equations
"i
""
d 2 v(t ) dv(t )
2
6 8v(t ) 2u (t ); v(0) 1, v (0) 2
dt dt
T
-
Inductor
initial and V (s) L sI ( s ) i (0)
g)
q
.
di (t ) sLI ( s ) Li (0)
1.
v(t ) L Frequency domain II.
dt
Time domain
1 i (0)
I (s) V ( s)
sL s
Ice
15
Circuit Element
Capacitor ÷
I (s) sCV ( s ) Cv(0)
"
-4
-
^
1 v(0)
V ( s) I (s)
sC s
dv(t )
i (t ) C p
dt
Important advantages
Initial condition
Complete response (transient and steady state)
16
Circuit Element
2%1*1%81
and .
Nose
Assume zero initial condition
for the inductor and capacitor,
Resistor : V(s)=RI(s)
Inductor: V(s)=sLI(s)
Capacitor: V(s) = I(s)/sC
17
Example 16.1
Assume zero ics. Find vo(t)
Transform to s domain
t →s
Apply mesh analysis
1 3 3
1 I1 ( s ) I2 0
'
m¥ 3
s
s s
I 2 ( s ) I1 ( s )
s
5 s I 2 (s) 0
/
>> syms s
>> vo = 3/(s^2+8*s+18)
vo =
3/(s^2+8*s+18)
3 >> ilaplace(vo)
I 2 (s) ans =
G V (s)
s3 8s 2 18s 3/2*2^(1/2)*exp(-4*t)*sin(2^(1/2)*t)
3 L
"
3 4t
o
s 2
8s 18
,
vo (t ) e sin 2t
2 18
Example 16.2
Find vo(t). Assume vo(0) = 5V
Transform to s domain
7180^7 otohaswrioxwwnw
Nodal analysis
10 /( s 1) Vo Vo Vo
2 0.5
10 10 10 / s
19
Example 16.2
vo(t)
>> vos=(25*s+35)/(s+1)/(s+2);
>> vot=ilaplace(vos)
vot =
15*exp(-2*t)+10*exp(-t)
Plotting the response vo(t)
>> t=[0:1e-2:5];
>> vi=10*exp(-t);
>> vo=15*exp(-2*t)+10*exp(-t);
>> plot(t,vi)
>> hold on
>> plot(t,vo)
>> xlabel('time(s)')
>> ylabel('v_o(t)')
20
Example 16.2
Input and output voltages
25
20
Output voltage
Input voltage
15
v (t)
o
10
0
0 1 2 3 4 5
time(s)
21
State Space Models
%oon6ou
General form
State equation: x(t ) Ax(t ) Bu(t )
Output equation: y (t ) Cx(t ) Du(t )
Initial condition (IC): x(t0 ) x0
The state space model describes how the
input u(t) and the initial condition x0 affect
the state x(t) and the output y(t) 22
Solving Linear State Equations
Homogeneous x(t ) Ax(t )
Forced or nonhomogeneous
x(t ) Ax(t ) Bu(t ); x Rn , u Rm
Given x(t0 ) x 0 , u(t )
1 1
X( s ) sI A x0 sI A BU ( s )
1 1
Y ( s ) C sI A x0 C sI A B D U( s)
The resolvent
1 Adj sI A n n matrix
sI A
det sI A det sI A
24
Network Stability
A circuit is stable if its impulse response h(t) is
bounded (i.e. h(t) converges to a finite value)
lim h(t )
t
25
Network Stability Yodo on rod
1/L
>> C = [1/R 0]
C = 2
1 1 4
RC RC LC
[ 1/R, 0] s
>> C*inv(s*eye(2)-A)*B 2
ans =
1/(s^2*L*R*C+s*L+R)*R*C
C*(s*R*C+1)/(s^2*L*R*C+s*L+R)
28