How to associate the .subckt to a New Spice Symbol
Hi all,
I would like to create a new schematic symbol with a model, so it can be simulated, but I'm not able to complete the task:
- I can see my symbol if I open Libraries and search for for IRLB3813PBF, although I'm not sure if it is visible for other people, as it appers under Personal.
- If I place my symbol, it comes all complete with the spice text, which is not very practical.
- I believe that I have to specify somewhere the spice prefix, but I can't find where.
The component I want to create is the IRLB3813PBF, by Infineon:
- Its spice model is available here: https://www.digikey.com/product-detail/en/infineon-technologies/IRLB3813PBF/IRLB3813PBF-ND/2118485
- It is packaged in a TO-220AB, which is already available in the libraries.
This is what I've done so far:
- From the menu, I've created a New Spice Symbol.
- I've drawn something that looks like a MOSFET, with a circle and three pins.
- I've assigned the
TO-220AB(TO-220-3)package. - I've numbered the pins according the the PCB package
- I've created a new Text area, and specified in its properties that it is a spice text.
- I've downloaded the spice model, which is a
.SUBCKT, and pasted into the Text area. For this I've double-clicked on the text to open the multi-line text editor, so as to avoid the carriage-return to collapse. - I've updated the spice number of the pins according to the inputs in the spice model.
- I've saved the symbol and specified the manufacturer reference, the provider and a link.
I've read the following tutorials:
- https://docs.easyeda.com/en/SchematicLib/SchLib-Create/index.html - But there is nothing very specifc about associating the spice model. It just explains about how to use the spice number in the pins.
- https://docs.easyeda.com/en/Simulation/Chapter1-Introduction/index.html - It emphasizes that it is quite straightforward to create a spice symbol for it within EasyEDA either by editing an existing symbol or by creating a new one from scratch, but it only provides two links about that subject, which I've followed:
- https://docs.easyeda.com/en/Simulation/Chapter14-Device-models/index.html - I took from there the idea that I had to paste the
SUBCKTinto a text of type spice, but there are not more details about the procedure when I'm creating a spice symbol - https://docs.easyeda.com/en/Simulation/Chapter15-Schematic-symbols-prefixes-and-pin-numbers/index.html - Important stuff but again, nothing particular to what I'm trying to do.
Any help would be greatly appreciated.
Regards,
Jean-Michel
Circuit Design
Sign In Or Register Comment after
No comments yet. Be the first to comment!