How to Calculate Voltage Across a Capacitor in a 2-Position Switch Circuit?

  • Context: Engineering 
  • Thread starter Thread starter magnifik
  • Start date Start date
  • Tags Tags
    Circuit Switch
Click For Summary

Discussion Overview

The discussion revolves around calculating the voltage across a capacitor in a circuit with a 2-position switch, focusing on the application of Thevenin's theorem and the handling of initial conditions in the analysis. Participants explore various methods and steps involved in transforming the circuit to the s-domain and addressing the effects of initial conditions on the voltage across the capacitor.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines a step-by-step approach to find the voltage across the capacitor, including determining initial conditions and transforming the circuit to the s-domain.
  • Another participant confirms the initial conditions provided by the first participant as correct.
  • A participant questions whether to subtract the initial voltage when calculating the voltage across the capacitor, indicating uncertainty about the correct formula to use.
  • One participant reports discrepancies in results when using Thevenin versus Norton methods, expressing confusion over the calculations and potential sign errors.
  • Several participants discuss the treatment of initial conditions, with some suggesting that the initial voltage should be included in the total voltage across the capacitor, while others propose different approaches to modeling the capacitor.
  • A participant seeks clarification on whether to disregard the initial condition voltage during calculations and then add it back in later, highlighting ongoing confusion regarding the methods used.
  • Another participant affirms that the voltage source representing the initial charge should be included in the analysis of the capacitor's voltage.
  • A participant confirms that the voltage across the capacitor can be expressed as a product of current and the capacitor's value in the s-domain.

Areas of Agreement / Disagreement

Participants generally express differing views on how to handle initial conditions and the discrepancies between Thevenin and Norton methods, indicating that the discussion remains unresolved with multiple competing perspectives.

Contextual Notes

Participants highlight potential limitations in their approaches, including unresolved mathematical steps and the dependence on how initial conditions are modeled in the circuit analysis.

magnifik
Messages
350
Reaction score
0
In the circuit below, the switch reaches a steady state while in position 1 then at t = 0 gets thrown to position 2. I am supposed to find the voltage (s-domain) across the capacitor under these conditions using thev. theorem
63soew.png


I just want to make sure I am approaching the problem with the correct methods:
1. Find initial conditions using the properties that an inductor is shorted in steady state and a capacitor is open circuit
I got i(0) = 5 A
v(0) = 5 V
2. Transform the circuit to the s-domain, adding an independent voltage source with voltage = 10 (from inductor). Remove the capacitor to make it an open circuit. Find VTH via voltage divider equation.
3. Find Zeq by shutting off all independent sources.
Zeq = 2 + (1 || (1 + 2s))
4. Recreate the circuit with VTH and Zeq in a loop with the 1/2 F capacitor and 5/s V independent voltage source from the initial conditions (steady state).
5. KCL to get current
6. voltage across the cap = current * capacitor value in s domain

mainly i want to know if my initial conditions are correct and if I'm using them correctly.
 
Last edited:
Physics news on Phys.org
Your initial conditions look fine.
 
when doing the last step, "6. voltage across the cap = current * capacitor value in s domain", do i have to subtract the initial condition so it would be voltage = (capacitor value in s domain)*(current - initial voltage)? i thought i had already taken that into account in step 5 when i combine the voltage source and initial voltage, but i am unsure if i am using the correct formula or not
 
I am getting different answers when i do it in thevenin vs. norton
I'm not quite sure why. My formula for I in thevenin is I = (Vth - 5/s)/(Zeq + 2/s). Then I do the last step to get V.
Vth = ((2s+1)(10s+11))/(2(s+1)^2)
Zeq = (6s+5)/(2(s+1))
** my Zeq does not include the capacitor and Vth does not include the initial condition voltage for the capacitor

Below, I used V = 1/Cs[I - v(0)]... i am not sure if i was supposed to use the initial condition or not

Thevenin:

V = (20 s^3+22 s^2-9 s-10)/(2 s (s+1)^2)
Z = (6 s^2+9 s+4)/(2 s (s+1))

I = V/Z = (20 s^3+22 s^2-9 s-10)/((s+1) (6 s^2+9 s+4))

V = IZc = (2 (20 s^3+22 s^2-9 s-10))/(s (s+1) (6 s^2+9 s+4))

V = (10 s^3-31 s^2-83 s-40)/(s (s+1) (6 s^2+9 s+4))
---
Norton:

I = (70 s^2+119 s+47)/(12 s^2+22 s+10)
Z = (10 + 12 s)/(4 + 9 s + 6 s^2)

V = IZ = ((12 s+10) (70 s^2+119 s+47))/((6 s^2+9 s+4) (12 s^2+22 s+10))

V = (40 s^3+44 s^2-18 s-20)/(s (s+1) (6 s^2+9 s+4))

Since my denominators match, I am thinking I may have used an incorrect sign somewhere?
 
magnifik said:
when doing the last step, "6. voltage across the cap = current * capacitor value in s domain", do i have to subtract the initial condition so it would be voltage = (capacitor value in s domain)*(current - initial voltage)? i thought i had already taken that into account in step 5 when i combine the voltage source and initial voltage, but i am unsure if i am using the correct formula or not

No, you should include the initial voltage in the total for the capacitor; the real capacitor was replaced by a model that consists of a freshly-minted, uncharged capacitor and a separate voltage source. That model, in its entirety, represents the real capacitor, and the voltage on the real capacitor will be the sum of the voltage on the "new" capacitor and that voltage source. To that end, you might want to leave the capacitor voltage source out of the Thevenin equivalent.
 
gneill said:
No, you should include the initial voltage in the total for the capacitor; the real capacitor was replaced by a model that consists of a freshly-minted, uncharged capacitor and a separate voltage source. That model, in its entirety, represents the real capacitor, and the voltage on the real capacitor will be the sum of the voltage on the "new" capacitor and that voltage source. To that end, you might want to leave the capacitor voltage source out of the Thevenin equivalent.


so i disregard the initial condition voltage and then add it back in after finding the voltage across the capacitor with Zeq and Vth? i am still getting different results for my thevenin and norton methods; it differs by an extra s in the denominator
 
magnifik said:
so i disregard the initial condition voltage and then add it back in after finding the voltage across the capacitor with Zeq and Vth? i am still getting different results for my thevenin and norton methods; it differs by an extra s in the denominator

The voltage source should be part of the circuit that you analyze hen you find the voltage on the capacitor; it will affect the current that flows. You can either keep it separate from the Thevenin equivalent so that the capacitor model remains intact, or you can if you with bundle it into the Thevenin equivalent. In the latter case you'll have to remember to add it to whatever voltage you find on the "new" capacitor when you report the capacitor voltage.
 
So if I simplify the circuit like I did below, when I do KVL, I will get the current. Then is it right that V across the capacitor is simply V = I*(2/s)
jhbvvs.png
 
That would be the voltage across the capacitor in the model of the "real" capacitor, yes. The voltage across the "real" capacitor includes the voltage source that represented its initial charge.
 

Attachments

  • Fig1.gif
    Fig1.gif
    3 KB · Views: 526

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
7K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
15
Views
3K