| Author |
Message |
elmegil

Joined: Mar 20, 2012 Posts: 983 Location: Chicago
Audio files: 14
|
Posted: Wed Dec 05, 2012 10:03 pm Post subject:
Practical control voltage difference circuit? |
 |
|
So I built this Utility Distribution module cobbled together from various circuits.... I have gate and trigger buffered mults that are Ray Wilson's design, I have a CV mult with no offsets based on Ray's design but with the glide and offset omitted, another CV mult with offsets but no glide, same source. Then I wanted to do Sum and Difference. So I have A and B jacks with attenuation, and sum and difference circuits taken more or less from textbook examples (I don't remember precisely, but the difference circuit was probably from Forrest M Mims Op Amp Notebook).
Except I have found that the sum and difference don't play nice together using the same inputs, at least as I have naively put them together.
I sum the two with a simple standard mixer circuit. But then I also take the attenuated B input and use it as negative input to another op amp, and the attenuated A input and use it as the positive input. See the attached schematic fragment.
It's not shown, but I'm using nc jacks with the normal connection grounded. Due to the way these are wired, when I'm doing A = CV and B = 0 (nothing plugged in) the B attenuator actually creates a voltage divider from A through the two summing input resistors and the parallel resistances on either side of the wiper, so that I get a nonzero B even when both sides of the pot are grounded--unless I have the pot all the way at either extreme. I get similar results when I'm trying to do A = 0 and B = CV to get an inversion.
I've googled and searched here for any actual application circuits but haven't turned anything up. I'd think maybe a strategically placed diode might work, except that I'd then be contending with the diode drop (sum a diode drop back in to compensate?). So am I right in thinking the only thing I can do to fix this is a buffer between the attenuators and the sum/difference input resistors?
Silly me for thinking "oh this is so simple I don't need to breadboard it"
| Description: |
|
| Filesize: |
11.33 KB |
| Viewed: |
1190 Time(s) |

|
|
|
|
Back to top
|
|
 |
slacker
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
|
Posted: Thu Dec 06, 2012 11:28 am Post subject:
|
 |
|
| If you make the resistors associated with the difference part much bigger than the pots, the voltage divider effect should be much less, try 1 Meg. It won't be perfect but it might be good enough. |
|
|
Back to top
|
|
 |
elmegil

Joined: Mar 20, 2012 Posts: 983 Location: Chicago
Audio files: 14
|
|
|
Back to top
|
|
 |
Osal
Joined: Aug 16, 2011 Posts: 106 Location: Here
|
Posted: Thu Dec 06, 2012 12:22 pm Post subject:
|
 |
|
I would say that it should work correctly as it is right now.
You should achieve a zero when no signal is applied.
And I don't see any voltage divider. Keep in mind that the inverting input of IC4A is virtual ground. The opamp makes the two inputs be at same level. Since +input is grounded, -input is also 0.
I would look for any short in the PCB, or any mistake in the PCB layout.
By the way, there is no need to ground the normal connection. _________________ electronic-sea.net |
|
|
Back to top
|
|
 |
elmegil

Joined: Mar 20, 2012 Posts: 983 Location: Chicago
Audio files: 14
|
Posted: Thu Dec 06, 2012 12:57 pm Post subject:
|
 |
|
Ok, I was neglecting the virtual ground at IC4A pin 2. It's acting as I describe though, perhaps my connection on pin 3 is bad....though I'd expect it not to work at all then
When you speak of the normal connection, do you mean R8 on the + input of the difference op amp?
Hm....
Let's look at this a different way. Voltage A at J1 tip, through atten pot which is for sake of argument all the way up, then goes through 100K to IC1A pin 3 (by the way, the chip indicators are not accurate between the diagram and the actual wiring, it's likely more like IC4B). And then through another 100K to ground. So *there* is a voltage divider as well, and that would actually hold pin 2 at the same potential as pin 3, and then THAT going through 100K and B's attenuation pot ... could that be the problem? But then changing B's attenuation pot shouldn't have any effect...
I will Check IC4A pin 3 and remove R8 and see if anything changes, and then go looking for other problems.
Thanks.... |
|
|
Back to top
|
|
 |
