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
Exponential converters / CV question
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
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
lorencz



Joined: Oct 04, 2015
Posts: 18
Location: Detroit
Audio files: 2

PostPosted: Sun Oct 04, 2015 10:44 am    Post subject: Exponential converters / CV question Reply with quote  Mark this post and the followings unread

I'm really new to synth DIY, so I'm sorry if these are really basic silly questions, but anyway:

As far as I understand, basically all oscillators work by charging and discharging caps. The oscillator I've been playing around with is a basic square/tri generator based on a comparator/integrator pair. I've looked at a number of expo designs and want to experiment with some basic V/Oct control. I'm confused by how CV input affects cap charging. I thought that the amps in the CV signal would affect the charging rate of the caps, but then it occurred to me that one of the functions of the op amp CV summers that are in most OSC circuits is not only mixing inputs, but also acting as a buffer, isolating the current of the CV signal from the OSC circuit, so that the power of the CV input doesn't matter, only the voltage amplitude of the signal. Is this correct?

Secondly, if I'm working with a basic square/tri OSC based on an integrator/comparator pair, would the CV output from the expo be fed into the inverting input of the integrator?

For reference, this is the basic circuit I'm working with: http://www.circuitstoday.com/wp-content/uploads/2009/09/triangular-waveform-using-schmitt-trigger-and-integrator.jpg
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


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

PostPosted: Sun Oct 04, 2015 1:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Welcome lorencz

I am not an expert, but could give some hints as to look into what direction.

To make the frequency change you would need to change the rate at which the capacitor of the integrator is charged / discharged. This would be the same as altering the input voltage for the integrator stage. so you would need to change the amplification of the circuit driving he integrator. Just inputting a voltage to the comparator stage would alter the DC set point but not its amplification, so that will not really work.

The first stage usually does a voltage to current conversion, where the current out depends exponentially on the voltage in.

The current is then used to charge the capacitor until the comparator finds it enough after which the current will either be reversed (for a tri-core oscillator) or the capacitor will be shorted (for a saw-core oscillator).

This way you will get a frequency depending on the input voltage, as a higher current will charg (or discharge) the capacitor faster.

The reason for doing this is that a transistor basically makes the conversion needed (except there are a couple of drawbacks that need be ironed out which complicates the circuit a bit).

Anyway ... hope this may help a bit, and maybe some expert here could chime in :-)

_________________
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
lorencz



Joined: Oct 04, 2015
Posts: 18
Location: Detroit
Audio files: 2

PostPosted: Sun Oct 04, 2015 5:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you for your reply, it was helpful, but i think i should clarify. Let's assume there are two CV controllers I'm working with. I'm putting out a 4v signal from both, but one puts out 20mA and the other puts out 15mA. Wouldn't the one with the higher current charge the cap faster, AND: doesn't an op amp CV summer serve as a means to make the current of the CV signal irrelevant, basically making the voltage the only variable signal passed on due to the fact that the op amp is running off the same power rails as the OSC?

Secondly, today I put together a few expo circuits in LTspice, connected them to an integrator/comparator pair, hoping i could figure out how this works. I had a bipolar 12v supply running the OSC, and the CV input was a unipolar positive voltage from a separate power supply. I fed the output from the expo into the inverting input of the integrator, but when i changed the voltage of the CV input signal, the Hz of the saw wave was not affected, so i feel like maybe I'm applying the signal to the wrong part of the circuit.

Anyway, hopefully that makes sense?
Back to top
View user's profile Send private message Visit poster's website
elmegil



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

PostPosted: Sun Oct 04, 2015 9:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

OP amp buffers shouldn't care what the source can push, unless the source can't push whatever input impedance you've set up (most oscillators are around 100K). Op amps have very very low (ideal is 0) input current. I would agree that part of the function of the summing op amps is buffering, and part of it is simplicity in mixing disparate signals together.

I don't know much about software simulations, other than I've noted that the mac program "iCircuit" is flat wrong about some basic op amp circuits I've been trying to simulate lately.
Back to top
View user's profile Send private message
L´Andratté



Joined: Sep 23, 2012
Posts: 150
Location: Hamburg, Germany
Audio files: 5

PostPosted: Tue Oct 06, 2015 10:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi lorencz!
In the circuit you posted you would theoretically make r3 a variable resistor and the control voltage change it´s resistance (what blue hell meant with changing the integrator drive). So that circuit has to be hugely modified for voltage control unless your using a vactrol in which case there is no exact v/oct.
Check out the ota thread, phobos posted a document that contains a nice beginner friendly triangle/square oscillator, made of an lm13700.
Back to top
View user's profile Send private message
gdavis



Joined: Feb 27, 2013
Posts: 359
Location: San Diego
Audio files: 1

PostPosted: Wed Oct 07, 2015 11:32 am    Post subject: Reply with quote  Mark this post and the followings unread

lorencz wrote:
Thank you for your reply, it was helpful, but i think i should clarify. Let's assume there are two CV controllers I'm working with. I'm putting out a 4v signal from both, but one puts out 20mA and the other puts out 15mA. Wouldn't the one with the higher current charge the cap faster,

You're thinking about this the wrong way. The CV controllers aren't going to push a specific current, only a specific voltage. The current is going to depend on the voltage and the load resistance based on ohms law, I=V/R.
For example, if both CV sources are giving 4V and the summing amp has 100k input resistors, both CV sources will drive 4/100k = 40uA.

To generalize the concept, the CV controller outputs are voltage sources. An ideal voltage source will produce whatever current is necessary (based on the load it's driving) to establish it's desired voltage.

The counterpart to a voltage source is a current source. An ideal current source will produce whatever voltage is necessary to establish it's desired current.

Quote:
AND: doesn't an op amp CV summer serve as a means to make the current of the CV signal irrelevant, basically making the voltage the only variable signal passed on due to the fact that the op amp is running off the same power rails as the OSC?


Sort of. It serves as a buffer so the circuit downstream doesn't affect the circuit upstream. I wouldn't say that it makes the current irrelevant, but it presents a consistent load to the source and provides a fresh source to the destination making the voltage and current more stable.

Quote:
Secondly, today I put together a few expo circuits in LTspice, connected them to an integrator/comparator pair, hoping i could figure out how this works. I had a bipolar 12v supply running the OSC, and the CV input was a unipolar positive voltage from a separate power supply. I fed the output from the expo into the inverting input of the integrator, but when i changed the voltage of the CV input signal, the Hz of the saw wave was not affected, so i feel like maybe I'm applying the signal to the wrong part of the circuit.

If you're talking about the integrator/comparator pair linked in your original post, making a VCO out of that isn't going to be as trivial as plugging an expo converter into an opamp input; it's significantly more complex than that.

Referring back to what I stated above, the typical BJT pair expo converter is basically a current source, but they can only drive current in one direction. The triangle core oscillator like the one you referenced requires current in both directions - one for the ramp up and the other for ramp down.

Saw core is easier since the ramp is only in one direction, then you just reset it with a JFET across the cap. For a triangle core, you need something to reverse the charging current. As L´Andratté alluded to, R3 is what is giving you a current, and the comparator switching between V+ and V- is switching direction. You can't simply plug the expo converter into that to control the charging current.

For a triangle core, an OTA is convenient since it is a current source, has a current control input (which can be driven by your expo converter) and has a differential input similar to an opamp that can be used to switch the current direction.

_________________
My synth build blog: http://gndsynth.blogspot.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
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
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