RLC 6-14-2020

In the RLC circuit shown below, the capacitors and inductor are de-energized at time t = 0 t = 0 . From then on, power flows out of the DC voltage source for most of the time, but for a brief time, power flows into the source.

What is the largest instantaneous power flowing into the source?

Details and Assumptions:
1) V S = 10 V_S = 10
2) R 1 = 4 R_1 = 4
3) R 2 = 1 R_2 = 1
4) C 1 = 1 C_1 = 1
5) C 2 = 1 C_2 = 1
6) L = 1 L = 1
7) Give your answer as a positive number


The answer is 12.72.

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

2 solutions

Karan Chatrath
Jun 14, 2020

Source current: I I

Charge on C 1 C_1 = Q 1 Q_1

Charge on C 2 C_2 = Q 2 Q_2

Circuit equations:

I = I R 1 + I C 1 I=I_{R_1} + I_{C_1} I R 1 = I C 2 + I R 2 I_{R_1}=I_{C_2} + I_{R_2} I L = I C 1 + I C 2 I_{L}=I_{C_1} + I_{C_2}

Q ˙ 1 = I C 1 \dot{Q}_1 = I_{C_1} Q ˙ 2 = I C 2 \dot{Q}_2 = I_{C_2}

V S + Q 1 C 1 + L I ˙ L = 0 -V_S + \frac{Q_1}{C_1} + L\dot{I}_L=0 I R 1 R 1 + Q 2 C 2 = Q 1 C 1 I_{R_1}R_1 + \frac{Q_2}{C_2} = \frac{Q_1}{C_1} I R 2 R 2 = Q 2 C 2 + L I ˙ L I_{R_2}R_2 = \frac{Q_2}{C_2} + L\dot{I}_L

Q 1 ( 0 ) = I L ( 0 ) = Q 2 ( 0 ) = 0 Q_1(0) = I_L(0) = Q_2(0) =0

I would have preferred to obtain the closed-form solution for the source current using Laplace transforms but the online calculator yields no result. So I went the usual numerical route. The variation of power provided by the source with time is:

It can be seen that at a certain interval, the power provided by the source becomes negative which indicates that power flows into the source. The maximum value of the power inflow to the source is the minimum value of the function plotted above. The answer is 12.72 \approx 12.72

Steven Chase
Aug 1, 2020

The state variables are the capacitor voltages and the inductor currents. Write the fundamental equations for these elements:

V L = L I ˙ L I C 1 = C 1 V ˙ C 1 I C 2 = C 2 V ˙ C 2 V_L = L \dot{I}_L \\ I_{C1} = C_1 \dot{V}_{C1} \\ I_{C2} = C_2 \dot{V}_{C2}

Now write the left sides in terms of state variables (with some intermediate quantities to aid in calculating):

V L = V S V C 1 = L I ˙ L I R 1 = V C 1 V C 2 R 1 I R 2 = V S V C 1 + V C 2 R 2 I C 2 = I R 1 I R 2 I C 1 = I L I C 2 I C 1 = C 1 V ˙ C 1 I C 2 = C 2 V ˙ C 2 V_L = V_S - V_{C1} = L \dot{I}_L \\ I_{R1} = \frac{V_{C1} - V_{C2}}{R_1} \\ I_{R2} = \frac{V_S - V_{C1} + V_{C2}}{R2} \\ I_{C2} = I_{R1} - I_{R2} \\ I_{C1} = I_L - I_{C2} \\ I_{C1} = C_1 \dot{V}_{C1} \\ I_{C2} = C_2 \dot{V}_{C2}

Solve for the derivatives and numerically integrate. The source current (flowing out of the source) is:

I S = I C 1 + I R 1 I_S = I_{C1} + I_{R1}

The power flowing out of the source is:

P S = V S I S P_S = V_S I_S

If P S > 0 P_S > 0 , power is flowing out of the source. If P S < 0 P_S < 0 , power is flowing into the source. So find the largest negative value of P S P_S , and the absolute value of that is the answer.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import math

dt = 10.0**(-5.0)

VS = 10.0

R1 = 4.0
R2 = 1.0

C1 = 1.0
C2 = 1.0

L = 1.0

###################################

IL = 0.0

VC1 = 0.0
VC2 = 0.0

###################################

t = 0.0
count = 0

ILd = (VS - VC1)/L

IR1 = (VC1 - VC2)/R1
IR2 = (VS - VC1 + VC2)/R2
IC2 = IR1 - IR2

VC2d = IC2/C2

IC1 = IL - IC2

VC1d = IC1/C1

IS = IC1 + IR1

#print t,IS

###################################

ISmin = 999999999.0

while t <= 100.0:

    IL = IL + ILd*dt

    VC1 = VC1 + VC1d*dt
    VC2 = VC2 + VC2d*dt

    ILd = (VS - VC1)/L

    IR1 = (VC1 - VC2)/R1
    IR2 = (VS - VC1 + VC2)/R2
    IC2 = IR1 - IR2

    VC2d = IC2/C2

    IC1 = IL - IC2

    VC1d = IC1/C1

    IS = IC1 + IR1

    if IS < ISmin:
        ISmin = IS

    t = t + dt
    count = count + 1

    #if count % 10000 == 0:
        #print t,IS

###################################

print ""
print ""
print dt
print ISmin
print (VS*ISmin)

#>>> 
#1e-05
#-1.27205753776
#-12.7205753776
#>>> 

@Steven Chase I want to say sorry if you feel any inconvenience with me.

Talulah Riley - 9 months, 3 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...