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 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » fonik's place
VC Master Clock with PWM - PCB run
Post new topic   Reply to topic Moderators: fonik
Page 4 of 4 [95 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3, 4
Author Message
diablojoy



Joined: Sep 07, 2008
Posts: 809
Location: melbourne australia
Audio files: 11

PostPosted: Thu Mar 17, 2011 3:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

will have to wait for the weekend not sure if i have any 4016 on hand but hopefully i can try some things out then
I will get back to you
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Mon Mar 28, 2011 12:57 am    Post subject: Reply with quote  Mark this post and the followings unread

hey diablojoy. i moved your posts to a new thread, showing your efforts in developing an advanced sync for this project. i assigned this new thread to you. hope you're fine wth that!?

Advanced Sync for the VC Master Clock

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
diablojoy



Joined: Sep 07, 2008
Posts: 809
Location: melbourne australia
Audio files: 11

PostPosted: Mon Mar 28, 2011 1:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

yes very fine with that and thank you Smile
Back to top
View user's profile Send private message
diablojoy



Joined: Sep 07, 2008
Posts: 809
Location: melbourne australia
Audio files: 11

PostPosted: Sun Apr 10, 2011 12:21 am    Post subject: Reply with quote  Mark this post and the followings unread

A couple of pics of a quad build
not finished yet but working and calibrated
still to add my mods
the wiring is a bit messy and took three times longer than it should have Embarassed but I am down to only using my left arm at the moment . I have carpel tunnel syndrome in my right which has been really bad for the past week can't grip anything , well thats my excuse and i'am sticking to it Laughing


IMG_20110410_9999_6.JPG
 Description:
 Filesize:  448.8 KB
 Viewed:  738 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

IMG_20110410_9999_6.JPG



IMG_20110410_9999_8.JPG
 Description:
 Filesize:  508.55 KB
 Viewed:  717 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

IMG_20110410_9999_8.JPG


Back to top
View user's profile Send private message
emdot_ambient



Joined: Nov 22, 2009
Posts: 667
Location: Frederick, MD

PostPosted: Thu Apr 14, 2011 8:27 am    Post subject: Reply with quote  Mark this post and the followings unread


Very awesome build! The wiring might have been a pain, but it turned out very neat and organized. I like that.

_________________
Looking for a certain ratio since 1978
Back to top
View user's profile Send private message Visit poster's website
marvkaye



Joined: Mar 14, 2011
Posts: 225
Location: Fla

PostPosted: Sat Jul 16, 2011 12:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

I know most of the focus on this project has moved over to the sync thread, but I've got a question about the basic VC clock circuit. Since the boards are sold out I've done a stripboard layout for it (be happy to post it if anyone's interested, and if Matthias doesn't mind) and have it mostly populated. (It's actually a dual board, with two complete VC clock circuits...) I used the circuit notes to include the various options, even set it up for the tempcos to achieve 1v/octave tracking. Then it occurred to me, this is a clock, not an oscillator, so why would I need 1v/octave tracking? Is there an implementation imagined for this thing where you raise the clock rate all the way into the audio range and use it like an oscillator? If that's the case, shouldn't there be a frequency range selector of some sort to select whether you want to use it as the clock to drive a sequencer vs using it as an alternative oscillator? (I apologize if these are really stupid questions, or if it's been discussed already... I've just had a hard time wrapping my brain around why someone would need 4 or 8 or 12 of these if all they want to do is control the speed of their sequencer.... I'd really like to get a better understanding of its uses.)

Thanks in advance....

<Marv>
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Sat Jul 16, 2011 1:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

marv,

1st: feel free to post your stripboard layout. we are on the DIY forum, and it is all about sharing, isn't it? anyways, thanks for asking...

2nd: i still have 5 of these little PCBs laying around, so they are not sold out yet (maybe i stored them for someone who wanted to pay later down the road and simply forgot about it? i dunno).

3rd: the core is actually based on the TB303 as seen in the old EFM bassace. so why not using it as a VCO?
IIRC someone asked for 1V/oct in the forum here, so i implemented it in the docs.

edit:
4th: the original idea of using more than one board was to have one master several slave boards. this way one could play with different settings and voltage control of the comparators - if needed.

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marvkaye



Joined: Mar 14, 2011
Posts: 225
Location: Fla

PostPosted: Sat Jul 16, 2011 4:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks, Matthias, I thought the stripboard layouts would be welcomed, but since you're selling the PCBs I felt it only right to ask first. That being said, the pictures are posted below.

Some comments....

The trimmers need to be the little teeny top-adjust types that are only 3/8" (or better yet, 1/4") square. The tradeoff is precision, I guess. You can get 3/8" square in 25 turn, but the 1/4" square are only 12 to 15 (at least based on what I've seen.) I'll probably opt for the 12 turn Muratas from Mouser... they're 1/2 the price of 25 turn Bourns trimmers. Sometimes economics needs to be in control. Wink

In order to fit the trimmer T1 you need to nudge R9 closer to R10, so leave a little extra on the R9 leads and maybe don't mount it perfectly tight to the board. That way you can fudge it over the little bit required. (At least this is what I ran into when I tried one of the 3/8" trimmers I had in my stock.... this is another reason I'm leaning to the smaller trimmers.)

