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
Does this kind of counter exist?
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Mon May 18, 2009 3:20 pm    Post subject: Does this kind of counter exist? Reply with quote  Mark this post and the followings unread

Here's what the 4040 does, the ripple carry counter:

Posted Image, might have been reduced in size. Click Image to view fullscreen.

See how each output stage is basded on the last, and the pulse length extends?

But that's not what i really want at the moment.

I'd like each output stage to still be based on the clock, but keeping the same pulse length, so:

Q1: up/down on each clock downward change
Q2: up/down on every second downward stage
Q3: up/down on every third downward stage

So the rippled pulses stay the same size as the clock pulses but are more spaced out.

See what I mean? If you know of an IC that does this please let me know.

Thanks
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Mon May 18, 2009 3:49 pm    Post subject: Re: Does this kind of counter exist? Reply with quote  Mark this post and the followings unread

droffset wrote:
So the rippled pulses stay the same size as the clock pulses but are more spaced out.


Sounds like what a rate multiplier does, note that a rate multiplier in fact is a divider. Only thing is that it doesn't double the spacing on each stage, as it has only one stage .. that stage however is binary programmable through a couple (like four) binary rate inputs.

Look at CD4089 for instance.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Tue May 19, 2009 1:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Blue Hell, I'll look into rate multipliers. Smile

Just to be clear this is the desired behavior.
Posted Image, might have been reduced in size. Click Image to view fullscreen.

I was thinking about setting up a 4017 to do the divisions i needed but i love the way that 4040 gives me several outputs ready to go.

Another thing to explore is flip/flops, I understand that's what ripple counters are based on.

The end goal is a monster clock module, that does both ripple carry counting on one column and this sort of Offset Counting on the other column.

All based on a pwm timer.
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: Tue May 19, 2009 4:09 am    Post subject: Reply with quote  Mark this post and the followings unread

droffset,

Q0 and Q2 could be obtained by ANDing of the available signals from the 4040. Q0 is the AND of the 4040's Q0 output with the clock, and Q2 is the AND of the 4040's Q2 with that derived Q0. Q1 requires a divide-by-three counter and Q3 looks like you'd need a divide-by-five counter (plus logic off of the output bits as described.

I'd consider changing the requirement so that the non-binary cascading bit thingie is a binary cascading bit thingie, that way you could derive everything from ANDing of the 4040's output bits. See what I mean?

Les

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



Joined: Nov 18, 2007
Posts: 301
Location: England
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 19, 2009 5:17 am    Post subject: Reply with quote  Mark this post and the followings unread

I think one of Ken Stone's designs uses a counter and some NAND or XOR gates to do this. Can't remember which one it is at the minute though, sorry.
Back to top
View user's profile Send private message
slacker



Joined: Nov 18, 2007
Posts: 301
Location: England
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 19, 2009 10:55 am    Post subject: Reply with quote  Mark this post and the followings unread

I was thinking of the master divider and unfortunately it doesn't do what I thought it did.
I tried what Les suggested and that gives you the 2,4,8,16... divisions but each one only stays high for 1 clock pulse. They're in sync with other though not offset.
What you could do is run the outputs through individual one shot generators then you could have whatever pulse length you wanted.
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: Tue May 19, 2009 11:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for checking out what I said, slacker: teamwork in action! Smile

I suppose to get really fancy, we'd need to look at it like this: Those pulses are 2, 3, 4, and 5 cycles long. 2 is a trivial case since 4 is 2x2, so that means we have 3x4x5 = 60 clock cycles before the pattern repeats. So we'd need a counter that counts to 60, then we could derive the desired clocks off of that using logic.

But anyways, I like the one-shot idea if you really really need those cascaded clocks.

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



Joined: Nov 18, 2007
Posts: 301
Location: England
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 19, 2009 12:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
Thanks for checking out what I said, slacker: teamwork in action! Smile


No problem, just a case of patching up the Lunetta, only took a couple of minutes.
Back to top
View user's profile Send private message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Tue May 19, 2009 12:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks guys, lots of ideas to try!

I'm not that fussed about a lot of the requirements, as long as something interesting comes out. Smile
Back to top
View user's profile Send private message
amplex



Joined: May 26, 2008
Posts: 64
Location: sacramento, ca
Audio files: 6

PostPosted: Tue May 19, 2009 3:50 pm    Post subject: 4522 possibly? Reply with quote  Mark this post and the followings unread

I don't know anything about this chip but I found this on Ryk's site and thought it might apply here! It looks to be a divide by N counter, might help for some of the odd divisions, not sure really..

http://www.classiccmp.org/rtellason/chipdata/hcf4522.pdf

_________________
http://www.soundclick.com/amplex
Back to top
View user's profile Send private message AIM Address
RF



Joined: Mar 23, 2007
Posts: 1502
Location: Northern Minnesota, USA
Audio files: 28

PostPosted: Tue May 19, 2009 5:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

droffset -
I may be missing something, but maybe this is what you are looking for?
It's a portion snipped from Ken Stones Pulse Divider.
It provides divisions of 2,3,4,5,6,7,8.
Does good things with clocks and audio.

bruce


pulse_divider_snip_616.gif
 Description:
 Filesize:  12.86 KB
 Viewed:  15665 Time(s)

pulse_divider_snip_616.gif



_________________
www.sdiy.org/rfeng

"I want to make these sounds that go wooo-wooo-ah-woo-woo.”
(Herb Deutsch to Bob Moog ~1963)
Back to top
View user's profile Send private message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Wed May 20, 2009 4:21 am    Post subject: Reply with quote  Mark this post and the followings unread

amplex, I have a different divide by N counter, i think it's the 4018, might do something similar, will have to play with it.

Bruce, Thanks for that, i had something similar in mind with 4017, glad i won't have to reinvent the wheel. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [12 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