electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Spice 3f5 Lunetta Simulations
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jun 27, 2012 4:29 pm    Post subject: Spice 3f5 Lunetta Simulations
Subject description: Transistor Level Sims!
Reply with quote  Mark this post and the followings unread

At JovianPyx's suggestion I started looking into simulators. It seems that our best simulator for Lunettas is Spice 3f5, available cross-platform and as MacSpice for my Mac. I've started working on a library file and have created some test files and captured one early plot. It's beginning to shape up nicely.

If this keeps up, we will soon have the capability to do mixed signal simulations of practical Lunetta circuits, and be able to share files with each other despite our community's use of three different operating systems. I love the idea of not having to wire up anything to simulate a Lunetta, and also the ability to explore circuits that I don't have the chips for at the moment without having to wait for a parts order is nice.

Anyway, for all the reasons that simulators rock, here we have the beginnings of our own library file!

Les


CD40106_test.jpg
 Description:
 Filesize:  47.83 KB
 Viewed:  4064 Time(s)

CD40106_test.jpg



CD4000em.lib
 Description:
the em library file for 4000 series cmos, with a few basic models already!

Download
 Filename:  CD4000em.lib
 Filesize:  2.68 KB
 Downloaded:  296 Time(s)


Generic_test.cir
 Description:

Download
 Filename:  Generic_test.cir
 Filesize:  487 Bytes
 Downloaded:  197 Time(s)


_________________
"Let's make noise for peace." - Kijjaz

Last edited by Inventor on Wed Jun 27, 2012 10:25 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jun 27, 2012 4:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Some more circuit files for simulation...

Les


CD40106_test.cir
 Description:

Download
 Filename:  CD40106_test.cir
 Filesize:  424 Bytes
 Downloaded:  183 Time(s)


CD4013_test.cir
 Description:

Download
 Filename:  CD4013_test.cir
 Filesize:  560 Bytes
 Downloaded:  169 Time(s)


CD40106_4001_4011_test.cir
 Description:

Download
 Filename:  CD40106_4001_4011_test.cir
 Filesize:  491 Bytes
 Downloaded:  206 Time(s)


_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Wed Jun 27, 2012 4:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

This great stuff Les. salut
Could be very useful for all manner of tests. Very Happy
Where do you get it?

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jun 27, 2012 4:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Uncle Krunkus wrote:
This great stuff Les. salut
Could be very useful for all manner of tests. Very Happy
Where do you get it?


Oh, I'm just having fun and I guess that leads to good things!

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jun 27, 2012 9:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

OK, progress report. At this time all the logic works just fine, however I have been building D flip flop models for the CD4013 and CD4015 chips. The data sheet shows the schematics for these, which involve transmission gate feedback and feedforward, two-phase clocked. That's where the trouble arises because the DFF's components must be sized appropriately and I have little understanding of how to do this properly.

The CD4013 works well unloaded in forward propagation only. When i feed Qn back to D to make a TFF, the data just rails to VDD or VSS. I'm thinking that maybe I will also make some models that are not direct implementations at the transistor level, but are more behavioral models that simulate on a register transfer level rather than a transistor level.

Well, at least everything works fine in feedforward mode. That's something I guess...

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
elmegil



Joined: Mar 20, 2012
Posts: 2177
Location: Chicago
Audio files: 16

PostPosted: Wed Jun 27, 2012 9:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'll echo the comments, these are excellent and I expect to be useful.
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Jun 27, 2012 10:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

elmegil wrote:
I'll echo the comments, these are excellent and I expect to be useful.


That's what I live for, what motivates me! OK, here is the library file at this time, attached.

Les


CD4000em.lib
 Description:
the latest library file, flaws and all

Download
 Filename:  CD4000em.lib
 Filesize:  4.23 KB
 Downloaded:  304 Time(s)


_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Thu Jun 28, 2012 3:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Well I got some sleep and woke up fresh, realized that the transistors were of course improperly modeled with a knee at 2V rather than 1V. I changed them to 1V and resized some things a bit and fixed a wiring error, got the CD4013 and CD4015 models working - to a point.

Now they do work, indicating that the models are functional, but when I hook them up to other devices they fail. I suspect loading and timing issues that I will study soon. So, some good progress but still no cigar.

Les


CD4015_test.jpg
 Description:
output of working simulation
 Filesize:  65.57 KB
 Viewed:  143 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

CD4015_test.jpg



CD4015_test.cir
 Description:
test circuit with one cd4015 working correctly but not two and not with output resistors

Download
 Filename:  CD4015_test.cir
 Filesize:  867 Bytes
 Downloaded:  191 Time(s)


CD4000em.lib
 Description:
latest library file with major changes :)

Download
 Filename:  CD4000em.lib
 Filesize:  4.25 KB
 Downloaded:  215 Time(s)


_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use