Trimmers T2 and what I called T-J1 (for the one that connects between the regular circuit and J1 to accommodate the 1v/octave trimming, as outlined in the circuit notes) are both installed horizontally. This necessitates cutting the copper strip between their terminals (ie, between drillings) with a razor knife as opposed to the usual trick of simply drilling the copper away at the holes. I've detailed those cuts in two separate photos.

The wire jumper that carries V+ from the hole next to R7 down to pin #4 of the TL074 needs to be insulated instead of bus wire. This is because the collector lead of Q2 has to pass over it in order to connect to the standing vertical lead of R7... the insulation should prevent a short there.

The short vertical jumper just below R7 should be a little loop (ie, standing proud of the PCB surface a bit) in order to have an easy place to connect the left lead of the tempco.

I'd have preferred orienting Q1 and Q2 face to face to improve their thermal contact for the 1v/octave option, but I think if you squeeze them together til they touch and epoxy them and the tempco into a single lump, this orientation should probably work just fine. I guess we'll see.

Just so you know, I haven't finished populating my board yet, as I need to order the little trimmers, won't have them until next week sometime. This means that this layout is untested except for using the test function in Lochmaster. And if you'd like a copy of the Lochmaster .rst file, just drop me a PM or email me at marv at lancair dot net... I'd be happy to share it.

Enjoy!!!! Wink Wink Wink

____________
<Marv>

edit 10/8/12... the transistors below the LED pads at the upper RH side of each layout should have been labeled Q4, 2N3904. Sorry. Note added to picture file comments to that effect.


VC_Clock_SB_top.jpg
 Description:
Single VC clock stripboard layout, component side Please note: the transistor below the LED pad at the upper RH side of the board should have been labeled Q4, 2N3904. Sorry. As soon as I figure our how to upload a revised picture I'll make the correction
 Filesize:  248.85 KB
 Viewed:  777 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

VC_Clock_SB_top.jpg



VC_Clock_SB_bottom.jpg
 Description:
Single VC Clock stripboard layout, copper side
 Filesize:  279.4 KB
 Viewed:  750 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

VC_Clock_SB_bottom.jpg



VC_ClockX2_SB_top.jpg
 Description:
Double VC Clock stripboard layout, component side. Please note: the transistors below the LED pads at the upper RH side of each layout should have been labeled Q4, 2N3904. Sorry. As soon as I figure our how to upload a revised picture I'll make the correc
 Filesize:  282.79 KB
 Viewed:  754 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

VC_ClockX2_SB_top.jpg



VC_Clock_SB_T2-detail.jpg
 Description:
Detail of knife cut between drillings to accommodate the horizontal mounting of trimmer T2
 Filesize:  287.53 KB
 Viewed:  727 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

VC_Clock_SB_T2-detail.jpg



VC_Clock_SB_T-J1-detail.jpg
 Description:
Detail of knife cut between drillings to accommodate the horizontal mounting of the trimmer that heads out to J1 as per the circuit notes
 Filesize:  297.37 KB
 Viewed:  732 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

VC_Clock_SB_T-J1-detail.jpg



Last edited by marvkaye on Mon Oct 08, 2012 12:23 pm; edited 2 times in total
Back to top
View user's profile Send private message
prgdeltablues



Joined: Sep 25, 2006
Posts: 222
Location: UK
Audio files: 12

PostPosted: Fri Oct 28, 2011 1:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Finished building a dual (Master/Slave) VC Clock - excellent compliment to the Klee, really adds to the musicality. I have a couple of questions.

