A Nice Little Circuit

At time t = 0 t = 0 , the switch closes. Prior to switch closing, the inductor and capacitors are de-energized. Let I R M I_{RM} be the maximum instantaneous value of the current flowing in the resistor between t = 6 t = 6 and t = 10 t = 10 .

Give your answer as 100 I R M \lfloor 100 \, I_{RM} \rfloor

Note: I R M I_{RM} is a positive number


The answer is 86.

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
Jul 24, 2019

Let the current flowing through the circuit be I r I_r . This current splits into two branches. Let the current flowing through the branch with only a capacitor (branch 1) be I 1 I_1 and that flowing through the branch comprising of an inductor and a capacitor (branch 2) be I 2 I_2 .

I r = I 1 + I 2 I_r = I_1 + I_2

Let the charge on the capacitor in branch 1 be Q 1 Q_1 . Let the charge on the capacitor in branch 2 be Q 2 Q_2 .

This implies:

Q ˙ 1 = I 1 \dot{Q}_1 = I_1 Q ˙ 2 = I 2 \dot{Q}_2 = I_2

Applying Kirchoff's voltage law to the circuit gives the following two equations:

10 + Q 1 + I 1 + I 2 = 0 -10 + Q_1 + I_1 +I_2 =0 10 + d I 2 d t + Q 2 + I 1 + I 2 = 0 -10 + \frac{dI_2}{dt} + Q_2 + I_1 +I_2 = 0

Differentiating the first equation among the above two with respect to time gives:

I 1 + d I 1 d t + d I 2 d t = 0 I_1 + \frac{dI_1}{dt} + \frac{dI_2}{dt} = 0

Replacing d I 2 d t \frac{dI_2}{dt} in the above expression yields:

I 1 + d I 1 d t + 10 ( Q 2 + I 1 + I 2 ) = 0 I_1 + \frac{dI_1}{dt} + 10 - (Q_2 + I_1 +I_2) = 0

Summarising the circuit equations:

Q ˙ 1 = I 1 \dot{Q}_1 = I_1 Q ˙ 2 = I 2 \dot{Q}_2 = I_2 I ˙ 1 = Q 2 + I 2 10 \dot{I}_1 = Q_2 + I_2 - 10 I ˙ 2 = Q 2 I 1 I 2 + 10 \dot{I}_2 = -Q_2 - I_1 - I_2 + 10 I r = I 1 + I 2 I_r = I_1 + I_2

These equations can be recast into a state-space form as shown below:

[ Q ˙ 1 Q ˙ 2 I ˙ 1 I ˙ 2 ] = [ 0 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 ] [ Q 1 Q 2 I 1 I 2 ] + [ 0 0 1 1 ] V \left[\begin{matrix}\dot{Q}_1\\\dot{Q}_2\\\dot{I}_1\\\dot{I}_2\end{matrix}\right] = \left[\begin{matrix}0&0&1&0\\0&0&0&1\\0&1&0&1\\0&-1&-1&-1\end{matrix}\right]\left[\begin{matrix}Q_1\\Q_2\\I_1\\I_2\end{matrix}\right] + \left[\begin{matrix}0\\0\\-1\\1\end{matrix}\right]V I r = [ 0 0 1 1 ] [ Q 1 Q 2 I 1 I 2 ] I_r = \left[\begin{matrix}0&0&1&1\end{matrix}\right]\left[\begin{matrix}Q_1\\Q_2\\I_1\\I_2\end{matrix}\right]

Using more convenient notation, the equations can be rewritten as:

x ˙ = A x + B V = f ( x ) \dot{x} = Ax + BV = f(x) I r = C x I_r = Cx

Where x is a four-dimensional vector with components:

x = [ Q 1 Q 2 I 1 I 2 ] x = \left[\begin{matrix}Q_1\\Q_2\\I_1\\I_2\end{matrix}\right] V = 10 V = 10

This set of multivariable differential equations can be solved analytically. However, here, a numerical route is chosen. The initial value of x x is: x ( 0 ) = [ 0 0 10 0 ] x(0) = \left[\begin{matrix}0\\0\\10\\0\end{matrix}\right]

These initial values can be obtained by analysing the circuit at time t = 0 t=0 . The capacitors are discharged and the inductor is de-energised. I often mention in my solutions about using numerical methods without actually describing my approach. The simplest method of numerical integration is described as follows.

The circuit is simulated up to a time of t = 10 t=10 seconds in steps of 1 microsecond ( Δ T \Delta T ). At a general time instant T T , the derivative can be approximated as:

x ˙ ( T ) = f ( x ( T ) ) \dot{x}(T) = f(x(T)) x ˙ ( T ) x ( T + 1 ) x ( T ) Δ T = f ( x ( T ) ) \dot{x}(T) \approx \frac{x(T+1) - x(T)}{\Delta T} = f(x(T))

x ( T + 1 ) = x ( T ) + f ( x ( T ) ) ( Δ T ) x(T+1) = x(T)+f(x(T))(\Delta T)

The above equation is iterated in a simple loop. This calculation has been done using a computer program.

Psuedo code :

  • for loop start T = 0 T = 0 in steps of Δ T \Delta T upto t = 10 t=10

  • x ( T + 1 ) = x ( T ) + f ( x ( T ) ) ( Δ T ) x(T+1) = x(T)+f(x(T))(\Delta T)

  • for loop end

The result I r I_r from 6 to 10 seconds can be studied in the following diagram.

Answer is: 100 I r , m a x = 86 \boxed{\lfloor 100I_{r,max} \rfloor = 86}

Steven Chase
Jul 24, 2019

@Karan Chatrath has posted a nice state-space solution already, but I will give my take on it too.

Fundamental equations for the three reactive elements:

V L = L I L ˙ I C 1 = C V C 1 ˙ I C 2 = C V C 2 ˙ V_L = L \, \dot{I_L} \\ I_{C1} = C \, \dot{V_{C1}} \\ I_{C2} = C \, \dot{V_{C2}}

Writing the non-dot quantities in terms of state variables ( I L , V C 1 , V C 2 ) (I_L, V_{C1}, V_{C2}) gives:

V C 1 V C 2 = L I L ˙ V V C 1 R I L = I R I L = C V C 1 ˙ I L = C V C 2 ˙ V_{C1} - V_{C2} = L \, \dot{I_L} \\ \frac{V - V_{C1}}{R} - I_L = I_R - I_L = C \, \dot{V_{C1}} \\ I_{L} = C \, \dot{V_{C2}}

In the first equation, the resistor voltage is a common-mode term which cancels.

The purpose of this formulation is to express the rates of change of the state variables in terms of the known present values of the state variables. Knowing the rates of change, we can use numerical integration to solve the differential equations.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...