Skip to content

oonap0oo/ngspice_analog_circuit_simulation

Repository files navigation

ngspice_analog_circuit_simulation

Files for use with the ngspice circuit simulation software

Chua's circuit

This circuit desciption runs a version of Chua' circuit which shows chaotic behavior.

Circuit description file: chua_circuit_6.sp

This plot generated by ngspice shows two voltages in the circuit in a x-y plot.

ngspice_chua_circuit_screenshot.png

The circuit description file was made based on this hand drawn schematic:

chua_circuit_hand_dranw_schematic.png

The amplifier in the circuit was modelled using a Voltage Dependent Voltage Source (E1), the output voltage is limited as in real world amplifiers using the table option.

The diodes and voltage sources introduce non-linearity which is a essential part of the circuit.

Ring Modulator

This is a classic ring modulator with 4 diodes. The circuit multiplies two signals creating new sum and difference frequency components at it's output.

Ring_Modulator.png

Schematic found on wikimedia: https://commons.wikimedia.org/wiki/File:Ring_Modulator.PNG License: https://creativecommons.org/licenses/by-sa/3.0/deed.en Modified by adding node numbers.

Circuit desciption file: ring_mod.sp

In this example inputs to the circuit are signals at 1kHz and 1.2kHz, the output includes components at 2.2kHz (sum) and 200Hz (difference).

Output signal: ring_mod_screenshot3.png

Frequency spectrum of output signal: ring_mod_screenshot1.png

Input signals: ring_mod_screenshot2.png

About

Files for use with the ngspice circuit simulation software

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published