This Week on the Breadboard: Phase 90

so this is a nut i've been trying to crack for a while.
almost every approach i've seen published has taken the signal from pin 7 -- the square wave output of the op amp -- as their starting point. some use a capacitor to smooth it out but the problem with that is that the capacitor's value is fixed and thus so is the speed of the ramp, so while it may be just right in the middle, it will be too slow for fast LFO speeds and too fast for slow LFO speeds.

to get a satisfying ramp that reflects the true shape of the LFO the LED current needs to be taken from the LFO output itself.
the best implementation i've seen of it in action is here:


but they don't provide schematics since these are mods they're offering for sale -- trade secrets i presume, though i haven't reached out to ask if they'd be willing to share.

the best implementation i've seen with a schematic attached is here:
with the circuit posted here:

this person took the output of the LFO before the 3.9M resistor, cancelled the DC bias using a large cap and resistor combo and then drove the LED with an op-amp configured as a current driver. and it looks pretty damn good, but there's still a little room for improvement -- because the DC bias is cancelled completely, half of the waveform is below zero and thus clipped, and so the LED spends half its time completely off. my ideal would be to have the LED only hit zero at the bottom of the wave, so it seems like the answer is trickling in a little bias current from the reference voltage. it only needs a little bit so a very large (~15M) resistor is in order. this is working really well for me, at least in simulation. one possible remaining tiny issue is that the faster waveforms are higher in amplitude than the slow ones, but if you dial it in for the slowest one, having faster ones clip a little at zero and overshoot maximum brightness by 2mA at the peaks doesn't seem like a big problem. here's the simulation, let me know what you think:

 
Last edited:
Have you built it yet?

If I was going to add a 2nd opamp, I'd construct a 2 opamp LFO like this one. This is purely an example; all component values are negotiable. The triangle output is taken from U1-1. Rates below 0.1Hz are attainable.

1754670429999.png
 
i haven't built it yet, i'm away at a cabin right now which gives me lots of time for theoretical circuit building but no ability to build practical ones.

doing it as a 2-op amp true-triangle LFO makes sense. i've heard people say that the slightly exponential "shark fin" shape of the single-op amp LFO is part of the signature sound of the phase 90 but i doubt anybody can actually tell. as discussed above though it does soften the square wave of the schmitt trigger, which greatly simplifies the power section.
 
Last edited:
sure, but adding an entirely new digital LFO chip is a whole different thing. my goal with mods on classic pedals is to still be able to access all of the classic sounds (ideally by setting the knobs to noon or one or the other extreme) but having many more usable options available. so in the case of the LFO, i still want that original "shark fin" pseudo-triangle shape available, but i also want to the LED to ramp in sync with it.
 
Last edited:
I'll say one more thing and then we can drop this line of discussion. The STOMPLFO is capable of generating 8 different waveforms. You don't have to use all of them. Two of the waveforms are generated from lookup tables and I figured out the location and syntax for those tables (it wasn't all that hard). So if you want the "shark fin" waveform, you can replace the SINE or SWEEP wave table with a SHARK wave table. The STOMOPLFO doesn't tick and it supports offset (COLOUR) & amplitude (DEPTH) controls inside the chip. The only thing the user needs to provide is 5V power and an RC filter for the PCM output. It worked a treat in the 'Lectric Mama. It's just another way to get the classic Phase 90 tone.
 
okay i didn't know that, that is indeed intriguing. i have a different LFO designed (again only in falstad, haven't had a chance to put it on the breadboard) that, similar to the TR-2 or sea machine/space spiral LFO, variably clips the waveform so you can go continuously from shark-triangle to clipped-triangle-pseudo-sine to square wave. but for a deluxe edition with a second footswitch for tap tempo that's probably what i'd go with. a rotary switch for shark-sine-square would probably be as useful as a continuously variable knob, as cool as that idea seems to me. and then have five more shapes available.
 
here's a simpler version of the LFO LED. if you're re-designing the circuit from scratch there are several other options you could go with as we've discussed previously in this thread, but if you just want to modify an existing pedal or PCB, this is probably the easiest way to do it while having the LED ramp with the LFO:

 
I'd have done it differently.
No resistor in parallel with the LED. One resistor from LED cathode to GND, another from LED cathode to Vcc. Set the ratio so that the LED current goes to zero at the bottom end of the LFO waveform, set the parallel resistance for the desired LED brightness at the top of the waveform.
Saves power and less stress on the opamp.
 
Last edited:
...a hypothetical non-superbright simulation LED with a peak brightness at 10mA, i guess...

multiply the resistor values by 10 to get a peak 1mA current
 
Last edited:
Back
Top