I'm using 12V, and in the build documents it says to change R12 to 20k and R14 to 15k to adjust the PWM response. On the schematic, R12 is the 100k resistor between the clock and the positive input of the comparator. Should that have said R13 - the top end of the voltage divider around the PWM pot?

The circuit seems to work well enough, so I guess the value of R12 isn't critical.

At some combinations of PWM pot setting and PWM CV, the output holds - for example, when I put a 0-5V square wave into the PWM CV, when it is at 0V, the output clocks as expected, but when the CV goes high to 5V, the output stops clocking. That seems to make sense, as the PWM CV and PWM pot are averaged into the negative input of the comparator. So if they average to more than 5V, the positive input (from the clock) will never exceed the negative input, so the comparator stays low. Is this the intended behaviour? It's quite cool!

I had to add 100k pull-down resistors to ground at the point marked JP2 on the schematic, where I've installed an on/off switch for the Master clock, as otherwise in the off position the output went haywire (every pattern light on the Klee was lit for a few seconds, then it stopped, but if I moved my hand near the switch, it would clock erratically). Realised this was because with the clock disconnected from the comparator, the positive input of the comparator was left floating. Any one else had that problem?

Peter
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Fri Oct 28, 2011 8:53 am    Post subject: Reply with quote  Mark this post and the followings unread

prgdeltablues wrote:
Finished building a dual (Master/Slave) VC Clock - excellent compliment to the Klee, really adds to the musicality.

that's what i've been thinking Very Happy

Quote:
I'm using 12V, and in the build documents it says to change R12 to 20k and R14 to 15k to adjust the PWM response. On the schematic, R12 is the 100k resistor between the clock and the positive input of the comparator. Should that have said R13 - the top end of the voltage divider around the PWM pot?

sure! thanks for the pointer, will have to correct that...

Quote:
At some combinations of PWM pot setting and PWM CV, the output holds - for example, when I put a 0-5V square wave into the PWM CV, when it is at 0V, the output clocks as expected, but when the CV goes high to 5V, the output stops clocking. That seems to make sense, as the PWM CV and PWM pot are averaged into the negative input of the comparator. So if they average to more than 5V, the positive input (from the clock) will never exceed the negative input, so the comparator stays low. Is this the intended behaviour? It's quite cool!

it is not a bug, it is a feature - not saying that this has been intended Laughing

Quote:
I had to add 100k pull-down resistors to ground at the point marked JP2 on the schematic, where I've installed an on/off switch for the Master clock, as otherwise in the off position the output went haywire (every pattern light on the Klee was lit for a few seconds, then it stopped, but if I moved my hand near the switch, it would clock erratically). Realised this was because with the clock disconnected from the comparator, the positive input of the comparator was left floating.

well spot, peter. i think it needs a pulldown resistor. the truth is i never built a multimodule with switches and all that stuff, so i just forgot about these...

thanks for sharing your findings, peter. hope you have/had some fun with the clock though...

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
inlifeindeath



Joined: Apr 02, 2010
Posts: 316
Location: Albuquerque, NM

PostPosted: Tue Nov 01, 2011 12:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

fonik, i just corrected the resistor values and it works like it should. Thanks prgdeltablues!!!
_________________
http://www.youtube.com/user/borisandfef
Back to top
View user's profile Send private message Visit poster's website
Paradigm X



Joined: Feb 15, 2011
Posts: 363
Location: Null and void
Audio files: 2

PostPosted: Mon Apr 30, 2012 7:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Is there interest in another run/anyone have a spare knocking around?

Many thanks, Ben


EDIT : Many thanks to the person who provided me with one PCB Smile Youve not made yourself known so I havent made your name public, but cheers Cool
Back to top
View user's profile Send private message
ringroad



Joined: Feb 28, 2012
Posts: 38
Location: Coventry, UK
Audio files: 1

PostPosted: Mon Oct 08, 2012 10:44 am    Post subject: stripboard layout Reply with quote  Mark this post and the followings unread

Just finished building this one from the stripboard layout kindly posted by Marv. It works happily, with one small alteration - the transistor next to the LED on the right should be labelled Q4 and is a 2N3904 rather than a 2N3906.
Back to top
View user's profile Send private message
marvkaye



Joined: Mar 14, 2011
Posts: 225
Location: Fla

PostPosted: Mon Oct 08, 2012 11:43 am    Post subject: Re: stripboard layout Reply with quote  Mark this post and the followings unread

