Your mission, should you choose to accept it: Opto-FETs in the audio path

Started by midwayfair, March 27, 2013, 01:02:42 PM

Previous topic - Next topic

midwayfair

... without distortion.

Following mine and Jazznoise's discussion in another thread.

For those who are unaware of the issue: If you stick and otpo-FET like the H11F1 in the audio path of a circuit, you'll get distortion above about 100mA.

I know there are ways to alleviate this. Ray Ring did it in his opto-Squeezer by shunting overvoltage away from the chip:
http://circuitsaladdotcom.files.wordpress.com/2013/03/simple-opto-comp1.gif
and
http://circuitsalad.com/2012/10/17/opto-fet-issue-solved-with-negative-feedback/

CultureJam tried it in his Shoot the Moon tremolo (it's like a shoot the moon) with bad results. I've tried it in several designs with similar failures.

I'm intensely interested in getting these chips to work in tremolo designs. But I would think shunting voltage around the chip would almost assuredly result in very little effect. Cutting signal would result in less signal (and possible a redesign would be in order).

So ... who has ideas for some ways to prevent distortion in these chips?
My band, Midway Fair: www.midwayfair.org. Myself's music and things I make: www.jonpattonmusic.com. DIY pedal demos: www.youtube.com/jonspatton. PCBs of my Bearhug Compressor and Cardinal Harmonic Tremolo are available from http://www.1776effects.com!

alparent

Sorry that I cannot (as always) offer nothing more then questions.

Why are you so intensely interested in getting these chips to work in tremolo designs?
What would be the advantages?

Thanks for educating me!

Govmnt_Lacky

I am probably talking out of my rear end on this but...

Have you tried some sort of buffer set-up before the opto-FET and then a recovery stage after?
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

R.G.

Quote from: midwayfair on March 27, 2013, 01:02:42 PM
For those who are unaware of the issue: If you stick and otpo-FET like the H11F1 in the audio path of a circuit, you'll get distortion above about 100mA.
Why would you ever want 100ma of signal current?
R.G.

In response to the questions in the forum - PCB Layout for Musical Effects is available from The Book Patch. Search "PCB Layout" and it ought to appear.

garcho

Typo?

I've read about these in the synth world but never used them. Those peeps just attenuate the signal, but those are synth signals, much bigger. What about attenuation or the diode solution do you want to avoid? They also say they find the distortion pleasing; obviously a moot point in a trem.
  • SUPPORTER
"...and weird on top!"

Jazznoise

I think Midway meant 100mV

A recovery stage is fine, and still leaves the huge question of headroom. If we've to divide our 1V signal down 10 times and bring it back up, that's at least 14dB of noise not including any circuitry we add. And our headroom is still pretty bad . Paralleling stages could be done, but we're only going to get a 3dB improvement for one and a 6db for 4.

I posted one idea I had earlier about using a sort of active feedback stage that would only introduce noise when attenuating, but I've no idea how well it would work in real life:




Another idea is to use a balanced system with two H11F1's on identical signals of inverse polarity and sum them via a balanced amp afterwards. Distortion products would largely cancel, but the signal driving the LED would also have to be inverted on the inverted channel.
Expressway To Yr Null

midwayfair

Quote from: Jazznoise on March 27, 2013, 02:37:51 PM
I think Midway meant 100mV

Yes, thanks :)

alparent, these chips have several advantages:
-Exceptionally high dark resistance and low light resistance; and low light memory
-Cheaper than vactrols
-Smaller than vactrols
-Easily socketted, and less easily broken
-SMD packages are available, meaning they'll be obtainable for many years.
My band, Midway Fair: www.midwayfair.org. Myself's music and things I make: www.jonpattonmusic.com. DIY pedal demos: www.youtube.com/jonspatton. PCBs of my Bearhug Compressor and Cardinal Harmonic Tremolo are available from http://www.1776effects.com!

jonasx26

How about sticking the fet between the 'input-R' and inverting input of a inverting op amp. Shouldn't see much voltage across it, right?

merlinb

Quote from: jonasx26 on March 27, 2013, 03:28:05 PM
How about sticking the fet between the 'input-R' and inverting input of a inverting op amp. Shouldn't see much voltage across it, right?

+1.

This is a problem with any FET in the signal path, not just optos. Even with 6dB local feedback around the FET, they cannot normally stand more than about 1Vp-p across them before significant distortion. Place the FET in a virtual earth so it sees a reduced signal voltage.

Jdansti

Maybe you've thought of this, or maybe it defeats the purpose, but how about keeping the opto-FET out of the audio path and use it to drive or switch something else? 
  • SUPPORTER
R.G. Keene: EXPECT there to be errors, and defeat them...

Jazznoise

Quote from: jonasx26 on March 27, 2013, 03:28:05 PM
How about sticking the fet between the 'input-R' and inverting input of a inverting op amp. Shouldn't see much voltage across it, right?

That's much smarter than my idea! Might give this a go once the academic year finished.

For those reading, no, I still haven't gotten my Harmonic Percolator working!  :icon_redface:

Jdansti, a problem with that is we want linear resistance across a broad range and with a very small recovery time. 0.5 mS is as slow as I'd like to go if I was building a ring modulator or doing crazy filter FM stuff. On that particular note, I've always been curious about the idea of a Phase Modulation based synth pedal for guitar. But I feel that with most guitar tones, you'd need to be driving it with a sine tone to get anything other than jibberish! But even in situations such as audible filter sweeping, phase shifting or amplitude modulation the even-ness of the change will make or break the effect.

We've all done a filter sweep on an 8 bit rotary encoder, right? :icon_mrgreen:
Expressway To Yr Null

midwayfair

