DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Mark Hammer on May 19, 2020, 12:56:27 PM

Title: Why can't BJTs be used instead of JFETs in phasers?
Post by: Mark Hammer on May 19, 2020, 12:56:27 PM
Regular bipolar transistors are often used as if they were voltage-controlled resistors in things lije autowahs.  Given the narrow scope and availability of those JFETs preferentially used for phasers, you'd think that we'd turn our attention to the vast universe and availability of bipolars.

So why do we not do that, and why can't we do that?  It's a sincere question, in search of understanding.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Scruffie on May 19, 2020, 01:01:51 PM
The Pearl PH44, googling for the schematic, it seems you own(ed) one.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: ElectricDruid on May 19, 2020, 02:36:01 PM
So CMOS switches, LDRs, and OTAs are not enough options for you, Mark?! ;)

Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Fancy Lime on May 19, 2020, 02:51:35 PM
Quote from: ElectricDruid on May 19, 2020, 02:36:01 PM
So CMOS switches, LDRs, and OTAs are not enough options for you, Mark?! ;)
Confucius says: never use an OTA for anything that you can do just as well with a BJT.
I read that somewhere on the internet. True story, trust me.

On topic: no idea, been wondering the same thing in the past but since I am not super into phasers, I did not pursue the topic.

Andy
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on May 19, 2020, 03:06:14 PM
One of the last pedals I could be bothered tinkering with was in fact a BJT-based phaser scheme.   The motivation was  exactly the reasons you mentioned.    IMHO, it's very much something which might work out.

So this is how far I got:

The idea is to plop BJTs into the common all-pass stage, like the MXR.   The emitters go to a common DC voltage.  Each collector goes the all-pass caps.   The bases have a series resistor and that goes to the LFO.   The base resistors can be used to "match" the BJTs, although the default matching isn't too bad anyway.

The differences between BJTS and JFETs are:
1) The effective CE resistance depends on the base-current not the gate voltage.
     The resistance depends on 1/base-current.
2) The BJTs have an undesirable CE voltage which depends on the base-current.
3) The BJTs stop working like controlled resistances for large CE signal swings. 

The CE voltage gets modulated by the LFO and is a source of ticks from the LFO.   

Some additions/changes to the JFET circuit to combat the non-ideal quirks of the BJT were:
-  buffered and/or separate bias for the emitters to prevent the LFO base-currents causing ticks in the audio via current injection into the vcc/2 line
-  a buffer and low-pass filter at the output of the LFO to help reduce ticks cause by the modulation of the BJT's collector-emitter voltage feeding-through into the audio.   A higher-order filter, say second order, might help.  The  cut-off frequency is set as low as possible.    The key idea here was if the CE voltage was varied slowly we would not hear it.     The thing we hear is the harmonics and idea of heavy filtering is to push those harmonics down to the point were we can't hear them.

One very interesting thing is the non-linearity of the BJT.    The MXR JFET circuit uses non-linearized JFETs; no RC networks on the drain-gate.    Surprisingly the BJT non-linearity was quite similar to the non-linearized JFET.

Where  the basic idea has issues, at least in theory, was for high signal levels.   Here the transistors no-longer operate as controlled resistances, they kind of 'let go'.  For this problem I had a few strategies:

- just let it be.   See what it sounded like without doing anything.
- reduce the input a bit and add some pre-emphasis/de-emphasis.   
   Same idea used on MOSFET based phasers.
- come-up with elaborate schemes to get around it.

I spent quite some time on the last point.  One conceptually simple idea was to use a PNP in parallel with an NPN as an attempt to make the resistance control more symmetrical.  The bases need to be driven by opposed signal.  There were quite a few other schemes I tried as well.  None were perfect and many had possible issues with over tweaking not working in the real world were parts have tolerances.

So basically I concluded the "let it be" scheme needed to be built-up to see if it was OK as is (at least for guitar/bass).   Then I'd take it from there.   But that's as far as I got.  So I left it for a rainy day and moved onto other things.

A hanging issue is to make sure the LFO voltage is shaped so the control profile matches that of a JFET.

Forgot something:
- You might need to add a large cap in series with the collector to block the DC on the transistor.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: ElectricDruid on May 19, 2020, 05:15:25 PM
If you go with a "ladder filter" scheme like Moog for your allpass filter, you get to the Tau Pipe Phaser:

http://jhaible.com/legacy/tau/jh_tau.html (http://jhaible.com/legacy/tau/jh_tau.html)

The actual ladder allpass network looks like this:

http://jhaible.com/legacy/tau/jh_tau_sch_page2_allpass.pdf (http://jhaible.com/legacy/tau/jh_tau_sch_page2_allpass.pdf)

I don't claim to understand the detail of it, but presumably the differential drive allows you to run small signals through it and cancel out the much larger modulation by the LFO, like the Moog lowpass.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: R.G. on May 19, 2020, 06:34:09 PM
Rob nailed it with the list of things that can bite you.

You really need to keep signal voltage across the collector-emitter down to the 25mV range to get distortion under a percent or so. The collector sees an offset voltage dependent on base current, and that "pollutes" the 25mv-ish audio, and has to be dealt with by making the control signal's change rate slower than is audible, somehow. And you have to feed it a control >current<.

You can handle some of these by making the bipolar that does the changes be part of a differential stage. It helps by cancelling out the control signal's effect on the collector voltage. If you're using a differential stage, you can get cancellation of the worst parts of that. A differential stage with emitter current controlled by the control current fits the bill. You can clean up the output funnies by having the collectors feed a current mirror. Then you diffamp the two collectors...
and you're 90% of the way to the 3080 OTA. The Moog ladder filter is another variant with stacked diffamps and capacitors to get a cascaded RC phase shift filter in current mode, with linearizing feedback.