ringroad wrote:
Just finished building this one from the stripboard layout kindly posted by Marv. It works happily, with one small alteration - the transistor next to the LED on the right should be labelled Q4 and is a 2N3904 rather than a 2N3906.


You're absolutely right.. sorry about that, oversight on my part when copying/pasting from Q3. I've added notes to that effect to the pictures and will upload corrected layouts once I figure out how to do that with the forum software. Glad to hear that it worked for you, though, that's excellent news. Have fun with it.

<marv>
Back to top
View user's profile Send private message
eXisteNz



Joined: Jun 08, 2010
Posts: 48
Location: Italy

PostPosted: Sat Apr 12, 2014 5:15 am    Post subject: Reply with quote  Mark this post and the followings unread

I've built the circuit from the stripboard layout but on a perfboard... Infortunately is not working properly: At slow rates, even if duty cycle is 50% the steps is not sequential! and skips one or two steps! It's like if pwm is not 50%, bit it was! What i should check to fix that issue?
Back to top
View user's profile Send private message
wackelpeter



Joined: May 05, 2013
Posts: 461
Location: germany
Audio files: 10

PostPosted: Thu Aug 10, 2017 12:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

eXisteNz wrote:
I've built the circuit from the stripboard layout but on a perfboard... Infortunately is not working properly: At slow rates, even if duty cycle is 50% the steps is not sequential! and skips one or two steps! It's like if pwm is not 50%, bit it was! What i should check to fix that issue?


Well a bit late to the party, but maybe of interest for someone else who discovers the same problem...

Noticed similar behaviour in my stripboard build, more specifically on my latest VCS stripboard were i noticed some drift in pitch. Then noticed that i had larger current differencies on my positive rails, which my PSU couldn't really handle and had a drop of 2mV at it's Output, which causes the VCS to drift a bit. The current was switching between high and low state from 14mA to 22,5mA. Reduced this drastically by using after the Output of the comparator Yves Usson's take from his Clock divider Output Driver there... Changed only the 4k7 to 8k2 and a 3k9 after the LED instead of 220r and a 12k to gnd and voila the Output was about 6V, the LED still blinks and the current was something between 17 and 18mA...

But after that i noticed i still have another PCB which causes some Problems in my Little case... it's Ken Stones VC Divider i've build on stripboard too, but as stupid as i was, didn't read the schematic carefully and forgot to do include different supply and gnd for digital and analog part of the cicruit...
Very Happy

To answer the quoted post: I guess it's related to your PSU, maybe running on it's upper Limits or not stable enough at handling some current changing value.

_________________
https://soundcloud.com/bastian-j
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Thu Aug 10, 2017 1:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

maybe because of using a switcher?
in recent times a lot of peole started using switching PSUs (i.e. Meanwell), thinking that the newer switchers have an acceptable noise level.
Alas, noise is not the only issue when using a switcher. The other issue is the regulation itself, the transient response: how fast can it compensate a sudden steep raise of current demand? linear PSUs are much much better in this.

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wackelpeter



Joined: May 05, 2013
Posts: 461
Location: germany
Audio files: 10

PostPosted: Fri Aug 11, 2017 11:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Well on my build that could be something PSU related too.

I'm using in that small cabinet a MFOS wall wart PSU with a 1A wall wart and 6800uF... currently i'm about 220mA on the positive rail...

But in my case it was a mix of two things i guess... firstly the VC-Divider which gave me some small sine wave on top of my positive rail when connected, this together with that mentioned small voltage drop led to the incorrect behaviour of the VC-Clock at low speed... When the speed was higher everythings seemed to be fine with it...

While looking over my VC-Divider again i see that i also have connected one LM358 to -15V instead of gnd as per the schematics...
Selfmade trouble i would say as it is in 99% of the cases when something seem to be wrong...
Very Happy

_________________
https://soundcloud.com/bastian-j
Back to top
View user's profile Send private message
wackelpeter



Joined: May 05, 2013
Posts: 461
Location: germany
Audio files: 10

PostPosted: Fri Aug 11, 2017 12:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Now having the LM358 connected to the correct gnd and separated digital gnd and +15V in my circuit all seems to work fine...

party!

_________________
https://soundcloud.com/bastian-j
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Fri Aug 11, 2017 1:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

thumb up
_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: fonik
Page 4 of 4 [95 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3, 4
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » fonik's place
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