The idea I came up with is a ciruit that is supposed to generate precise voltage references of 1/12V (for half steps) and 1V (for octaves) that can then be added together in various configurations
Can I keep the power supply as +/- 12V but use a 2.5V reference instead of 10V? My power supply doesn't go higher than +/-12V. And then can I power both RV3 as well as the string of R4-R15 from this reference?Try using +/- 15V supplies for the ICs, and limit the variable voltage range to 0 to +10V with a 10V reference.
Divide the lower voltages from the 10V ref.
The LM339 common mode range is up to (positive supply - 1.5V) so you cannot use the same voltage at the inputs as for the supply.
And, use high precision resistors as AK suggests.
(A lot of common opamps cannot work well within around 3V of one or both supplies, so it's always good practice to allow decent "headroom" for the supply voltage beyond the maximum signal in or out range).
Prior to digital interfaces and MIDI, synths commonly worked with CV + gate using 1V per octave, and a lot of modular synths still do - so the concept is by no means dumb!
There is a spec that is called common mode range for inputs, and it insures
inputs always function properly if that is met. If not in spec input can produce
unpredictable output.
View attachment 146261
5. Positive excursions of input voltage may exceed the power supply level. As long as one input voltage remains within the common mode range the comparator will provide a proper output state. Refer to the Maximum Ratings table for safe operating area.
No you dont need another power supply, its just the range of V that can be put on input pins,
+ and - input pins (not power pins), to maintain functionality.
Regards, Dana.
This tip with lowering the voltage on the input pins has given me the biggest advance in weeks! I went from 160% off target to 20% and I just need to be withing 10% for the pitch to sound correct. What else can I do to improve the accuracy of this circuit? The problem is still the same. As more of the 83.3mV get added together more voltage comes from somewhere. It's much less now but still needs to be lower. Are there better components I can get? Someone on reddit mentioned tl074s are from the 70s and outdated. I switched to TL051 but I don't know if those are any better for my application. Are the switches and comparators I'm using decent? I don't know if the bug is due to type of components, circuit design or both.Try using +/- 15V supplies for the ICs, and limit the variable voltage range to 0 to +10V with a 10V reference.
Divide the lower voltages from the 10V ref.
The LM339 common mode range is up to (positive supply - 1.5V) so you cannot use the same voltage at the inputs as for the supply.
And, use high precision resistors as AK suggests.
(A lot of common opamps cannot work well within around 3V of one or both supplies, so it's always good practice to allow decent "headroom" for the supply voltage beyond the maximum signal in or out range).
Prior to digital interfaces and MIDI, synths commonly worked with CV + gate using 1V per octave, and a lot of modular synths still do - so the concept is by no means dumb!
Can you explain how this would make a difference? It makes sense to me that the summing mixer reistors need to be accurate so they are all the same. But how does it affect the 1/12V if the string of 12 resistors for the comparator input are slightly off, wouldn't that just affect the accuracy of the intervals that activates the switches? Secondly, how would 0.1% resistors in the precision voltage circuit help? Non of the resistors are even the same value and I'm using trim pots to get precise values for 1/12V anyways. I'm not resisting (haha) just don't have enough understanding of electronics.First thought, change all resistors (except for the LEDs) to 0.1% tolerance. You will get both improved accuracy and improved temperature performance; and a more stable 1/12V.
ak
When you are referring to the divider is that the string of 12 resistors (1k) or the summing mixer (10k)The input offset V is 5 mV, an offset to each R divider tap V, so real
issue is divider accuracy. The divider absolute errors compound as you get
to max values at top of divider.
Can I keep the power supply as +/- 12V but use a 2.5V reference instead of 10V? My power supply doesn't go higher than +/-12V. And then can I power both RV3 as well as the string of R4-R15 from this reference?
When you say I cannot use the same voltage at the inputs as for the supply you mean the maximum voltage that goes into the non-inverting input of any LM339 must be at least 1.5V lower than the positive supply voltage? Or I need a seperate voltage source (like a voltage reference)? Or both?
Just checking because I know it's written a bit small. R27-R42 (the 10k resistors for the summing mixer and post switch) are currently 0.1% tolerance. I'm considering getting some 0.01% tolerance ones to try. Would that actually improve the offset by a factor of 10?Re. the resistors - the most critical are the step ones from the analog switches to the summer and the opamps; all the 10K ones.
What is a low value preset?The ones in the summing amp and inverter can throw off the scaling or offsets. In high precision circuits, it's common practice to add a low value preset in series with each resistor (or with a slightly lower value resistor) to be able to calibrate each stage exactly.
Will try this for sure!Another thought - try adding 10V zener regulation to the voltage input to the analog switches?
I had a quick look at what hysteresis is. By no means enough to fully grasp all the implications. So far it seems like it would only cause a "voltage wiggle" as the CV passes the threshold and would not explain the permament increase in voltage of the references? Am I understanding this correctly?One issue not discussed so far is no hysteresis is used on the comparators,
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?