I guess the bottom line is that you can use a bipolar as a controlled resistor in a (for instance) phaser. You just have to work hard at getting around its limitations.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Mark Hammer on May 19, 2020, 07:34:20 PM
Thanks, R.G. and Rob.  And yes, Tom, those devices ARE enough options for me.  Like I say, I asked purely out of curiosity.  And yes, Scruffie, I still have my PH44, prompted mostly by Osamu Hoshuyama's enthusiasm for it.  Here's his analysis of how BJTs are used to form a simple OTA in the PH44.
(http://www5b.biglobe.ne.jp/%7Ehoushu/synth/Ph44core.gif)
Here's his take on using BJTs in the manner I was musing about.  Not a good idea, it seems.
(http://www5b.biglobe.ne.jp/%7Ehoushu/synth/PhTrR2.gif)
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Gus on May 19, 2020, 07:57:00 PM
I wonder if you could stack two of the same NPN or PNP transistors in series. The issue will be diving both. Maybe CV voltage driven series resistors with taps going to the bases?
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: digi2t on May 19, 2020, 09:42:00 PM
All I know is that I have a loaded clone project of the PH-44, and I haven't been able to get it to work right. It's sitting in the "stuff I'll try to fix later" box right now. According to a Japanese site on this, it makes mention that there's a mess o trannys that need careful matching. Like just about... all of them.

Or....

I bodged the trace of Marks unit. :icon_rolleyes:

Also, idiot me, I never thought to take the voltages from the original. (Face palm!)
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on May 19, 2020, 10:19:19 PM
QuoteHere's his take on using BJTs in the manner I was musing about.  Not a good idea, it seems.
That's pretty much the same configuration.  Interesting how people think  I remember finding a MOSFET configuration by that same author which was very similar to one I was playing with.

As for it being good or bad I'm not so sure.  It's not ideal but it would be very convenient, especially if it just works out.

Having played with transistors like this in the past the LFO ticks are a pain.    However the new thing I was going to try was filtering the LFO.   To me that is something that could push it toward the usable zone.  If that isn't enough a high-pass filter in the audio path might help, you will need some high-passing anyway, but the LFO low-pass filter is where the benefits seem to lie.

The signal level limitation may or may not be an issue.    That's something that needs to be tried.

As for better schemes the whole build your own OTA thing is something to consider.

I do remember a diode based phaser which used 20 1N4148 diodes in series for each stage.   IIRC it was a pro-quality phaser, not a pedal.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on May 20, 2020, 03:26:06 AM
QuoteI bodged the trace of Marks unit.
There's a schematic on "the other" forum  ;D.

Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Mark Hammer on May 20, 2020, 07:50:00 AM
One of the things to take into consideration, when looking at different phaser designs is their intended application.  When I would speak to Mike Irwin about this and that design, he would point out their susceptibility to distortion and the degree to which distortion was gradually introduced with increasing signal amplitude, versus clean-until-threshold-then-audio-garbage.  The qualification is the difference in amplitude between guitar signals and synth signals.  Oscillators can put out rather large signals, so attention to clipping characteristics, and gain-staging within circuits (e.g., padding down followed by gain recovery), may be a bigger deal for synths than for guitars with generally much lower signal amplitudes.  Osamu is also a synth guy, rather than guitar guy, so he's thinking in terms of typical VCO amplitudes as well.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: StephenGiles on May 20, 2020, 07:55:17 AM
Quote from: Rob Strand on May 19, 2020, 10:19:19 PM
QuoteHere's his take on using BJTs in the manner I was musing about.  Not a good idea, it seems.

I do remember a diode based phaser which used 20 1N4148 diodes in series for each stage.   IIRC it was a pro-quality phaser, not a pedal.


Which one was that Rob? Either my memory is going or I just haven't seen it!!
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: digi2t on May 20, 2020, 10:42:10 AM
Quote from: StephenGiles on May 20, 2020, 07:55:17 AM
Quote from: Rob Strand on May 19, 2020, 10:19:19 PM
QuoteHere's his take on using BJTs in the manner I was musing about.  Not a good idea, it seems.

I do remember a diode based phaser which used 20 1N4148 diodes in series for each stage.   IIRC it was a pro-quality phaser, not a pedal.


Which one was that Rob? Either my memory is going or I just haven't seen it!!

The Hi Fli is a perfect example of diode based phasing. 240 diodes to be exact...

(http://i.postimg.cc/8kBwF70q/58443355-312589199417397-5699885436785131520-n.jpg)

Quote from: Rob Strand on May 20, 2020, 03:26:06 AM
QuoteI bodged the trace of Marks unit.
There's a schematic on "the other" forum  ;D.



I've seen those, and those are trace schematics. I had a bit of a hard time following them because of how they're broken up. I was using a factory schematic, which I found had a few little differences compared to Mark's unit, so I penciled them in (so to speak). I also cleaned it up so it's readable (open in a new window to see it all).

(https://i.imgur.com/zC96JAA.png)

To be honest, I'll have to plug it back in and listen to it to define what exactly isn't right with it, but IIRC the phasing sounded like shite, and the speed control was way too fast. I'll dig it out tonight and report back.

Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Mark Hammer on May 20, 2020, 10:57:49 AM
Notwithstanding any differences between the trace and the actual board, I'll draw attention to two aspects of this circuit that align with some other things noted in earlier posts:

1) A 571 compander.  The only time one sees compander chips in phasers tends to be in those >4-stagers using OTAs, where "coddling" is required.

2) The "peak" indicator is not tied to the input level, but rather to the feedback path, which is where you'd absolutely want to keep levels under control, particularly since they are compressed and not-yet expanded at that point.

Both of these speak to the importance and difficulty of managing distortion in OTA-based phasers - the "orchids" of the modulation-pedal world.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Scruffie on May 20, 2020, 11:07:20 AM
Quote from: digi2t on May 20, 2020, 10:42:10 AM
To be honest, I'll have to plug it back in and listen to it to define what exactly isn't right with it, but IIRC the phasing sounded like shite, and the speed control was way too fast. I'll dig it out tonight and report back.
IC15 looks quite oscillatey, according to the other site schematic, R99 is 470k, which should slow it down quite a bit.

Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: digi2t on May 20, 2020, 11:43:51 AM
Quote from: Scruffie on May 20, 2020, 11:07:20 AM
Quote from: digi2t on May 20, 2020, 10:42:10 AM
To be honest, I'll have to plug it back in and listen to it to define what exactly isn't right with it, but IIRC the phasing sounded like shite, and the speed control was way too fast. I'll dig it out tonight and report back.
IC15 looks quite oscillatey, according to the other site schematic, R99 is 470k, which should slow it down quite a bit.

Oh, thanks Scruf, I hadn't noticed that before. I'll put it on the "to do" list.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: amptramp on May 20, 2020, 05:38:52 PM
I have a Univox U-65 amplifier that uses a phase shift oscillator driving a BJT as a tremolo, working against 68K resistors from the input.  It works and although it is difficult to hear non-linearity in a tremolo, it should be suitable for a phaser.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on May 20, 2020, 07:08:12 PM
QuoteWhich one was that Rob? Either my memory is going or I just haven't seen it!!
I can't actually remember the name because it was a one-off obscure unit but the "Hi Fli" unit  digi2t posted is probably it.   I remember the schematic had a note about the diodes being a module.  I've got the schematic but it's on another computer.  (If I had my stuff I'd post all the info.)
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on May 20, 2020, 07:23:18 PM
QuoteI have a Univox U-65 amplifier that uses a phase shift oscillator driving a BJT as a tremolo, working against 68K resistors from the input.  It works and although it is difficult to hear non-linearity in a tremolo, it should be suitable for a phaser.

One aspect of the non-linearity is the distortion, which seems to be like JFETs without linearization.   The other is the transistor no longer behaves like is resistor for one of the polarities.  It kind of 'lets go' which would weaken the effect.   

IIRC the 'letting go'  is soft in that it transitions from about 50mV pk to about 300mV pk.   These are off the top of my head values as different configurations I tried had different limits.

IIRC there's two details which help the phaser:   When you look at two stages at a time the low-frequency inversion of the all-pass helps the cause.  It's possible to get some cancellation of the LFO feed-through.  If the first all-pass 'let's go' due to high signal level the second stage will not.  So it does maintain some phasing effect at higher inputs.

For guitar and bass it looked feasible.  For a high-output keyboard maybe it needs some pre-attentuation and post-amplification (with a small amount of pre-emphasis/de-emphasis in the upper freqs.  No too much for keyboards.)
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on May 21, 2020, 12:19:08 AM
QuoteI've seen those, and those are trace schematics. I had a bit of a hard time following them because of how they're broken up. I was using a factory schematic, which I found had a few little differences compared to Mark's unit, so I penciled them in (so to speak). I also cleaned it up so it's readable (open in a new window to see it all).
Just passing casual eye over that schematic, without writing out equations, to me it looks like the transistors are still being used as controlled resistors.   No different to the method I used, which is shown in the *second* Hoshuyama snippet.    Notice the low-impedance return paths on the emitters to avoid LFO currents getting into the audio.

The thing that is a little weird is the NPNs are low resistance when the LFO is positive and the PNP are low resistance when the LFO is negative.   Each BJT type operates on alternate polarities of the LFO.   What this is doing it making the control the absolute value of the LFO waveform.      Maybe the idea is to approximate the skewed LFO idea used on the second revision Ross phasers.   IMHO it won't achieve a result as good as the Ross.   It will definitely give the LFO a different character - perhaps that's what you don't like.    The other thing is does it doubles the apparent modulation rate.

When I was playing around with mixed NPN and PNP my aim was make the non-linearity more symmetric and to remain in control for larger signals but the Peal is using the two BJT polarities in a different way.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: PRR on May 22, 2020, 01:06:56 AM
> Univox U-65 amplifier that uses a phase shift oscillator driving a BJT as a tremolo, working against 68K resistors from the input.

An older Univox from the same designer used a 12AU7 twin-triode, back-back, as the VCA, after a gain stage.
https://el34world.com/charts/Schematics/files/Univox/Univox_u_1226_lead_amp.pdf

It was fairly fussy about that tube. Not all of "the right type" worked.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: digi2t on May 23, 2020, 10:12:57 PM
Quote from: Scruffie on May 20, 2020, 11:07:20 AM
Quote from: digi2t on May 20, 2020, 10:42:10 AM
To be honest, I'll have to plug it back in and listen to it to define what exactly isn't right with it, but IIRC the phasing sounded like shite, and the speed control was way too fast. I'll dig it out tonight and report back.
IC15 looks quite oscillatey, according to the other site schematic, R99 is 470k, which should slow it down quite a bit.

Alrighty-o, finally had time to fiddle with it. As scruf called it, changing R99 to 470K did the trick. Looking at the other schemo, I also noticed that it called R102 as a 470K, but 470K here stalled the LFO completely. Went back to the 47K and all is good with the LFO now.

So...

The only thing left to solve now is the phase sweep. With the manual and depth maxed, with minimum slow speed, the phase seems to go too high and too low. In the low end, it seems to hang for a while before coming back up. Then, when it gets near the top, the audio changes to a hissing sound, which lasts until the phase starts to come back down.

Turning down the manual pot doesn't help, but if I turn down the depth, or speed up the slow LFO, it goes away. It's as if at max slow speed, it surpasses the top of the phase sweep, and goes into a hiss fest. The trimmer does seem to dial it out either.

Now, I have noticed a couple of discrepancy between the factory schemo and the one at the other forum, C36 (0.47uf electro) polarity is flipped. I've tried it both ways, and I don't notice any difference.

Also, R76 on the other schemo sits atop R71, and not where it's shown in the factory schematic. This kind of makes sense to me, since positive voltage to the base would be provided by the RV2 trimmer. I switched the resistor over to the other base, and effectively, I can hear the trimmer adjusting the center of the manual setting.

The hunt continues....
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Scruffie on May 24, 2020, 07:55:09 AM
So your description of the sweep "hanging" and especially that turning down the depth solves it says to me the sweep is clipping somewhere, not an uncommon problem, question is... where?

The LFO output could be too big (the 470k for R102 would reduce its gain but apparently, too much) it could be the transistors in the phase stages don't meet the necessary spec or it could be in the current control for them.

R76 makes sense to me too above R71, the whole manual/lfo/trim section is various competing offset voltages and I can't see what benefit it would have there as it would just be in parallel with RV2 and the manual control.

Gut shots to check resistor values would be handy, do you have any?
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Mark Hammer on May 24, 2020, 08:35:44 AM
Quote from: digi2t on May 23, 2020, 10:12:57 PM
Turning down the manual pot doesn't help, but if I turn down the depth, or speed up the slow LFO, it goes away.
This is why, historically, we tended not to see many 4-knob phasers and flangers.  It was too easy to "mis-set" them.  Both MXR and EHX would issue pedals that had a single control knob, or else were simple and foolproof enough to operate that end-users wouldn't misinterpret dysfunctional settings for "lousy pedals".
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: ElectricDruid on May 24, 2020, 10:05:28 AM
Does the LFO design produce equal amplitude at all frequencies? Some don't. That can actually be handy for things like chorus where you don't want so much depth as you increase the frequency (since pitch shift is related to rate of change).
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: digi2t on May 24, 2020, 08:00:38 PM
Quote from: ElectricDruid on May 24, 2020, 10:05:28 AM
Does the LFO design produce equal amplitude at all frequencies? Some don't. That can actually be handy for things like chorus where you don't want so much depth as you increase the frequency (since pitch shift is related to rate of change).

I'm not sure if that is how it's designed. All I know is that at very slow speed (from 0 to about 2 on the slow pot), the width of the sweep seems to be way too wide. Unfortunately, I don't have Mark's unit on hand to compare, but I do remember that the sweep was symmetric, no matter what the LFO speed was.

Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Mark Hammer on May 25, 2020, 07:59:23 AM
If you can provide me some clues about where to look, I can try and measure/scope it.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: jatalahd on June 07, 2020, 09:51:57 AM
Related to BJTs as voltage controlled resistors, I recently built the Kay T1 Tremolo on a breadboard to try it out (schematic is easy to find from Internet). In the Kay Tremolo there are 2 NPN BJTs connected together and used under identical control voltage. Directly from that idea I extracted the following voltage divider simulation circuit for testing:

(https://i.postimg.cc/YhG6q0RQ/japi2.png) (https://postimg.cc/YhG6q0RQ)   (I guess you need to click the image to see it better)

The input signal is 1 V sine and the control voltage is DC source that is sweeped from 0 volts to 8 volts. I changed the 68k RB resistor to 1 megohm since that was more useful in this voltage range. The 68k is more sensitive and reaches its limit already around 2 volts. The transistors are basic BC547B, which I also used when successfully building the Kay Tremolo.

The simulation output looks like this:

(https://i.postimg.cc/LYWJrkrw/japi3.png) (https://postimg.cc/LYWJrkrw)

The transistor combo seems to behave as a relatively linear resistor up to 4 V control voltage in this case (midway of the simulation). After that the resistance drop is not that prominent anymore.

Although it seems quite promising, in the Kay Tremolo it slightly passed the LFO control voltage to the audio path. But other problems I did not really notice.
Title: Re: Why can't BJTs be used instead of JFETs in phasers?
Post by: Rob Strand on June 07, 2020, 10:25:32 PM
Quote
Although it seems quite promising, in the Kay Tremolo it slightly passed the LFO control voltage to the audio path. But other problems I did not really notice.

The issue with that set-up is the base current flows through the emitter into the audio path.   That make the feedthrough much worse than it can be.

Try this,
- Use a PNP and NPN in parallel with the emitters to ground, collectors together.
  Keep the bases separate with separate resistors, like you already have.
- create a second LFO output which is inverted from the first LFO output
- connect the first LFO to the NPN base via a resistor
- connect the inverted LFO to the PNP base vias a resistor.

You can tweak the PNP base resistor so the NPN and PNP have the same attenuation.

The main point of this configuration is the base current goes to ground through the emitters and not into the audio path.

There's quite a few variations you can play with.   I spent ages tinkering around with these things.