Impulse Response - RLC Circuit

In the given RLC circuit, the inductor and capacitor have no stored energy at time t = 0 t=0 and the source voltage V S ( t ) = δ ( t ) V_S(t) = \delta(t) , where δ ( t ) \delta(t) is the Dirac-Delta function . Solve for the current as a function of time. The result is of the form:

I ( t ) = e α t ( γ cos ( β t ) + ϵ sin ( β t ) ) I(t) = \mathrm{e}^{-\alpha t}\left(\gamma \cos(\beta t) + \epsilon \sin(\beta t)\right)

Also, calculate the total energy supplied by the source and the heat dissipated by the resistor. Let these values value be θ \theta and ϕ \phi respectively. Enter your answer as:

α + β + γ + ϵ + θ + ϕ \boxed{\alpha + \beta + \gamma + \epsilon + \theta + \phi}

Bonus: Apply the law of conservation of energy and see if all energy exchanges are accounted for. Also, perform numerical integration using two different numerical methods (Explicit Euler and Runge-Kutta 4th order) and see if the results agree well. Moreover, does the closed-form solution for current satisfy the initial condition?

Note: R = 2 Ω R=2 \ \Omega , L = 1 H L=1 \ H and C = 0.5 F C=0.5 \ F


The answer is 3.5.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Steven Chase
Oct 17, 2020

This is a very interesting one. There are some aspects to this that I don't understand.

Differential equations for the inductor and capacitor:

V S R I V C = L I ˙ I = C V ˙ C V_S - R I - V_C = L \dot{I} \\ I = C \dot{V}_C

Substituting the second equation into the first:

V S R C V ˙ C V C = L C V ¨ C V_S - R C \dot{V}_C - V_C = L C \ddot{V}_C

Taking the Laplace transform (note that the Laplace transform of δ ( t ) \delta(t) is unity). I will refer to the transformed V C V_C as simply V V . There are other terms in the transforms of the dot and double-dot quantities, but these are zero, per the stated initial conditions.

1 R C s V V = s 2 L C V V = 1 s 2 L C + s R C + 1 1 - RC s V - V = s^2 LC V \\ V = \frac{1}{s^2 L C + s R C + 1}

Doing the inverse transform gives:

V C ( t ) = 2 e t sin ( t ) V_C (t) = 2 e^{-t} \sin(t)

The current is therefore:

I ( t ) = C V ˙ C = e t ( cos ( t ) sin ( t ) ) I(t) = C \dot{V}_C = e^{-t} \Big(\cos(t) - \sin(t) \Big)

The energy supplied by the source can be calculated using the sampling property of the Dirac delta function:

E S = 0 V S ( t ) I ( t ) d t = 0 δ ( t ) I ( t ) d t = I ( 0 ) = 1 E_S = \int_0^{\infty} V_S(t) I(t) \, dt = \int_0^{\infty} \delta(t) I(t) \, dt = I(0) = 1

The energy dissipated in the resistor can be calculated by integrating the instantaneous resistor power:

E R = 0 = I 2 ( t ) R d t = 1 2 E_R = \int_0^{\infty} = I^2(t) R \, dt = \frac{1}{2}

Here are some things that don't quite add up about this one:

1) The inductor current and capacitor voltage are zero at t = t = \infty . Thus they both contain zero energy after infinite time elapses. I therefore expect the total energy dissipated by the resistor to equal the total energy supplied by the source. But this is apparently not the case

2) According to the initial conditions, the inductor current is supposed to be zero initially, but the derived current expression doesn't agree with this.

@Steven Chase A very nice solution. Upvoted

Talulah Riley - 7 months, 3 weeks ago

@Steven Chase You said you didn't understand some aspects, which is I think impossible.

Talulah Riley - 7 months, 3 weeks ago

Thanks for the solution. I have been dwelling on this for several hours and decided to post this problem. Although, I think I might have an explanation.

Consider the circuit equation:

L I ˙ + I R + Q C = δ ( t ) L\dot{I} +IR + \frac{Q}{C} = \delta(t)

Multiplying both sides by I d t I \ dt gives:

L I I ˙ d t + I 2 R d t + Q C I d t = δ ( t ) I d t LI\dot{I} \ dt+I^2R \ dt+ \frac{Q}{C} I \ dt= \delta(t)I \ dt

Integrating both sides from 0 0 to \infty :

( 0 L I I ˙ d t ) + 0 I 2 R d t + 0 Q C I d t = 0 δ ( t ) I d t \left(\int_{0}^{\infty} LI\dot{I} \ dt\right)+\int_{0}^{\infty}I^2R \ dt+\int_{0}^{\infty} \frac{Q}{C} I \ dt= \int_{0}^{\infty}\delta(t)I \ dt ( 0 L I I ˙ d t ) + 0 I 2 R d t + 0 0 Q C d Q = 0 δ ( t ) I d t \implies \left(\int_{0}^{\infty} LI\dot{I} \ dt\right) + \int_{0}^{\infty}I^2R \ dt + \int_{0}^{0} \frac{Q}{C} \ dQ = \int_{0}^{\infty}\delta(t)I \ dt Q ˙ = I \because \dot{Q} = I Q ( 0 ) = Q ( ) = 0 \because Q(0)=Q(\infty) = 0

Finally: ( 0 L I I ˙ d t ) + 0 I 2 R d t + 0 = 0 δ ( t ) I d t \implies \left(\int_{0}^{\infty} LI\dot{I} \ dt\right) + \int_{0}^{\infty}I^2R \ dt +0 = \int_{0}^{\infty}\delta(t)I \ dt

