In this section we will discuss about simulation of circuits in linux. We do have simplified tools for simulations but going through the non-graphical will help us understand the details of spice simulaiton.
This Tutorial will include
- Making Netlist ( Circuit Diagram using text file)
- AC simulation
- Transient Simulation
- Few Practical projects that will help you setup your own lab with very basic resource.
(Please note this tutorial is only for Ubuntu users, tutorials for other linux distribution will be made available depending upon the requestes for that particular distribution)
gEDA is schematic and PCB design package that enables to make PCBs and schematics.
Use the following command to install the package
sudo apt-get update
sudo apt-get install -y geda
Ngspice is a terminal spice simulator, we are using a terminal based spice simulator in order to facilitate understanding of the spice simulations and working of different simulation models.
sudo apt-get update && sudo apt-get install -y ngspice
-
Learn how to use Github, bug reporting and collaboration in the github
-
Make a git public repository and follow these steps
- Fill up the this form
- Download Typora and learn Markdown
- Make a README.md file and document all the steps used for simulations
- Write issues that you faced in the README.md documentation
- Commit you work after every exercise and maintain a directory for every simulation section
- In case of doubts raise issues/bugs in this repository
-
Follow the steps given in the this link in order to learn spice simulation
Follow the steps given in this link for simulation using Eeshema
- Obtain a copy Microelectronics by Neamen
Tutorial link for using eeschema for ngspice simulation https://www.linuxjournal.com/article/8438
KiCad Docs for making the circuit http://docs.kicad-pcb.org/5.1.2/en/getting_started_in_kicad/getting_started_in_kicad.html
This part will consists of part theory, part simulation and if possible part practical. In this section we will be following Microelectronics by Neamen.
First we will learning the theory about the electronics component. This shall be completed by going through the first four chapters of the book. When you are through those chapters complete the following tasks.
!-- Clipping circuit diagram
!-- Code for simulation in spice
!-- Clamping circuit diagram
!-- Code for spice simulation
Do the following exercise and examples from the book
!-- Circuit Diagram
!-- Desired output from the simulation
!-- Circuit Diagram
!-- Desire Output
!-- 555 Timer circuit
!-- Taking output using arduino
!-- Generation of triangular waves block diagram
!-- Wave transformation
!-- Circuit diagram
!-- Theory
!-- Simulation hints
!-- Impulsive increase in the voltage of the circuit --Theory
!-- Testing by generation of small sparks using the joule theif circuit
!-- The link for making the frequency generator for the testing in room using STM