Solving the RLC Circuit Differential Equation

Click For Summary

Discussion Overview

The discussion revolves around deriving the differential equation for an RLC circuit, specifically relating the input voltage \(v_i(t)\) to the output voltage \(v_0(t)\). Participants explore various mathematical representations, including the use of Laplace transforms and the implications of capacitor voltage relationships.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants propose that the differential equation can be expressed as \(v_i(t) = 3i + \frac{di}{dt} + 2\int i(t)dt\), with \(v_0 = 2\int i(t)dt\).
  • There is a question regarding the bounds of the integral, with some suggesting that using \((-\infty, t)\) is appropriate due to the nature of capacitor voltage being proportional to charge.
  • One participant inquires about the possibility of solving for \(v_0(t)\) using Laplace transforms, to which others affirm that it is a common practice among electrical engineers.
  • There is a discussion about the \(s\)-domain circuit analysis and the corresponding impedances for resistors, inductors, and capacitors.
  • One participant expresses confusion regarding the derivation of the identity \(i(t) = \frac{1}{2}\frac{dv_0(t)}{dt}\) and its application in the context of the circuit.
  • Another participant questions the correctness of a solution they obtained for \(V_0(s)\) compared to a provided answer, indicating a potential discrepancy in the results.

Areas of Agreement / Disagreement

Participants express differing views on the correct formulation of the differential equation and the use of Laplace transforms. There is no consensus on the final form of the equations or the correctness of the provided solutions.

Contextual Notes

Participants note the importance of initial conditions and the handling of them in \(s\)-domain analysis, but there are unresolved questions about specific mathematical steps and identities used in the derivations.

Dustinsfl
Messages
2,217
Reaction score
5
Determine the differential equation relating \(v_i(t)\) and \(v_0(t)\) for the RLC circuit in the figure.
View attachment 2100
Would this just be
\[
v_i(t) = 3i + \frac{di}{dt} + 2\int i(t)dt
\]
but \(v_0 = 2\int i(t)dt\). Do I need write it as \(v_0\) or as \(2\int i(t)dt\)?
 

Attachments

  • Screenshot from 2014-03-12 14:24:42.png
    Screenshot from 2014-03-12 14:24:42.png
    3.8 KB · Views: 170
Physics news on Phys.org
dwsmith said:
Determine the differential equation relating \(v_i(t)\) and \(v_0(t)\) for the RLC circuit in the figure.
View attachment 2100
Would this just be
\[
v_i(t) = 3i + \frac{di}{dt} + 2\int i(t)dt
\]
but \(v_0 = 2\int i(t)dt\). Do I need write it as \(v_0\) or as \(2\int i(t)dt\)?

Correct is...

$\displaystyle v_{i} (t) = 3\ i + \frac{d i}{d t} + 2\ \int_{- \infty}^{t} i(\tau)\ d \tau$

Kind regards

$\chi$ $\sigma$
 
chisigma said:
Correct is...

$\displaystyle v_{i} (t) = 3\ i + \frac{d i}{d t} + 2\ \int_{- \infty}^{t} i(\tau)\ d \tau$

Kind regards

$\chi$ $\sigma$

Why do you have bounds of \((-\infty, t)\)?
 
dwsmith said:
Why do you have bounds of \((-\infty, t)\)?

... the voltage across a capacitor is proportional to the amount of charge You have pumped on it. If You don't like the term $\infty$ it is possible to write $\displaystyle v_{C} (t) = v_{c} (0) + \frac{1}{c}\ \int_{0}^{t} i(\tau)\ d \tau$...

Kind regards

$\chi$ $\sigma$
 
Last edited:
chisigma said:
... the voltage across a capacitor is proportional to the amount of charge You have pumped on it. If You don't like the term $\infty$ it is possible to write $\displaystyle v_{C} (t) = v_{c} (0) + \frac{1}{c}\ \int_{0}^{t} i(\tau)\ d \tau$...

Kind regards

$\chi$ $\sigma$

Is it possible to solve for \(v_0(t)\) using a Laplace transform?
 
dwsmith said:
Is it possible to solve for \(v_0(t)\) using a Laplace transform?

Yes. In fact, electrical engineers will typically write down circuit elements on the diagram with their Laplace-transformed expressions, so that the very first equation they write down is the LT'ed equation.
 
Ackbach said:
Yes. In fact, electrical engineers will typically write down circuit elements on the diagram with their Laplace-transformed expressions, so that the very first equation they write down is the LT'ed equation.

I don't understand. Can you demonstrate what you mean?

Suppose \(v_i(t) = e^{-3t}\mathcal{U}(t)\). Then how can we get back \(v_0\) from a Laplace transform?
 
