# RC circuits question

• Engineering
erezb84

## Homework Statement

S1 switch - always close.
S2 switch is closed, until the capacitor voltage reaches 2V.
given: R,C,V values.
V0 = 0V.
Need to find Vout while S1+S2 are closed and until S2 opens.

## Homework Equations

Vc(t) = (Vi - Vf)*(exp -t/TAU) + Vf

## The Attempt at a Solution

I have found the Vc(t) equation (until S2 opens) and got:
Vc(t) = 2/3V1*(1-exp(-3t/5RC))
but now i am alittle bit confused.
can't i tell that by KVL for the large loop (throught S2) each R has V1/3 voltage?
or i can't do it because we are in the charging stage?
thanks.

#### Attachments

• Capture.JPG
8.6 KB · Views: 476

Homework Helper
Gold Member
If S1 is always closed, why show it? It's just a wire ...

erezb84
because in the next question it opens...

Homework Helper
Gold Member
Oh, OK.

Where is V0 and what is V1?

erezb84
V0 is the capacitor initial voltage.
V1 is the source voltage

Homework Helper
Gold Member
Vout = V1(1/2.5 - 1/3)exp(-t/T) + V1/3

T = {R + R||2R}C.

Initially you have C charged to V1 so the Thevenin equivalent is V1 connected to the rest of the circuit by R/2. So Vout(0+) = V1R/(2.5R). At t = ∞ you have C out of the picture so Vout(∞) = V1/3.

You know the output must take the form Vout = a*exp(-t/T) + b. So you fit a and b:
Vout()+) = a + b, V(∞) = b.

Then T is by inspection R + R||2R since that is the total impedance C sees going to hard voltages (impedance = 0).

Homework Helper
Gold Member
V0 is the capacitor initial voltage.
V1 is the source voltage

If V0 is initial capacitor voltage, it is not zero. It is V1.

I assume V1 is constant, -∞ < t < +∞
S1 closed.
S2 open, t < 0 and closed, t > 0.

If this is incorrect you need to define the problem better.

See you in about 8 hrs.

Staff Emeritus