Quote from: jonasx26 on March 27, 2013, 03:28:05 PM
How about sticking the fet between the 'input-R' and inverting input of a inverting op amp. Shouldn't see much voltage across it, right?

Can you show an example? I'm having a hard time imagining it (my knowledge of op amps is pitiful -- I'm a transistor guy)
My band, Midway Fair: www.midwayfair.org. Myself's music and things I make: www.jonpattonmusic.com. DIY pedal demos: www.youtube.com/jonspatton. PCBs of my Bearhug Compressor and Cardinal Harmonic Tremolo are available from http://www.1776effects.com!

Jazznoise

I assume Jonas meant something like this?

The idea being that with half the signal on either side that the output would be 0. The two inputs of an op amp are compared to each other for an output. If they're exactly the same, the output is 0. In the standard guitar pedal we'd set one of the inputs to 4.5 volts so that the signal would be biased around half our power supply.



Just to elaborate on this, at max a 1V signal would be on this at which point a 0.5V would be on either side. Now the majority of the signal itself would be gone, but the distortion products would not. Much simpler layout and lower part count, though.
Expressway To Yr Null

jonasx26

Quote from: Jazznoise on March 28, 2013, 04:53:23 PM
I assume Jonas meant something like this?

The idea being that with half the signal on either side that the output would be 0. The two inputs of an op amp are compared to each other for an output. If they're exactly the same, the output is 0. In the standard guitar pedal we'd set one of the inputs to 4.5 volts so that the signal would be biased around half our power supply.
No. Take your bog-standard inverting op amp amplifier. Then stick the fet in series, between the input resistor and inverting input.
That is: IN > R > FET > Neg. Input. Then add another resistor from op amp output to negative input. (Everything DC-coupled, centered around Vdd-Vss/2.)

The signal will "pass through" the fet "as a current", while the op amp 'virtual earth'-effect means the voltage over the fet will be kept very small.
I've seen this technique used for reducing distortion in analog switches (makes non-linear Ron vs Vsignal matter less)
Works very well for switches being either hard on or hard off. Haven't tried anything in between. Haven't seen any circuits using this approach either.
Probably not a coincidence. Probably very difficult to get good results.That is, difficult beyond fiddly scaling and offsets of CV..

EATyourGuitar

cool audio makes a V2162 that is a clone of a ssm2162. I know its not as cheap but it is available in SMT.
WWW.EATYOURGUITAR.COM <---- MY DIY STUFF

samhay

Quote from: jonasx26 on March 28, 2013, 06:35:40 PM
Quote from: Jazznoise on March 28, 2013, 04:53:23 PM
I assume Jonas meant something like this?

The idea being that with half the signal on either side that the output would be 0. The two inputs of an op amp are compared to each other for an output. If they're exactly the same, the output is 0. In the standard guitar pedal we'd set one of the inputs to 4.5 volts so that the signal would be biased around half our power supply.
No. Take your bog-standard inverting op amp amplifier. Then stick the fet in series, between the input resistor and inverting input.
That is: IN > R > FET > Neg. Input. Then add another resistor from op amp output to negative input. (Everything DC-coupled, centered around Vdd-Vss/2.)

The signal will "pass through" the fet "as a current", while the op amp 'virtual earth'-effect means the voltage over the fet will be kept very small.
I've seen this technique used for reducing distortion in analog switches (makes non-linear Ron vs Vsignal matter less)
Works very well for switches being either hard on or hard off. Haven't tried anything in between. Haven't seen any circuits using this approach either.
Probably not a coincidence. Probably very difficult to get good results.That is, difficult beyond fiddly scaling and offsets of CV..

Starting thinking about the 'challenge' last night. Couldn't find any opto-FETs in my stash, but have some BJT phototransistors like the 4n35. Jonas' approach is what I came up with too. When the light is on, the gain ->1, when off gain -> 0. Only at the simulation stage thus far. On the plus side, you can do ring modulation, on the minus, looks like you might get some partial half wave rectification of the signal through the optocoupler.
I'm a refugee of the great dropbox purge of '17.
Project details (schematics, layouts, etc) are slowly being added here: http://samdump.wordpress.com

Lurco

Quote from: midwayfair on March 27, 2013, 08:17:42 PM
Quote from: jonasx26 on March 27, 2013, 03:28:05 PM
How about sticking the fet between the 'input-R' and inverting input of a inverting op amp. Shouldn't see much voltage across it, right?

Can you show an example? I'm having a hard time imagining it (my knowledge of op amps is pitiful -- I'm a transistor guy)

Look at the 5th visible picture here: http://www.diystompboxes.com/smfforum/index.php?topic=39145.msg278531#msg278531 ("Variable Attenuator")

slacker

Quote from: jonasx26 on March 28, 2013, 06:35:40 PM
Works very well for switches being either hard on or hard off. Haven't tried anything in between. Haven't seen any circuits using this approach either.
Probably not a coincidence. Probably very difficult to get good results.That is, difficult beyond fiddly scaling and offsets of CV..

I think this only really works for switches, my understanding is the the input resistor and the FET will act like a voltage divider, with the signal at one end and ground at the other. When the FET is on (switch closed) its resistance is tiny compared to the input resistor so there's very little voltage across it. When it's off (switch open) it's resistance is huge compared to the opamp feedback resistor so the opamp gives a large negative gain muting the signal. The FET's resistance is also huge compared to the input resistor so most of the voltage drop will be across it, as there's no output from the opamp any distortion this causes is irrelevant.
If you use it as a variable resistance then you could still get too large a voltage drop across it, say you had it set so the FET's resistance was equal to the input resistor, you'd get half the signal voltage across it.

merlinb


Jazznoise

Not too dig this up, but is Fig. 12 not the same idea as using it as an input attenuator?

Would the distortion products cancel for some reason?
Expressway To Yr Null