So, the energy supplied by the source is partly dissipated as heat. The other part of this energy causes a sudden current surge, the magnetic energy due to which is initially stored in the inductor. This inductor energy then asymptotically goes to zero as time progresses. So essentially, the integral:

0 L I I ˙ d t \int_{0}^{\infty} LI\dot{I} \ dt

Should evaluate to + 0.5 +0.5 . This I am yet to check, but I will do this first thing tomorrow morning. What are your thoughts on this?

The stranger aspect of this problem is the numerics. Did you try that?

Karan Chatrath - 7 months, 3 weeks ago

Log in to reply

Actually, I did do a quick check and the by using the current expression and it's derivative, I evaluate the integral:

0 L I I ˙ d t = 0.5 \int_{0}^{\infty} LI\dot{I} \ dt =-0.5

The sign is off. I think a minus sign forcefully needs to be introduced because as time increases, current decreases. Awaiting your feedback.

Karan Chatrath - 7 months, 3 weeks ago

Log in to reply

Interesting. So that just means that we have to get rid of our assumption of zero initial current. The inductor energy starts off at plus one half, and then accumulates an additional minus one half, for zero energy after infinite time, just like the current expression dictates. Regarding the numerical approach, I would never try to use numerical methods to simulate a Dirac delta pulse input. I imagine that process would be fraught with peril.

Steven Chase - 7 months, 3 weeks ago

Log in to reply

@Steven Chase I would still say that the initial condition I ( 0 ) = 0 I(0)=0 holds. The strangeness of the nature of the Dirac pulse is what causes an initial surge, which makes the current 'appear' to be non zero initially.

I think I am realising the numerical problems the hard way. Although I did use the definition I presented in my previous exercise for impulse response. The problem I faced was that I used explicit Euler which gave me a meaningful result. But the RK4, which is theoretically more accurate, gave completely wrong solutions.

Karan Chatrath - 7 months, 3 weeks ago

Log in to reply

@Karan Chatrath Yeah, I'm a big fan of numerical methods, but I don't use them on anything that has infinities. And since the Dirac delta is infinitely narrow (or something like that), that makes my list of things to avoid.

Steven Chase - 7 months, 3 weeks ago

And then how does the overall energy accounting work? The inductor starts at +0.5 and ends at zero. The capacitor starts at zero and ends at zero. The resistor starts at zero and ends at +0.5. If you sum the deltas for those three components, you get zero. I would want those three deltas to add up to the energy supplied by the source.

Steven Chase - 7 months, 3 weeks ago

Log in to reply

@Steven Chase Yes, this point bugs me as well. I think the forceful introduction of a negative sign in the inductor energy integral would fix this problem. I have seen this being done in other physics-related calculations too. But this manipulation does not feel natural.

Karan Chatrath - 7 months, 3 weeks ago
Karan Chatrath
Oct 17, 2020

@Steven Chase has used the Laplace transform to solve this problem. That is the recommended approach because the problem greatly simplifies in the Laplace domain as the transformed Dirac function is simply unity. I am presenting an alternative approach to this problem.

The definition of the Dirac Delta function is:

δ ( t ) = lim h 0 { 0 t < 0 1 h 0 t h 0 t > h \delta(t)=\lim_{h \to 0}\begin{cases} 0 & t< 0 \\ \frac{1}{h} & 0\leq t\leq h \\ 0 & t>h \end{cases}

Now, since we are working in the time-domain, t < 0 t<0 becomes irrelevant, making: δ ( t ) = lim h 0 { 1 h 0 t h 0 t > h \delta(t)=\lim_{h \to 0}\begin{cases} \frac{1}{h} & 0\leq t\leq h \\ 0 & t>h \end{cases}

Now, if one were to plot this and compute the area under the curve, one would naturally arrive at the result:

0 t δ ( t ) d t = 1 \int_{0}^{t} \delta(t) \ dt =1

So, essentially, the integral of the Dirac delta function is the unit step function ( H ( t ) H(t) ). In the case when the unit step occurs at t = 0 t=0 , it can practically be treated as a constant function.

So now, let us consider the circuit equation:

L I ˙ + I R + Q C = δ ( t ) L\dot{I} + IR + \frac{Q}{C} = \delta(t) Q ˙ = I \dot{Q} = I

Integrate both sides of the above equation.

L e t 0 t Q d t = Q s Let \int_{0}^{t} Q \ dt = Q_s This makes the governing differential equation:

L Q ¨ s + R Q ˙ s + Q s C = 0 t δ ( t ) d t L\ddot{Q}_s + R\dot{Q}_s + \frac{Q_s}{C} =\int_{0}^{t} \delta(t) \ dt L Q ¨ s + R Q ˙ s + Q s C = H ( t ) L\ddot{Q}_s + R\dot{Q}_s + \frac{Q_s}{C} =H(t) L Q ¨ s + R Q ˙ s + Q s C = 1 L\ddot{Q}_s + R\dot{Q}_s + \frac{Q_s}{C} =1

Now, one can easily solve for Q s ( t ) Q_s(t) . Using that result:

Q = Q ˙ s Q = \dot{Q}_s And finally:

I = Q ˙ I = \dot{Q}

So the conclusion here is that while dealing with impulse inputs, the way to tackle such a problem would be to compute the unit step response and then differentiate that with respect to time to obtain the impulse response. This makes the problem manageable numerically as well.

@Karan Chatrath A very nice solution. Upvoted.

Talulah Riley - 7 months, 3 weeks ago

@Karan Chatrath In the first line you have mentioned the Steven sir, you can even just write Steven sir has used laplace transform without mentioning him.

Simply because you want to gain his attention. :) :) isn't it.
I don't want to hurt you.

Talulah Riley - 7 months, 3 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...