Discontinuous capacitor voltage?

In summary, at time t = 0, the switches are in their initial positions and the capacitor voltage is discontinuous.
  • #1
stroustroup
14
0

Homework Statement


The switches have been in their initial positions for a long time, and switch to the other position at time t = 0s. Find [itex]v_0(t)[/itex] for all t > 0.


Homework Equations


See the attached image for the circuit (I had to draw it because I don't have access to the original image, but I am sure the circuit is the same as the one I was given).

S-domain analysis:
Capacitor of capacitance C is equivalent to uncharged capacitor with impedance 1/sC in parallel with current source with current -Cv(0).

Inductor of inductance L is equivalent to inductor with no initial current and impedance sL in series with a voltage source of -Li(0).

The Attempt at a Solution


The initial conditions are [itex]v_0(0-)[/itex] = 1V and i(0) = 1A (i is current across the inductor)
which you get by replacing C with an open circuit and L with a short circuit (steady-state).

Then the switches go to the other position. I replaced the capacitor and inductor with their equivalent s-domain representations, taking into account their initial conditions, in the second diagram in the image.

Then I used the node voltage method to solve for [itex]V_0(s)[/itex].
[tex]\frac{v_1-4}{1}+\frac{v_1+1}{s}+\frac{v_1-v_0}{1}=0[/tex]
[tex]\frac{v_0-v_1}{1} + \frac{v_0}{\frac{2}{s}} - \frac{1}{2}=0[/tex]

[tex]\left(2+\frac{1}{s}\right)v_1 - v_0 = 4 - \frac{1}{s}[/tex]
[tex]-v_1 + \left(1+\frac{s}{2}\right)v_0 = \frac{1}{2}[/tex]

By Cramer's rule (or any other method),
[tex]v_0 = \frac{5-\frac{1}{2s}}{s + \frac{3}{2} + \frac{1}{s}}[/tex]
[tex]v_0 = \frac{5s-\frac{1}{2}}{s^2 + \frac{3}{2}s + 1}[/tex]

Now I used partial fractions and inverse Laplace transforms to go back to the time domain, which gives me
[tex]v_0(t) = e^{-\frac{3}{4}t}\left(5\cos\left(\frac{\sqrt 7}{4}t\right)-\frac{17}{\sqrt 7}\sin\left(\frac{\sqrt 7}{4}t\right)\right)[/tex]


Now, the thing that worries me is that, altough I can't find errors in my solution, the voltage of the capacitor at t = 0 clearly isn't continuous. The formula above gives 5V for the initial voltage, but it is 1V before the switch opens. This can also be seen from the Laplace transform by using the initial value theorem.

Is it possible for the capacitor voltage to be discontinous? Or did I mess up somewhere, in the circuit transformations for example?

Actually, what happens if you have a capacitor connected in parallel with two batteries of different voltages, but with a switch allowing to choose either voltage source but not both? Moving the switch should cause a discontinuity in the capacitor's voltage, right?
 

Attachments

  • Circuit.png
    Circuit.png
    13.9 KB · Views: 474
Physics news on Phys.org
  • #2
Note that fixed voltage supplies have a Laplace domain representation of V/s, where V is the voltage value. So your 4V supply in your first equation should be 4/s, not just 4.
 
  • #3
to answer your question, no it is no possible for the voltage across a cap to be discontinuous, as that would imply infinite current through the capacitor.

real capacitors have resistive and inductive elements to them, as do all wires and real world components. So if you have a cap that is connected to two voltage sources via a switch, you would not be able to determine the cap voltage without knowing the non-ideal elements of the circuit.

does that make sense?
 
  • #4
Where did the 1V voltage and 1/2 A current sources come from? You can't represent initial conditions that way. Initial conditions disappear eventually whereas your sources are there forever ... at t = infinity those sources are gone!
 
  • #5
rude man said:
Where did the 1V voltage and 1/2 A current sources come from? You can't represent initial conditions that way. Initial conditions disappear eventually whereas your sources are there forever ... at t = infinity those sources are gone!

True. Although while It would perhaps be more clear if the values of the initial condition "sources" were given some other symbol or if the units were more completely specified, it is fairly common practice to just use the usual source symbols and write current or voltage values for them. It behooves the analyst to treat the values appropriately when it comes to to writing the circuit equations.

The practice is analogous to the way the scaling constant of controlled sources usually omit units required to make units come out right.

For example, an inductor with an initial current can be represented by an inductor in series with a "voltage source" of value ##I_o L##. In our case that yields ##1H \cdot 1A = 1\;Vs## (volt-seconds, which also has the designation Weber). One has the option of specifying Vs, Wb, or even VS (where S is the Laplace variable), or just leave it as 1V and "assume" the S.
 
  • #6
This sounds very dangerous to me, not to say goofy.
 
  • #7
rude man said:
This sounds very dangerous to me, not to say goofy.

Perhaps, but nevertheless it is done and it works :smile:
 
  • #8
gneill said:
Perhaps, but nevertheless it is done and it works :smile:

I think I see whence it derives but I still don't like it!
Cheers. :smile:
 
  • #9
Thank you for the help. I had forgotten about this thread for a while, but after reading it I realize I forgot to divide the voltage by s when moving into the s-domain. The time-domain voltage would be 4V * H(t) (step function) and so the Laplace transform is 4 / s.

The capacitor explanation also makes sense. I guess we can't consider them as ideal in that case.
 

1. What is a discontinuous capacitor voltage?

A discontinuous capacitor voltage is a type of electrical phenomenon that occurs when the voltage across a capacitor changes abruptly and is not continuous. This can happen when there is a sudden change in the circuit or when the capacitor is charged or discharged rapidly.

2. What causes a discontinuous capacitor voltage?

A discontinuous capacitor voltage can be caused by a variety of factors, including sudden changes in the circuit, rapid charging or discharging of the capacitor, or fluctuations in the input voltage. Other factors such as high temperatures or fluctuations in the surrounding environment can also contribute to a discontinuous voltage.

3. What are the potential consequences of a discontinuous capacitor voltage?

A discontinuous capacitor voltage can have several consequences, depending on the specific situation. In some cases, it can cause damage to the capacitor itself or other components in the circuit. It can also result in incorrect readings or malfunctions in electronic devices. Additionally, if left unchecked, it can lead to power outages or even fires.

4. How can a discontinuous capacitor voltage be prevented?

To prevent a discontinuous capacitor voltage, proper circuit design and component selection are crucial. Using capacitors with appropriate voltage ratings and ensuring a stable power supply can also help prevent discontinuous voltages. Regular maintenance and monitoring of the circuit can also help identify and address any potential issues before they escalate.

5. What are some ways to measure and analyze discontinuous capacitor voltage?

There are several techniques for measuring and analyzing discontinuous capacitor voltage. One common method is to use an oscilloscope to visualize the voltage changes over time. This can help identify any sudden spikes or drops in voltage. Other methods include using specialized software or equipment to measure and record voltage readings over a period of time, allowing for more in-depth analysis and troubleshooting.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
6
Views
761
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
16
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
19
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
17
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
18
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
0
Views
508
  • Engineering and Comp Sci Homework Help
Replies
1
Views
247
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
Back
Top