How to Solve a Circuit Using Laplace Transform?

  • Topic: Engineering 
  • Thread starter eehelp150
  • Start date
  • Tags Tags
    Circuit Laplace
10 replies · 3K views · last reply
eehelp150
Messages
235
Reaction score
0

Homework Statement


Circuit schematic with a current source of 7e^(-6t) amps feeding node A, a 5 ohm resistor from node A to ground with voltage v(t) across it, a 4 H inductor from node A to node B carrying current i(t), and a 3 ohm resistor from node B to ground.

Assume zero initial conditions

Step 1. Write the nodal equations to find i(t) in the time domain.
Step 2.Solve the differential equation obtained in step 1 using laplace to obtain i(t).

Homework Equations

The Attempt at a Solution



Convert to sdomain
##7e^{-6t}## becomes ##\frac{7}{s+6}##
4H becomes 4s

##\frac{7}{s+6}+\frac{V_A}{5}+\frac{1}{4s}\int_{0}^{t}(V_A-V_B)=0##

##\frac{1}{4s}\int_{0}^{t}(V_B-V_A)+\frac{V_B}{3}=0##

Am I doing this right?
 
Attachments
  • Circuit schematic: a 7e^-6t current source with arrow up feeds node A, with v(t) across a 5 Ω resistor to ground; from node A a 4 H inductor leads to a 3 Ω resistor carrying current i(t) to ground.
    upload_2016-11-30_0-33-12.png
    4.7 KB · Views: 510
There should be no explicit integrals or derivatives required in the equations that you write. Laplace takes care of all that implicitly.

The Laplace "variable" s is more of an operator than a variable. When s multiplies a Laplace domain function (such as sVa(s)) it is equivalent to differentiating the corresponding time-domain function. When a Laplace domain function is divided by s, it is equivalent to integrating in the time domain. So (ignoring initial conditions):

##sF(s) ⇔ \frac{d}{dt}f(t)##

##\frac{1}{s} F(s) ⇔ \int_o^t f(\tau)~d \tau##

A nice thing about the Laplace domain is that reactive components have "impedances" that automatically take care of their own differentiation and integration. Thus Laplace domain "impedances" sL for inductors and 1/(sC) for capacitors carry with them their own operators that automatically handle the calculus. All you have to do is write your circuit equations with these "impedances", manipulating them with standard algebra, and it's as though all the calculus were being done for you behind the scenes.
 
  • Like
Likes   Reactions: FactChecker
gneill said:
There should be no explicit integrals or derivatives required in the equations that you write. Laplace takes care of all that implicitly.

The Laplace "variable" s is more of an operator than a variable. When s multiplies a Laplace domain function (such as sVa(s)) it is equivalent to differentiating the corresponding time-domain function. When a Laplace domain function is divided by s, it is equivalent to integrating in the time domain. So (ignoring initial conditions):

##sF(s) ⇔ \frac{d}{dt}f(t)##

##\frac{1}{s} F(s) ⇔ \int_o^t f(\tau)~d \tau##

A nice thing about the Laplace domain is that reactive components have "impedances" that automatically take care of their own differentiation and integration. Thus Laplace domain "impedances" sL for inductors and 1/(sC) for capacitors carry with them their own operators that automatically handle the calculus. All you have to do is write your circuit equations with these "impedances", manipulating them with standard algebra, and it's as though all the calculus were being done for you behind the scenes.
##\frac{7}{s+6}+\frac{V_A}{5}+\frac{V_A-V_B}{4s}=0##
##\frac{V_B-V_A}{4s}+\frac{V_B}{3}=0##
Does this look better?
 
