How do I edit the netlist parameters of a symbol
1686 4
shane.kirkbride 7 years ago
In the easyEDA libs there is a BJT: 2DC2412R. I would like to edit the parameters for the ngspice simulation for this symbol. Can you tell me how to do this. What I would really like is an 2N2222A BJT and a MPF102 MOSFET in my netlist. Thanks, ~Shane
Comments
dillon 7 years ago
If you can find 2N2222A 's model ,you can add it in your design. follow bellow steps: 1. <https://easyeda.com/Doc/Tutorial/spiceSimulation.html#h.xdp9lfbkoas2> 2. example <https://easyeda.com/project_view_Class-A-2SK1058-MOSFET-Amplifier_B1VP7oiAS.htm>
Reply
example 7 years ago
We are working to provide a search function for the device simulation models available in EasyEDA. Right now there are a couple of ways to change the model for a device. i) Place a device from the EasyEDA Libs and then edit the device model name either in place or in the right hand properties panel. For instance, editing the model name of the default 2DC2412R model to 2N2222 will pull in the 2N2222 model from EasyEDA's spice model library. The trouble is until we get the search function up and running that is obviously too hit and miss for an arbitrary choice. ii) the second option is a bit more fiddly but allows you to run almost any unencrypted device model. Here's how: a) Find a spice model for your target device; b) Copy and paste it into a text placeholder (the T hotkey) in your schematic (but please respect the EULA and copyright of commercial files); c) In the right hand properties panel, change **text type**from **comment** to **spice**; d) place a symbol for the device from the EasyEDA Libs palette; e) edit the model name to the name of the model in the pasted file. f) done! There's an example of this here: <https://easyeda.com/file_view_Playing-with-model-parameters_Ev5rpnJG2.htm> This works fine for simple .model defined models. For .subckt defined models it is a little more complicated because you need to tell EasyEDA that the model is a .subckt and not a simple .model. There are some sections about this in the Tutorial here: <https://easyeda.com/Doc/Tutorial/spiceSimulation.html#h.xdp9lfbkoas2> <https://easyeda.com/Doc/Tutorial/spiceSimulation.html#h.epiawrvvot15> <https://easyeda.com/Doc/Tutorial/prefixesandPinNumbers.html> except that in the case of, say a MOSFET, you may have to change the symbol spice prefix from M for a simple model defined part to X for a more complex .subckt defined part. Even some humble diode models are in fact subckt defined to include things like package parasitics: compare the 1N1418 and the 1N4148W-V models in the netlist. For copyright reasons, EasyEDA does not yet have a .model for the MPF102 NJFET but you may be able to find one to paste in to use with the default 2N5639 symbol: just edit the name to MPF102 and you're away.
Reply
shane.kirkbride 7 years ago
Thanks this looks helpful. I'll try these out today.. ~Shane
Reply
shane.kirkbride 7 years ago
This works. Thanks!
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.