Author Topic: Filters - transfer function  (Read 3608 times)

0 Members and 1 Guest are viewing this topic.

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Filters - transfer function
« on: January 31, 2016, 11:58:52 am »
Hello,

I don't know how did we get here the transfer function. If someone can explain.

Thank you.
 

Offline KJDS

  • Super Contributor
  • ***
  • Posts: 2442
  • Country: gb
    • my website holding page
Re: Filters - transfer function
« Reply #1 on: January 31, 2016, 12:11:28 pm »
How is your understanding of Laplace?

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: Filters - transfer function
« Reply #2 on: January 31, 2016, 12:15:38 pm »
The transfer function is Vin/Vout and s=jw.
The RC filter is a voltage divider with the two impedances, Z1=R and Z2=1/jwC
Vout = Vin*(1+Z1/Z2) = Vin*(1+R/(1/jwC)) = Vin * (1 + jwRC)
Vout/Vin = 1 + jwRC
A(s) = Vin/Vout = 1/(1+sRC)
 
The following users thanked this post: nForce

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Filters - transfer function
« Reply #3 on: January 31, 2016, 05:57:04 pm »
bson, thank you.

Another question, where does here an extra Wc come in a denominator? It's only a passive filter with an addition of op amp which has a gain of 1+(R2/R3). This term is in numerator, which seems logical.

Thanks again.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: Filters - transfer function
« Reply #4 on: February 01, 2016, 12:21:28 am »
No idea, that's weird and may be specific to this material?  Notationally wc might refer to the corner frequency of the dominant pole, but that would make no sense as used.   :-//
 
The following users thanked this post: nForce

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21687
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Filters - transfer function
« Reply #5 on: February 01, 2016, 12:29:38 am »
Looks like a typo.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: nForce

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5234
  • Country: us
Re: Filters - transfer function
« Reply #6 on: February 01, 2016, 12:42:21 am »
Looks like a typo.

Tim

Looks like a typo.

Tim

Typo being a short and polite way of saying someones fingers were typing faster than their brain was working.  Or maybe someone didn't really understand what they were typing.  The first is unfortunately common in books.  The latter is less common, but unfortunately, not rare.

The denominator should have been either (1+RCs) or (1+s/wc)  with wc=1/RC.  The cutoff frequency is a fairly common convention to make the equations more wieldy, expecially on much larger filters.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: Filters - transfer function
« Reply #7 on: February 01, 2016, 01:12:57 am »
I don't know how did we get here the transfer function. If someone can explain.

The transfer function is Vin/Vout and s=jw.
The RC filter is a voltage divider with the two impedances, Z1=R and Z2=1/jwC
Vout = Vin*(1+Z1/Z2) = Vin*(1+R/(1/jwC)) = Vin * (1 + jwRC)
Vout/Vin = 1 + jwRC
A(s) = Vin/Vout = 1/(1+sRC)

Or from first principles, in the time domain:

The differential equation for the filter is:

  [Vin(t)-Vout(t)] / R = C dVout/dt

Multiply through by R:

  Vin(t) - Vout(t) = RC dVout/dt

Now convert to the Laplace domain, noting that dx(t)/dt becomes sx(s):

  Vin(s) - Vout(s) = RC s Vout(s)

Rearranging:

  Vin(s) = (1 + sRC) Vout(s)

The transfer function is Vout/Vin, so:

  A(s) = Vout(s) / Vin(s) = 1 / (1 + sRC)

For the EE's out there, how does the "magic" work that you can replace jw by s?

(OK, I'm sure I can look it up. But it's the first time I've come across it.)
 
The following users thanked this post: nForce

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5234
  • Country: us
Re: Filters - transfer function
« Reply #8 on: February 01, 2016, 01:24:49 am »
s is just shorthand for jw.  If you are writing transfer functions all day (people used to do that in the 1950s through the early 1970s) saving a character is huge.  All of these things are just conventions.  Those who get very involved with Fourier transforms will find three different conventions.  There is a scale factor of 2 pi between the forward and reverse transform.  Some apply that factor on the forward transform, some on the reverse.  And a small minority put the square root of the scale factor on both sides, making the transforms totally symetric.
 
The following users thanked this post: nForce

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8651
  • Country: gb
Re: Filters - transfer function
« Reply #9 on: February 01, 2016, 01:49:54 am »
s is just shorthand for jw.  If you are writing transfer functions all day (people used to do that in the 1950s through the early 1970s) saving a character is huge.
I thought it was just to stop all the arguments between the engineers and mathematicians about whether it should be iw or jw.  ;)
 
The following users thanked this post: nForce

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21687
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Filters - transfer function
« Reply #10 on: February 01, 2016, 01:56:00 am »
s is traditional from Laplace analysis, which is strictly different from Fourier analysis, but for rational, LTI systems, it works out that s == j*w.

And of course, we still can't write a proper omega on this forum, so 'w' has to fill in, in discussion.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: nForce

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: Filters - transfer function
« Reply #11 on: February 01, 2016, 02:12:49 am »

For the EE's out there, how does the "magic" work that you can replace jw by s?

(OK, I'm sure I can look it up. But it's the first time I've come across it.)
In the s plane frequency is on the imaginary axis, up/down.  Hence, j*w.  The real axis is sigma, which is the decay factor.  w is converted to a point on the s plane with sigma=0 by simply making it imaginary, jw.

sRC or perhaps more logically RCs, can then be read out as "a point along the frequency axis scaled by RC".
« Last Edit: February 01, 2016, 02:22:44 am by bson »
 

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: Filters - transfer function
« Reply #12 on: February 01, 2016, 02:16:15 am »
s is traditional from Laplace analysis, which is strictly different from Fourier analysis, but for rational, LTI systems, it works out that s == j*w.

And of course, we still can't write a proper omega on this forum, so 'w' has to fill in, in discussion.
Or sigma. :(

Well, we can, and it will preview correctly, but at some point gets turned into '?'.  Perhaps by a mysql scrubber - mysql historically has had problems with multibyte characters where a text column is set to end with a partial mbc.  It can then 'swallow' the next character and becomes an injection attack vector.

But really shouldn't be so hard to fix.  Just needs a proper scrubber that knows how to parse out UTF-8 rather than just blindly hammer mbc's.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf