Electric Circuits Fall 2015 Solution #5 RULES: ο Please try to work on your own. Discussion is permissible, but identical submissions are unacceptable! ο Please show all intermediate steps: a correct solution without an explanation will get zero credit. ο Please submit on time. NO late submission will be accepted. ο Please prepare your submission in English only. No Chinese submission will be accepted. 5.1 [10%] Suppose the two capacitors in Fig. 1 are initially uncharged. Then we connect a 15V source as shown. Find the voltages π£1 and π£2 at steady state by considering the conservation of charge on each plate. Fig. 1 Solution: Since both capacitors are initially uncharged, conservation demands that the net charge at each node remain 0 after the voltage source is connected. We apply this principle to the node between the two capacitors. Since we are looking at the negative plate of cap 1 and the positive plate of cap 2, we must have that −π1 + π2 = 0 [3pts] Remember that the charge on parallel-plate capacitors are equal and opposite. Another relation we can construct using KVL is the following: π π π£1 + π£2 = πΆ1 + πΆ2 = 15 [3pts] 1 2 The above two equations give us a system that we can solve. The solutions are π1 = π2 = 0.126 mC [2pts]. With this we find that the voltages are ππ = ππ. π π½ [1pt] ππ = π. π π½ [1pt] 5.2 [8%] Determine πΏππ that may be used to represent the inductive network of Fig. 2 at the terminals. Fig. 2 1 Electric Circuits Fall 2015 Solution #5 Solution: _ + + + _ _ Let the voltage across terminal a-b be π£ππ , and the input current be i. We know that ππ π£ππ = πΏππ ππ‘ [2] (1) [2] By applying KVL, we can find that π£ππ = π£4π» + π£1 (2) ππ π£1 = 2 ππ‘ + π£2 (3) [2] For the 3H and 5H inductor branches, π£1 = 3 ππ1 ππ‘ π£2 = 5 ππ2 ππ‘ 3 π(π1 +π2 ) ππ‘ ⇒ π£1 + 5 π£2 = 3 ππ = 3 ππ‘ (4) Solving equation (3) and (4), π£1 = 21 ππ 8 ππ‘ (5) 5 ππ π£2 = 8 ππ‘ Since ππ π£4π» = 4 ππ‘ (6) [2] Substituting (5) (6) into (2), π£ππ = 4 ππ ππ‘ ⇒ π³ππ = + ππ π 21 ππ 8 ππ‘ = 53 ππ 8 ππ‘ = π. πππ H 5.3 [10%] The current in a 4 H inductor is π = 10 A, π‘ ≤ 0; π‘ π = (π΅1 cos 4π‘ + π΅2 sin 4π‘)π −2 A, π‘ ≥ 0. The voltage across the inductor (passive sign convention) is 60 V at t = 0. Calculate the power at the terminals of the inductor at t = 1s. State whether the inductor is absorbing or 2 Electric Circuits Fall 2015 Solution #5 delivering power. Solution: We know that π(π‘) = π£(π‘)π(π‘), we can first get π£(π‘): ππ π π£(π‘) = 4 ππ‘ = 4 ππ‘ (π΅1 cos 4π‘ + π΅2 sin 4π‘)π −π‘/2 [2] π‘ βΉ π£(π‘) = π −2 [(−16π΅1 − 2π΅2 ) sin 4π‘ + (−2π΅1 + 16π΅2 ) cos 4π‘] V [2] Since π(0) = 10A, π£(0) = 60V, π(0) = π΅1 = 10π΄, π£(0) = −2π΅1 + 16π΅2 = 60π βΉ π΅2 = 5 [1] π‘ π(π‘) = (10 cos 4π‘ + 5 sin 4π‘)π −2 A, π‘ ≥ 0 βΉ π‘ π£(π‘) = (−170 sin 4π‘ + 60 cos 4π‘)π −2 V, π‘ ≥ 0 βΉ π(π‘) = (−850π ππ2 4π‘ + 600πππ 2 4π‘ − 1400 sin 4π‘ cos 4π‘)π −π‘ W [3] At t = 1s, π(π) = (−πππππππ π + πππππππ π − ππππ π¬π’π§ π ππ¨π¬ π)π−π = −πππ. ππ W [1] Since p(1) < 0, the inductor is delivering power at t = 1s. [1] 5.4 [8%] a) Show that the two coupled coils in Fig. 3 can be replaced by a single coil having an inductance of πΏππ = πΏ1 + πΏ2 + 2π. (Hint: Express π£ππ as a function of πππ .) b) Show that if the connections to the terminals of the coil labeled πΏ2 are reversed, πΏππ = πΏ1 + πΏ2 − 2π. Fig. 3 Solution: a) b) + + _ _ _ _ + + + _ _ + a) π£ππ = πΏππ ππ ππ‘ = πΏ1 ππ1 ππ‘ + πΏ2 _ + _ + _ + + ππ2 ππ‘ +π ππ2 ππ‘ +π ππ1 ππ‘ = (πΏ1 + πΏ2 + 2π) _ ππ ππ‘ βΉ πΏππ = πΏ1 + πΏ2 + 2π [4] ππ b) π£ππ = πΏππ ππ‘ = πΏ1 ππ1 ππ‘ + πΏ2 ππ2 ππ‘ −π ππ2 ππ‘ −π ππ1 ππ‘ ππ = (πΏ1 + πΏ2 − 2π) ππ‘ βΉ πΏππ = πΏ1 + πΏ2 − 2π [4] 3 Electric Circuits Fall 2015 Solution #5 5.5 [10%] Consider the circuit in Fig. 4. Find π(π‘) for π‘ < 0 and π‘ > 0. Fig. 4 Solution: + _ 1. π‘ < 0 Before t = 0, the circuit has reached steady state so that the capacitor acts like an open circuit. Apply nodal analysis for node A (let its node voltage be π£π΄ ), we can easily obtain 80 − π£π΄ π£π΄ + 0.5π = π = 40 80 Then we get π£π΄ = 64V and i = 0.8A [2] 2. π‘ > 0 Let the current through the capacitor after the switch opened to be π1 . KCL: π1 + 0.5π = π [2] For the capacitor, π1 = −C ππ£1 , ππ‘ π£1 = (30 + 50)π ππ βΉ −240 = 0.5π ππ‘ [2] Therefore, 1 ππ π 1 = − 480 ππ‘. [4] Solving this equation, π‘ ln(π) = − 480 + πΆ0 , where πΆ0 is a constant number. t = 0, i = 0.8A, substituting this and we get πΆ0 = ln(0.8), π π‘ ln (0.8) = − 480 π βΉ π(π) = π. ππ−π/πππ A, t >0, or π(π) = π. ππ−πππ π(π) A, where π’(π‘) is unit step signal. (Other correct methods are also accepted.) 4 Electric Circuits Fall 2015 Solution #5 5.6 [8%] For the op amp circuit of Fig. 5, let π 1 = 10 kΩ, π π = 20 kΩ, πΆ = 20 πF, and v(0) = 1 V. Find π£π . Fig. 5 Solution: For ideal op amp, we know that π£3 = 0. Then π£2 = π£, and π£1 = 4π’(π‘) At node 2, π£1 −π£2 π 1 βΉ 4π’(π‘)−π£ π 1 ππ£ = C ππ‘ ππ£ = C ππ‘ , v(0)=1V βΉ − ln(4u(t) − v) = π‘ π 1 πΆ − ln(3) βΉ π£(π‘) = 4π’(π‘) − 3π −π‘/π 1 πΆ V [3] At node 3, C ππ£ π£3 − π£π −π£π = = ππ‘ π π π π ππ£ βΉ π£π = −π π C ππ‘ = − 3π π π 1 π −π‘/π 1 πΆ [3] Substitute the values, ππ = −ππ−ππ π½, π > π [2] or ππ = −ππ−ππ π(π) π½ 5.7 [10%] In the circuit shown in Fig. 6, the switch makes contact with position b just before breaking contact with position a. As already mentioned, this is known as a make-before-break switch and is designed so that the switch does not interrupt the current in an inductive circuit. The interval of time between “making” and “breaking” is assumed to be negligible. The switch has been in the position for a long time. At t = 0 the switch is thrown from position a to position b. a) Determine the initial current in the inductor. b) Determine the time constant of the circuit for t > 0. 5 Electric Circuits Fall 2015 Solution #5 c) Find i, π£1 , and π£2 for t ≥ 0. d) What percentage of the initial energy stored in the inductor is dissipated in the 72 Ω resistor 15 ms after the switch is thrown from position a to position b? Fig. 6 Solution: a) Before the switch is thrown from a, the circuit is in steady state and the inductor acts like a short circuit. Therefore, the initial current through it is π°π =24/12 = 2 A. [2] b) The time constant is π = π³ πΉππ = π.π ππ = π. ππ s. [2] c) π(π) = π°π π−π/π = ππ−πππ π(π) A ππ (π) = π π π π π = −ππππ−πππ π(π) V ππ (π) = −πππ(π) = −ππππ−πππ π(π) V [3] 1 d) At 0s, the initial energy stored in the inductor is w(0) = 2 πΏπ(0)2 = 3.2 J 1 At 15 s, the energy stored in the inductor is w(15) = 2 πΏπ(15)2 = 0.714 J Therefore, the percentage of the initial energy dissipated in the 72 Ω resistor 15 ms is (3.2−0.714) 3.2 ∗ 72 72+8 = 69.92% [3] 5.8 [8%] The switch in the circuit in Fig. 7 has been in position 1 for a long time. At t = 0, the switch moves instantaneously to position 2. Find π£π (π‘) for t ≥ 0+ . Fig. 7 Solution: Initially the current through the inductor is 240 4 ∗ 12+4+40//10 5 = 8 A. [2] After the switch moved to position 2, the circuit can be equivalent to an inductor in series with 1 resistor, π ππ = (4+6)//40 +10 = 18 Ω. Let π(π‘) be the current through the πΏ inductor when t > 0. Then π = π = 0.004 π [2] ππ 6 Electric Circuits Fall 2015 Solution #5 Since π(π‘) = πΌ0 π −π‘/π = 8π −250π‘ π’(π‘) A, we can find the current through the 40 Ω resistor to be 10 π(π‘) 10+40 = 1.6π −250π‘ π’(π‘). [2] Therefore, ππ (π) = π. ππ−ππππ π(π) ∗ ππ = πππ−ππππ π(π) π, π ≥ π+ [2] 5.9 [8%] The voltage across a 0.2 mF capacitor was 20V until a switch was opened at t = 0, causing the voltage to vary with time as π£(π‘) = (60 − 40π −5π‘ ) V for t > 0. a) Did the switch action result in an instantaneous change in v(t)? Why or why not? b) Did the switch action result in an instantaneous change in the current i(t)? Why or why not? c) How much energy was initially stored in the capacitor at t = 0? d) How much energy will be stored in the capacitor at t = ∞? Solution: a) No, π£0 = 60 − 40 = π£(0− ). The voltage v(t) across a capacitor is continuous. b) First we observe that i(0− ) = 0, since voltage is constant before the switch is thrown. After t = 0, we have ππ π(π‘) = C = (0.2 mF)(200π −5π‘ V) = 40π −5π‘ mA ππ‘ Clearly, π(0+ ) = 40 mA, so it is not continuous, leading to an instantaneous change. 1 1 c) Energy is given by π€(0) = 2 πΆπ£ 2 (π‘ = 0) = 2 (0.2 mF)(20π)2 = 40 mJ d) After a long time, v(t) converges to 60 V. Using the same formula as before, we have π€(∞) = 0.36 J [2*4] 5.10 [10%] In Fig. 8, suppose that both switches have been open for a long time prior to t = 0. Then switch 1 closes at t = 0, followed by switch 2 at t = 10 s. Use MATLAB to plot π£πΆ (π‘) for π‘ ≥ 0, assuming that π£πΆ (0) = 0. (Your MATLAB script should be attached!) Fig. 8 Solution: At the time that the first switch closes, the capacitor sees the first 15 k resistor. Hence the differential equation is π£πΆ −20 + 15π (200π) ππ£πΆ ππ‘ =0 [2] Rearranging the equation into a standard form gives us 7 Electric Circuits Fall 2015 Solution #5 ππ£πΆ = 20 ππ‘ Hence, we have a solution of the form π£πΆ = π΄π −π‘/3 + π΅, where the first term is the homogeneous solution and the second is the particular solution. The time constant is π£πΆ + 3 simply the coefficient in front of ππ£πΆ , ππ‘ so τ = RC = 3 s. The initial and final conditions are v(0) = 0 and v(∞) = 20, so the full solution is π‘ π£πΆ (t) = 20 − 20π −3 , 0 ≤ π‘ ≤ 10 [3] When switch 2 closes, the equivalent resistance seen by the capacitor is now (15 k)||(15 k) = 7.5 k. So the time constant is τ = RC = 1.5 s. The form of the solution remains the same, but we have different conditions. The initial condition is equal to the voltage at t = 10 from before: π£πΆ (10) = 19.3 π. The final condition is v(∞) = 10, as the capacitor is open in steady-state and we have a voltage divider. Hence our solution is π‘ π£πΆ (t) = 10 + 7308π −1.5 , π‘ ≥ 10 [3] Graphically, we have a growing exponential to 10V, followed by a decaying exponential to 10V. [2] 5.11 [10%] Suppose the voltage source in the circuit of Fig. 9 is defined by a ramp function, such that v(t) = 0 for t < 0 and v(t) = t for π‘ ≥ 0. If π£πΆ (0) = 0, derive an expression for π£πΆ (π‘) for π‘ ≥ 0 and use MATLAB to sketch it to scale versus time. Consider trying a particular solution of the form π£πΆ (π‘)= A + Bt. (Your MATLAB script should be attached!) Fig. 9 Solution: The differential equation is π£πΆ (t) + RC ππ£πΆ ππ‘ = π£(t) = π‘ 8 Electric Circuits Fall 2015 Solution #5 If we use the standard homogeneous solution along with the suggested particular solution, we get π£πΆ (t) = π΄ + π΅π‘ + π·π −π‘/π πΆ [2] The initial condition is that π£πΆ (0) = 0, so A+D=0. Now if we plug in the solution into our original ODE: π· π‘ π΄ + π΅π‘ + π·π −π‘/π πΆ + π πΆ (π΅ − π πΆ π −π πΆ ) = π‘ [3] We now match terms to determine the coefficients' values. The only linear term on the LHS is Bt, so we must have B = 1. The constant terms are A + RCB = A + RC, and this must be equal to 0, since there are no constants on the RHS. Thus, A = -RC and D = -A = RC. The full solution is π‘ π‘ π£πΆ (t) = −π πΆ + π‘ + π πΆπ −π πΆ = π‘ − π πΆ (1 − π −π πΆ ) [3] While we need a specific value for RC for an accurate plot, we can sketch a general characteristic by assigning a value of, say, 1 to RC. [2] Notice that the voltage originally exhibits a delay due to the exponential term. As time passes, the capacitor's voltage becomes linear and follows that of the source almost identically after it gets past the initial \inertia" presented by the capacitor. 9