Difference between revisions of "ESim/C2/Device-Model-creation-and-Simulation/English"
(Created page with "'''Device Model Creation and Simulation using eSim''' '''Author: Gaurav Supal''' '''Keywords: video tutorial, eSim, Device Model, Parameters, EDA, Simulation, analysis, uplo...") |
Nancyvarkey (Talk | contribs) |
||
Line 24: | Line 24: | ||
* create '''device model''' | * create '''device model''' | ||
− | * add or remove ''' | + | * add or remove parameters of '''device model''' |
− | * | + | * save the '''device model''' |
* upload the '''external device model''' | * upload the '''external device model''' | ||
− | |||
− | |||
|- | |- | ||
Line 38: | Line 36: | ||
* '''Ubuntu Linux '''16.04 | * '''Ubuntu Linux '''16.04 | ||
* '''eSim '''version 1.1.2. | * '''eSim '''version 1.1.2. | ||
− | |||
− | |||
|- | |- | ||
Line 45: | Line 41: | ||
Pre-requisites | Pre-requisites | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| To practice this tutorial, basic knowledge of | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| To practice this tutorial, basic knowledge of '''analog and digital electronics''' is required. |
− | + | ||
− | '''analog and digital electronics''' is required. | + | |
|- | |- | ||
Line 60: | Line 54: | ||
eSim startup window | eSim startup window | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| '''The eSim '''window opens up. | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| '''The eSim '''window opens up. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 68: | Line 59: | ||
Creating device model library | Creating device model library | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now let us | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now let us create a '''device model''' library for a '''Diode.''' |
|- | |- | ||
Line 74: | Line 65: | ||
Click on >> '''Model Editor''' button | Click on >> '''Model Editor''' button | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on the '''Model Editor''' button on the left tool-bar. |
|- | |- | ||
Line 80: | Line 71: | ||
Click >> '''New''' and Enter Model Name >> '''Diode_test''' | Click >> '''New''' and Enter Model Name >> '''Diode_test''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''New''' and type the '''Model '''name as''' Diode ''''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''New''' and type the '''Model '''name as''' Diode underscore test'''. |
+ | |||
+ | Click on '''OK'''. | ||
|- | |- | ||
Line 89: | Line 82: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| Highlight |
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| The | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| The basic parameters of a '''Diode''' is displayed. |
− | We will keep the same for our '''diode''' | + | We will keep the same for our '''diode model''' and edit it later. |
|- | |- | ||
Line 99: | Line 92: | ||
Click >> '''Save '''and Close>> '''model editor window''' | Click >> '''Save '''and Close>> '''model editor window''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on the '''Save '''button at the top of the ''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on the '''Save '''button at the top of the '''Model editor window.''' |
− | Now | + | Now close the '''Model editor window.''' |
|- | |- | ||
Line 130: | Line 123: | ||
Click''' '''on>> '''Open Schematic''' | Click''' '''on>> '''Open Schematic''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Open the '''schematic''' and view the '''circuit''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Open the '''schematic''' and view the '''circuit.''' |
Line 139: | Line 132: | ||
Click on >> '''Convert Kicad to Ngspice''' | Click on >> '''Convert Kicad to Ngspice''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on''' Convert Kicad to Ngspice '''button on the left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on''' Convert Kicad to Ngspice '''button on the left tool-bar. |
|- | |- | ||
Line 145: | Line 138: | ||
Click >> '''Source Details tab'''. | Click >> '''Source Details tab'''. | ||
− | |||
− | |||
− | |||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Don’t change the previous values in the '''Analysis and the Source Details tab'''. | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Don’t change the previous values in the '''Analysis and the Source Details tab'''. | ||
Line 154: | Line 144: | ||
Click''' '''>> '''Device Modeling tab''' and Click''' '''>> '''Add''' | Click''' '''>> '''Device Modeling tab''' and Click''' '''>> '''Add''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Next, click on '''Device Modeling tab''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Next, click on '''Device Modeling tab'''. |
+ | |||
+ | And then click on '''Add '''button at the right of the text box. | ||
|- | |- | ||
Line 160: | Line 152: | ||
Select >> '''Diode''' folder >> '''Diode_test''' | Select >> '''Diode''' folder >> '''Diode_test''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Select the '''Diode underscore test''' from the '''Diode''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Select the '''Diode underscore test''' from the '''Diode folder'''. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| Click on >> '''Convert''' and click >> '''OK''' | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| Click on >> '''Convert''' and click >> '''OK''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now click on '''Convert '''button at the bottom of the window. | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now click on '''Convert '''button at the bottom of the window. |
Line 179: | Line 171: | ||
Click on >> '''Simulation''' Button | Click on >> '''Simulation''' Button | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on the '''Simulation''' button on the left tool-bar and check the output. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Let us now edit | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Let us now edit our '''Device model''' to re-check the output. |
|- | |- | ||
Line 189: | Line 181: | ||
Click on >> '''Model Editor''' button | Click on >> '''Model Editor''' button | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click''' Model Editor''' button on the left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click''' Model Editor''' button on the left tool-bar. |
|- | |- | ||
Line 195: | Line 187: | ||
Click '''Edit '''>> '''Diode''' >> '''Diode_test''' | Click '''Edit '''>> '''Diode''' >> '''Diode_test''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Edit''' button at the top of the''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Edit''' button at the top of the '''Model editor window.''' |
Line 217: | Line 209: | ||
Double click >> value of '''“N”''' parameter | Double click >> value of '''“N”''' parameter | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Double-click on the value of '''“N” '''and change the value from | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Double-click on the value of '''“N” '''and change the value from 1 point 6 7 9 to 4 point 6 7 9. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 227: | Line 215: | ||
Click >>'''Save '''and Close>> '''model editor window''' | Click >>'''Save '''and Close>> '''model editor window''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Save''' button at the top of the''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Save''' button at the top of the''' Model editor window. ''' |
Line 236: | Line 224: | ||
Click on >> '''Convert Kicad to Ngspice''' button >> '''click Device Modelling tab''' | Click on >> '''Convert Kicad to Ngspice''' button >> '''click Device Modelling tab''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now click on '''Convert Kicad to Ngspice''' button on the left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now click on '''Convert Kicad to Ngspice''' button on the left tool-bar. |
Line 251: | Line 239: | ||
Click on >> '''Convert''' and click >>''' OK''' | Click on >> '''Convert''' and click >>''' OK''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Convert''' button at the bottom of the | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Convert''' button at the bottom of the window. |
− | click on''' OK ''' | + | click on''' OK '''in the confirmation dialog box. |
|- | |- | ||
Line 260: | Line 248: | ||
Click on >> '''Simulation''' Button | Click on >> '''Simulation''' Button | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now, click on '''Simulation''' button from the left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Now, click on '''Simulation''' button from the left tool-bar and check the modified output. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| '''Ngspice Plot Windows:''' | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| '''Ngspice Plot Windows:''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Notice the change in the '''output''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Notice the change in the '''output plot.''' |
Line 271: | Line 259: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Let us now upload | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Let us now upload an '''external model''' file in '''eSim.''' |
|- | |- | ||
Line 277: | Line 265: | ||
Click on >> Model Editor button | Click on >> Model Editor button | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click''' on Model Editor''' button on the left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click''' on Model Editor''' button on the left tool-bar. |
|- | |- | ||
Line 283: | Line 271: | ||
Click on >> '''Upload''' | Click on >> '''Upload''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Upload '''button at the top of the''' | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Upload '''button at the top of the''' Model editor window.''' |
|- | |- | ||
Line 291: | Line 279: | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Go to '''Diode folder '''and select '''D dot lib.''' | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Go to '''Diode folder '''and select '''D dot lib.''' | ||
+ | Note: We are uploading '''D dot l i b''' from '''Diode '''folder for demonstration. | ||
− | |||
− | + | User can upload any''' dot l i b '''file from his system. | |
− | User can upload any''' dot | + | |
|- | |- | ||
Line 302: | Line 289: | ||
− | + | Now click on the '''OK '''button in the dialog box. | |
|- | |- | ||
Line 314: | Line 301: | ||
Click on >> '''Convert Kicad to Ngspice''' button >> click '''Device Modelling tab''' | Click on >> '''Convert Kicad to Ngspice''' button >> click '''Device Modelling tab''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Convert Kicad to Ngspice''' button on the left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on '''Convert Kicad to Ngspice''' button on the left tool-bar. |
Line 329: | Line 316: | ||
Click on >> '''Convert''' and click >> '''OK''' | Click on >> '''Convert''' and click >> '''OK''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on the '''Convert button''' at the bottom of the window | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Click on the '''Convert button''' at the bottom of the window. |
− | Now click on '''OK '''in the | + | Now click on '''OK '''in the confirmation dialog box. |
|- | |- | ||
Line 338: | Line 325: | ||
Click on >> '''Simulation''' Button | Click on >> '''Simulation''' Button | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Lastly, click on the '''Simulation''' button from left | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| Lastly, click on the '''Simulation''' button from the left tool-bar and check the modified output. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| <<PAUSE>> | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| <<PAUSE>> | ||
− | |||
Now let us summarize. | Now let us summarize. | ||
Line 357: | Line 343: | ||
* create '''device model''' | * create '''device model''' | ||
− | * add or remove ''' | + | * add or remove parameters of '''device model''' |
− | * | + | * save the '''device model''' |
* upload the '''external device model''' | * upload the '''external device model''' | ||
− | |||
− | |||
|- | |- | ||
Line 370: | Line 354: | ||
− | Create the '''Full wave Bridge Rectifier circuit''' using the '''D dot | + | Create the '''Full wave Bridge Rectifier circuit''' using the '''D dot l i b model '''file in '''eSim''' and simulate it. |
|- | |- | ||
Line 396: | Line 380: | ||
http://spoken-tutorial.org | http://spoken-tutorial.org | ||
− | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| * Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India. | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| |
+ | * Spoken Tutorial Project is funded by NMEICT, MHRD, Govt. of India. | ||
* For more details, visit this website. | * For more details, visit this website. | ||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| Thank you slide | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:none;padding:0.0694in;"| Thank you slide | ||
− | |||
− | |||
| style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| This is Usha from IIT Bombay signing off. | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding:0.0694in;"| This is Usha from IIT Bombay signing off. |
Revision as of 09:57, 30 January 2018
Device Model Creation and Simulation using eSim
Author: Gaurav Supal
Keywords: video tutorial, eSim, Device Model, Parameters, EDA, Simulation, analysis, uploading model
|
|
Show Slide:
Opening Slide |
Welcome to the spoken tutorial on “Device Model Creation and Simulation using eSim” |
Show Slide:
Learning Objectives |
In this tutorial, using eSim we will learn how to-
|
Show Slide:
Systems Requirements |
To record this tutorial, we will use-
|
Show Slide:
Pre-requisites |
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. |
System Computer:
eSim startup window |
The eSim window opens up. |
eSim Main Window:
Creating device model library |
Now let us create a device model library for a Diode. |
eSim Main Window:
Click on >> Model Editor button |
Click on the Model Editor button on the left tool-bar. |
Model Editor Window:
Click >> New and Enter Model Name >> Diode_test |
Click on New and type the Model name as Diode underscore test.
Click on OK. |
Model Editor Window:
Select >> Diode category |
Now select Diode category. |
Highlight | The basic parameters of a Diode is displayed.
|
Model Editor Window:
Click >> Save and Close>> model editor window |
Click on the Save button at the top of the Model editor window.
|
Let us run our Diode model using an example. | |
eSim Main Window:
Open >> Diode_Characteristics
|
Open the Diode_characteristic example from the Examples folder.
Examples folder is located in eSim hyphen 1.1.2 folder which you have downloaded while installing. |
Double Click >> Diode_characteristic in projects | From Projects, double-click on the Diode_characteristics example. |
eSim Main Window:
Click on>> Open Schematic |
Open the schematic and view the circuit.
|
eSim Main Window:
Click on >> Convert Kicad to Ngspice |
Click on Convert Kicad to Ngspice button on the left tool-bar. |
Click >>Analysis tab
Click >> Source Details tab. |
Don’t change the previous values in the Analysis and the Source Details tab. |
Kicad to Ngspice window:
Click >> Device Modeling tab and Click >> Add |
Next, click on Device Modeling tab.
And then click on Add button at the right of the text box. |
Device Modelling tab:
Select >> Diode folder >> Diode_test |
Select the Diode underscore test from the Diode folder. |
Click on >> Convert and click >> OK | Now click on Convert button at the bottom of the window.
|
Kicad to Ngspice window:
Close >> Kicad to Ngspice window |
After this, close the Kicad to Ngspice window. |
eSim Main Window:
Click on >> Simulation Button |
Click on the Simulation button on the left tool-bar and check the output. |
Let us now edit our Device model to re-check the output. | |
eSim Main Window:
Click on >> Model Editor button |
Click Model Editor button on the left tool-bar. |
Model Editor Window:
Click Edit >> Diode >> Diode_test |
Click on Edit button at the top of the Model editor window.
|
Model Editor Window:
point to >> Add/Remove button |
We can add and remove parameters in the model.
|
Model Editor Window: | Now we will modify the parameters values, to check the effect on the model. |
Model Editor Window:
Double click >> value of “N” parameter |
Double-click on the value of “N” and change the value from 1 point 6 7 9 to 4 point 6 7 9. |
Model Editor Window:
Click >>Save and Close>> model editor window |
Click on Save button at the top of the Model editor window.
|
eSim Main Window:
Click on >> Convert Kicad to Ngspice button >> click Device Modelling tab |
Now click on Convert Kicad to Ngspice button on the left tool-bar.
|
Device Modelling tab:
Add >> Diode>> Diode_test |
Add our modified Diode underscore test from Diode folder in the Device Modeling tab. |
Kicad to Ngspice window:
Click on >> Convert and click >> OK |
Click on Convert button at the bottom of the window.
|
eSim Main Window:
Click on >> Simulation Button |
Now, click on Simulation button from the left tool-bar and check the modified output. |
Ngspice Plot Windows: | Notice the change in the output plot.
|
Let us now upload an external model file in eSim. | |
eSim Main Window:
Click on >> Model Editor button |
Click on Model Editor button on the left tool-bar. |
Model Editor Window:
Click on >> Upload |
Click on Upload button at the top of the Model editor window. |
Diode >> D.lib
Note: We are uploading D.lib from Diode folder for demonstration, user can upload any .lib file from his system. |
Go to Diode folder and select D dot lib.
Note: We are uploading D dot l i b from Diode folder for demonstration.
|
Type D1 >> click OK | A dialog box opens where we will enter the Model name as D1.
|
Model Editor Window:
Close >> model editor |
Now close the model editor window. |
eSim Main Window:
Click on >> Convert Kicad to Ngspice button >> click Device Modelling tab |
Click on Convert Kicad to Ngspice button on the left tool-bar.
|
Device Modelling tab:
Add >> User Libraries >> D1 |
Add our modified D1 from User Libraries folder. |
Kicad to Ngspice window:
Click on >> Convert and click >> OK |
Click on the Convert button at the bottom of the window.
|
eSim Main Window:
Click on >> Simulation Button |
Lastly, click on the Simulation button from the left tool-bar and check the modified output. |
<<PAUSE>>
Now let us summarize. | |
Show Slide:
Summary
|
In this tutorial, we learnt how to,
|
Show Slide:
Assignment |
Here is the assignment for you to solve.
|
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 |
The FOSSEE team coordinates the TBC project. |
Show Slide:
Acknowledgment |
|
Thank you slide | This is Usha from IIT Bombay signing off.
Thank you. |