- #1

saxm

- 4

- 0

## Homework Statement

I'm trying to work out the time domain response of a first order high pass RC filter, eg. http://en.wikipedia.org/wiki/File:High_pass_filter.svg

I've got two solutions, one using laplace and one using differential equations, but they are different. One equation must be wrong, can anyone point out which one? And why?

## Homework Equations

The laplace transform, or a first order ODE.

## The Attempt at a Solution

Using laplace:

[tex](v_{in}-v_{out})sC + \frac{0-v_{out}}{R}[/tex]

[tex]v_{in}sCR = v_{out}(1+SCR)[/tex]

[tex]v_{out} = v_{i} \frac{s}{s+\frac{1}{CR}}[/tex]

Then I need to take the inverse laplace transform. I can't see any inverse transforms in laplace tables (eg. http://en.wikipedia.org/wiki/Laplace_transform" )for functions of the form [tex]\frac{s}{s+\alpha}[/tex], but I see that multiplication by s in the frequency domain is differentiation in the time domain, so I tried taking the inverse laplace of [tex]\frac{1}{s+\frac{1}{CR}}[/tex] to obtain [tex]f(t)[/tex] and then differentiating the result to give [tex]f'(t)[/tex], ie:

[tex]F(s) = \frac{1}{s+\alpha}[/tex]

[tex]f(t) = e^{-\alpha t}[/tex]

and I want [tex]f'(t)[/tex], the first derivative of [tex]f(t)[/tex], so:

[tex]f'(t) = -\alpha e^{-\alpha t}[/tex]

and substituting in my values:

[tex]v_{out}(t) = - v_{in} \frac{e^{\frac{-t}{RC}}}{RC}[/tex]

Next, I try the same thing with differential equations:

[tex]v_{in} = v_{c} + v_{r}[/tex]

[tex]v_{in} = \frac{1}{C}\int{i} dt + iR[/tex]

then using [tex]i = \frac{dq}{dt}[/tex]

[tex]v_{in} = \frac{q}{C} + \frac{dq}{dt}[/tex]

And solving this using an integrating factor [tex]\mu = e^{\frac{t}{RC}}[/tex]:

[tex]\mu q = C v_{in}(e^{\frac{t}{RC}} - 1)[/tex]

And finally computing [tex]v_{out}(t) = i.R = \frac{dq}{dt}.R[/tex] gives me:

[tex]v_{out}(t) = v_{in} e^{\frac{-t}{RC}}[/tex]

I'm not sure why this result differs from the laplace version. If I skip the final differentiation in the laplace formulation of the problem (ie. just entirely ignore the existence of the 's' on the top line), then the two equations give the same result, but I don't understand why. Any ideas?

Thanks!

Sam

Last edited by a moderator: