Transcript
Page 1: RC and RL Circuits with Piecewise Constant Sources

RC and RL Circuits with Piecewise Constant Sources

M. B. [email protected]

www.ee.iitb.ac.in/~sequel

Department of Electrical EngineeringIndian Institute of Technology Bombay

M. B. Patil, IIT Bombay

Page 2: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 3: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 4: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 5: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 6: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)

β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 7: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 8: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 9: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 10: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources

C

A

B

v

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

C

A

B

i

v

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + v β†’ VTh = RThCdv

dt+ v β†’ dv

dt+

v

RThC=

VTh

RThC.

* Homogeneous solution:

dv

dt+

1

Ο„v = 0 , where Ο„ = RTh C is the β€œtime constant.”

(V

Coul/secΓ— Coul

V

)β†’ dv

v= βˆ’ dt

Ο„β†’ log v = βˆ’ t

Ο„+ K0 β†’ v (h) = exp [(βˆ’t/Ο„) + K0] = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making i = 0, and we get v (p) = VTh as a particular solution (whichhappens to be simply a constant).

* v = v (h) + v (p) = K exp(βˆ’t/Ο„) + VTh .

* In general, v(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on v .

M. B. Patil, IIT Bombay

Page 11: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources (continued)

C C

A

B

A

B

i

vv

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

RTh

≑ VTh

* If all sources are DC (constant), we havev(t) = A exp(βˆ’t/Ο„) + B , Ο„ = RThC .

* i(t) = Cdv

dt= C Γ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, i β†’ 0, i.e., the capacitor behaves like an open circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 12: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources (continued)

C C

A

B

A

B

i

vv

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

RTh

≑ VTh

* If all sources are DC (constant), we havev(t) = A exp(βˆ’t/Ο„) + B , Ο„ = RThC .

* i(t) = Cdv

dt= C Γ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, i β†’ 0, i.e., the capacitor behaves like an open circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 13: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources (continued)

C C

A

B

A

B

i

vv

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

RTh

≑ VTh

* If all sources are DC (constant), we havev(t) = A exp(βˆ’t/Ο„) + B , Ο„ = RThC .

* i(t) = Cdv

dt= C Γ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, i β†’ 0, i.e., the capacitor behaves like an open circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 14: RC and RL Circuits with Piecewise Constant Sources

RC circuits with DC sources (continued)

C C

A

B

A

B

i

vv

Circuit(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

RTh

≑ VTh

* If all sources are DC (constant), we havev(t) = A exp(βˆ’t/Ο„) + B , Ο„ = RThC .

* i(t) = Cdv

dt= C Γ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, i β†’ 0, i.e., the capacitor behaves like an open circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 15: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)= eβˆ’t/Ο„

t/Ο„ eβˆ’t/Ο„ 1βˆ’ eβˆ’t/Ο„

0.0 1.0 0.0

1.0 0.3679 0.6321

2.0 0.1353 0.8647

3.0 4.9787Γ—10βˆ’2 0.9502

4.0 1.8315Γ—10βˆ’2 0.9817

5.0 6.7379Γ—10βˆ’3 0.9933

* For t/Ο„ = 5, eβˆ’t/Ο„ ' 0, 1βˆ’ eβˆ’t/Ο„ ' 1.

* We can say that the transient lasts for about 5 time constants.

0

1

0 1 2 3 4 5 6

x= t/Ο„

exp(βˆ’x)

1βˆ’ exp(βˆ’x)

M. B. Patil, IIT Bombay

Page 16: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)= eβˆ’t/Ο„

t/Ο„ eβˆ’t/Ο„ 1βˆ’ eβˆ’t/Ο„

0.0 1.0 0.0

1.0 0.3679 0.6321

2.0 0.1353 0.8647

3.0 4.9787Γ—10βˆ’2 0.9502

4.0 1.8315Γ—10βˆ’2 0.9817

5.0 6.7379Γ—10βˆ’3 0.9933

* For t/Ο„ = 5, eβˆ’t/Ο„ ' 0, 1βˆ’ eβˆ’t/Ο„ ' 1.

* We can say that the transient lasts for about 5 time constants.

0

1

0 1 2 3 4 5 6

x= t/Ο„

exp(βˆ’x)

1βˆ’ exp(βˆ’x)

M. B. Patil, IIT Bombay

Page 17: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)= eβˆ’t/Ο„

t/Ο„ eβˆ’t/Ο„ 1βˆ’ eβˆ’t/Ο„

0.0 1.0 0.0

1.0 0.3679 0.6321

2.0 0.1353 0.8647

3.0 4.9787Γ—10βˆ’2 0.9502

4.0 1.8315Γ—10βˆ’2 0.9817

5.0 6.7379Γ—10βˆ’3 0.9933

* For t/Ο„ = 5, eβˆ’t/Ο„ ' 0, 1βˆ’ eβˆ’t/Ο„ ' 1.

* We can say that the transient lasts for about 5 time constants.

0

1

0 1 2 3 4 5 6

x= t/Ο„

exp(βˆ’x)

1βˆ’ exp(βˆ’x)

M. B. Patil, IIT Bombay

Page 18: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)= eβˆ’t/Ο„

t/Ο„ eβˆ’t/Ο„ 1βˆ’ eβˆ’t/Ο„

0.0 1.0 0.0

1.0 0.3679 0.6321

2.0 0.1353 0.8647

3.0 4.9787Γ—10βˆ’2 0.9502

4.0 1.8315Γ—10βˆ’2 0.9817

5.0 6.7379Γ—10βˆ’3 0.9933

* For t/Ο„ = 5, eβˆ’t/Ο„ ' 0, 1βˆ’ eβˆ’t/Ο„ ' 1.

* We can say that the transient lasts for about 5 time constants.

0

1

0 1 2 3 4 5 6

x= t/Ο„

exp(βˆ’x)

1βˆ’ exp(βˆ’x)

M. B. Patil, IIT Bombay

Page 19: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 20: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 21: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 22: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 23: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 24: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 25: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 26: RC and RL Circuits with Piecewise Constant Sources

Plot of f (t)=Aeβˆ’t/Ο„ + B

* At t = 0, f =A + B.

* As t β†’βˆž, f β†’ B.

* The graph of f (t) lies between (A + B) and B.

Note: If A > 0, A + B > B. If A < 0, A + B < B.

* At t = 0,df

dt= Aeβˆ’t/Ο„

(βˆ’ 1

Ο„

)= βˆ’ A

Ο„.

If A > 0, the derivative (slope) at t = 0 is negative; else, it is positive.

* As t β†’βˆž,df

dt→ 0, i.e., f becomes constant (equal to B).

0 5 Ο„ t

A < 0