Last edited:
If I take the Laplace transform of
\[
e^{-3t}\mathcal{U}(t) = 3i + \frac{di}{dt} + 2\int_{-\infty}^ti(\tau)d\tau,
\]
I get
\[
i(t) = -\frac{3}{2}e^{-3t} + 2e^{-2t} - \frac{1}{2}e^{-t}.
\]
How do I get to \(v_0(t)\) for \(t > 0\)?
 
dwsmith said:
I don't understand. Can you demonstrate what you mean?

Sorry for the delay. This is called $s$-domain circuit analysis. You have the $s$-domain impedances (kinda like what you have in steady-state sinusoidal analysis with phasors):
\begin{align*}
Z_{R}&=R \\
Z_{L}&=Ls \\
Z_{C}&= \frac{1}{Cs}.
\end{align*}
These come straight from the V-I characteristics of resistors, capacitors, and inductors: just LT those relationships, and compare with $V=IZ$, Ohm's Law, to get the $s$-domain impedances (these are defined with the initial conditions zeroed out).

There are tricks for dealing with initial conditions as well - you usually insert a voltage or current source to handle that. Here is a good summary of the method.
 
  • #10
Ackbach said:
Sorry for the delay. This is called $s$-domain circuit analysis. You have the $s$-domain impedances (kinda like what you have in steady-state sinusoidal analysis with phasors):
\begin{align*}
Z_{R}&=R \\
Z_{L}&=Ls \\
Z_{C}&= \frac{1}{Cs}.
\end{align*}
These come straight from the V-I characteristics of resistors, capacitors, and inductors: just LT those relationships, and compare with $V=IZ$, Ohm's Law, to get the $s$-domain impedances (these are defined with the initial conditions zeroed out).

There are tricks for dealing with initial conditions as well - you usually insert a voltage or current source to handle that. Here is a good summary of the method.

I had the solutions in my office which I retrieved yesterday. It has that
\[
i(t) = \frac{1}{2}\frac{dv_0(t)}{dt}
\]
where does this identity come from? I know we have that \(\dot{v}_0(t) = 2\) but how does that equate to \(2i(t)\)?

Edit 1:

I also worked out \(V_0(s)\) and obtained:

If \(v_i(t) = e^{-3t}\mathcal{U}(t)\), then
\begin{align*}
e^{-3t}\mathcal{U}(t) &= \frac{3}{2}\frac{dv_0(t)}{dt} +
\frac{1}{2}\frac{d^2v_0(t)}{dt^2} + v_0(t)\\
\frac{1}{s + 3} &= \frac{3}{2}(sV_0(s) - v_0(0)) + \frac{1}{2}(s^2V_0(s) -
sv_0(0) - v_0'(0))\\
\frac{2}{s + 3} &= 3sV_0(s) - 1 + s^2V_0(s) - s - 2\\
V_0(s)(s^2 + 3s) &= \frac{2}{s + 3} + s + 3\\
V_0(s) &= \frac{2}{(s + 3)(s^2 + 3s)} + \frac{s + 3}{s^2 + 3s}\\
&= \frac{2 + (s + 3)^2}{s(s + 3)^2}\\
&= \frac{2 + s^2 + 6s + 9}{s(s + 3)^2}\\
&= \frac{s^2 + 6s + 11}{s(s + 3)^2}
\end{align*}
but the solution says that answer is
\[
\frac{2(s^2 + 5s + 7)}{(s + 1)(s + s)(s + 3)}.
\]
Is the solution wrong? I don't see how we can get that.
 
Last edited:
  • #11
dwsmith said:
I had the solutions in my office which I retrieved yesterday. It has that
\[
i(t) = \frac{1}{2}\frac{dv_0(t)}{dt}
\]
where does this identity come from?

This comes from the $VI$ characteristic of a capacitor. For any capacitor of capacitance $C$, it is true that $i=C dV/dt$. Since you have a series $RLC$ circuit, all the current goes through the capacitor. Since $C=1/2$ in your case, that's how you get $i=(1/2) dv_0/dt$.

I know we have that \(\dot{v}_0(t) = 2\) but how does that equate to \(2i(t)\)?

Edit 1:

I also worked out \(V_0(s)\) and obtained:

If \(v_i(t) = e^{-3t}\mathcal{U}(t)\), then
\begin{align*}
e^{-3t}\mathcal{U}(t) &= \frac{3}{2}\frac{dv_0(t)}{dt} +
\frac{1}{2}\frac{d^2v_0(t)}{dt^2} + v_0(t)\\
\frac{1}{s + 3} &= \frac{3}{2}(sV_0(s) - v_0(0)) + \frac{1}{2}(s^2V_0(s) -
sv_0(0) - v_0'(0))\\ \end{align*}

Shouldn't this be
$$\frac{1}{s + 3} = \frac{3}{2}(sV_0(s) - v_0(0)) + \frac{1}{2}(s^2V_0(s) -
sv_0(0) - v_0'(0)) \color{red}{+V_0(s)}?$$
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
900