Yes, that looks better. Just check the sign on the first term of the first equation. As written you have the source current flowing out of node A (judging by how you've written the other terms).
 
gneill said:
Yes, that looks better. Just check the sign on the first term of the first equation. As written you have the source current flowing out of node A (judging by how you've written the other terms).
##-\frac{7}{s+6}+\frac{V_A}{5}+\frac{V_A-V_B}{4s}=0##
##\frac{V_B-V_A}{4s}+\frac{V_B}{3}=0##

##\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A-V_B=0##
##\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A=V_B##

##\frac{\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A-V_A}{4s}+\frac{\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A}{3}=0##

##\frac{-7s}{s+6}+\frac{V_A}{5}+\frac{-28s}{3s+18}+\frac{4sV_A}{15}+\frac{V_A}{3}=0####V_A(\frac{1}{5}+\frac{1}{3}+\frac{4s}{15})=\frac{49s}{3s+18}##
##V_A(\frac{8}{15}+\frac{4s}{15})=\frac{49s}{3s+18}##
##V_A=\frac{49s}{3s+18}*\frac{15}{8+4s}##

Am I on the right track?
 
Last edited:
eehelp150 said:
##-\frac{7}{s+6}+\frac{V_A}{5}+\frac{V_A-V_B}{4s}=0##
##\frac{V_B-V_A}{4s}+\frac{V_B}{3}=0##

##\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A-V_B=0##
##\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A=V_B##

##\frac{\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A-V_A}{4s}+\frac{\frac{-28s}{s+6}+\frac{4sV_A}{5}+V_A}{3}=0##

##\frac{-7s}{s+6}+\frac{V_A}{5}+\frac{-28s}{3s+18}+\frac{4sV_A}{15}+\frac{V_A}{3}=0##
Check the first term on the last line
 
gneill said:
Check the first term on the last line
##\frac{-7}{s+6}+\frac{V_A}{5}+\frac{-28s}{3s+18}+\frac{4sV_A}{15}+\frac{V_A}{3}=0##
##V_A(\frac{1}{5}+\frac{4s}{15}+\frac{1}{3})+\frac{-28s-21}{3s+18}=0##
##V_A(\frac{4s+8}{15})=\frac{28s+21}{3s+18}##
##V_A=\frac{28s+21}{3s+18}*\frac{15}{4s+8}##
 
Last edited:
gneill said:
Check the first term on the last line
Trying to get Vb instead of Va. Could you check my work? i(t) = VB/3, correct?
##\frac{V_B-V_C}{4s}+\frac{V_B}{3}=0##
##V_B-V_A+\frac{4sV_B}{3}##
##V_A=V_B+\frac{4sV_B}{3}##
sub into eqA
##-7e^{-6t}+\frac{V_B(1+\frac{4s}{3})}{5}+\frac{V_B(1+\frac{4s}{3})}{4s}##
simplify
##-7e^{-6t}+\frac{V_B}{5}+\frac{4sV_B}{15}+\frac{V_B}{4s}+\frac{V_B}{3}=0##
##-7e^{-6t}+\frac{8V_B+V_B4s}{15}+\frac{V_B}{4s}=0##
##\frac{8V_B+V_B4s}{15}+\frac{V_B}{4s}=7e^{-6t}##
mult everything by 60s
##32sV_B+16s^2V_B+15V_B=420se^{-6t}##
##e^{-6t} = \frac{1}{s+6}##
##32sV_B+16s^2V_B+15V_B=\frac{420s}{s+6}##

##V_B=\frac{420s}{(4s+3)(4s+5)(s+6)}##

Partial fraction decomp:
Partial fraction decomposition of 420s/((4s+3)(4s+5)(s+6)) written as -30/(4s+3) + 1050/(19(4s+5)) - 120/(19(s+6)).


Inverse Laplace:
VB=
Partial fraction decomposition written as plain text: -e^(-3t/4) 15/2 + e^(-5t/4) 525/38 - e^(-6t) 120/19.


i(t)=VB/3 =
Handwritten-style equation: 5(35e^(-8t/4) - 19e^(-3t/4) - 16e^(-6t)) / 38, shown as a typeset fraction.


is this correct?
 
eehelp150 said:
Trying to get Vb instead of Va. Could you check my work? i(t) = VB/3, correct?
Yes, that's correct.
##\frac{V_B-V_C}{4s}+\frac{V_B}{3}=0##
##V_B-V_A+\frac{4sV_B}{3}##
##V_A=V_B+\frac{4sV_B}{3}##
sub into eqA
##-7e^{-6t}+\frac{V_B(1+\frac{4s}{3})}{5}+\frac{V_B(1+\frac{4s}{3})}{4s}##
Problem: You can't mix time-domain and Laplace domain functions. ##7e^{-6t}## doesn't belong here.
 
gneill said:
Yes, that's correct.

Problem: You can't mix time-domain and Laplace domain functions. ##7e^{-6t}## doesn't belong here.
I ended up getting VB=
Rational expression 420s over (s + 6)(4s + 5)(4s + 3), written as a fraction with s in the numerator and the three factors in the denominator.

i(s) = VB(s)/3 =
Fraction 140s over (s + 6)(4s + 5)(4s + 3), written as a rational function of s in a Laplace-domain expression.


i(t)=
Expression: minus e to the power of negative 3t/4 times 5/2, plus e to the power of negative 5t/4 times 378/35, minus e to the power of negative 6t times 40/19.


However, the answer should be:
Time-domain expression i(t) = -(35/16)e^(-6t) + (35/16)e^(-2t) A for t ≥ 0.


Any idea what I'm doing wrong?

EDIT: I think I see my mistake. I will rework and post results
 
Last edited:
All I can tell is that your Laplace expression for VB has not turned out correctly. There's a lot of tedious algebra involved so you'll need to be very careful at each step.

I 'll admit that reviewing every line of algebra is not my favorite thing to do, so instead I'm going to give you a goal to work towards. The solution for VB(s) should be able to be expressed in the form:

##VB = A \frac{1}{(s+6)(s+2)}##, where A is a numeric constant.