A+ B

B

0 5 Ο„ t

A > 0

A+ B

B

M. B. Patil, IIT Bombay

Page 27: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 28: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 29: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 30: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 31: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 32: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 33: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 34: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L

i

v

A

B

L

RTh

≑ VTh

* If all sources are DC (constant), VTh = constant .

* KVL: VTh = RTh i + Ldi

dt.

* Homogeneous solution:

di

dt+

1

Ο„i = 0 , where Ο„ = L/RTh

β†’ i (h) = K exp(βˆ’t/Ο„) .

* Particular solution is a specific function that satisfies the differential equation. We know that all timederivatives will vanish as t β†’βˆž , making v = 0, and we get i (p) = VTh/RTh as a particular solution(which happens to be simply a constant).

* i = i (h) + i (p) = K exp(βˆ’t/Ο„) + VTh/RTh .

* In general, i(t) = A exp(βˆ’t/Ο„) + B , where A and B can be obtained from known conditions on i .

M. B. Patil, IIT Bombay

Page 35: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources (continued)

i

v

A

B

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L L

RTh

≑ VTh

* If all sources are DC (constant), we havei(t) = A exp(βˆ’t/Ο„) + B , Ο„ = L/RTh .

* v(t) = Ldi

dt= LΓ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, v β†’ 0, i.e., the inductor behaves like a short circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 36: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources (continued)

i

v

A

B

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L L

RTh

≑ VTh

* If all sources are DC (constant), we havei(t) = A exp(βˆ’t/Ο„) + B , Ο„ = L/RTh .

* v(t) = Ldi

dt= LΓ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, v β†’ 0, i.e., the inductor behaves like a short circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 37: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources (continued)

i

v

A

B

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L L

RTh

≑ VTh

* If all sources are DC (constant), we havei(t) = A exp(βˆ’t/Ο„) + B , Ο„ = L/RTh .

* v(t) = Ldi

dt= LΓ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, v β†’ 0, i.e., the inductor behaves like a short circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 38: RC and RL Circuits with Piecewise Constant Sources

RL circuits with DC sources (continued)

i

v

A

B

v

CircuitA

B

(resistors,voltage sources,current sources,CCVS, CCCS,VCVS, VCCS)

i

L L

RTh

≑ VTh

* If all sources are DC (constant), we havei(t) = A exp(βˆ’t/Ο„) + B , Ο„ = L/RTh .

* v(t) = Ldi

dt= LΓ— A exp(βˆ’t/Ο„)

(βˆ’ 1

Ο„

)≑ Aβ€² exp(βˆ’t/Ο„) .

* As t β†’βˆž, v β†’ 0, i.e., the inductor behaves like a short circuit since all derivatives vanish.

* Since the circuit in the black box is linear, any variable (current or voltage) in the circuit can beexpressed asx(t) = K1 exp(βˆ’t/Ο„) + K2 ,where K1 and K2 can be obtained from suitable conditions on x(t).

M. B. Patil, IIT Bombay

Page 39: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 40: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 41: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 42: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 43: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 44: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 45: RC and RL Circuits with Piecewise Constant Sources

RC circuits: Can Vc change β€œsuddenly?”

i

0 V t

5 V

Vs

Vs

C= 1Β΅FVc

R= 1 k

Vc(0)= 0V

* Vs changes from 0V (at t = 0βˆ’), to 5V (at t = 0+). As a result of this change, Vc will rise. How fastcan Vc change?

* For example, what would happen if Vc changes by 1V in 1Β΅s at a constant rate of 1V /1Β΅s = 106 V /s?

* i = CdVc

dt= 1Β΅F Γ— 106 V

s= 1A .

* With i = 1A, the voltage drop across R would be 1000V ! Not allowed by KVL.

* We conclude that Vc (0+) =Vc (0βˆ’)β‡’ A capacitor does not allow abrupt changes in Vc if there is a finiteresistance in the circuit.

* Similarly, an inductor does not allow abrupt changes in iL.

M. B. Patil, IIT Bombay

Page 46: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 47: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 48: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 49: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 50: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 51: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 52: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 53: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 54: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 55: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

R

Vs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

v(0βˆ’) = Vs(0βˆ’) = 0 V

v(0+) ≃ v(0βˆ’) = 0 V

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = V0

Imposing (1) and (2) on Eq. (A), we get

i.e., B = V0 ,A = βˆ’V0

t = 0+: 0 = A+ B ,

t β†’ ∞: V0 = B .

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

0 V

i

t

Cv

RVs

Vs

V0

(A)Let v(t) = A exp(βˆ’t/Ο„) + B, t > 0

(1)

(2)

Conditions on v(t):

Note that we need the condition at 0+ (and not at 0βˆ’)

because Eq. (A) applies only for t > 0.

v(0βˆ’) = Vs(0βˆ’) = V0

v(0+) ≃ v(0βˆ’) = V0

As t β†’ ∞ , i β†’ 0 β†’ v(∞) = Vs(∞) = 0 V

Imposing (1) and (2) on Eq. (A), we get

t = 0+: V0 = A+ B ,

i.e., A = V0 ,B = 0

t β†’ ∞: 0 = B .

v(t) = V0 exp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 56: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [1βˆ’ exp(βˆ’t/Ο„)]

=CV0

Ο„exp(βˆ’t/Ο„) =

V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t = 0+: v = 0 , Vs = V0 β‡’ i(0+) = V0/R .

t β†’ ∞: i(t) = 0 .

Aβ€² =V0

R, Bβ€² = 0 β‡’ i(t) =

V0

Rexp(βˆ’t/Ο„)

0 V

i

t

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [exp(βˆ’t/Ο„)]

= βˆ’CV0

Ο„exp(βˆ’t/Ο„) = βˆ’V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t β†’ ∞: i(t) = 0 .

t = 0+: v = V0 , Vs = 0 β‡’ i(0+) = βˆ’V0/R .

Aβ€² = βˆ’V0

R, Bβ€² = 0 β‡’ i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 57: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [1βˆ’ exp(βˆ’t/Ο„)]

=CV0

Ο„exp(βˆ’t/Ο„) =

V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t = 0+: v = 0 , Vs = V0 β‡’ i(0+) = V0/R .

t β†’ ∞: i(t) = 0 .

Aβ€² =V0

R, Bβ€² = 0 β‡’ i(t) =

V0

Rexp(βˆ’t/Ο„)

0 V

i

t

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [exp(βˆ’t/Ο„)]

= βˆ’CV0

Ο„exp(βˆ’t/Ο„) = βˆ’V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t β†’ ∞: i(t) = 0 .

t = 0+: v = V0 , Vs = 0 β‡’ i(0+) = βˆ’V0/R .

Aβ€² = βˆ’V0

R, Bβ€² = 0 β‡’ i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 58: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [1βˆ’ exp(βˆ’t/Ο„)]

=CV0

Ο„exp(βˆ’t/Ο„) =

V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t = 0+: v = 0 , Vs = V0 β‡’ i(0+) = V0/R .

t β†’ ∞: i(t) = 0 .

Aβ€² =V0

R, Bβ€² = 0 β‡’ i(t) =

V0

Rexp(βˆ’t/Ο„)

0 V

i

t

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [exp(βˆ’t/Ο„)]

= βˆ’CV0

Ο„exp(βˆ’t/Ο„) = βˆ’V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t β†’ ∞: i(t) = 0 .

t = 0+: v = V0 , Vs = 0 β‡’ i(0+) = βˆ’V0/R .

Aβ€² = βˆ’V0

R, Bβ€² = 0 β‡’ i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 59: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [1βˆ’ exp(βˆ’t/Ο„)]

=CV0

Ο„exp(βˆ’t/Ο„) =

V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t = 0+: v = 0 , Vs = V0 β‡’ i(0+) = V0/R .

t β†’ ∞: i(t) = 0 .

Aβ€² =V0

R, Bβ€² = 0 β‡’ i(t) =

V0

Rexp(βˆ’t/Ο„)

0 V

i

t

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [exp(βˆ’t/Ο„)]

= βˆ’CV0

Ο„exp(βˆ’t/Ο„) = βˆ’V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t β†’ ∞: i(t) = 0 .

t = 0+: v = V0 , Vs = 0 β‡’ i(0+) = βˆ’V0/R .

Aβ€² = βˆ’V0

R, Bβ€² = 0 β‡’ i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 60: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [1βˆ’ exp(βˆ’t/Ο„)]

=CV0

Ο„exp(βˆ’t/Ο„) =

V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t = 0+: v = 0 , Vs = V0 β‡’ i(0+) = V0/R .

t β†’ ∞: i(t) = 0 .

Aβ€² =V0

R, Bβ€² = 0 β‡’ i(t) =

V0

Rexp(βˆ’t/Ο„)

0 V

i

t

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [exp(βˆ’t/Ο„)]

= βˆ’CV0

Ο„exp(βˆ’t/Ο„) = βˆ’V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t β†’ ∞: i(t) = 0 .

t = 0+: v = V0 , Vs = 0 β‡’ i(0+) = βˆ’V0/R .

Aβ€² = βˆ’V0

R, Bβ€² = 0 β‡’ i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 61: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [1βˆ’ exp(βˆ’t/Ο„)]

=CV0

Ο„exp(βˆ’t/Ο„) =

V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t = 0+: v = 0 , Vs = V0 β‡’ i(0+) = V0/R .

t β†’ ∞: i(t) = 0 .

Aβ€² =V0

R, Bβ€² = 0 β‡’ i(t) =

V0

Rexp(βˆ’t/Ο„)

0 V

i

t

Cv

RVs

Vs

V0

Compute i(t), t > 0 .

(A) i(t) = Cd

dtV0 [exp(βˆ’t/Ο„)]

= βˆ’CV0

Ο„exp(βˆ’t/Ο„) = βˆ’V0

Rexp(βˆ’t/Ο„)

Using these conditions, we obtain

(B) Let i(t) = Aβ€² exp(βˆ’t/Ο„) + Bβ€² , t > 0 .

t β†’ ∞: i(t) = 0 .

t = 0+: v = V0 , Vs = 0 β‡’ i(0+) = βˆ’V0/R .

Aβ€² = βˆ’V0

R, Bβ€² = 0 β‡’ i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

M. B. Patil, IIT Bombay

Page 62: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

C= 1Β΅Fv

R=1 kVs

Vs5 V

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

i(t) =V0

Rexp(βˆ’t/Ο„)

0

5

v (

Vo

lts) v

Vs

5

0

i (m

A)

time (msec)

βˆ’2 0 2 4 6 8

t0 V

i

C1Β΅F

v

R=1 kVs

Vs5 V

v(t) = V0 exp(βˆ’t/Ο„)

i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

v (

Vo

lts)

5

0

v

Vs

i (m

A)

0

βˆ’5

time (msec)

βˆ’2 0 2 4 6 8

M. B. Patil, IIT Bombay

Page 63: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

C= 1Β΅Fv

R=1 kVs

Vs5 V

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

i(t) =V0

Rexp(βˆ’t/Ο„)

0

5

v (

Vo

lts) v

Vs

5

0

i (m

A)

time (msec)

βˆ’2 0 2 4 6 8

t0 V

i

C1Β΅F

v

R=1 kVs

Vs5 V

v(t) = V0 exp(βˆ’t/Ο„)

i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

v (

Vo

lts)

5

0

v

Vs

i (m

A)

0

βˆ’5

time (msec)

βˆ’2 0 2 4 6 8

M. B. Patil, IIT Bombay

Page 64: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

C= 1Β΅Fv

R=1 kVs

Vs5 V

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

i(t) =V0

Rexp(βˆ’t/Ο„)

0

5

v (

Vo

lts) v

Vs

5

0

i (m

A)

time (msec)

βˆ’2 0 2 4 6 8

t0 V

i

C1Β΅F

v

R=1 kVs

Vs5 V

v(t) = V0 exp(βˆ’t/Ο„)

i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

v (

Vo

lts)

5

0

v

Vs

i (m

A)

0

βˆ’5

time (msec)

βˆ’2 0 2 4 6 8

M. B. Patil, IIT Bombay

Page 65: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

C= 1Β΅Fv

R=1 kVs

Vs5 V

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

i(t) =V0

Rexp(βˆ’t/Ο„)

0

5

v (

Vo

lts) v

Vs

5

0

i (m

A)

time (msec)

βˆ’2 0 2 4 6 8

t0 V

i

C1Β΅F

v

R=1 kVs

Vs5 V

v(t) = V0 exp(βˆ’t/Ο„)

i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

v (

Vo

lts)

5

0

v

Vs

i (m

A)

0

βˆ’5

time (msec)

βˆ’2 0 2 4 6 8

M. B. Patil, IIT Bombay

Page 66: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

C= 1Β΅Fv

R=1 kVs

Vs5 V

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

i(t) =V0

Rexp(βˆ’t/Ο„)

0

5

v (

Vo

lts) v

Vs

5

0

i (m

A)

time (msec)

βˆ’2 0 2 4 6 8

t0 V

i

C1Β΅F

v

R=1 kVs

Vs5 V

v(t) = V0 exp(βˆ’t/Ο„)

i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

v (

Vo

lts)

5

0

v

Vs

i (m

A)

0

βˆ’5

time (msec)

βˆ’2 0 2 4 6 8

M. B. Patil, IIT Bombay

Page 67: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

t0 V

i

C= 1Β΅Fv

R=1 kVs

Vs5 V

v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

i(t) =V0

Rexp(βˆ’t/Ο„)

0

5

v (

Vo

lts) v

Vs

5

0

i (m

A)

time (msec)

βˆ’2 0 2 4 6 8

t0 V

i

C1Β΅F

v

R=1 kVs

Vs5 V

v(t) = V0 exp(βˆ’t/Ο„)

i(t) = βˆ’V0

Rexp(βˆ’t/Ο„)

v (

Vo

lts)

5

0

v

Vs

i (m

A)

0

βˆ’5

time (msec)

βˆ’2 0 2 4 6 8

M. B. Patil, IIT Bombay

Page 68: RC and RL Circuits with Piecewise Constant Sources

RC circuits: charging and discharging transients

0 V 0 V

0

5

v (

Volts)

v (

Volts)

5

0

i i

t t

time (msec) time (msec)βˆ’1 0 1 2 3 4 5 6 βˆ’1 0 1 2 3 4 5 6

C= 1Β΅F C= 1Β΅Fv v

R RVs Vs

Vs Vs5 V 5 V

R = 1 kΞ©

R = 100 Ξ©

R = 1 kΞ©

R = 100 Ξ©

v(t) = V0 exp(βˆ’t/Ο„)v(t) = V0 [1βˆ’ exp(βˆ’t/Ο„)]

M. B. Patil, IIT Bombay

Page 69: RC and RL Circuits with Piecewise Constant Sources

Analysis of RC/RL circuits with a piece-wise constant source

* Identify intervals in which the source voltages/currents are constant.For example,

(1) t < t1

(3) t > t2

(2) t1 < t < t2

t1 t2

Vs

0 t

* For any current or voltage x(t), write general expressions such as,x(t) = A1 exp(βˆ’t/Ο„) + B1 , t < t1 ,x(t) = A2 exp(βˆ’t/Ο„) + B2 , t1 < t < t2 ,x(t) = A3 exp(βˆ’t/Ο„) + B3 , t > t2 .

* Work out suitable conditions on x(t) at specific time points using

(a) If the source voltage/current has not changed for a β€œlong” time(long compared to Ο„), all derivatives are zero.

β‡’ iC = CdVc

dt= 0 , and VL = L

diL

dt= 0 .

(b) When a source voltage (or current) changes, say, at t = t0 ,Vc (t) or iL(t) cannot change abruptly, i.e.,

Vc (t+0 ) = Vc (tβˆ’0 ) , and iL(t+

0 ) = iL(tβˆ’0 ) .

* Compute A1, B1, Β· Β· Β· using the conditions on x(t).

M. B. Patil, IIT Bombay

Page 70: RC and RL Circuits with Piecewise Constant Sources

Analysis of RC/RL circuits with a piece-wise constant source

* Identify intervals in which the source voltages/currents are constant.For example,

(1) t < t1

(3) t > t2

(2) t1 < t < t2

t1 t2

Vs

0 t

* For any current or voltage x(t), write general expressions such as,x(t) = A1 exp(βˆ’t/Ο„) + B1 , t < t1 ,x(t) = A2 exp(βˆ’t/Ο„) + B2 , t1 < t < t2 ,x(t) = A3 exp(βˆ’t/Ο„) + B3 , t > t2 .

* Work out suitable conditions on x(t) at specific time points using

(a) If the source voltage/current has not changed for a β€œlong” time(long compared to Ο„), all derivatives are zero.

β‡’ iC = CdVc

dt= 0 , and VL = L

diL

dt= 0 .

(b) When a source voltage (or current) changes, say, at t = t0 ,Vc (t) or iL(t) cannot change abruptly, i.e.,

Vc (t+0 ) = Vc (tβˆ’0 ) , and iL(t+

0 ) = iL(tβˆ’0 ) .

* Compute A1, B1, Β· Β· Β· using the conditions on x(t).

M. B. Patil, IIT Bombay

Page 71: RC and RL Circuits with Piecewise Constant Sources

Analysis of RC/RL circuits with a piece-wise constant source

* Identify intervals in which the source voltages/currents are constant.For example,

(1) t < t1

(3) t > t2

(2) t1 < t < t2

t1 t2

Vs

0 t

* For any current or voltage x(t), write general expressions such as,x(t) = A1 exp(βˆ’t/Ο„) + B1 , t < t1 ,x(t) = A2 exp(βˆ’t/Ο„) + B2 , t1 < t < t2 ,x(t) = A3 exp(βˆ’t/Ο„) + B3 , t > t2 .

* Work out suitable conditions on x(t) at specific time points using

(a) If the source voltage/current has not changed for a β€œlong” time(long compared to Ο„), all derivatives are zero.

β‡’ iC = CdVc

dt= 0 , and VL = L

diL

dt= 0 .

(b) When a source voltage (or current) changes, say, at t = t0 ,Vc (t) or iL(t) cannot change abruptly, i.e.,

Vc (t+0 ) = Vc (tβˆ’0 ) , and iL(t+

0 ) = iL(tβˆ’0 ) .

* Compute A1, B1, Β· Β· Β· using the conditions on x(t).

M. B. Patil, IIT Bombay

Page 72: RC and RL Circuits with Piecewise Constant Sources

Analysis of RC/RL circuits with a piece-wise constant source

* Identify intervals in which the source voltages/currents are constant.For example,

(1) t < t1

(3) t > t2

(2) t1 < t < t2

t1 t2

Vs

0 t

* For any current or voltage x(t), write general expressions such as,x(t) = A1 exp(βˆ’t/Ο„) + B1 , t < t1 ,x(t) = A2 exp(βˆ’t/Ο„) + B2 , t1 < t < t2 ,x(t) = A3 exp(βˆ’t/Ο„) + B3 , t > t2 .

* Work out suitable conditions on x(t) at specific time points using

(a) If the source voltage/current has not changed for a β€œlong” time(long compared to Ο„), all derivatives are zero.

β‡’ iC = CdVc

dt= 0 , and VL = L

diL

dt= 0 .

(b) When a source voltage (or current) changes, say, at t = t0 ,Vc (t) or iL(t) cannot change abruptly, i.e.,

Vc (t+0 ) = Vc (tβˆ’0 ) , and iL(t+

0 ) = iL(tβˆ’0 ) .

* Compute A1, B1, Β· Β· Β· using the conditions on x(t).

M. B. Patil, IIT Bombay

Page 73: RC and RL Circuits with Piecewise Constant Sources

Analysis of RC/RL circuits with a piece-wise constant source

* Identify intervals in which the source voltages/currents are constant.For example,

(1) t < t1

(3) t > t2

(2) t1 < t < t2

t1 t2

Vs

0 t

* For any current or voltage x(t), write general expressions such as,x(t) = A1 exp(βˆ’t/Ο„) + B1 , t < t1 ,x(t) = A2 exp(βˆ’t/Ο„) + B2 , t1 < t < t2 ,x(t) = A3 exp(βˆ’t/Ο„) + B3 , t > t2 .

* Work out suitable conditions on x(t) at specific time points using

(a) If the source voltage/current has not changed for a β€œlong” time(long compared to Ο„), all derivatives are zero.

β‡’ iC = CdVc

dt= 0 , and VL = L

diL

dt= 0 .

(b) When a source voltage (or current) changes, say, at t = t0 ,Vc (t) or iL(t) cannot change abruptly, i.e.,

Vc (t+0 ) = Vc (tβˆ’0 ) , and iL(t+

0 ) = iL(tβˆ’0 ) .

* Compute A1, B1, Β· Β· Β· using the conditions on x(t).

M. B. Patil, IIT Bombay

Page 74: RC and RL Circuits with Piecewise Constant Sources

Analysis of RC/RL circuits with a piece-wise constant source

* Identify intervals in which the source voltages/currents are constant.For example,

(1) t < t1

(3) t > t2

(2) t1 < t < t2

t1 t2

Vs

0 t

* For any current or voltage x(t), write general expressions such as,x(t) = A1 exp(βˆ’t/Ο„) + B1 , t < t1 ,x(t) = A2 exp(βˆ’t/Ο„) + B2 , t1 < t < t2 ,x(t) = A3 exp(βˆ’t/Ο„) + B3 , t > t2 .

* Work out suitable conditions on x(t) at specific time points using

(a) If the source voltage/current has not changed for a β€œlong” time(long compared to Ο„), all derivatives are zero.

β‡’ iC = CdVc

dt= 0 , and VL = L

diL

dt= 0 .

(b) When a source voltage (or current) changes, say, at t = t0 ,Vc (t) or iL(t) cannot change abruptly, i.e.,

Vc (t+0 ) = Vc (tβˆ’0 ) , and iL(t+

0 ) = iL(tβˆ’0 ) .

* Compute A1, B1, Β· Β· Β· using the conditions on x(t).

M. B. Patil, IIT Bombay

Page 75: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

t0 t1

R2

R1

Vs

Vs

R1= 10Ξ©

R2= 40Ξ©

L= 0.8H

t0=0

t1=0.1 s

Find i(t).

(1) t < t0

(2) t0 < t < t1

(3) t > t1

There are three intervals of constant Vs:

R2

R1

Vs

RTh seen by L is the same in all intervals:

Ο„ = L/RTh

= 0.1 s

= 0.8 H/8Ξ©

RTh = R1 β€– R2 = 8Ξ©

β‡’ i(tβˆ’0 ) = 0 A β‡’ i(t+0 ) = 0 A .

At t = tβˆ’0 , v = 0 V, Vs = 0 V .

10 V

t

v(∞) = 0 V, i(∞) = 10 V/10 Ω = 1 A .

If Vs did not change at t = t1,

we would have

t1t0

Vs

i(t), t > 0 (See next slide).

Using i(t+0 ) and i(∞), we can obtain

M. B. Patil, IIT Bombay

Page 76: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

t0 t1

R2

R1

Vs

Vs

R1= 10Ξ©

R2= 40Ξ©

L= 0.8H

t0=0

t1=0.1 s

Find i(t).

(1) t < t0

(2) t0 < t < t1

(3) t > t1

There are three intervals of constant Vs:

R2

R1

Vs

RTh seen by L is the same in all intervals:

Ο„ = L/RTh

= 0.1 s

= 0.8 H/8Ξ©

RTh = R1 β€– R2 = 8Ξ©

β‡’ i(tβˆ’0 ) = 0 A β‡’ i(t+0 ) = 0 A .

At t = tβˆ’0 , v = 0 V, Vs = 0 V .

10 V

t

v(∞) = 0 V, i(∞) = 10 V/10 Ω = 1 A .

If Vs did not change at t = t1,

we would have

t1t0

Vs

i(t), t > 0 (See next slide).

Using i(t+0 ) and i(∞), we can obtain

M. B. Patil, IIT Bombay

Page 77: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

t0 t1

R2

R1

Vs

Vs

R1= 10Ξ©

R2= 40Ξ©

L= 0.8H

t0=0

t1=0.1 s

Find i(t).

(1) t < t0

(2) t0 < t < t1

(3) t > t1

There are three intervals of constant Vs:

R2

R1

Vs

RTh seen by L is the same in all intervals:

Ο„ = L/RTh

= 0.1 s

= 0.8 H/8Ξ©

RTh = R1 β€– R2 = 8Ξ©

β‡’ i(tβˆ’0 ) = 0 A β‡’ i(t+0 ) = 0 A .

At t = tβˆ’0 , v = 0 V, Vs = 0 V .

10 V

t

v(∞) = 0 V, i(∞) = 10 V/10 Ω = 1 A .

If Vs did not change at t = t1,

we would have

t1t0

Vs

i(t), t > 0 (See next slide).

Using i(t+0 ) and i(∞), we can obtain

M. B. Patil, IIT Bombay

Page 78: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

t0 t1

R2

R1

Vs

Vs

R1= 10Ξ©

R2= 40Ξ©

L= 0.8H

t0=0

t1=0.1 s

Find i(t).

(1) t < t0

(2) t0 < t < t1

(3) t > t1

There are three intervals of constant Vs:

R2

R1

Vs

RTh seen by L is the same in all intervals:

Ο„ = L/RTh

= 0.1 s

= 0.8 H/8Ξ©

RTh = R1 β€– R2 = 8Ξ©

β‡’ i(tβˆ’0 ) = 0 A β‡’ i(t+0 ) = 0 A .

At t = tβˆ’0 , v = 0 V, Vs = 0 V .

10 V

t

v(∞) = 0 V, i(∞) = 10 V/10 Ω = 1 A .

If Vs did not change at t = t1,

we would have

t1t0

Vs

i(t), t > 0 (See next slide).

Using i(t+0 ) and i(∞), we can obtain

M. B. Patil, IIT Bombay

Page 79: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

t0 t1

R2

R1

Vs

Vs

R1= 10Ξ©

R2= 40Ξ©

L= 0.8H

t0=0

t1=0.1 s

Find i(t).

(1) t < t0

(2) t0 < t < t1

(3) t > t1

There are three intervals of constant Vs:

R2

R1

Vs

RTh seen by L is the same in all intervals:

Ο„ = L/RTh

= 0.1 s

= 0.8 H/8Ξ©

RTh = R1 β€– R2 = 8Ξ©

β‡’ i(tβˆ’0 ) = 0 A β‡’ i(t+0 ) = 0 A .

At t = tβˆ’0 , v = 0 V, Vs = 0 V .

10 V

t

v(∞) = 0 V, i(∞) = 10 V/10 Ω = 1 A .

If Vs did not change at t = t1,

we would have

t1t0

Vs

i(t), t > 0 (See next slide).

Using i(t+0 ) and i(∞), we can obtain

M. B. Patil, IIT Bombay

Page 80: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

t0 t1

R2

R1

Vs

Vs

R1= 10Ξ©

R2= 40Ξ©

L= 0.8H

t0=0

t1=0.1 s

Find i(t).

(1) t < t0

(2) t0 < t < t1

(3) t > t1

There are three intervals of constant Vs:

R2

R1

Vs

RTh seen by L is the same in all intervals:

Ο„ = L/RTh

= 0.1 s

= 0.8 H/8Ξ©

RTh = R1 β€– R2 = 8Ξ©

β‡’ i(tβˆ’0 ) = 0 A β‡’ i(t+0 ) = 0 A .

At t = tβˆ’0 , v = 0 V, Vs = 0 V .

10 V

t

v(∞) = 0 V, i(∞) = 10 V/10 Ω = 1 A .

If Vs did not change at t = t1,

we would have

t1t0

Vs

i(t), t > 0 (See next slide).

Using i(t+0 ) and i(∞), we can obtain

M. B. Patil, IIT Bombay

Page 81: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 82: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 83: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 84: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 85: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 86: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 87: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

and we need to work out the

solution for t > t1 separately.

In reality, Vs changes at t = t1,

Consider t > t1.

For t0 < t < t1, i(t) = 1βˆ’ exp(βˆ’t/Ο„) Amp.

i(t+1 ) = i(tβˆ’1 ) = 1βˆ’ eβˆ’1 = 0.632 A (Note: t1/Ο„ = 1).

i(∞) = 0 A.

Let i(t) = A exp(βˆ’t/Ο„) + B.

It is convenient to rewrite i(t) as

i(t) = Aβ€² exp[βˆ’(tβˆ’ t1)/Ο„ ] + B.

Using i(t+1 ) and i(∞), we get

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

M. B. Patil, IIT Bombay

Page 88: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

(SEQUEL file: ee101_rl1.sqproj)

0 0.2 0.4 0.6 0.8

0

1

i (A

mp)

time (sec)

Combining the solutions for t0 < t < t1 and t > t1,

we get

M. B. Patil, IIT Bombay

Page 89: RC and RL Circuits with Piecewise Constant Sources

RL circuit: example

i

v

t

10 V

0 0.2 0.4 0.6 0.8

i (A

mp)

1

0

time (sec)

i(t) = 0.632 exp[βˆ’(tβˆ’ t1)/Ο„ ] A.

t1t0

R2

R1

Vs

Vs

R1 = 10Ξ©

R2 = 40Ξ©

L = 0.8H

t0 = 0

t1 = 0.1 s

(SEQUEL file: ee101_rl1.sqproj)

0 0.2 0.4 0.6 0.8

0

1

i (A

mp)

time (sec)

Combining the solutions for t0 < t < t1 and t > t1,

we get

M. B. Patil, IIT Bombay

Page 90: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 91: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 92: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 93: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 94: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 95: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 96: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 97: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5

βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 98: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 99: RC and RL Circuits with Piecewise Constant Sources

RC circuit: The switch has been closed for a long time and opens at t = 0.

t=0i

5 k 1 k

6 V

R2R1

ic

R3=5k

vc5 Β΅F

AND

i i

5 k1 k

5 k

5 k

5 k

6 V

ic

t < 0

ic

vc

t > 0

vc5Β΅F 5Β΅F

t = 0βˆ’: capacitor is an open circuit β‡’ i(0βˆ’) = 6 V/(5 k+ 1 k) = 1 mA.

vc(0βˆ’) = i(0βˆ’)R1 = 5V β‡’ vc(0

+) = 5V

β‡’ i(0+) = 5 V/(5 k+ 5 k) = 0.5 mA.

Let i(t) = Aexp(-t/Ο„) + B for t > 0, with Ο„ = 10 kΓ— 5Β΅F = 50 ms.

i(t) = 0.5 exp(-t/Ο„) mA.

Using i(0+) and i(∞) = 0 A, we get

0

1

time (sec)

i (mA)

0 0.5βˆ’0.5

0

0

5

time (sec)

time (sec)

0 0.5 0 0.5

ic (mA)vc (V)

(SEQUEL file: ee101_rc2.sqproj)

M. B. Patil, IIT Bombay

Page 100: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

i C(m

A)

VS,V

C(Volts)Vc

5 k

iC

C1Β΅F

2

1

βˆ’1

0

10

0

0 2010 30 40 50

t (msec)

Find expressions for VC (t) and iC (t) insteady state (in terms of R, C , V0, T1,T2).

V0

0T1 T2

M. B. Patil, IIT Bombay

Page 101: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

i C(m

A)

VS,V

C(Volts)Vc

5 k

iC

C1Β΅F

2

1

βˆ’1

0

10

0

0 2010 30 40 50

t (msec)

Find expressions for VC (t) and iC (t) insteady state (in terms of R, C , V0, T1,T2).

V0

0T1 T2

M. B. Patil, IIT Bombay

Page 102: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 103: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 104: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 105: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 106: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 107: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 108: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 109: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 110: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 111: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 112: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 113: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 114: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 115: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 116: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 117: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

0 < t < T1 Let V(1)C (t) = Aeβˆ’t/Ο„ + B

V(1)C (0) = V1, V

(1)C (∞) = V0

β†’ B = V0, A = V1 βˆ’ V0.

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0 (1)

