1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: General SEcond Order Circuit: 2 Res. - 2 Inductors - Current Source

  1. Apr 1, 2007 #1
    1. The problem statement, all variables and given/known data

    Obtain [itex]i_1[/itex] and [itex]i_2[/itex] for t > 0 in the circuit below.

    http://img258.imageshack.us/img258/7765/problem60as1.jpg [Broken]

    2. Relevant equations


    3. The attempt at a solution

    To get initial conditions, I made a second circuit diagram for t < 0.

    http://img219.imageshack.us/img219/8606/problem60part2ch2.jpg [Broken]

    Since there is no current before t = 0, both initial currents and voltages are zero.




    I also made a third circuit diagram for t > 0.

    http://img254.imageshack.us/img254/2797/problem60part3ii5.jpg [Broken]




    KCL @ [itex]V_1[/itex]:



    KCL @ [itex]V_2[/itex]:


    Here I am stuck, I know that I need to produce a second order differential equation before I can even think about solving this circuit, but I am having trouble finding what equations to use to get such an O.D.E. Please help!
    Last edited by a moderator: May 2, 2017
  2. jcsd
  3. Apr 1, 2007 #2


    User Avatar
    Science Advisor
    Gold Member

    Hmm, you have some errors in your analysis. First off, you'd only get a second order equation if you also had capacitance. This circuit will have only first oder DE's. Second, you need to re-look at your equations. For instance, i1=di1/dt makes no sense (I assume it's a typo?).

    Finally a heads up that, you drew the arrow for i3 backwards to the current that will flow through that resistor. It won't matter, just expect a minus sign for i3.
  4. Apr 1, 2007 #3
    Lemme try again!

    http://img164.imageshack.us/img164/6674/problem60part3kw4.jpg [Broken]





    KCL @ [itex]V_1[/itex]:





    Substituting for [itex]V_1[/itex] and [itex]V_2[/itex]:


    Now what? I have that pesky [itex]i_1[/itex] that I don't know what to do with!
    Last edited by a moderator: May 2, 2017
  5. Apr 1, 2007 #4
    The following may be a good starter.



    http://islam.moved.in/tmp/dd.jpg [Broken]
    Last edited by a moderator: May 2, 2017
  6. Apr 1, 2007 #5
    How do you get the last part of your last equation?


    How do you get the last squared term?

    Last edited: Apr 1, 2007
  7. Apr 2, 2007 #6


    User Avatar
    Science Advisor
    Gold Member

    For such a simple circuit, the math gets pretty messy! Here's a solution using state variables. The first eqn is
    where I_0(t) is the source current (0 for t<=0, i0 later). Since we’re interested in I1 and I2 we'll eliminate I_3 and V_1 from the equations using


    [tex]V_1=I_3 R_3=L_2 \dot{I_2}=I_1 R_1+L_1 \dot{I_1} .[/tex]

    I've used symbols instead of actual values for the R's and L's in the branches so you can follow what's what.
    We get

    [tex]\dot{I_1}=\frac{R_3 I_0-R_3 I_2 -(R_1+R_3) I_1}{L_1},[/tex]

    [tex]\dot{I_2}=\frac{R_3(I_0-I_1-I_2)}{L_2} .[/tex]

    These are two coupled first order DE's in the 4 state variables (Idot and I for subscripts 1 and 2). We know the solutions will be of the form
    [tex]I=a e^{-t/\tau}+b[/tex]
    for t>0 so we can substitute this form and solve the resulting 2 simultaneous algebraic equations.

    To keep track of the multitude of coefficients it's easiest to put this into matrix form. It's no different then the above, but it’s easier to write the matrix “A” instead of writing a bunch of R's and L's on each line. Define the matrix

    [tex]A=-\left(\begin{array}{cc}(R_1+R_3)/L_1 & R_3/L_1\\R_3/L_2 & R_3/L_2\end{array}\right),[/tex]

    whose terms have dimensions 1/second, and column vectors

    [tex]b=\left(\begin{array}{cc}R_3/L_1 \\ R_3/L_2\end{array}\right)[/tex]

    [tex]x=\left(\begin{array}{cc}I_1 \\ I_2\end{array}\right),[/tex]

    [tex]\dot{x}=Ax+bI_0 .[/tex]

    Try the solution
    where the meaning of the exponential is a matrix where each term in A is multiplied by t and the product is exponentiated. This gives

    [tex]\dot{z}=[e^{At}]^{-1} bI_0= e^{-At}bI_0 .[/tex]

    I won’t fill in all the steps, it’s straightforward to integrate this, use the initial condition x(0)=(0;0), and get for currents I_1 and I_2

    [tex]x=-i_0 A^{-1} (1-e^{At}) b.[/tex]

    Terms in A are negative and have the form of 1/tau where tau is a classic L/R time constant, so the currents start out at zero and grow exponentially, reaching a steady state DC value after a time long compared to the time constants.

    EDIT: clean up the equations (as usual...)
    EDIT 2: remove erroneous dot from x=exp(At)z
    EDIT 3: N.B.: I defined I_3 in same direction as other currents, according to second diagram...
    Last edited: Apr 2, 2007
  8. Apr 3, 2007 #7
    I still don't understand, how do you get the last term in this EQ:

    [tex]V_1=I_3 R_3=L_2 \dot{I_2}=I_1 R_1+L_1 \dot{I_1}[/tex]

    And what were your calculationis to get [itex]\dot{I_1}[/itex] and [itex]\dot{I_2}[/itex] after that?
  9. Apr 3, 2007 #8


    User Avatar
    Science Advisor
    Gold Member

    First I see I swapped currents--my equations correspond if you swap I1 and I2 in your diagram. Sorry for that.

    As for your questions:
    1. V1 is the sum of the voltage drop across resistor R1 (I1*R1) plus that across the inductor ([tex]L_1 dI_1/dt[/tex], which I labelled [tex]L_1\dot{I_1}).[/tex]

    2. From the V1 equation,
    [tex]\dot{I_1}=\frac{I_3 R_3-I_1 R_1}{L_1}.[/tex]
    [tex]I_3=I_0-I_1-I_2[/tex] Eq. (1)
    to give
    [tex]I_3=I_0-I_1-I_2[/tex] Eq. (2)
    and substitute into the equation above to eliminate I3. This gives [tex]\dot{I_1}[/tex] in terms of [tex]I_1[/tex] and [tex]I_2[/tex] as in the post.

    Now do the same for I2 from the V1 equation. Get
    [tex]\dot{I_2}=\frac{I_3 R_3}{L_2}[/tex]
    and again substitute Eq. (2) to eliminate I3.

    Choosing which state variables to work with are a key to making the problem easier. You could work with three coupled equations (I1, I2 and I3) but they contain redundant information as expressed by Eq. (1) so something will eventually drop out. I chose to express [tex]\dot{I_1}[/tex] and [tex]\dot{I_2}[/tex] in terms of [tex]I_3[/tex], which is then eliminated early, leaving two coupled equations expressing [tex]\dot{I_1}[/tex] and [tex]\dot{I_2}[/tex] in terms of [tex]I_1[/tex] and [tex]I_2[/tex].

    EDIT: equation cleanup
    Last edited: Apr 3, 2007
  10. Apr 3, 2007 #9


    User Avatar

    No, if you have two energy storing elements that cannot be associated in series or in parallel, you will have a second order system.
  11. Apr 3, 2007 #10


    User Avatar
    Science Advisor
    Gold Member

    Oh! Well, I'm always interested in learning. Can't you consider these two elements to be in parallel? Is my solution incorrect?
  12. Apr 3, 2007 #11


    User Avatar

    They are not in parallel since there is a 3 ohm resistor between them.
  13. Apr 3, 2007 #12


    User Avatar
    Science Advisor
    Gold Member

    Ok, if I do this with Laplace transforms I get a different answer. The current source [tex]I(s)= i_0/s[/tex] looks into an impedance Z(s)

    [tex]\frac{1}{Z(s)}=\frac{1}{R_3}+\frac{1}{sL_2}+\frac{1}{R_1+sL_1}[/tex] or

    [tex]Z(s)=\frac{sR_3 L_2(R_1+sL_1)}{sL_2(R_1+sL_1)+R_3(R_1+sL_1)+sR_3 L_2}.[/tex]

    The voltage is [tex]V_1 (s)=Z(s)I(s)[/tex] which works out to

    [tex]V_1 (s)=\frac{i_0 R_3 L_2(R_1+sL_1)}{s^2 L_1 L_2+s(R_1 L_2+R_3 L_1+R_3 L_2)+R_1 R_3}.[/tex]

    This could be a damped oscillation, having both sine and cosine terms, for certain choices of components. With the present values it still looks non-oscillatory.

    So the question is: which derivation is correct, and why?
    Last edited: Apr 3, 2007
  14. Apr 3, 2007 #13


    User Avatar

    The signs of the elements of your matrix A in the state space are wrong. If you correct them, the eigenvalues of the matrix will be identical to the poles of your function in the s plane.
    Both solutions are correct, giving real natural frequencies. This means that your circuit is overdamped.
  15. Apr 3, 2007 #14
    A new circuit diagram using the s-domain:

    http://img338.imageshack.us/img338/8682/problem60part4vk9.jpg [Broken]

    KCL @ [itex]V_1[/itex]:





    Now what?
    Last edited by a moderator: May 2, 2017
  16. Apr 3, 2007 #15
    [tex]i_2\,=\,\frac{8\,V}{j\omega}[/tex] <----- Is that right?
  17. Apr 4, 2007 #16


    User Avatar
    Science Advisor
    Gold Member

    Hmm, I don't see it. The sign seems right to me, and the solution oscillates only if A is complex.
    It's more conventional to replace jomega with s. You need to also transform your source. For a step function I0(s)=4/s, whcih will cancel the leading factor of s in your expression for V1(s).

    Now it's just a matter taking the reverse transform of your expression using the Laplace transform table of your choice, for instance, entry 2.27 from
    http://www.vibrationdata.com/Laplace.htm" [Broken]
    Last edited by a moderator: May 2, 2017
  18. Apr 4, 2007 #17


    User Avatar

    I didn´t see the minus sign before the matrix. To find the eigenvalues, that are the natural frequencies of the circuit you must calculate
    [tex]|\lambda I - A| = 0[/tex]
    In your case:

    [tex]\left|\begin{array}{cc}|lambda + 5 & 3\\3 & \lambda + 3\end{array}\right|, =, 0[/tex]

    This gives [tex]\lambda^2 + 8\lambda + 6 = 0[/tex] which has real roots. So, no oscillation.
  19. Apr 4, 2007 #18


    User Avatar
    Science Advisor
    Gold Member

    Of course, I should have calculated the eigenvalues of A sooner. The state variable and s-domain methods give the same result as expected.

    Thx SGT.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook