diff --git a/docs/guides/spice-simulation/Diodes/full-wave-rectifier.mdx b/docs/guides/spice-simulation/Diodes/full-wave-rectifier.mdx index 068d90f..b30ea13 100644 --- a/docs/guides/spice-simulation/Diodes/full-wave-rectifier.mdx +++ b/docs/guides/spice-simulation/Diodes/full-wave-rectifier.mdx @@ -1,5 +1,5 @@ --- -title: Full-Wave Rectifier Example +title: Full-Wave Rectifier sidebar_label: Full-Wave Rectifier sidebar_position: 2 description: An example of a full-wave rectifier circuit for SPICE simulation. diff --git a/docs/guides/spice-simulation/Diodes/half-wave-rectifier.mdx b/docs/guides/spice-simulation/Diodes/half-wave-rectifier.mdx index c79f16e..cf3f7cf 100644 --- a/docs/guides/spice-simulation/Diodes/half-wave-rectifier.mdx +++ b/docs/guides/spice-simulation/Diodes/half-wave-rectifier.mdx @@ -1,5 +1,5 @@ --- -title: Half-Wave Rectifier Example +title: Half-Wave Rectifier sidebar_label: Half-Wave Rectifier sidebar_position: 1 description: An example of a half-wave rectifier circuit for SPICE simulation. diff --git a/docs/guides/spice-simulation/Transistors/_category_.json b/docs/guides/spice-simulation/Transistors/_category_.json new file mode 100644 index 0000000..c6ae835 --- /dev/null +++ b/docs/guides/spice-simulation/Transistors/_category_.json @@ -0,0 +1,6 @@ +{ + "label": "Transistors", + "position": 3, + "collapsible": true, + "collapsed": true +} diff --git a/docs/guides/spice-simulation/Transistors/transistor-switch-example.mdx b/docs/guides/spice-simulation/Transistors/transistor-switch-example.mdx new file mode 100644 index 0000000..9d3caa3 --- /dev/null +++ b/docs/guides/spice-simulation/Transistors/transistor-switch-example.mdx @@ -0,0 +1,59 @@ +--- +title: Switch +sidebar_label: Switch +sidebar_position: 1 +description: An example of using a switch to drive a transistor in a SPICE simulation. +--- +import CircuitPreview from "@site/src/components/CircuitPreview" + +
+This example illustrates how a timed switch can be used to drive a transistor. As the switch toggles at a set frequency, it alternately activates and deactivates the transistor. This switching action controls the current flowing through the collector resistor, allowing the transistor to function as an electronic switch. A voltage probe placed at the collector displays the resulting output waveform. +
++ The simulation shows the voltage at the transistor's collector. + When the switch is closed, current flows into the base, turning the + transistor on. This pulls the collector voltage close to 0V. When the switch + is open, the transistor turns off, and the collector voltage rises to 5V. +
diff --git a/docs/guides/spice-simulation/boost-converter.mdx b/docs/guides/spice-simulation/boost-converter.mdx index 42d43d0..ae3d9c0 100644 --- a/docs/guides/spice-simulation/boost-converter.mdx +++ b/docs/guides/spice-simulation/boost-converter.mdx @@ -1,7 +1,7 @@ --- title: Boost Converter Example sidebar_label: Boost Converter -sidebar_position: 3 +sidebar_position: 4 description: An example of a boost converter circuit configured for SPICE simulation. --- import CircuitPreview from "@site/src/components/CircuitPreview" diff --git a/docs/guides/spice-simulation/rc-charging-circuit.mdx b/docs/guides/spice-simulation/rc-charging-circuit.mdx index 517f06f..efa218f 100644 --- a/docs/guides/spice-simulation/rc-charging-circuit.mdx +++ b/docs/guides/spice-simulation/rc-charging-circuit.mdx @@ -1,7 +1,7 @@ --- title: RC Charging Circuit Example sidebar_label: RC Charging Circuit -sidebar_position: 4 +sidebar_position: 5 description: An example of an RC charging circuit configured for SPICE simulation. --- import CircuitPreview from "@site/src/components/CircuitPreview" diff --git a/docs/guides/spice-simulation/switch-example.mdx b/docs/guides/spice-simulation/switch-example.mdx deleted file mode 100644 index 7214580..0000000 --- a/docs/guides/spice-simulation/switch-example.mdx +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: Switch Example -sidebar_label: Switch -sidebar_position: 5 -description: An example of using a switch in a SPICE simulation. ---- -import CircuitPreview from "@site/src/components/CircuitPreview" - -
- This example demonstrates how to use a switch in a SPICE simulation. When
- the simSwitchFrequency property is set, an ideal switch will
- toggle at the specified frequency. A voltage probe is placed after the switch
- to observe the output.
-
- The simulation shows the voltage at the node after the switch. Since the - switch is toggling at 1kHz, the voltage probe will show a 1kHz square - wave going between approximately 0V and 5V. -