You need to use EasyEDA editor to create some projects before publishing
LM339 spice model for CD4066 and CD4016 or there?
6020 5
jfminformatica 10 years ago
I would like to assemble a circuit using LM339 and the CD4066 (or CD4016) possible? models exist for these components?
Comments
andyfierman 10 years ago
Hi José, Welcome to EasyEDA. ###LM339 This example: > 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: > 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: > Please also see: > > 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. :)
Reply
andyfierman 10 years ago
To clarify: To model simple analogue switches, you can use the Voltage Controlled Switch from EasyEDA libs. :)
Reply
jfminformatica 10 years ago
============= SPICE Model ================= .SUBCKT 4066B_10 S1 D1 IN1 S2 D2 IN2 S3 D3 IN3 S4 D4 IN4 VDD VSS xS1 S1 D1 IN1 VDD VSS 4066 xS2 S2 D2 IN2 VDD VSS 4066 xS3 S3 D3 IN3 VDD VSS 4066 xS4 S4 D4 IN4 VDD VSS 4066 .SUBCKT 4066 S D IN VDD VSS aSW IN ( D S ) 4066_10 D2 VSS D D_input D1 D VDD D_input .MODEL D_input D() .MODEL 4066_10 aswitch (cntl_off= 0.5 cntl_on= 7.0 + r_off= 1e12 r_on= 50 log=TRUE ) .ENDS .ENDS ============= Model template ================= x%p %tS1 %tD1 %tIN1 %tS2 %tD2 %tIN2 + %tS3 %tD3 %tIN3 %tS4 %tD4 %tIN4 + %tVDD %tVSS %m OR .subckt 4066-%REF% CONT SW1 SW2 VP VN C4 SW1 CONT 600f C5 SW2 CONT 600f C2 SW2 VN 5p B1 n1 SW2 i=v(n1,sw2)/1200*uramp(v(vp,vn)) C3 SW1 VN 5p C1 SW2 SW1 1.6p D1 SW2 VP clamp D2 VN SW2 clamp D3 SW1 VP clamp D4 VN SW1 clamp R1 SW2 SW1 1G S1 SW1 n1 CONT VN S1 .model S1 VSWITCH RON=1 ROFF=1G VON=3 VOFF=2.5 .model clamp D rs=20 .ends KNOW IF IS POSSIBLE DUE TO USE MAKING ADJUSTMENTS.
Reply
andyfierman 10 years ago
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. :)
Reply
andyfierman 10 years ago
Hi José, You will now find a collection of CD4016 and CD4066 symbols and models in this project folder: > All the symbols can be found in the library using SHIFT+F and will bring their associated spice models into the schematic. :)
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
联系我们:https://docs.lceda.cn/cn/FAQ/Contact-Us/index.html不再提醒
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 -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

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