Inverse laplace of high pass RC filter

Click For Summary
SUMMARY

The discussion centers on resolving discrepancies between the time domain responses of a first-order high-pass RC filter derived from Laplace transforms and differential equations. The Laplace transform approach initially yielded an incorrect output voltage equation, while the differential equation method produced the correct result. The error in the Laplace method stemmed from not substituting the input voltage as its Laplace transform, leading to confusion in the final output. Ultimately, the correct approach involves recognizing that the Laplace transform of a unit step input is \(\frac{1}{s}\), which resolves the inconsistency.

PREREQUISITES
  • Understanding of Laplace transforms and their applications in circuit analysis.
  • Knowledge of first-order ordinary differential equations (ODEs).
  • Familiarity with RC filter circuit design and behavior.
  • Basic proficiency in using SPICE for circuit simulations.
NEXT STEPS
  • Study the properties and applications of Laplace transforms in electrical engineering.
  • Learn how to derive transfer functions for different types of filters.
  • Explore the use of SPICE for simulating various circuit responses.
  • Investigate the relationship between time-domain and frequency-domain representations in signal processing.
USEFUL FOR

Electrical engineers, circuit designers, students studying control systems, and anyone interested in analyzing filter responses using both Laplace transforms and differential equations.

saxm
Messages
4
Reaction score
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:
(v_{in}-v_{out})sC + \frac{0-v_{out}}{R}
v_{in}sCR = v_{out}(1+SCR)
v_{out} = v_{i} \frac{s}{s+\frac{1}{CR}}

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 \frac{s}{s+\alpha}, 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 \frac{1}{s+\frac{1}{CR}} to obtain f(t) and then differentiating the result to give f'(t), ie:

F(s) = \frac{1}{s+\alpha}
f(t) = e^{-\alpha t}

and I want f'(t), the first derivative of f(t), so:

f'(t) = -\alpha e^{-\alpha t}

and substituting in my values:

v_{out}(t) = - v_{in} \frac{e^{\frac{-t}{RC}}}{RC}

Next, I try the same thing with differential equations:

v_{in} = v_{c} + v_{r}
v_{in} = \frac{1}{C}\int{i} dt + iR

then using i = \frac{dq}{dt}
v_{in} = \frac{q}{C} + \frac{dq}{dt}

And solving this using an integrating factor \mu = e^{\frac{t}{RC}}:
\mu q = C v_{in}(e^{\frac{t}{RC}} - 1)

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

v_{out}(t) = v_{in} e^{\frac{-t}{RC}}


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:
Physics news on Phys.org
I've thought about it some more. Physically it makes sense at t=0 for Vout to be equal to Vin, so the 1/RC term in the laplace version of the equation doesn't make sense. I've also done a SPICE simulation in which the differential equation matches perfectly with the simulated waveform, so the differential equation is right and the laplace equation is wrong.

But I don't understand why the laplace equation is wrong...
 
Finally sorted this out. For the benefit of any googlers etc..., the problem is that I just kinda left v_{in} alone (didn't fully appreciate what I was doing), but infact it could be written as v_{in}(s) and then I needed to substitute in the Laplace transform for this, which for a unit step input is just \frac{1}{s}. And then the 's' on the top line of the laplace equation cancels with the new 's' on the bottom...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K