Difference between revisions of "ESim/C2/Schematic-Creation-and-Simulation/English"
(Created page with "'''Schematic Creation and simulation using eSim''' '''Author: Gaurav Supal''' <div style="color:#252525;">'''Keywords: video tutorial, eSim, schematic, simulation, EDA, Ngsp...") |
PoojaMoolya (Talk | contribs) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Schematic Creation and | + | '''Schematic Creation and Simulation using eSim''' |
'''Author: Gaurav Supal''' | '''Author: Gaurav Supal''' | ||
− | <div style="color:#252525;">'''Keywords: | + | <div style="color:#252525;">'''Keywords: Video tutorial, eSim, Schematic, Simulation, EDA, Ngspice, analysis, transient, subcircuit, spice'''</div> |
{| style="border-spacing:0;width:15.901cm;" | {| style="border-spacing:0;width:15.901cm;" | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
'''Visual cue''' | '''Visual cue''' | ||
Line 14: | Line 14: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
'''Narration''' | '''Narration''' | ||
Line 21: | Line 21: | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Opening Slide | Opening Slide | ||
Line 27: | Line 27: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Welcome to the spoken tutorial on “'''Schematic Creation '''and '''Simulation '''using''' eSim'''” |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Learning Objectives | Learning Objectives | ||
− | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | In this tutorial, using '''eSim,''' we will learn to- | |
− | + | ||
− | + | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | |
Line 42: | Line 39: | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">convert spice '''netlist '''to '''ngspice '''format</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">convert spice '''netlist '''to '''ngspice '''format</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">simulate the '''netlist'''</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">simulate the '''netlist'''</div> | ||
− | |||
− | |||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Systems Requirements | Systems Requirements | ||
Line 53: | Line 48: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To record this tutorial, we will use- |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux OS '''16.04 </div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">'''eSim '''version 1.1.2.</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">'''eSim '''version 1.1.2.</div> | ||
− | |||
− | |||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Prerequisites | Prerequisites | ||
− | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To practice this tutorial, basic knowledge of '''analog '''and''' digital electronics''' is required. | |
− | + | ||
− | + | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''System Computer:''' |
Desktop icon | Desktop icon | ||
− | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To launch '''eSim''', double-click on the '''eSim''' icon on your desktop. | |
− | + | ||
− | + | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show slide:''' |
'''Launch eSim through Terminal''' | '''Launch eSim through Terminal''' | ||
Line 87: | Line 72: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Alternately, you can also open '''eSim''' from the '''terminal.''' |
Line 95: | Line 80: | ||
Now, type '''esim''' and press '''Enter.''' | Now, type '''esim''' and press '''Enter.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''System Computer:''' |
eSim startup window | eSim startup window | ||
+ | |||
+ | |||
Line 103: | Line 90: | ||
Click Ok. | Click Ok. | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim '''window opens up. |
− | Note that the project files created | + | Note that the project files created will be saved in the''' eSim-Workspace''' directory, by default. |
Press “'''Ok'''” in the dialog box. | Press “'''Ok'''” in the dialog box. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us now create an '''RC circuit schematic '''and simulate it. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' |
Creating New Project | Creating New Project | ||
Line 120: | Line 107: | ||
Type '''RC >> '''click on '''OK'''. | Type '''RC >> '''click on '''OK'''. | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on the '''New Project button''', to create a new project. |
In the “'''Enter Project name'''” field, type '''RC '''and click on '''OK'''. | In the “'''Enter Project name'''” field, type '''RC '''and click on '''OK'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Please note that spaces are not allowed in the Project name. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' |
Project Explorer >> point to RC >> Double-click >> click Open Schematic | Project Explorer >> point to RC >> Double-click >> click Open Schematic | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Our new project '''RC''' will now appear under '''Projects.''' |
'''Double-click''' on '''RC '''to select the project. | '''Double-click''' on '''RC '''to select the project. | ||
Line 137: | Line 124: | ||
To create the '''circuit schematic''', click''' Open Schematic''' button on the left toolbar. | To create the '''circuit schematic''', click''' Open Schematic''' button on the left toolbar. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Click Ok. | Click Ok. | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Yes in''' the''' confirmation '''dialog box. |
Line 148: | Line 135: | ||
The '''Schematic editor '''window opens up. | The '''Schematic editor '''window opens up. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Click on '''Place component '''tool >> click anywhere | Click on '''Place component '''tool >> click anywhere | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us now add '''components''' to the '''schematic'''. |
Line 159: | Line 146: | ||
Now click anywhere on the '''editor'''. | Now click anywhere on the '''editor'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Adding Resistor | Adding Resistor | ||
Line 165: | Line 152: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Type '''eSim_Devices''' in the '''Filter''' field. |
Then select '''R''' and click on '''OK'''. Now click anywhere on the '''editor'''. | Then select '''R''' and click on '''OK'''. Now click anywhere on the '''editor'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | |
+ | |||
+ | |||
+ | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Then select '''R''' and click on '''OK'''. Now click anywhere on the '''editor'''. | ||
+ | |||
+ | |||
+ | |||
+ | |- | ||
+ | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on the editor once. | ||
+ | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Place the '''resistor R '''on the '''editor, '''by clicking on the '''editor '''once. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Press '''F1.''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Zoom in by pressing '''F1.''' |
You can also do so, by scrolling the scroll button of your mouse. | You can also do so, by scrolling the scroll button of your mouse. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Adding Capacitor | Adding Capacitor | ||
Line 188: | Line 184: | ||
'''Filter''' field >> Type '''eSim_Devices''' >> select C >> click Ok | '''Filter''' field >> Type '''eSim_Devices''' >> select C >> click Ok | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on the '''editor '''once again. |
Line 196: | Line 192: | ||
Then select '''C''' and click on '''OK'''. | Then select '''C''' and click on '''OK'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Place capacitor on the editor |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Place the '''capacitor C '''on the '''editor '''as done before. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Adding Sine Source | Adding Sine Source | ||
Line 207: | Line 203: | ||
'''Filter''' field >> Type '''eSim_ Sources''' >> select sine >> click Ok | '''Filter''' field >> Type '''eSim_ Sources''' >> select sine >> click Ok | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click again on the '''editor'''. |
Line 217: | Line 213: | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Place sine on the editor |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Place the '''sine '''on the '''editor '''as done before. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | <span style="color:#000000;">'''Filter'''</span><span style="color:#000000;"> field >> Type </span><span style="color:#000000;">'''gnd'''</span><span style="color:#000000;"> >> select gnd >> click OK >> place on editor</span> |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Similarly, type '''gnd '''and place a '''ground terminal '''on '''editor'''. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Adding Plots | Adding Plots | ||
Line 229: | Line 225: | ||
<span style="color:#000000;">'''Filter'''</span><span style="color:#000000;"> field >> Type </span><span style="color:#000000;">'''eSim_Plot'''</span><span style="color:#000000;"> >> select plot_v1 >> click OK >> place on editor</span> | <span style="color:#000000;">'''Filter'''</span><span style="color:#000000;"> field >> Type </span><span style="color:#000000;">'''eSim_Plot'''</span><span style="color:#000000;"> >> select plot_v1 >> click OK >> place on editor</span> | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Similarly, type '''eSim_Plot, '''select the''' plot_v1 '''and place it on the '''editor.''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | <span style="color:#000000;">Copy </span><span style="color:#000000;">'''plot_v1'''</span><span style="color:#000000;"> >> place on editor</span> |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | We need one more plot for output. |
Line 240: | Line 236: | ||
Now '''place it '''on the editor. | Now '''place it '''on the editor. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | This is the '''plot component '''used to plot '''voltages '''at the required '''nodes.''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Adding Labels | Adding Labels | ||
Line 249: | Line 245: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us now add '''labels''' to the '''schematic'''. |
Line 257: | Line 253: | ||
This will help us understand the '''netlist''' and connection of our circuit. | This will help us understand the '''netlist''' and connection of our circuit. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Place global label '''tool >> click anywhere >> Type '''IN '''>> click on''' OK''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Place global label '''tool from the right toolbar. |
Line 266: | Line 262: | ||
Type '''IN '''in text field and click on '''OK.''' | Type '''IN '''in text field and click on '''OK.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Place global label '''tool >> click anywhere >> Type '''OUT '''>> click on''' OK''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Similarly, place one more label '''OUT '''in editor. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us move and arrange the components to create the '''RC circuit.''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Moving the components | Moving the components | ||
Place cursor on '''resistor '''>> press ''''M' ''' | Place cursor on '''resistor '''>> press ''''M' ''' | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To move the '''resistor, '''place the cursor on it and press the key ''''m''''. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on editor at preferred location. |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Place it at the preferred location, by clicking on editor again. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Rotating the components | Rotating the components | ||
Line 288: | Line 284: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To rotate the '''resistor, '''place the cursor on it and press the key ''''r'.''' |
Similarly, move the '''plot components '''and '''labels, '''as shown. | Similarly, move the '''plot components '''and '''labels, '''as shown. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Connecting wires to the schematic | Connecting wires to the schematic | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now, let us connect the various components using wires. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Click on '''Place wire '''button >> click '''sine resource '''and drag between Sine and Resistor >> click on it. | Click on '''Place wire '''button >> click '''sine resource '''and drag between Sine and Resistor >> click on it. | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Place wire '''button''' '''from the right toolbar |
Line 309: | Line 305: | ||
Move the cursor point to one end of the '''resistor '''and click on it. | Move the cursor point to one end of the '''resistor '''and click on it. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Similarly, connect all the components as demonstrated here. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | The '''plot''' components are placed at the '''output '''and '''input nodes'''. |
This helps us to view the corresponding '''voltage waveforms '''on simulation. | This helps us to view the corresponding '''voltage waveforms '''on simulation. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Annotate the schematic | Annotate the schematic | ||
Line 327: | Line 323: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To '''annotate '''the '''schematic components''', |
− | Click on ''' | + | Click on '''Annotate '''button from the top toolbar. |
− | Click on ''' | + | Click on A'''nnotate '''and then click on '''OK.''' |
The '''schematic '''is now '''annotated'''. | The '''schematic '''is now '''annotated'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Giving values to components | Giving values to components | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To assign a value to the '''resistor''', right-click on it and choose '''Edit Component.''' |
Line 349: | Line 345: | ||
Type '''1k '''and click on '''OK'''. | Type '''1k '''and click on '''OK'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Similarly, assign value '''1u''' for '''capacitor.''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Perform ERC check | Perform ERC check | ||
Click on '''Perform electrical rules check '''button >> click on '''Run.''' | Click on '''Perform electrical rules check '''button >> click on '''Run.''' | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now let us do '''electrical rules check '''for this '''schematic'''. |
Click on '''Perform electrical rules check '''button | Click on '''Perform electrical rules check '''button | ||
− | on the '''top toolbar ''' | + | on the '''top toolbar '''. |
Click on '''Run'''. | Click on '''Run'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Point to the errors. |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | We can see the errors - |
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">'''global label not connected''''' ''</div> | ||
* <div style="margin-left:1.27cm;margin-right:0cm;">and''' a pin is not driven to components'''</div> | * <div style="margin-left:1.27cm;margin-right:0cm;">and''' a pin is not driven to components'''</div> | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
Close '''ERC''' | Close '''ERC''' | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Ignore''' '''the '''global label not connected '''error, |
since we have used the '''labels '''for naming the '''nodes '''only. | since we have used the '''labels '''for naming the '''nodes '''only. | ||
Line 385: | Line 382: | ||
Close the '''ERC '''window. | Close the '''ERC '''window. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Adding Power Flag | Adding Power Flag | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Note that the '''ground terminal pin is '''highlighted by a green arrow in the '''schematic.''' |
Line 396: | Line 393: | ||
To prevent this, let us place a '''power flag.''' | To prevent this, let us place a '''power flag.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
Click on '''Place component '''tool >> Click on '''Schematic editor '''>> Type '''PWR_FLAG '''>> click Ok >> place it on the editor | Click on '''Place component '''tool >> Click on '''Schematic editor '''>> Type '''PWR_FLAG '''>> click Ok >> place it on the editor | ||
Line 402: | Line 399: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Place component '''tool. |
Line 410: | Line 407: | ||
Type '''PWR underscore FLAG and Click OK''' Place it on the '''schematic editor.''' | Type '''PWR underscore FLAG and Click OK''' Place it on the '''schematic editor.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Select '''wire''' >> connect '''PWR_FLAG''' to '''gnd''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Connect this '''power flag '''to the '''ground terminal '''using a wire. |
This indicates that a power source will be connected here. | This indicates that a power source will be connected here. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Perform ERC check | Perform ERC check | ||
Line 425: | Line 422: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now repeat the '''electrical rules check'''. |
There will be only '''global label not connected''' errors, which can be '''ignored.''' | There will be only '''global label not connected''' errors, which can be '''ignored.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Delete Markers''' >> click on '''Close'''. |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Delete Markers''' and then click on '''Close.''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
Generating Kicad Netlist | Generating Kicad Netlist | ||
Line 439: | Line 436: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now let us generate the''' netlist '''of this '''circuit.''' |
Click on '''Generate netlist '''button''' '''from the top toolbar. | Click on '''Generate netlist '''button''' '''from the top toolbar. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | <span style="color:#000000;">Click </span><span style="color:#000000;">'''Generate netlist'''</span><span style="color:#000000;"> >> </span><span style="color:#000000;">'''spice'''</span><span style="color:#000000;"> tab >> check </span><span style="color:#000000;">'''Default'''</span><span style="color:#000000;"> >> click on Generate</span> |
Click '''Save''' | Click '''Save''' | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on the '''Spice '''tab. |
Line 456: | Line 453: | ||
Click on '''Save.''' | Click on '''Save.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim schematic window:''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | A Kicad''' netlist '''of the '''RC circuit '''has been generated. |
Now minimise the '''schematic editor.''' | Now minimise the '''schematic editor.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' |
Click on '''Convert Kicad to Ngspice''' | Click on '''Convert Kicad to Ngspice''' | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now, let us add simulation parameters to this '''netlist.''' |
Click on '''Convert Kicad to Ngspice '''from '''eSim '''toolbar. | Click on '''Convert Kicad to Ngspice '''from '''eSim '''toolbar. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' |
Line 477: | Line 474: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us add '''transient parameters''' in '''Analysis tab.''' |
Line 485: | Line 482: | ||
Scroll down to enter values in the '''Transient analysis''' fields. | Scroll down to enter values in the '''Transient analysis''' fields. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' |
Inserting values | Inserting values | ||
Line 491: | Line 488: | ||
<div style="color:#000000;">Start time >> 0ms </div> | <div style="color:#000000;">Start time >> 0ms </div> | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Make '''Start Time '''equal to '''0 '''by doing the following: |
Type '''0 '''in the start textbox. | Type '''0 '''in the start textbox. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | <div style="color:#000000;">Step time >> 5ms </div> |
<span style="color:#000000;">Stop time >> 30ms </span> | <span style="color:#000000;">Stop time >> 30ms </span> | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Similarly, make the '''Step time 5 milliseconds''' |
and '''Stop time 30 milliseconds.''' | and '''Stop time 30 milliseconds.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' |
Source Details Tab | Source Details Tab | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us add the '''source details''' |
To do so, click on '''Source details''' tab. | To do so, click on '''Source details''' tab. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' |
<div style="color:#000000;">offset value >> 0</div> | <div style="color:#000000;">offset value >> 0</div> | ||
Line 521: | Line 518: | ||
<div style="color:#000000;">damping factor >> 0</div> | <div style="color:#000000;">damping factor >> 0</div> | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Enter '''the '''offset value '''as '''0 '''and press '''Tab.''' |
Type '''5 '''for '''amplitude''', '''50 '''for '''frequency '''and''' 0 '''for both '''delay time '''and '''damping factor'''. | Type '''5 '''for '''amplitude''', '''50 '''for '''frequency '''and''' 0 '''for both '''delay time '''and '''damping factor'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' |
Press '''Convert '''button | Press '''Convert '''button | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | We will talk about the '''Ngspice Model, Device Modelling and subcircuits tab '''in later tutorials. |
Press the '''Convert '''button to '''convert the kicad netlist to ngspice netlist''' | Press the '''Convert '''button to '''convert the kicad netlist to ngspice netlist''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
Click O'''k.''' | Click O'''k.''' | ||
Close the '''kicad to ngspice''' tool | Close the '''kicad to ngspice''' tool | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | A confirmation dialog box appears. Here let's click O'''k.''' |
− | Close the '''kicad to ngspice''' tool by clicking close at top right corner of the window. | + | Close the '''kicad to ngspice''' tool by clicking close at the top right corner of the window. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' |
Click on '''Simulation.''' | Click on '''Simulation.''' | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''simulation '''from the '''eSim '''toolbar to simulate the '''example.''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | An '''ngspice terminal '''and '''plot '''windows open along with a '''python plot''' window. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Ngspice Plot:''' |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | The plot waveforms show '''transient analysis '''of the '''RC '''circuit. |
Close the '''Ngspice terminal '''and '''plot''' window. | Close the '''Ngspice terminal '''and '''plot''' window. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Python Plot Window:''' |
− | Click on ''' | + | Click on '''Plotting tab''' >> maximize |
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Select the python plot window by clicking on '''Plotting''' tab in the dock area. |
Maximize the '''Python''' plot window. | Maximize the '''Python''' plot window. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
Check '''IN''' and '''OUT '''nodes >> click '''plot''' | Check '''IN''' and '''OUT '''nodes >> click '''plot''' | ||
Line 577: | Line 574: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To plot the output: |
Check the '''IN '''and '''OUT''' nodes and click on the '''plot''' button. | Check the '''IN '''and '''OUT''' nodes and click on the '''plot''' button. | ||
Line 584: | Line 581: | ||
The '''output plot''' is shown in '''blue''' and '''input plot '''in '''red.''' | The '''output plot''' is shown in '''blue''' and '''input plot '''in '''red.''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Python Plot Window:''' |
Multimeter Feature | Multimeter Feature | ||
Line 590: | Line 587: | ||
<span style="color:#000000;">Click on </span><span style="color:#000000;">'''Multimeter'''</span><span style="color:#000000;"> >> Click on </span><span style="color:#000000;">'''open schematic '''</span> | <span style="color:#000000;">Click on </span><span style="color:#000000;">'''Multimeter'''</span><span style="color:#000000;"> >> Click on </span><span style="color:#000000;">'''open schematic '''</span> | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | To view the '''rms values''' of '''node voltages,''' click on the '''multimeter''' button. |
Line 596: | Line 593: | ||
− | '''Maximise''' the '''schematic '''and '''drag''' the '''multimeter windows''' | + | '''Maximise''' the '''schematic '''and '''drag''' the '''multimeter windows''' on the corresponding nodes of schematic. |
|- | |- | ||
− | | style=" | + | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
− | + | ||
+ | Device Models and Subcircuits | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us see how to '''simulate''' a circuit involving '''semiconductor devices''' and '''subcircuits'''. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' | ||
− | + | Download code file | |
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us simulate '''7805VoltageRegulator''' circuit, which has '''diode'''s and a '''LM7805 regulator IC'''. | ||
|- | |- | ||
− | | style=" | + | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window :''' |
− | + | Click on''' Open Project '''button'''.''' | |
+ | Click on '''Desktop '''>> | ||
− | + | Click on''' 7805VoltageRegulator>>''' | |
+ | Click on '''Open button.''' | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | | ||
− | + | Click on '''Open Project''' button from the left toolbar. | |
− | + | ||
− | + | ||
− | + | ||
+ | Click on '''Desktop.''' | ||
+ | Click on '''7805VoltageRegulator.''' | ||
+ | |||
+ | Click on the '''Open button''' at the bottom right corner. | ||
|- | |- | ||
− | | style=" | + | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' |
− | + | Double click on '''7805VoltageRegulator.''' | |
+ | Click on '''Open Schematic''' button. | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | | ||
− | + | In the '''Projects '''window of '''eSim, '''double-click on '''7805VoltageRegulator.''' | |
− | + | Click on '''Open Schematic''' button from the left toolbar. | |
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Schematic Window:''' | ||
+ | Show annotated '''7805VoltageRegulator '''schematic. | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | I have annotated, performed '''ERC''', and generated the '''spice netlist''' for this circuit. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | I will now switch back to the '''eSim Main Window''' | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' | ||
− | + | ||
+ | |||
+ | |||
+ | Click on '''Convert Kicad to Ngspice.''' | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now, let us add '''simulation parameters''' to this '''netlist.''' | ||
+ | |||
+ | |||
+ | Click on '''Convert Kicad to Ngspice '''from '''eSim '''toolbar. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' |
+ | |||
+ | Hover mouse over values entered in '''Analysis and Source details''' tab. | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | I have already added the parameter values in the '''Analysis and source details''' tab. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' | ||
+ | |||
+ | |||
+ | |||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us assign '''device''' '''models''' to the '''semiconductor '''components inside the '''schematic'''. | ||
+ | |||
+ | |||
+ | To do so, click on '''Device Modelling '''tab. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' | ||
+ | |||
+ | Device Modelling Tab | ||
+ | |||
+ | Hover cursor over '''Diode 1: esim_diode''' | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | We will add a '''device model''' for '''Diode 1: esim_diode''' | ||
+ | |||
+ | |||
+ | |||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:'''Device Modelling Tab | ||
+ | |||
+ | Click on '''Add'''>> Double click on '''Diode'''>> Click on '''D.lib>> '''Click on the '''Open''' button. | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Add '''and then double-click on '''Diode.''' | ||
+ | |||
+ | |||
+ | Click on '''D.lib''' | ||
+ | |||
+ | |||
+ | Then click on the '''Open''' button. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | We will perform the same steps for the remaining '''diodes''' as well. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:'''Device Modelling Tab | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Now let’s add the '''subcircuit''' file for '''LM_7805 subcircuit'''. | ||
+ | |||
+ | |||
+ | To do so, click on '''Subcircuits '''tab. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter: '''Subcircuits tab: | ||
+ | |||
+ | Click on '''Add>>'''Double click on '''lm7805 '''folder>> Click on the '''Open''' button | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''Add''' | ||
+ | |||
+ | |||
+ | Double-click on '''lm7805 '''folder and then click on the '''Open''' button. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Kicad to Ngspice Converter:''' | ||
+ | |||
+ | Press '''Convert '''button. | ||
+ | |||
+ | |||
+ | Click O'''k.''' | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Press the '''Convert '''button to convert the''' kicad netlist '''to '''ngspice netlist'''. | ||
+ | |||
+ | |||
+ | A confirmation dialog box appears. Here let's click '''Ok.''' | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''eSim Main Window:''' | ||
+ | |||
+ | Click on '''Simulation.''' | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Click on '''simulation '''from the left''' '''toolbar. | ||
+ | |- | ||
+ | | style="border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | eSim Main Window: | ||
+ | |||
+ | Hover mouse over Ngspice plots and python plots. | ||
+ | |||
+ | |||
+ | Click on '''in1, in2 '''and''' out.''' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Click on '''plot.''' | ||
+ | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | An '''ngspice terminal '''and ngspice '''plot '''windows opens along with a '''python plot''' window. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Click on''' in1, in2 '''and''' out '''checkboxes in the '''python plot''' window. | ||
+ | |||
+ | |||
+ | Scroll down and click on '''plot''' button. | ||
+ | |- | ||
+ | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | | ||
+ | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Let us summarize. | ||
+ | |- | ||
+ | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide: ''' | ||
+ | |||
+ | Summary | ||
+ | |||
+ | |||
+ | |||
+ | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | In this tutorial, we learnt how to- | ||
+ | |||
+ | |||
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Create '''circuit schematic '''</div> | ||
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Generate spice '''netlist'''</div> | ||
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Convert spice '''netlist '''to '''ngspice '''format </div> | ||
+ | * <div style="margin-left:1.27cm;margin-right:0cm;">Simulate the '''netlist'''</div> | ||
+ | |||
− | |||
− | |||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Forum | Forum | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Please post your timed queries in this forum. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
FOSSEE Forum | FOSSEE Forum | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Please post your general queries on eSim in this forum. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Textbook Companion | Textbook Companion | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | FOSSEE team coordinates the TBC project. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | '''Show Slide:''' |
Acknowledgment | Acknowledgment | ||
Line 667: | Line 793: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India. |
For more details, visit this website. | For more details, visit this website. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border-top:1pt solid #000001;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | |
Previous slide | Previous slide | ||
Line 678: | Line 804: | ||
− | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0. | + | | style="background-color:#ffffff;border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.206cm;padding-right:0.191cm;" | This is _________ from IIT Bombay, signing off. |
Thank you. | Thank you. |
Latest revision as of 13:02, 24 July 2019
Schematic Creation and Simulation using eSim
Author: Gaurav Supal
Visual cue
|
Narration
|
Show Slide:
Opening Slide
|
Welcome to the spoken tutorial on “Schematic Creation and Simulation using eSim” |
Show Slide:
Learning Objectives |
In this tutorial, using eSim, we will learn to-
|
Show Slide:
Systems Requirements
|
To record this tutorial, we will use-
|
Show Slide:
Prerequisites |
To practice this tutorial, basic knowledge of analog and digital electronics is required. |
System Computer:
Desktop icon |
To launch eSim, double-click on the eSim icon on your desktop. |
Show slide:
Launch eSim through Terminal esim >> press Enter
|
Alternately, you can also open eSim from the terminal.
|
System Computer:
eSim startup window
|
eSim window opens up.
|
Let us now create an RC circuit schematic and simulate it. | |
eSim Main Window:
Creating New Project
|
Click on the New Project button, to create a new project.
|
Please note that spaces are not allowed in the Project name. | |
eSim Main Window:
Project Explorer >> point to RC >> Double-click >> click Open Schematic |
Our new project RC will now appear under Projects.
Double-click on RC to select the project. To create the circuit schematic, click Open Schematic button on the left toolbar. |
eSim schematic window:
Click Ok. |
Click on Yes in the confirmation dialog box.
|
eSim schematic window:
Click on Place component tool >> click anywhere |
Let us now add components to the schematic.
|
eSim schematic window:
Adding Resistor
|
Type eSim_Devices in the Filter field.
|
eSim schematic window:
|
Then select R and click on OK. Now click anywhere on the editor.
|
Click on the editor once. | Place the resistor R on the editor, by clicking on the editor once. |
Press F1.
|
Zoom in by pressing F1.
|
eSim schematic window:
Adding Capacitor
|
Click on the editor once again.
|
Place capacitor on the editor | Place the capacitor C on the editor as done before. |
eSim schematic window:
Adding Sine Source
|
Click again on the editor.
select sine and click on OK.
|
Place sine on the editor | Place the sine on the editor as done before. |
Filter field >> Type gnd >> select gnd >> click OK >> place on editor | Similarly, type gnd and place a ground terminal on editor. |
eSim schematic window:
Adding Plots
|
Similarly, type eSim_Plot, select the plot_v1 and place it on the editor. |
Copy plot_v1 >> place on editor | We need one more plot for output.
|
This is the plot component used to plot voltages at the required nodes. | |
eSim schematic window:
Adding Labels
|
Let us now add labels to the schematic.
|
Click on Place global label tool >> click anywhere >> Type IN >> click on OK | Click on Place global label tool from the right toolbar.
|
Click on Place global label tool >> click anywhere >> Type OUT >> click on OK | Similarly, place one more label OUT in editor. |
Let us move and arrange the components to create the RC circuit. | |
eSim schematic window:
Moving the components Place cursor on resistor >> press 'M' |
To move the resistor, place the cursor on it and press the key 'm'. |
Click on editor at preferred location. | Place it at the preferred location, by clicking on editor again. |
eSim schematic window:
Rotating the components
|
To rotate the resistor, place the cursor on it and press the key 'r'.
|
eSim schematic window:
Connecting wires to the schematic |
Now, let us connect the various components using wires. |
eSim schematic window:
Click on Place wire button >> click sine resource and drag between Sine and Resistor >> click on it. |
Click on Place wire button from the right toolbar
|
Similarly, connect all the components as demonstrated here. | |
eSim schematic window:
|
The plot components are placed at the output and input nodes.
|
eSim schematic window:
Annotate the schematic
|
To annotate the schematic components,
|
eSim schematic window:
Giving values to components |
To assign a value to the resistor, right-click on it and choose Edit Component.
|
Similarly, assign value 1u for capacitor. | |
eSim schematic window:
Perform ERC check Click on Perform electrical rules check button >> click on Run. |
Now let us do electrical rules check for this schematic.
on the top toolbar .
|
Point to the errors. | We can see the errors -
|
Close ERC |
Ignore the global label not connected error,
since we have used the labels for naming the nodes only.
|
eSim schematic window:
Adding Power Flag |
Note that the ground terminal pin is highlighted by a green arrow in the schematic.
|
Click on Place component tool >> Click on Schematic editor >> Type PWR_FLAG >> click Ok >> place it on the editor
|
Click on Place component tool.
|
Select wire >> connect PWR_FLAG to gnd
|
Connect this power flag to the ground terminal using a wire.
|
eSim schematic window:
Perform ERC check
|
Now repeat the electrical rules check.
|
Click on Delete Markers >> click on Close. | Click on Delete Markers and then click on Close. |
eSim schematic window:
Generating Kicad Netlist
|
Now let us generate the netlist of this circuit.
|
Click Generate netlist >> spice tab >> check Default >> click on Generate
|
Click on the Spice tab.
|
eSim schematic window: | A Kicad netlist of the RC circuit has been generated.
|
eSim Main Window:
Click on Convert Kicad to Ngspice |
Now, let us add simulation parameters to this netlist.
|
Kicad to Ngspice Converter:
|
Let us add transient parameters in Analysis tab.
|
Kicad to Ngspice Converter:
Inserting values
Start time >> 0ms
|
Make Start Time equal to 0 by doing the following:
|
Step time >> 5ms
Stop time >> 30ms |
Similarly, make the Step time 5 milliseconds
and Stop time 30 milliseconds. |
Kicad to Ngspice Converter:
Source Details Tab |
Let us add the source details
To do so, click on Source details tab. |
Kicad to Ngspice Converter:
offset value >> 0
amplitude >> 5
frequency >> 50
delay time >> 0
damping factor >> 0
|
Enter the offset value as 0 and press Tab.
|
Kicad to Ngspice Converter:
Press Convert button |
We will talk about the Ngspice Model, Device Modelling and subcircuits tab in later tutorials.
|
Click Ok. Close the kicad to ngspice tool |
A confirmation dialog box appears. Here let's click Ok.
Close the kicad to ngspice tool by clicking close at the top right corner of the window. |
eSim Main Window:
Click on Simulation. |
Click on simulation from the eSim toolbar to simulate the example. |
|
An ngspice terminal and plot windows open along with a python plot window. |
Ngspice Plot:
|
The plot waveforms show transient analysis of the RC circuit.
|
Python Plot Window:
|
Select the python plot window by clicking on Plotting tab in the dock area.
|
Check IN and OUT nodes >> click plot
|
To plot the output:
Check the IN and OUT nodes and click on the plot button.
|
Python Plot Window:
Multimeter Feature
|
To view the rms values of node voltages, click on the multimeter button.
|
Show Slide:
Device Models and Subcircuits |
Let us see how to simulate a circuit involving semiconductor devices and subcircuits. |
Show Slide:
Download code file |
Let us simulate 7805VoltageRegulator circuit, which has diodes and a LM7805 regulator IC. |
eSim Main Window :
Click on Open Project button.
Click on 7805VoltageRegulator>> Click on Open button. |
Click on Open Project button from the left toolbar. Click on Desktop. Click on 7805VoltageRegulator. Click on the Open button at the bottom right corner. |
eSim Main Window:
Double click on 7805VoltageRegulator.
|
In the Projects window of eSim, double-click on 7805VoltageRegulator.
|
eSim Schematic Window:
Show annotated 7805VoltageRegulator schematic. |
I have annotated, performed ERC, and generated the spice netlist for this circuit. |
I will now switch back to the eSim Main Window | |
eSim Main Window:
|
Now, let us add simulation parameters to this netlist.
|
Kicad to Ngspice Converter:
Hover mouse over values entered in Analysis and Source details tab. |
I have already added the parameter values in the Analysis and source details tab. |
Kicad to Ngspice Converter:
|
Let us assign device models to the semiconductor components inside the schematic.
|
Kicad to Ngspice Converter:
Device Modelling Tab Hover cursor over Diode 1: esim_diode |
We will add a device model for Diode 1: esim_diode
|
Kicad to Ngspice Converter:Device Modelling Tab
Click on Add>> Double click on Diode>> Click on D.lib>> Click on the Open button. |
Click on Add and then double-click on Diode.
|
We will perform the same steps for the remaining diodes as well. | |
Kicad to Ngspice Converter:Device Modelling Tab | Now let’s add the subcircuit file for LM_7805 subcircuit.
|
Kicad to Ngspice Converter: Subcircuits tab:
Click on Add>>Double click on lm7805 folder>> Click on the Open button |
Click on Add
|
Kicad to Ngspice Converter:
Press Convert button.
|
Press the Convert button to convert the kicad netlist to ngspice netlist.
|
eSim Main Window:
Click on Simulation. |
Click on simulation from the left toolbar. |
eSim Main Window:
Hover mouse over Ngspice plots and python plots.
|
An ngspice terminal and ngspice plot windows opens along with a python plot window.
|
Let us summarize. | |
Show Slide:
Summary
|
In this tutorial, we learnt how to-
|
Show Slide:
Forum |
Please post your timed queries in this forum.
|
Show Slide:
FOSSEE Forum |
Please post your general queries on eSim in this forum. |
Show Slide:
Textbook Companion |
FOSSEE team coordinates the TBC project. |
Show Slide:
Acknowledgment
|
Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India.
|
Previous slide
|
This is _________ from IIT Bombay, signing off.
Thank you.
|