slacker
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
|
Posted: Thu Dec 06, 2012 1:08 pm Post subject:
|
 |
|
I think this is the problem. The parallel resistance from the wiper to ground of the lower pot and R6 form a voltage divider attached to the the inverting input of IC1A, the inverting input will be at the same voltage as the non inverting input. What ever voltage is on the wiper of the pot then gets fed into the summer through R3.
So worse case, with the pot in the middle and 5 volts on the inverting input you get 5 x 50/150 = 1.666 volts going into the summer. That's why I think making R6 bigger will reduce the problem. |
|
|
Back to top
|
|
 |
Osal
Joined: Aug 16, 2011 Posts: 106 Location: Here
|
Posted: Thu Dec 06, 2012 1:18 pm Post subject:
|
 |
|
| Quote: | | When you speak of the normal connection, do you mean R8 on the + input of the difference op amp? |
I was referring to this that you said:
| Quote: |
It's not shown, but I'm using nc jacks with the normal connection grounded |
About the differential amplifier, IC1A, you can analysis it grounding first R6 and after R7, then you sum the results and you get the substractor. For the positive input (with R6 grounded), the voltage divider R7-R8 halves the signal but then is doubled by R19-R6, so the gain is 1. For the negative input (with R7 grounded) it is just an inverting amplifier with gain-1. _________________ electronic-sea.net |
|
|
Back to top
|
|
 |
Osal
Joined: Aug 16, 2011 Posts: 106 Location: Here
|
Posted: Thu Dec 06, 2012 1:51 pm Post subject:
|
 |
|
| Quote: | | It's not shown, but I'm using nc jacks with the normal connection grounded. Due to the way these are wired, when I'm doing A = CV and B = 0 (nothing plugged in) the B attenuator actually creates a voltage divider from A through the two summing input resistors and the parallel resistances on either side of the wiper, so that I get a nonzero B even when both sides of the pot are grounded--unless I have the pot all the way at either extreme |
Ah! now I have understood! So you increase the resistors as slacker said or decrease the resistance of the pots to minimize the effect.
Better would be to buffer the signals before split them. That are two extra op-amps. Maybe you could do it only with one more opamp? _________________ electronic-sea.net |
|
|
Back to top
|
|
 |
elmegil

Joined: Mar 20, 2012 Posts: 983 Location: Chicago
Audio files: 14
|
Posted: Thu Dec 06, 2012 2:27 pm Post subject:
|
 |
|
I have put the circuit into the simulator at falstad.com and it behaves as my real world circuit did. I will experiment with the options there to find the best solution.
Thank you all  |
|
|
Back to top
|
|
 |
elmegil

Joined: Mar 20, 2012 Posts: 983 Location: Chicago
Audio files: 14
|
Posted: Thu Dec 06, 2012 2:53 pm Post subject:
|
 |
|
In simulation 1M for the difference amp helps, but is still .05V off, which is more than a quarter step. Putting 1M for the summing amp as well is only .01 better at .04V off.
I will have to figure out how to get some buffers, I think  |
|
|
Back to top
|
|
 |
elmegil

Joined: Mar 20, 2012 Posts: 983 Location: Chicago
Audio files: 14
|
Posted: Thu Dec 06, 2012 10:55 pm Post subject:
|
 |
|
Luckily had just enough space to ooch in a TL072, and with the buffers in place, all is right with the world  |
|
|
Back to top
|
|
 |
slacker
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
|
Posted: Sat Dec 08, 2012 5:30 am Post subject:
|
 |
|
| Cool, glad you got it sorted. |
|
|
Back to top
|
|
 |
|