# Analysis of a RLC circuit and a Voltage Controlled Switch

1. Mar 28, 2013

### yttuncel

Hello everybody,
I am stuck with a circuit that involves voltage controlled switch.

1. The problem statement, all variables and given/known data

The switch is controlled with a square wave generator, Vs1, whose frequency is 100kHz. As far as I know, switch is off when source is on positive phase and vice versa. Therefore, I only need to compute Va when Vs1 is on negative phase, i.e. when the switch is on.
(When it is off, Va is grounded and Vout will decay to zero, however switch goes off before Vout decays. Therefore, me and my friend think that we can assume it to be constant.)

We assume diode is ideal. Then apply Node-Voltage analysis to node VA.

The node between inductor and Rin is called VB and iR is the current on Rin.

2. Relevant equations
ic(t)=C$\frac{dVc(t)}{dt}$ ..... (1)
VL(t)=L$\frac{diL(t)}{dt}$ ....(2)

3. The attempt at a solution
When switch is on (when Va is not grounded),

iR=$\frac{3-VB}{10}$.....(3)

With equations (1) and (3), the following is our Node-Voltage equation,

$\frac{3-VB}{10}$=0.05μ$\frac{dVA}{dt}$+0.05μ$\frac{dVA}{dt}$+$\frac{VA}{100K}$

and from (2) we have,

VB-VA=20μ$\frac{diR}{dt}$→VB=VA+20μ$\frac{d\frac{3-VB}{10}}{dt}$

Is this approach correct?
I mean, if I solve this system of DE, will I obtain the correct functions for node voltages when the switch is on?

Any help is appreciated :)

Last edited: Mar 28, 2013
2. Mar 28, 2013

### rude man

Badly defined problem. When the switch is on, Va is clearly zero from the diagram, contradicting your verbiage. There are other parts of your narrative that confuse.

I would approach the problem with determining the 'big picture' first:

Start with everything discharged and the switch ON, grounding Va. Is there a build up of current? Then, when the switch is OFF, where does the current go and what is the effect on voltage across C1 and Cout? Then, as the number of cycles repeat, how does the voltage Vout build up? To what level? What is the effect of the 100K load? Note that the RL-Cout discharge time cosntant is large compared to the cycle time. Note also that the L1/Rin t.c. is very small.

The time constants tend to be greatly removed from each other, facilitating the analysis of this circuit.

3. Mar 28, 2013

### yttuncel

Hello,

By saying "on" I meant switch is open.

No, all the current go directly to ground when switch is closed.

The current charges up both capacitors very fast due to small time constant(Rin and 0.05μF) to a maximum voltage value of VA.

Vout is the voltage on Cout. The time constant of Cout when discharging is huge compared to the cycle time as you pointed out Therefore, it decays very little when switch is closed and charges up when it is open.

I suppose it is limited to the value of VA?

Update: I simulated this circuit using SPICE. What I said is mostly true, the only part I am wrong is the max value of Vout. How does it get higher than our input which is 3V ? The final voltage at Vout seems to be something between 5 and 6 volts.

Last edited: Mar 28, 2013
4. Mar 28, 2013