|
Major EveryCircuit 3.00 update brings the top user requests and a new completely updated UI to the Web app, available at https://everycircuit.com/app.
1. Labels for schematic elements and nodes. The labels can be mentioned in circuit description as #L1, #C1, #N1 ← click to select a labeled item in the schematic.
2. Parameter values can now be typed in from the keyboard. This allows entering higher-precision values with up to 6 significant digits.
3. The list of circuit Components at the top can be expanded down into categories like Transistors. You can also search for a component by a keyword like "logic".
4. Your Workspace circuits can now be ordered Alphabetically in addition to the classic chronological order.
5. Rich circuit text description now shows:
• Clickable schematic labels like #Vss.
• Clickable user mentions like @Igor.
• Links https://everycircuti.com/gallery.
• Inline math $\omega_0 = 2\pi f_0$.
• Math in its own line:
$$f_0 = \frac{1}{2\pi\sqrt{LC}}$$
• Circuit link thumbnails https://everycircuit.com/circuit/6205855118393344 https://everycircuit.com/circuit/6392969587326976
• Monospaced text blocks:
```
A B | X
-----------
0 0 | 0
0 1 | 1
1 0 | 1
1 1 | 1
```
Your feedback is welcome!
```
========== LC oscillator ==========
```
As for this circuit, this is an LC oscillator with lamps showing as the energy is apssed between #L1 and #C1.
1. Flip the switch #SW to charge the capacitor. The capacitor is charged through resistor #R1, so the time constant is:
$$\tau=RC = 10 \Omega\times{}1 \mu{}F = $10 \mu{}s$$The capacitor voltage is growing until it reaches the $1V$ supply voltage #Vss, and the time constant $\tau$ defines the rate of charging:
$$V_c(t)=V_{ss}(1 - e^{-t/\tau})$$After $5\tau=50 \mu{}s$ the capacitor is charged to about 99.3% of the $1V$ supply voltage #Vss. Once the capacitor is fully charged, it stores 1 microjoule of energy in its electric field:
$$E_{max} = CV_{ss}^2 = 1\mu F \times 1V^2 = 1\mu J$$2. Once the capacitor #C1 is fully charged, flip the switch #SW again to disconnect the capacitor from the source and connect it to the inductor #L1 instead. The capacitor starts to discharge through the inductor. As the capacitor voltage falls, the inductor current raises, gradually transferring the energy from capacitor's electric field to inductor's magnetic field.
When the capacitor #C1 is fully discharged, the inductor #L1 experiences the maximum current. All the energy is now transferred to the inductor's magnetic field:
$$E_{max} = LI_{max}^2 = 1\mu J$$Since the energy is conserved in this ideal system, and $CV_{ss}^2 = LI_{max}^2$, the maximum inductor current is therefore:
$$I_{max}=V_{ss}\sqrt{C / L} \approx 188 mA $$The inductor's magnetic field keeps pushing the electrons through the inductor. So the current keeps flowing and begins to charge the capacitor with reverse polarity. After a while the magnetic field is depleted and the capacitor is fully charged once again.
The energy continues to transfer periodically between #L1 and #C1 with oscillation period in seconds being:
$$f_0 = \frac{1}{2\pi\sqrt{LC}} = 30 kHz$$The light bulbs #BL and #BC light up to show how the energy oscillates between inductor and capacitor. The voltage and current are sensed by ideal controlled sources to avoid any energy loss from the LC circuit.
Note that circuit simulators apply numerical approximations to calculate circuit solution. That typically leads to energy loss in LC oscillator simulation. You will see the peak voltage at node #N1 and peak current through #L1 decaying with time. The major factor is the time discretization where larger time steps at higher simulation speeds lead to higher energy losses.
|