Professional Documents
Culture Documents
RC Circuit
RC Circuit
filter
A particular solution
By variation of constants:
Z t
t −s
1 −
vp (t) = e RC x(s) ds.
RC −∞
Z t
t −s
1 −
A(λ1 x1 + λ2 x2 )(t) = e RC λ1 x1 (s) + λ2 x2 (s) ds
RC −∞
Z t
t −s
1 −
= λ1 e RC x1 (s) ds
RC −∞
Z t
t −s
1 −
+ λ2 e RC x2 (s) ds
RC −∞
= λ1 Ax1 (t) + λ2 Ax2 (t)
(ELTE,IK) An analog and a discrete filter 4 / 17
The RC circuit
Properties (cont.)
A is time invariant
Let y (t) = x(t − t0 ) and Ax = v . Then
Z t
t −s
1 −
Ay (t) = e RC x(s − t0 ) ds
RC −∞
substituting u = s − t0
Z t−t0 t − (u + t0 )
1 −
= te RC x(u) du
RC −∞
Z t−t0 (t − t0 ) − u
1 −
= e RC x(u) du
RC −∞
= v (t − t0 )
Properties (cont.)
A is realizable (causal)
Z t t −s
1 −
Ax(t) := v (t) = e RC x(s) ds.
RC −∞
The upper limit of the integration is t. This means that v (t) = Ax(t)
determined by the past values of the input signal x only.
A is stable, continuous
Taking the norm kxk∞ := supt∈R |x(t)| we obtain:
Z t
t −s Z t t −s
1 − 1 −
|Ax(t)| ≤ e RC kx(s)k∞ ds ≤ kxk∞ e RC ds
RC −∞ RC −∞
= kxk∞ ,
Z t
t −s Z ∞
1 −
Ax(t) = e RC x(s) ds = h(t − s)x(s) ds =: (h ∗ x)(t),
RC −∞ −∞
where (
0, ha t < 0;
h(t) = t
1 − RC
RC e , ha t ≥ 0.
Recall
Transfer function: H(λ)
Input: x(t) = eλ (t) = e2πiλt .
Output v = Aeλ = H(λ)eλ .
(2iπλRC + 1)H(λ)eλ = eλ .
eλ 6= 0, therefore
1
H(λ) = .
1 + 2iπλRC
Generalization
Butterworth filters
Butterworth filter of order n
1
|H(λ)|2 = 2n .
λ
1+ λ0
RC circuit: n = 1.
Taking the limit n → ∞ : ideal filter.
A discrete filter
v [k ] − v [k − 1] = a−k x[k ].
Suppose that
0
X ∞
X
|a−n x[n]| = |an x[−n]| < ∞.
n=−∞ n=0
Discrete convolution
Let (
an , if n ≥ 0
h[n] =
0 , if n < 0.
Then
∞
X
y [k ] = h[k − n]x[n] =: h ∗ x.
n=−∞
Impulse response
(
1 , if k = 0
The unit impulse: x[k ] =
0 , if k 6= 0.
The impulse response: the output of the unit impulse is
y [k ] = h[k ].
Transfer function
Set z ∈ C, x[k ] = z k . The convergence condition above holds only if
|z| > |a|.
Then
k k z n ∞
X
k −n
X
k k
X a n
y [k ] = a x[n] = a =a
n=−∞ n=−∞
a z
n=−k
∞
a −k X a n 1 z
= ak = zk a = x[k ].
z z 1− z z −a
n=0
(ELTE,IK) An analog and a discrete filter 15 / 17
The discrete RC circuit
1
The energy spectrum of the discrete system for a = .
2
3.5
2.5
1.5
0.5
–0.4 –0.2 0 0.2 0.4
lambda