DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: samhay on December 04, 2016, 06:20:12 AM

Title: Optical delay
Post by: samhay on December 04, 2016, 06:20:12 AM
There has been a few threads lately discussing short and/or alternative methods of generating delay.
When the discussion turned to bouncing a signal of the moon, I figured it was time to play along.

Ultrafast (sub nanosecond-ish) spectroscopy makes use of optical delay lines - some movable separation between 2 or more mirrors - to set very short time delays. I figured I would do the same using a phototransistor as the receiver, which we can drive via a distant LED. This is what I built:

(https://dl.dropboxusercontent.com/u/11996927/Optical_Delay.png)
(click for larger version).

It works, and gives surprising little distortion or noise.
The phototransistor has peak response ~ 900nm and I have some NIR LEDs, but opted to use a red LED so I could see that I was pointing it at the phototransistor - I can't see 900nm light.

I then set to play around with the distance between LED and phototransistor - every 3 cm (~1") should give ~100 picosecond delay. This didn't work very well over the distances I tried. It got progressively more difficult to bias the phototransistor as the distance increased (less light absorption) and further, the delay I measured was always ~50 microseconds (us). I am guessing this is limited by the LED and/or phototransistor response.

However, as a bonus/consolation prize, you can get a few dB of voltage gain, which I wasn't expecting.  If you put 2 LEDs in series and point them both at the phototransistor, you get more gain, so I guess this may arise due to constructive interference (i.e. loud nodes) between the 2 LED beams?

So, if you want a really short, ~50 us delay and/or a rather unique kind of booster (put 2 red LEDs in series where D1 is), then give it a try.

p.s. the frequency response of the delayed signal is not great either. Treble is rolled off quite significantly, again probably due to LED response. However, this could be seen as a colourful new kind of mojo...
Title: Re: Optical delay
Post by: deadastronaut on December 04, 2016, 09:36:43 AM
cool...could this be used to create the 'haas'' effect...?

where say a right channel can be ever so slightly delayed...

https://www.youtube.com/watch?v=-PFgCrvwByo


edit: this was a good episode of 'rough science' where the guy used an opened transistor
to communicate with light...very cool.

https://www.youtube.com/watch?v=e-wrF728ZNo&t=1135s
Title: Re: Optical delay
Post by: balkanizeyou on December 04, 2016, 09:41:25 AM
now you only need 1000 stages of this to get a long delay!

but in all seriousness, cool stuff.
Title: Re: Optical delay
Post by: samhay on December 04, 2016, 10:29:25 AM
> https://www.youtube.com/watch?v=e-wrF728ZNo&t=1135s
That's the same idea. They have a bigger light than I do.
The same approach is almost certainly how the 'light lead' works too (but they using an optical fibre, which is probably a better idea than trying to directly beam your signal across the stage): http://www.iconicsound.com/

Rob - I have an idea brewing for a Hass effector, but it won't be using this approach. You want 10's ms, and this is giving you 10's us, so your field will be a few mm closer to 1 ear than the other. Not sure this will cut it.

I did (briefly) consider using multiple stages as an optical BBD-a-like, but you need a few ms delay to be audible (AFAIK), so I would need ~40 stages for 2ms, which sounds like a lot of work...
Title: Re: Optical delay
Post by: R.G. on December 04, 2016, 11:57:49 AM
One could also use a speaker driving the end of a garden hose, with a mike at the other end. Delay is one millisecond per foot.

:)
Title: Re: Optical delay
Post by: samhay on December 04, 2016, 12:19:57 PM
^yes, that was mentioned recently.
http://www.diystompboxes.com/smfforum/index.php?topic=116204.msg1075044#msg1075044
Title: Re: Optical delay
Post by: ElectricDruid on December 04, 2016, 03:22:30 PM
Quote from: R.G. on December 04, 2016, 11:57:49 AM
One could also use a speaker driving the end of a garden hose, with a mike at the other end. Delay is one millisecond per foot.

So if I build a tube with a speaker at one end, and a microphone at the other attached to a long piston-arm that makes the microphone shoot up and down the tube, I could organize it so that I got delays between (say) 3 inches and 10 feet (hey, it's a big wheel) and then I'd have the world's weirdest flanger? Also the world's largest flanger. In fact, several new Guinness world records would probably have to be created for such a device.

T.
Title: Re: Optical delay
Post by: samhay on December 04, 2016, 03:25:18 PM
^It would be cooler if you built a giant trombone playing robot and used that as the variable delay, but yes.
Title: Re: Optical delay
Post by: R.G. on December 04, 2016, 03:39:22 PM
Quote from: samhay on December 04, 2016, 12:19:57 PM
^yes, that was mentioned recently.
And long, long ago, and many times in between.  :icon_biggrin:

There are issues, not the least of which is the resonance of the chamber between the mike and speaker, and the damping, or lack thereof.

A spring reverb is the same thing, but with magnetic "speaker" and "mike" on the ends. The speed of sound in metals is between several and many times the speed of sound in air. But there are the issues with resonance and reflections still gets in there.

The speed of light in air is about a half-nanosecond per foot, so you need ~2000 feet of travel per mS of delay. The loss of signal level is brutal, and so is the need for LONG travel paths. Maybe you could use a few km of optical fiber on a spool and put better "speakers" and "mikes" on the ends. A km of fiber is about 3281 ft, so you might get on the order of  units of milliseconds of delay out of a 1km fiber.  A good multimode optical fiber will have attenuation in the range of 3-6db per km, and a single mode fiber will be as low as 0.15db per km, so there's hope on the attenuation and signal loss front.

But a km spool of fiber is still big and heavy.  :icon_biggrin:
Title: Re: Optical delay
Post by: samhay on December 04, 2016, 03:45:37 PM
>But a km spool of fiber is still big and heavy.
and very expensive - I did consider this briefly.
Title: Re: Optical delay
Post by: Tony Forestiere on December 04, 2016, 05:48:19 PM
Maybe Wavley will kick in with his "Cistern" reverb. I can't locate the pictures.
Title: Re: Optical delay
Post by: Ben N on December 05, 2016, 09:08:55 AM
Bottom line: Little Cistern wont do what her Big Cistern do.
Title: Re: Optical delay
Post by: mac on December 05, 2016, 12:55:27 PM
QuoteOne could also use a speaker driving the end of a garden hose, with a mike at the other end. Delay is one millisecond per foot.

Put the hose into the fridge. As c drops with T you can have more ms per foot ;)

Or use the hose rubber, c is 60m/s.

mac
Title: Re: Optical delay
Post by: wavley on December 05, 2016, 01:07:43 PM
Quote from: Tony Forestiere on December 04, 2016, 05:48:19 PM
Maybe Wavley will kick in with his "Cistern" reverb. I can't locate the pictures.

Somewhere I have pictures, but 20mS delay time is a bit to ask of my cistern that is the only thing that I miss about my old house.  Nice, natural sounding reverb time though!

A while back I was working with one of the HAM operators at work trying to get his dish working again so that I could bounce my guitar off the moon in honor of the anniversary of the moon landing, but it never happened and now he's unlikely to do moon bounce until he sells his house and moves in with his daughter who is apparently building a HAM shack for him.

Quote from: Ben N on December 05, 2016, 09:08:55 AM
Bottom line: Little Cistern wont do what her Big Cistern do.

You're right there!  Mine was 20x10x6 but this one...

Title: Re: Optical delay
Post by: dbp512 on December 05, 2016, 08:16:53 PM
hmm, looks like it might work as a double tracker. I've had my eye on the keeley 30ms, but I don't like buying things when I could instead try and build them. Would the difference between 30ms and 50ms have much of an effect; or can we shrink the delay time just a touch?
Title: Re: Optical delay
Post by: chuckd666 on December 05, 2016, 08:37:45 PM
The delay time is 50 MICROseconds.
Title: Re: Optical delay
Post by: dbp512 on December 06, 2016, 12:05:43 AM
Quote from: chuckd666 on December 05, 2016, 08:37:45 PM
The delay time is 50 MICROseconds.

Well, this is super awkward. I'm in pharmacy school, i *really* should know the difference between micro and milli...
Title: Re: Optical delay
Post by: chuckd666 on December 06, 2016, 12:38:46 AM
You're in deep trouble now!  :icon_evil:
Title: Re: Optical delay
Post by: dbp512 on December 06, 2016, 06:05:56 AM
Quote from: chuckd666 on December 06, 2016, 12:38:46 AM
You're in deep trouble now!  :icon_evil:

Just don't tell my prof, and pretend you didn't see this. Remember, you're only in trouble if you get caught!