T1 < t < T2 Let V(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

V(2)C (T1) = V2, V

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = V2 eT1/Ο„ .

V(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

V(1)C (T1) = V2, V

(2)C (T1 + T2) = V1.

V2 = βˆ’(V0 βˆ’ V1)eβˆ’T1/Ο„ + V0 (3)

V1 = V2eβˆ’(T1+T2βˆ’T1)/Ο„ = V2eβˆ’T2/Ο„ (4)

Rewrite with a ≑ eβˆ’T1/Ο„ , b ≑ eβˆ’T2/Ο„ .

V2 = βˆ’(V0 βˆ’ V1)a + V0 (5)

V1 = b V2 (6)

Solve to get

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab

M. B. Patil, IIT Bombay

Page 118: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab, with a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ .

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0, V

(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ .

Current calculation:

Method 1:

iC (t) = CdVC

dt(home work)

Method 2:

Start from scratch!

STOP

M. B. Patil, IIT Bombay

Page 119: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab, with a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ .

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0, V

(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ .

Current calculation:

Method 1:

iC (t) = CdVC

dt(home work)

Method 2:

Start from scratch!

STOP

M. B. Patil, IIT Bombay

Page 120: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab, with a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ .

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0, V

(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ .

Current calculation:

Method 1:

iC (t) = CdVC

dt(home work)

Method 2:

Start from scratch!

STOP

M. B. Patil, IIT Bombay

Page 121: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab, with a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ .

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0, V

(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ .

Current calculation:

Method 1:

iC (t) = CdVC

dt(home work)

Method 2:

Start from scratch!

STOP

M. B. Patil, IIT Bombay

Page 122: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab, with a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ .

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0, V

(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ .

Current calculation:

Method 1:

iC (t) = CdVC

dt(home work)

Method 2:

Start from scratch!

STOP

M. B. Patil, IIT Bombay

Page 123: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0

T1 T2

T1 T2

V1 = b V01βˆ’ a

1βˆ’ ab, V2 = V0

1βˆ’ a

1βˆ’ ab, with a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ .

V(1)C (t) = βˆ’(V0 βˆ’ V1)eβˆ’t/Ο„ + V0, V

(2)C (t) = V2eβˆ’(tβˆ’T1)/Ο„ .

Current calculation:

Method 1:

iC (t) = CdVC

dt(home work)

Method 2:

Start from scratch!

STOP

M. B. Patil, IIT Bombay

Page 124: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 125: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 126: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 127: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 128: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 129: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 130: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 131: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 132: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 133: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 134: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 135: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 136: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 137: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 138: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )

M. B. Patil, IIT Bombay

Page 139: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

VS

R

C Vc

iC

0

I1

βˆ’I2

iCβˆ†

VC

VS

V0

V2

V1

0T1 T2

T1 T2

βˆ†

0 < t < T1 Let i(1)C (t) = Aeβˆ’t/Ο„ + B

i(1)C (0) = I1, i

(1)C (∞) = 0

β†’ B = 0, A = I1.

i(1)C (t) = I1eβˆ’t/Ο„ (1)

T1 < t < T2 Let i(2)C (t) = Aβ€² eβˆ’t/Ο„ + Bβ€²

i(2)C (T1) = βˆ’I2, i

(2)C (∞) = 0

β†’ Bβ€² = 0, Aβ€² = βˆ’I2 eT1/Ο„ .

i(2)C (t) = βˆ’I2eβˆ’(tβˆ’T1)/Ο„ (2)

Now use the conditions:

i(1)C (T1)βˆ’ i

(2)C (T1) = βˆ† = V0/R,

i(1)C (0)βˆ’ i

(2)C (T1 + T2) = βˆ† = V0/R.

I1eβˆ’T1/Ο„ βˆ’ (βˆ’I2) = βˆ† (3)

I1 βˆ’ (βˆ’I2eβˆ’(T1+T2βˆ’T1)/Ο„ ) = βˆ† (4)

a I1 + I2 = βˆ† (5)

I1 + b I2 = βˆ† (6)

Solve to get

I1 = βˆ†1βˆ’ b

1βˆ’ ab, I2 = βˆ†

1βˆ’ a

1βˆ’ ab

(a = eβˆ’T1/Ο„ , b = eβˆ’T2/Ο„ )M. B. Patil, IIT Bombay

Page 140: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

Q

Q

insulator

conductor

conductor

Unit: Farad (F)

VS

R

VC

C Vc

iC

C =Η«A

tt

iC

iC

iC =dQ

dt= C

dVC

dt

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0T1 T2

T1 T2Charge conservation:

Periodic steady state: All quantities are periodic, i.e.,x(t0 + T ) = x(t0)

Capacitor charge: Q(t0 + T ) = Q(t0)

iC =dQ

dt→ Q =

∫iC dt.

Q(t0 + T ) = Q(t0)β†’ Q(t0 + T )βˆ’ Q(t0) = 0

β†’βˆ« t0+T

t0

iC dt = 0.∫ T

0iC dt = 0β†’

∫ T1

0iC dt +

∫ T1+T2

T1

iC dt = 0

β†’βˆ« T1+T2

T1

iC dt = βˆ’βˆ« T1

0iC dt.

M. B. Patil, IIT Bombay

Page 141: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

Q

Q

insulator

conductor

conductor

Unit: Farad (F)

VS

R

VC

C Vc

iC

C =Η«A

tt

iC

iC

iC =dQ

dt= C

dVC

dt

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0T1 T2

T1 T2Charge conservation:

Periodic steady state: All quantities are periodic, i.e.,x(t0 + T ) = x(t0)

Capacitor charge: Q(t0 + T ) = Q(t0)

iC =dQ

dt→ Q =

∫iC dt.

Q(t0 + T ) = Q(t0)β†’ Q(t0 + T )βˆ’ Q(t0) = 0

β†’βˆ« t0+T

t0

iC dt = 0.∫ T

0iC dt = 0β†’

∫ T1

0iC dt +

∫ T1+T2

T1

iC dt = 0

β†’βˆ« T1+T2

T1

iC dt = βˆ’βˆ« T1

0iC dt.

M. B. Patil, IIT Bombay

Page 142: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

Q

Q

insulator

conductor

conductor

Unit: Farad (F)

VS

R

VC

C Vc

iC

C =Η«A

tt

iC

iC

iC =dQ

dt= C

dVC

dt

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0T1 T2

T1 T2Charge conservation:

Periodic steady state: All quantities are periodic, i.e.,x(t0 + T ) = x(t0)

Capacitor charge: Q(t0 + T ) = Q(t0)

iC =dQ

dt→ Q =

∫iC dt.

Q(t0 + T ) = Q(t0)β†’ Q(t0 + T )βˆ’ Q(t0) = 0

β†’βˆ« t0+T

t0

iC dt = 0.∫ T

0iC dt = 0β†’

∫ T1

0iC dt +

∫ T1+T2

T1

iC dt = 0

β†’βˆ« T1+T2

T1

iC dt = βˆ’βˆ« T1

0iC dt.

M. B. Patil, IIT Bombay

Page 143: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

Q

Q

insulator

conductor

conductor

Unit: Farad (F)

VS

R

VC

C Vc

iC

C =Η«A

tt

iC

iC

iC =dQ

dt= C

dVC

dt

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0T1 T2

T1 T2Charge conservation:

Periodic steady state: All quantities are periodic, i.e.,x(t0 + T ) = x(t0)

Capacitor charge: Q(t0 + T ) = Q(t0)

iC =dQ

dt→ Q =

∫iC dt.

Q(t0 + T ) = Q(t0)β†’ Q(t0 + T )βˆ’ Q(t0) = 0

β†’βˆ« t0+T

t0

iC dt = 0.∫ T

0iC dt = 0β†’

∫ T1

0iC dt +

∫ T1+T2

T1

iC dt = 0

β†’βˆ« T1+T2

T1

iC dt = βˆ’βˆ« T1

0iC dt.

M. B. Patil, IIT Bombay

Page 144: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

Q

Q

insulator

conductor

conductor

Unit: Farad (F)

VS

R

VC

C Vc

iC

C =Η«A

tt

iC

iC

iC =dQ

dt= C

dVC

dt

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0T1 T2

T1 T2Charge conservation:

Periodic steady state: All quantities are periodic, i.e.,x(t0 + T ) = x(t0)

Capacitor charge: Q(t0 + T ) = Q(t0)

iC =dQ

dt→ Q =

∫iC dt.

Q(t0 + T ) = Q(t0)β†’ Q(t0 + T )βˆ’ Q(t0) = 0

β†’βˆ« t0+T

t0

iC dt = 0.

∫ T

0iC dt = 0β†’

∫ T1

0iC dt +

∫ T1+T2

T1

iC dt = 0

β†’βˆ« T1+T2

T1

iC dt = βˆ’βˆ« T1

0iC dt.

M. B. Patil, IIT Bombay

Page 145: RC and RL Circuits with Piecewise Constant Sources

RC circuit: example

Q

Q

insulator

conductor

conductor

Unit: Farad (F)

VS

R

VC

C Vc

iC

C =Η«A

tt

iC

iC

iC =dQ

dt= C

dVC

dt

0

I1

βˆ’I2

iC

VC

VS

V0

V2

V1

0T1 T2

T1 T2Charge conservation:

Periodic steady state: All quantities are periodic, i.e.,x(t0 + T ) = x(t0)

Capacitor charge: Q(t0 + T ) = Q(t0)

iC =dQ

dt→ Q =

∫iC dt.

Q(t0 + T ) = Q(t0)β†’ Q(t0 + T )βˆ’ Q(t0) = 0

β†’βˆ« t0+T

t0

iC dt = 0.∫ T

0iC dt = 0β†’

∫ T1

0iC dt +

∫ T1+T2

T1

iC dt = 0

β†’βˆ« T1+T2

T1

iC dt = βˆ’βˆ« T1

0iC dt.

M. B. Patil, IIT Bombay

Page 146: RC and RL Circuits with Piecewise Constant Sources

βˆ’10

10

0

0

2

4

6

8

10

0 1 2 3 4 5 6

t (msec)

VS

R

Vc

1 k

iC

C1Β΅F

T1= 1.5msec, T2= 1.5msec.

V1= 1.8 V, V2= 8.2 V.

I1= 8.2mA, I2= 8.2mA.

VS

VC

iC (mA)

t (msec)

0 1 2 3 4 5 6

T1= 1msec, T2= 2msec.

V1= 0.9 V, V2= 6.7 V.

I1= 9.1mA, I2= 6.7mA.

t (msec)

0 1 2 3 4 5 6

T1= 2msec, T2= 1msec.

V1= 3.4 V, V2= 9.1 V.

I1= 6.7mA, I2 = 9.1mA.

SEQUEL file: ee101 rc1b.sqproj

M. B. Patil, IIT Bombay

Page 147: RC and RL Circuits with Piecewise Constant Sources

βˆ’10

10

0

0

2

4

6

8

10

0 1 2 3 4 5 6

t (msec)

VS

R

Vc

1 k

iC

C1Β΅F

T1= 1.5msec, T2= 1.5msec.

V1= 1.8 V, V2= 8.2 V.

I1= 8.2mA, I2= 8.2mA.

VS

VC

iC (mA)

t (msec)

0 1 2 3 4 5 6

T1= 1msec, T2= 2msec.

V1= 0.9 V, V2= 6.7 V.

I1= 9.1mA, I2= 6.7mA.

t (msec)

0 1 2 3 4 5 6

T1= 2msec, T2= 1msec.

V1= 3.4 V, V2= 9.1 V.

I1= 6.7mA, I2 = 9.1mA.

SEQUEL file: ee101 rc1b.sqproj

M. B. Patil, IIT Bombay

Page 148: RC and RL Circuits with Piecewise Constant Sources

βˆ’10

10

0

0

2

4

6

8

10

0 1 2 3 4 5 6

t (msec)

VS

R

Vc

1 k

iC

C1Β΅F

T1= 1.5msec, T2= 1.5msec.

V1= 1.8 V, V2= 8.2 V.

I1= 8.2mA, I2= 8.2mA.

VS

VC

iC (mA)

t (msec)

0 1 2 3 4 5 6

T1= 1msec, T2= 2msec.

V1= 0.9 V, V2= 6.7 V.

I1= 9.1mA, I2= 6.7mA.

t (msec)

0 1 2 3 4 5 6

T1= 2msec, T2= 1msec.

V1= 3.4 V, V2= 9.1 V.

I1= 6.7mA, I2 = 9.1mA.

SEQUEL file: ee101 rc1b.sqproj

M. B. Patil, IIT Bombay

Page 149: RC and RL Circuits with Piecewise Constant Sources

βˆ’10

10

0

0

2

4

6

8

10

0 1 2 3 4 5 6

t (msec)

VS

R

Vc

1 k

iC

C1Β΅F

T1= 1.5msec, T2= 1.5msec.

V1= 1.8 V, V2= 8.2 V.

I1= 8.2mA, I2= 8.2mA.

VS

VC

iC (mA)

t (msec)

0 1 2 3 4 5 6

T1= 1msec, T2= 2msec.

V1= 0.9 V, V2= 6.7 V.

I1= 9.1mA, I2= 6.7mA.

t (msec)

0 1 2 3 4 5 6

T1= 2msec, T2= 1msec.

V1= 3.4 V, V2= 9.1 V.

I1= 6.7mA, I2 = 9.1mA.

SEQUEL file: ee101 rc1b.sqproj

M. B. Patil, IIT Bombay

Page 150: RC and RL Circuits with Piecewise Constant Sources

t (msec)

0 1 2 3 4 5 6

0

2

4

6

8

10

βˆ’100

100

0

VS

R

T1= 1msec, T2= 2msec.

V1β‰ˆ 0V, V2= 10V.

I1= 100mA, I2= 100mA.

Vc

0.1 k

iC

C1Β΅F

iC (mA)

VS

VC

M. B. Patil, IIT Bombay