Equation for dissipation of a capacitor

AI Thread Summary
The discussion focuses on evaluating the voltage of an RC circuit as it dissipates a stored charge under two scenarios: an instantaneous voltage drop and a linear decrease over time. The initial response suggests using an exponential decay function to model the voltage change when reducing from Vo to V1. For the linear decrease, participants discuss applying Kirchhoff's Voltage Law (KVL) and derive equations based on the changing input voltage. The conversation highlights the complexity of solving differential equations related to the circuit's behavior, with references to integrating factors for non-homogeneous equations. Overall, the participants are working through the mathematical modeling of capacitor discharge in different voltage scenarios.
drewbagel423
Messages
8
Reaction score
0
Hi,

I'm trying to evaluation the voltage of an RC circuit as it is dissipating a stored charge. Actually trying to do this under two different situations.

The first is let's say the circuit has reached steady state for a given input voltage, Vo. Now I reduce the voltage instantly to some value V1 greater than zero, but less than its original value. I assume it would resemble some sort of exponential decay function, like e^(-t/tau), but how would Vo and V1 factor into the equation?


Okay, now take the same circuit. But let's say instead of using the step function in the previous example for the voltage, it now decreases linearly over time, like V(t) =-3 Volts/min. What would the response equation look like now?

Hopefully that makes sense, I've been wracking my brain over this for the past couple days.

TIA
 
Engineering news on Phys.org
Off the top of my head...

I think the equation is

v(t) = (V_0-V_1)e^{-t/\tau}+V_1

Check this by using your 2 boundary conditions v(0) = V_0 and V(infty) = V1

You can find the derivation of this in most basic circuits book.

I can't imagine a cap's voltage dropping off linearly vs. time. Does anyone know how?
 
i'm not trying to get the cap's voltage to drop linearly, I'm saying what if the voltage into the cap drops linearly with time, how do this change the formula you posted?

for instance, in the formula you gave, Vo @ t=0 is 30, V1 @ t=1s is 27, V2 @ t=2s is 24, etc
 
Well you would just have to go back to the basics and write the KVL equation.
 
sorry, you're talking to an ME, have no idea what the KVL equation is
 
Do you remember solving circuits equations by writing a loop equation to sum up all the voltage drops? Then you set this equation to zero?
 
yes, i do remember doing that, basically adding up all the nodes, right?
 
That was Kirchoff's current law (KCL). You could try doing that too if you want... But for a simple RC circuit. It's better to use Kirchoff's voltage law instead.

PS: Is this a mental exercise?
 
No this is something I'm having trouble with at work

I think I have an understanding but I'm having a problem putting it all together

KVL says the sum of the voltage in a loop is equal to zero.

\sum V_{loop} = 0

so if the input voltage is a function of time

V(t) = -3t

the equation for the capacitor is

I = C \frac{dV}{dt} \Rightarrow \int\frac{dV}{dt}=\frac{I}{C} \Rightarrow V = \frac{I}{C}t +a

and the resistor is

V=IR

putting it all together

-3t = \frac{I}{C}t + IR + a

am i on the right track so far?
 
  • #10
Can you just show us a simplified schematic of the circuit you've got.
 
  • #11
417px-Series-RC.svg.png
 
  • #12
So if KVL serves me correctly...

Vin - I R - V = 0
V_{in} - C \frac {dv_c}{dt} R - v_c = 0
RC \frac {dv_c}{dt} + v_c = V_{in}

After this its just math...
 
  • #13
ok so my calc is a little rusty, but here goes: (using V_{in}(t) = At)

RC\frac{dv_{c}}{dt} + v_{c} = At

integrating both sides with respect to t (not sure about this part)

RCv_{c} + v_{c}t = \frac{At^{2}}{2}+constant

solving for v_{c}

v_{c}(RC+t) = \frac{At^{2}}{2}+constant \Rightarrow v_{c} = \frac{\frac{At^{2}}{2}+constant}{RC+t}

is this right up to this point? how can i solve for the constant?
 
  • #14
I can't seem to remember off the top of my head how to solve this diff'eqn. It's first order non homogeneous. I think you can find it in Boyce and Diprima's textbook. I think it involves integrating factors or something to that extent.
 
Back
Top