Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 18th February 2006, 09:07 AM   (permalink)
Default SPICE model for a 74LS14

Does anyone know where I can find one? I've tried the Fairchild and Texas Inst sites but to no avail.

Thanks
__________________
Len
ljcox is offline  
Old 18th February 2006, 05:13 PM   (permalink)
Default Re: SPICE model for a 74LS14

Quote:
Originally Posted by ljcox
Does anyone know where I can find one? I've tried the Fairchild and Texas Inst sites but to no avail.

Thanks
Len, if you want it for SwCAD, I can show you how to set up the Schmitt trigger that's in the digital library to do a fair emulation of a 74LS14. Or you might figure it out for yourself.
__________________
Ron

Roff is offline  
Old 18th February 2006, 10:13 PM   (permalink)
Default

Ron,
I looked at it but could not see how to do it. So please advise.
__________________
Len
ljcox is offline  
Old 18th February 2006, 11:38 PM   (permalink)
Default

Quote:
Originally Posted by ljcox
Ron,
I looked at it but could not see how to do it. So please advise.
OK, place a Schmitt trigger on the schematic and right-click on it. Below is a screen capture of this. I parameterized the logic high voltage as an example. You could just make it 4, or 5, or whatever you think is right. I also picked typical values for delay, rise time, threshold voltage, and hysteresis. You can get them from the datasheet. If you want to add input and output resistance and capacitance, you will have to add them externally.
This model is only behavioral, but is still very useful, and runs very fast.
You can, of course, do similar setups with any of the digital parts. The D FF is very useful. I made a model of a 4-bit counter using these models,and it matched the CMOS part (can't remember which one, and I think it's on my computer at work) pretty well.
Attached Images
File Type: jpg captured.jpg (106.1 KB, 285 views)
File Type: png schmitt_setup_waves.png (13.7 KB, 287 views)
__________________
Ron

Roff is offline  
Old 19th February 2006, 01:57 AM   (permalink)
Default

Thanks Ron, much appreciated.

I'll hopefully be able to do it myself in the future.
__________________
Len
ljcox is offline  
Old 19th February 2006, 02:11 AM   (permalink)
Default

Quote:
Originally Posted by ljcox
Thanks Ron, much appreciated.

I'll hopefully be able to do it myself in the future.
Len, I hope I didn't leave the impression that I'm reluctant to help. I guess I get my strokes this way. :lol:
Does the behavioral model meet your needs?
__________________
Ron

Roff is offline  
Old 19th February 2006, 02:38 AM   (permalink)
Default

No Ron, I did not mean to imply that. I meant that I want to be able to learn how to write the models myself so, eventually, I don't need to ask.

But I expect I'll need more tuition yet.

I have not looked at the model yet, the garden & gardener (wife) await my attention.
__________________
Len
ljcox is offline  
Old 19th February 2006, 03:30 AM   (permalink)
Default

Quote:
Originally Posted by ljcox
No Ron, I did not mean to imply that. I meant that I want to be able to learn how to write the models myself so, eventually, I don't need to ask.

But I expect I'll need more tuition yet.

I have not looked at the model yet, the garden & gardener (wife) await my attention.
I should move to Oz this time of year. The temperature got all the way up to -2C today here in Boise. Garden, indeed! :x
__________________
Ron

Roff is offline  
Old 19th February 2006, 08:00 AM   (permalink)
Default

Ron,
In Melbourne, we don't have -2C even in winter. When I extracted myself from the garden, I fooled with SwCAD. Two questions:-

1. I inserted your model, but I can't see how to specify Vcc - see the screen dump below.

2. I read the help about mutual inductance, it said to use this format:- K1 L1 L2 1 but can't see how to input this data.

I assume that L1 and L2 are drawn in the normal way and then the Mutual Inductance parameters are input to connect them.

Please help.

Edit: I tried to upload the attachment twice but an upload error occurred both times.

What happened was that when I tried to run the simulation, an error message said essentially: Don't recognise Vcc. I had wondered about specifying Vcc, but could not see how to do it.
__________________
Len
ljcox is offline  
Old 19th February 2006, 06:28 PM   (permalink)
Default

Quote:
Originally Posted by ljcox
Ron,
In Melbourne, we don't have -2C even in winter. When I extracted myself from the garden, I fooled with SwCAD. Two questions:-

1. I inserted your model, but I can't see how to specify Vcc - see the screen dump below.
Notice in the screen capture above: ".param vcc=5". To place that on the schematic, click on the .op icon at the right end of the toolbar and type it in, then click OK. You need this tool for several options in SWCAD. I'm assuming you already know how to use it to add a component to the schematic that was not in the original library.


Quote:
2. I read the help about mutual inductance, it said to use this format:- K1 L1 L2 1 but can't see how to input this data. I assume that L1 and L2 are drawn in the normal way and then the Mutual Inductance parameters are input to connect them.

Please help.
This is also done using .op. Type in "K1 L1 L2 0.999" (or whatever value you choose) and click OK.
Quote:
Edit: I tried to upload the attachment twice but an upload error occurred both times.

What happened was that when I tried to run the simulation, an error message said essentially: Don't recognise Vcc. I had wondered about specifying Vcc, but could not see how to do it.
__________________
Ron

Roff is offline  
Old 19th February 2006, 09:37 PM   (permalink)
Default

Thanks Ron
__________________
Len
ljcox is offline  
Old 19th February 2006, 09:47 PM   (permalink)
Default

Quote:
Originally Posted by ljcox
Thanks Ron
No problema, de nada, etc., etc. :lol:
__________________
Ron

Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 08:55 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker