Laplace Transforms and non ideal inductors

In summary, the conversation discusses the derivation of an expression for the transient response of a non-ideal inductor modeled in a schematic. The schematic includes the inductance, a parasitic parallel resistance, and a parasitic capacitance. The conversation also includes the discussion of the transfer function and voltage divider equation, as well as the use of Mathematica to validate the math and find an inverse laplace transform. The conversation ends with the request for assistance in plotting a large equation using Mathematica and the suggestion to use LTSpice as a free spice implementation for windows.
  • #1
brendan_foo
65
0
Hi there,

I'm trying to derive an expression for the transient response (for a step input of magnitude V), for a non-ideal inductor modeled in the schematic I have drawn. This non-ideal inductor includes its inductance ( :smile: ), a parasitic parallel resistance and a parasitic capacitance.

The schematic is here: http://homepage.ntlworld.com/b.preece/RLC.JPG

So my initial thoughts are:

[tex]Z_{c}(S) = \frac{1}{cS}[/tex]

[tex]Z_{l}(S) = lS[/tex]

[tex]Z_{r}(S) = R[/tex]

Right... so the parallel combination of all of these three operational impedances will be defined as:

[tex]Z_{eff} = \left[\frac{1}{Z_{r}} + \frac{1}{Z_{c}} + \frac{1}{Z_{l}}\right]^{-1}[/tex]

So using those values quoted up above, we should have :

[tex]Z_{eff} = \left[\frac{1}{R} + Cs + \frac{1}{sL}\right]^{-1}[/tex]

Which if I'm not mistaked is evaluated to:

[tex] Z_{eff} = \frac{sLR}{(LCR)s^2 + sL + R_p} [/tex]

[itex] R_p [/itex] Any subscript 'p' indictating that its a parasitic value.

Ok... Now based upon the Voltage divider equation, we can say that the transfer function is as below:

[tex] H(s) = \frac{V_{out}}{V_{in}} = \frac{Z_{eff}}{Z_{eff} + Z_{fix}} [/tex]

Now we have:

[tex]{Z_{eff} + Z_{fix} = \frac{sLR + R_{fix}((LCR)s^2 + sL + R_{p})}{(LCR)s^2 + sL + R_p}[/tex]

And from there we have the Transfer function [itex]H(s)[/itex] to be:

[tex] H(s) = \frac{sLR}{sLR + R_{fix}((LCR)s^2 + sL + R_{p}}[/tex]

Knowing that the Laplace transform of the unit step function at t = 0, multiplied by a scaling value will be:

[tex] L(u(t)) = \frac{1}{s} \cdot V_{ip} [/tex]

And the fact that :

[tex] V_{out} = H(s) \cdot V_{ip} [/tex]

So that the [itex] S [/itex] in the numerator will disappear to form :

[tex] V_{out} = \frac{V_{ip} \times LR}{sLR + R_{fix}((LCR)s^2 + sL + R_{p})}[/tex]

This is one of the expressions I've derived, but I can't seem to hammer it into some useful form to take inverse laplace transforms of the second-shift nature, to form expressions which show a damped harmonic oscillations (which i know happens).

In a word...HELP! :biggrin:

If you can spot any obvious mistakes then please point them out, but I would be very grateful for anyone who can get me to a final solution for [itex] V(t) [/itex]

Cheers people
Brendan :rolleyes:
 
Last edited by a moderator:
Engineering news on Phys.org
  • #3
Solution via Mathematica

I was able to confirm your math in mathematica and find an inverse laplace transform. Didn't attempt it by hand. I confirmed mathematica's solution in spice by picking some dummy values.

One idea if your frequency domain solution does not match any table entry which may result in a simpler expression (didn't try it) would be to solve for the frequency domain solution of the upper resistor, inverse it to get the time domain solution, then subtract that from the source to get the voltage across the lower net.

The .nb file can be read by math reader from wolfram.com. It's a free download.
 
  • #4
2nd try

I guess the filetypes .nb and .sp are invalid so I bundled them in a zip...
 

Attachments

  • inductance.zip
    7.1 KB · Views: 241
  • #5
Cheers mate! Much appreciated...I got something very similar to that by hand, although I didnt get a hyperbolic sine... but i'll investigate into it.. Very pleasing results with the oscillatory harmonic motion.

Thankyou very much... can I purchase mathematica direct from wolfram and download it or something?! I have MATLAB at the moment and I'm not a big fan of it, although I have no choice but to learn it..

Thanks guys
Rock on! :biggrin:
 
  • #6
My pleasure.

Your answer may be right just in a different form. The mathematica FullSimplify is pretty good, especially at applying trig identities. My math has improved greatly just trying to figure out how it got from A to B!

I use Mathmatica all the time when analyzing simple systems (1st, 2nd order) because I can do it symbolically (much more intuitive for me) and it's wonderfull for quickly checking the math in homework assignments. However I use MATLAB almost exclusively when doing numerical partial differential equations and for analyzing hspice output files (I highly recommend the MIT MATLAB toolbox [1]). So in a nutshell, use both. Right tool for the job kinda thing.

Mathematica can be purchased through the wolfram website however I got mine through the campus bookstore so I could get the substantial student discount. I believe you can get a student version online by faxing a schedule or something...

There is also an opensource alternative to Mathematica called Maxima [2]. I haven't really used it seriously though.

[1]
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-012Fall2003/Assignments/
Scroll down to problem set 8.
[2]
http://maxima.sourceforge.net/
 
Last edited by a moderator:
  • #7
I'm a newbie with Matlab really...and just trying to plot my equation is a nightmare... If I post you my equation could you plot it with mathematica using the same conditions you did for the one you zipped up and send it to me?!

If you've got msn I am brendan_online@hotmail.com... I'll post my equation to see if its right when you give me the go ahead.

Cheers buddy
Brendan
 
  • #8
Sure. What are your component values?
You could always just spice it too ;)
 
  • #9
I've not got any Spice tools etc... Everything that's been done here is a complete pen and paper job :D...

Bear with me, I'll sling you that equation in about 5 minutes...let me check it first :biggrin:
 
  • #11
Equation coming now...its huge
 
  • #12
DEEP BREATH:

[tex]\frac{V}{R_{f}C \cdot \sqrt{\frac{4(RR_fC)^2 - R_fLC(R_f+1)^2}{4(R_fLC)(RR_fC)^2}}} \cdot e^{\frac{-(R+1)t}{RR_fC}}\cdot sin\left [{\sqrt{\frac{4(RR_fC)^2 - R_fLC(R_f+1)^2}{4(R_fLC)(RR_fC)^2}}t \right] [/tex]

Where [itex] R [/itex] is the parasitic resistance
[itex] R_f [/itex] is the fixed resistance
and the rest are the other values... phew..

If you could simulate that with the values you entered before for C, Rf, R and L and see what happens...HOPEFULLY something similar..but it'll probably not work at all :D

Cheeeeeeeers...I owe you a beer, if you drink :biggrin:
 
Last edited:
  • #13
There is no t
I'll assume the equation is of the form
kV*Exp[-b*t]*Sin[t*c]
 
  • #14
Hahah yeah sorry, i got caught up in the latex... yeah there's a -t in the power of e and a t in the argument of sin... Amended above
 
Last edited:
  • #15
I believe I entered your equation correctly however when I tried to plot it I got floating point underflow errors. Unfortunately the two equations are probably not equivalent.

PS
It turns out Mathematica can export TeX code.

Here is the solution Mathematica found.

[itex]
\frac{2\multsp {{e}^{-\frac{t\multsp (R+{R_p})}{2\multsp R\multsp {C_0}\multsp {R_p}}}}\multsp L\multsp \sinh \big[\frac{t\multsp {\sqrt{L\multsp
\big(L\multsp {R^2}+2\multsp L\multsp R\multsp {R_p}+\big(L-4\multsp {R^2}\multsp {C_0}\big)\multsp R_{p}^{2}\big)}}}{2\multsp L\multsp R\multsp
{C_0}\multsp {R_p}}\big]\multsp {R_p}}{{\sqrt{L\multsp (L\multsp {R^2}+2\multsp L\multsp R\multsp {R_p}+(L-4\multsp {R^2}\multsp {C_0})\multsp R_{p}^{2})}}}
[/itex]

Here is how it saw your equation.

[itex]
\frac{2\multsp {{e}^{-\frac{(1+R)\multsp t}{{\sqrt{{R^2}\multsp C_{0}^{2}\multsp R_{f}^{2}}}}}}\multsp \sin \big[\frac{1}{2}\multsp
t\multsp {\sqrt{\frac{4\multsp {R^2}\multsp C_{0}^{2}\multsp R_{f}^{2}-L\multsp {C_0}\multsp {R_f}\multsp {{(1+{R_f})}^2}}{L\multsp {R^2}\multsp
C_{0}^{3}\multsp R_{f}^{3}}}}\big]}{{C_0}\multsp {R_f}\multsp {\sqrt{\frac{4\multsp {R^2}\multsp C_{0}^{2}\multsp R_{f}^{2}-L\multsp {C_0}\multsp
{R_f}\multsp {{(1+{R_f})}^2}}{L\multsp {R^2}\multsp C_{0}^{3}\multsp R_{f}^{3}}}}}
[/itex]

Edit: Mathematica exports 'e' as ExponentialE which the TeX image generator doesn't seem to like.
 

Attachments

  • inductance2.zip
    4.5 KB · Views: 229
Last edited:
  • #16
In the eq' Mathematica produced...is the argument of the Sinh a t-th root of the expression or is it multiplied by t?

The first expression is correct, guarantee'd...it produced the output I expected, but i can't get to a similar expression... Whenever I hammer it into some form it always comes out as:

[tex] k \cdot \frac{a}{(s + \beta)^2 + a^2}}[/tex]

which leads to a damped sine function...

ARRRGH

I really need to solve this by hand, else I will look like a chump!

Hmmmm where to next eh :cry:
 
  • #17
Ok so now I've come up with this...some of it seems to have symmetry with the first, but I don't know how to use this Opensource Mathematica style software...

[tex]\frac{V}{ZC \cdot \sqrt{\frac{4(RZC)^2 - LC(R+Z)^2}{4LC)(RZC)^2}}} \cdot e^{\frac{-(R+Z)t}{2RZC}}\cdot sin\left [{\sqrt{\frac{4(RZC)^2 -LC(R+Z)^2}{4LC(RZC)^2}}t \right] [/tex]

Where for simplicity's sake I used Z for the fixed resistance and R for the parasitic resistance...ARRRRRRRRGH...seems to be symmetry in the exponent though, to mathematicas!
 
  • #18
Gah I'm not getting luck with any of this stuff at all... Tried it all out on a trial version of Mathematica and its not working at all... I got near enough the same damping factor for my solution as the one Mathematica produced {in the example you gave to me}... and yet trying to plot that on its own {ke^(-at)} for that particular time range won't plot...

GRRR
 
  • #19
When ploting look at the order of the factor of exponential decay (e^-at, look at 'a'). If you choose to plot a range that is much larger than this value you will cause a floating point underflow and get no graph.
 

Related to Laplace Transforms and non ideal inductors

1. What are Laplace Transforms and how are they used in scientific research?

Laplace Transforms are mathematical tools used to convert a function of time into a function of complex frequency. They are commonly used in scientific research to solve differential equations and analyze systems in the frequency domain.

2. Can Laplace Transforms be applied to non-ideal inductors?

Yes, Laplace Transforms can also be applied to non-ideal inductors. However, the resulting equations may be more complex and require additional considerations such as resistance and capacitance.

3. How do Laplace Transforms account for non-idealities in inductors?

Laplace Transforms can incorporate non-idealities in inductors by using the impedance formula Z = R + jωL, where R is the resistance, ω is the angular frequency, and L is the inductance. This formula takes into account the non-idealities of resistance and inductance in the inductor.

4. Are there any limitations to using Laplace Transforms on non-ideal inductors?

One limitation of using Laplace Transforms on non-ideal inductors is that it assumes linearity, which means the system's response is directly proportional to the input. In reality, non-ideal inductors may exhibit nonlinear behavior, which can affect the accuracy of the results.

5. How can Laplace Transforms be used to analyze circuits with non-ideal inductors?

Laplace Transforms can be used to analyze circuits with non-ideal inductors by converting the circuit's differential equations into algebraic equations in the frequency domain. This allows for easier analysis and understanding of the circuit's behavior.

Similar threads

  • Advanced Physics Homework Help
Replies
4
Views
1K
  • Electrical Engineering
Replies
20
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
Replies
2
Views
10K
Replies
0
Views
9K
Replies
1
Views
9K
  • Calculus
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
839
Back
Top