Rearranging capacitor charge/discharge equation

  • Thread starter Hassss
  • Start date
  • Tags
    Capacitor
In summary: Dear ssss,Your problem statement is not the statement of your problem. A clear understanding of the problem might be very helpful for you. Something like:1. Calculate the time needed to charge an intially uncharged capacitor C over a resistance R to 26 V with a source of 40 VAnd the relevant equation might well be 2. Vc=Vs(1-e^-t/CR)What you call the problem statement only appears in the next phase, usually called:3. attempt at a solutionI need to rearrange 2 to something that looks like t = blablabla with Vc,Vs, C and R suitably appearing on the righthand side. Then anyone with a
  • #1
Hassss
10
0

Homework Statement



I need to rearrange the equation for exponential growth of voltage across capacitor during charging.



Homework Equations



Equation is Vc=Vs(1-e^-t/CR) I need to find out how long it takes for Vc=26v with Vs=40v thus rearranging the equation making t the subject.



The Attempt at a Solution



Ive forgotten what to do with Logs and therefore am stuck on this part.

LnVc=LnVs-t/CR

Im not sure if its correct but sincerely appreciate any help and advice I've calculated the time in a circuit and found t=10.4977 so need to prove it mathematically!

Thank You
 
Physics news on Phys.org
  • #2
Hassss said:

Homework Statement



I need to rearrange the equation for exponential growth of voltage across capacitor during charging.

Homework Equations



Equation is Vc=Vs(1-e^-t/CR) I need to find out how long it takes for Vc=26v with Vs=40v thus rearranging the equation making t the subject.

The Attempt at a Solution



Ive forgotten what to do with Logs and therefore am stuck on this part.

LnVc=LnVs-t/CR

I'm not sure if its correct but sincerely appreciate any help and advice I've calculated the time in a circuit and found t=10.4977 so need to prove it mathematically!

Thank You
That's not a correct result.

First solve for ##\ e^{-t/(RC)} \,, \ ## then take the natural log.(Use enough parentheses to so that what you write means what you intend it to mean.)
 
  • #3
For exponential decay i managed to rearrange it and got t=-CRlnvc/Vs from equation Vc=Vse^-t/CR (please tell me its correct)

Its just the 1-e^-t/CR that is confusing me
 
  • #4
SammyS said:
That's not a correct result.

First solve for ##\ e^{-t/(RC)} \,, \ ## then take the natural log.


(Use enough parentheses to so that what you write means what you intend it to mean.)

For exponential decay i managed to rearrange it and got t=-CRlnvc/Vs from equation Vc=Vse^-t/CR (please tell me its correct)

Its just the 1-e^-t/CR that is confusing me
 
  • #5
Hassss said:
For exponential decay i managed to rearrange it and got t=-CRlnvc/Vs from equation Vc=Vse^-t/CR (please tell me its correct)

Its just the 1-e^-t/CR that is confusing me
It's not correct.

Where did the 1 go ?

Vc/Vs = 1 - e-t/(RC) .
 
  • #6
SammyS said:
It's not correct.

Where did the 1 go ?

Vc/Vs = 1 - e-t/(RC) .

For exponential decay the equation does not have a 1- its Vc=Vse^-t/CR rearranged for t=-CRlnvc/Vs

For exponential growth it contains the 1- Vc=Vs(1-e^-t/CR) I need to make t subject for this equation

Its just the 1-e^-t/CR that is confusing me

Ive managed thus so far 1+Vc/Vs=e^-t/CR in regards to logarithm rule I'm not sure what inverse of e^ is that's where I'm stuck
 
  • #7
Dear ssss,

Your problem statement is not the statement of your problem. A clear understanding of the problem might be very helpful for you. Something like:

1. Calculate the time needed to charge an intially uncharged capacitor C over a resistance R to 26 V with a source of 40 V

And the relevant equation might well be
2. Vc=Vs(1-e^-t/CR)

What you call the problem statement only appears in the next phase, usually called:

3. attempt at a solution

I need to rearrange 2 to something that looks like t = blablabla with Vc,Vs, C and R suitably appearing on the righthand side. Then anyone with a slide rule (or, nowadays, an electronic calculator) can do the rest.

Now, having rearranged the post in this - hopefully more meaningful fashion -- what do you think would be the next step to get from 2. to blabla ?

(hint: t=-CRlnVc/Vs is no good blabla, because at t=0 Vc is still 0 and your righthand side blows up! -- or down if that's where minus infinity is).

- - - - - -

Now, you almost admit that you have no affinity with logs, so there is a small chance you have some physics intuition to bring into this quandary and rescue you. If the 26 volt is over the capacitor, how big is the voltage drop over the resistor ? And what is the relevant equation for that Vr if you know the ones for Vs (namely Vs = 40, not much of an equation, but still...) and for Vc ?
 
  • #8
Hassss said:
For exponential decay the equation does not have a 1- its Vc=Vse^-t/CR rearranged for t=-CRlnvc/Vs

For exponential growth it contains the 1- Vc=Vs(1-e^-t/CR) I need to make t subject for this equation

Its just the 1-e^-t/CR that is confusing me

I've managed thus so far 1+Vc/Vs=e^-t/CR in regards to logarithm rule I'm not sure what inverse of e^ is that's where I'm stuck
Maybe I should have said, Make e-t/(CR) the subject of the equation, but making something the subject of an equation is not terminology I usually use.

That result, 1+Vc/Vs=e^-t/(CR)) is not quite right.

