Hi José,
Welcome to EasyEDA.
###LM339
This example:
><https://easyeda.com/file_view_How-to-include-a-5-Pin-Comparator-in-a-schematic_JrXRL3Xfw.htm>
shows you how to put the generic EasyEDA open collector comparator model:
>*compOC5pEE*
into a schematic using the the 5 pin opamp symbol from the EasyEDA Libs.
If you would prefer to use the actual LM339 model from TI, then I have just put a copy of that spice model from here:
><http://www.ti.com/product/LM339/toolssoftware>
into the EasyEDA library.
In the example above, instead of using compOC5pEE, if you edit the symbol name to:
>*TI_LM339*
then EasyEDA will use the TI_LM339 model.
Note that, unlike the EasyEDA models, the TI_LM339 model does not model the power supply drain correctly and it may give very strange results if you leave the open collector output unconnected!
It also does not model the behaviour of under/over/reverse voltages on supply and i/o pins.
Don't forget that the spice model is for a single comparator.
###CD4016 and CD4066
At present, there are no dedicated spice models in EasyEDA for the CD4016 and CD4066 devices.
The simplest way to model these devices is just to use the Switch from the EasyEDA Libs:
><https://easyeda.com/file_view_Controlling-EasyEDA-switches_hRL3WewOI.htm>
Please also see:
><https://easyeda.com/file_view_EasyEDA-switches-are-not-ideal_0MEe2PNZp.htm>
><https://easyeda.com/file_view_Effects-of-finite-switch-resistances_Ba4mEWewq.htm>
If you need more accurate modelling of the CD4016 and CD4066 type devices (for example for on-resistance non-linearity and frequency dependent off-isolation) then please post back. I may be able to provide better models.
:)
I may be able to do better than those models.
They use the same basic switch as the Voltage Controlled Switch I already described. All they do is wrap them up in a subcircuit called 4016 or 4066 etc.
I'll get back to you tomorrow.
:)
Hi José,
You will now find a collection of CD4016 and CD4066 symbols and models in this project folder:
><https://easyeda.com/project_view_CMOS-4016-and-4066-analogue-switches_PCwOI0iAS.htm>
All the symbols can be found in the library using SHIFT+F and will bring their associated spice models into the schematic.
:)
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice