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 » YuSynth
VCO Exponenetial Converter Issues
Post new topic   Reply to topic Moderators: Scott Stites
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
robertlong13



Joined: Nov 07, 2019
Posts: 2
Location: New Hampshire

PostPosted: Thu Nov 07, 2019 10:48 pm    Post subject: VCO Exponenetial Converter Issues Reply with quote  Mark this post and the followings unread

Hello everybody. I'm a long-time electronics enthusiast, but brand new to modular synthesis. I just bought a massive collection of electronics components at an estate sale, and decided I'd try to breadboard a VCO (the plan is to eventually make my own cheapo eurorack synth using nothing but perfboard, pine, and some 3d printed parts).

I'm building the Yusynth VCO-V2 using mostly parts I had on hand. For now, it's just the sawtooth part, none of the waveshaping yet until I get the core working. To my astonishment, I was able to get it working... kind of. At low frequencies, the waveform starts to sag more and more, instead of being a straight line.

Around 10kHz, it looks good
Posted Image, might have been reduced in size. Click Image to view fullscreen.

But down at 800Hz, it's not
Posted Image, might have been reduced in size. Click Image to view fullscreen.

The waveform looks like that of a capacitor discharging through a resistor, which led me to believe that, at low currents, my exponential converter isn't acting as a constant current source. To confirm this suspicion, I used the uA measurement on my multimeter, and with the coarse knob adjusted very low, I was drawing about 5uA when connected to +5V, 12uA when connected to +12V, and 0.3uA when connected to 0V. So at that particular knob setting, expo converter is acting more like a 1M resistor than like a constant current source. At first I thought this might be somehow related to my using hand-matched 2n3904s, but then I found some BC547Bs, got two that matched and had the same symptom.

Thinking that the issue is with the very low currents, I changed R13 to 47k to give me something like 100uA reference current on the left transistor instead of 5uA. Then I had to increase C8 to make up for the higher currents (to a whopping 10nF), and change C10 to 100pF to give the capacitor a chance to fully discharge when the comparator triggers. This solved my low frequency issues entirely. They look great now. Unfortunately, and as I expected, my high frequency waves are starting to distort.

I searched around, and it turns out someone else has had the same symptoms I'm having. It's on this forum, under the title "Yusynth VCO problem tracking at low frequencies", but it looks like he never figured out what was going on.

Anyone have any ideas on what might cause this? It's on a breadboard, so there's obviously the chance I screwed something up, but I've checked and triple checked, and probed every suspect I can think of, but seem to have exhausted all my ideas.

Thank you very much (especially to Yves for designing, publishing, and explaining everything so well)
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Fri Nov 08, 2019 10:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Are you sure that your scope's input is set to DC (and not to AC)?
_________________
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
Grumble



Joined: Nov 23, 2015
Posts: 1310
Location: Netherlands
Audio files: 30

PostPosted: Fri Nov 08, 2019 12:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

yes, its on DC


39596B4D-BF70-4AC8-9564-D4A5F46C4355.jpeg
 Description:
 Filesize:  58.63 KB
 Viewed:  3664 Time(s)

39596B4D-BF70-4AC8-9564-D4A5F46C4355.jpeg



_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


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

PostPosted: Fri Nov 08, 2019 3:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

ah .. oaky, DC .. still it looks like AC coupling somewhere .. or a badly trimmed probe maybe.
_________________
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
robertlong13



Joined: Nov 07, 2019
Posts: 2
Location: New Hampshire

PostPosted: Fri Nov 08, 2019 5:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Gah!!! I figured it out on my drive to work this morning and just got a chance to test my new theory. It should have struck me as suspicious that there seemed to be almost exactly a 1MOhm bleeding from my capacitor. Like an idiot, I was probing the capacitor directly, and not the buffer amp output. Guess what my scope's input impedance is...

In all my life I've never actually had to deal with probing anything that had microamp-levels of current in it, and I've been able to live in the happy oblivious assumption that scope and multimeter impedance is just "infinite" for my practical purposes. I've had to be careful of probe capacitance before, but completely forgot about probe resistance.

It's working perfectly now (and technically was before, whenever I wasn't probing)!

Thanks for taking a look. Yes, the trace has a DC offset that's making it look like it's set to AC coupling. It's caused by the fact that this dumpter-reclaimed power supply I'm using isn't isolated from earth (but the ground isn't shorted to earth either though). It's weird, the ground in my circuit is about -0.7V referenced to earth, so I couldn't ground my circuit to my scope (it would cause overloads on my negative rail). I did try plugging channel 2 into ground and plotting the difference between CH1 and CH2, and it really was just a DC offset, so that wasn't screwing anything up, just adding a bit more noise than is really there. I'm building a power supply for my new DIY case tonight, so that'll solve that problem.

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


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

PostPosted: Fri Nov 08, 2019 5:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cool
_________________
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
Display posts from previous:   
Post new topic   Reply to topic Moderators: Scott Stites
Page 1 of 1 [6 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 » YuSynth
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