It should be
##\displaystyle \ 1-\frac{V_c}{V_s}=e^{-t/(CR)} \ ##​

Now take the natural log (Ln) of both sides of the equation.

By the Way. [itex]\displaystyle \ln\left(1-\frac{V_c}{V_s}\right)[/itex] cannot be simplified.
 
  • #9
Well, I propose 14/40 ...
 
  • #10
SammyS said:
Maybe I should have said, Make e-t/(CR) the subject of the equation, but making something the subject of an equation is not terminology I usually use.

That result, 1+Vc/Vs=e^-t/(CR)) is not quite right.

It should be
##\displaystyle \ 1-\frac{V_c}{V_s}=e^{-t/(CR)} \ ##​

Now take the natural log (Ln) of both sides of the equation.

By the Way. [itex]\displaystyle \ln\left(1-\frac{V_c}{V_s}\right)[/itex] cannot be simplified.

Ive been plugging at the equation again but I've seemed to end up with this as a final.

from Vc=Vs(1-e^-t/CR)
to Vc/Vs=1-e^-t/CR
to ln(1-Vc/Vs) = ln(e^-t/CR)
to ln(1-Vc/Vs)=(-t/CR)
CRln(1-Vc/Vs)=-t
therefore t=-CRln(1-Vc/Vs)


I have tried implementing your advice into this think I've almost cracked it as the answer I'm getting is 10.49 whereas in multisim its 10.49s too so i assume its correct? :redface:

Appreciate your time and advice

hass
 
Last edited:
  • #11
Kind of depends on the values R and C :smile:. OR did I overlook those ?
 
  • #12
BvU said:
Kind of depends on the values R and C :smile:. OR did I overlook those ?

Sorry I never mentioned them.

R=100kOhm
C=100uF

By any chance would anyone know the equation for current during capacitor discharge.

I found this equation in my research but does not seem right at all!

i=Vse^-t/CR

Tells me during capacitor discharge i=15A :eek: Baring in mind Vs=40V

Appreciate any advice

hass
 
  • #13
Hassss said:
Sorry I never mentioned them.

R=100kOhm
C=100uF

By any chance would anyone know the equation for current during capacitor discharge.

I found this equation in my research but does not seem right at all!

i=Vse^-t/CR

The correct equation should be i=(Vs/R)e^-t/CR , where Vs is the initial voltage of the capacitor.

ehild
 
  • #14
ehild said:
The correct equation should be i=(Vs/R)e^-t/CR , where Vs is the initial voltage of the capacitor.

ehild

cheers i just calculated it and got 7.77x10^-4

Also calculating current after discharge. So Vs being voltage after capacitor has discharged or initial voltage before its discharged?

thank you
 
  • #15
Hassss said:
cheers i just calculated it and got 7.77x10^-4

Also calculating current after discharge. So Vs being voltage after capacitor has discharged or initial voltage before its discharged?

thank you

Vs is the source voltage that charges the capacitor. After infinite long time, the voltage of the charged capacitor is the same as the source voltage.

In general, if the initial voltage of the capacitor is Vo, and it is discharged through a resistor R, the the current is I=(Vo/R)e^-t/(RC).

ehild
 
  • #16
ehild said:
Vs is the source voltage that charges the capacitor. After infinite long time, the voltage of the charged capacitor is the same as the source voltage.

In general, if the initial voltage of the capacitor is Vo, and it is discharged through a resistor R, the the current is I=(Vo/R)e^-t/(RC).

ehild

thank you for the clarification

just to ensure is this equation correct for calculating current during capacitor charging i=Vse^-t/RC

regards
 
  • #17
Nope. Current has a different dimension, namely Volt/Ohm ! If battery is Vs and capacitor is Vc then voltage over resistor is (Vs - Vc), hence current is (Vs-Vc)/R !
This is the current that charges the capacitor: Current = charge/time and sure enough charge = Capacitance * Voltage.

We are very close to writing down the differential equation that describes the behaviour, the equation for which you stated the solution already in post #1 !
 

1. What is the formula for calculating the charge/discharge time of a capacitor?

The formula for calculating the charge/discharge time of a capacitor is t = RC, where t is the time in seconds, R is the resistance in ohms, and C is the capacitance in farads.

2. How can I rearrange the charge/discharge equation to solve for resistance?

To solve for resistance, you can rearrange the equation to R = t/C. This will give you the value of resistance in ohms.

3. Can the charge/discharge equation be used for capacitors in parallel?

Yes, the charge/discharge equation can be used for capacitors in parallel. However, the total capacitance in the equation will be the sum of the individual capacitances of the capacitors in parallel.

4. How does the charge/discharge time of a capacitor change with different values of capacitance and resistance?

The charge/discharge time of a capacitor is directly proportional to the product of capacitance and resistance. This means that a larger capacitance or smaller resistance will result in a longer charge/discharge time, while a smaller capacitance or larger resistance will result in a shorter charge/discharge time.

5. Is the charge/discharge equation affected by the type of capacitor used?

The charge/discharge equation is not affected by the type of capacitor used. It is a fundamental equation that applies to all capacitors, regardless of their type or construction.

Similar threads

  • Introductory Physics Homework Help
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
20
Views
3K
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
13
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
8
Views
2K
Back
Top