Controlling tube gain with logic signal

GroupDIY Audio Forum

Help Support GroupDIY Audio Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Matador

Well-known member
Joined
Feb 25, 2011
Messages
3,290
Location
Bay Area, California
I've seen digital control of tube gain accomplished with Vactrols, such as in Soldano and Mesa Boogie preamps, where a LDR is used to place elements in parallel (like adding a cap to a cathode resistor, or adding a cap in parallel across a series resistor to make a filter), even in high voltage portions of a circuit. However Vactrols are becoming incredibly expensive ($5-$10 a piece), and vary greatly from unit to unit.

Has anyone experimented with using low cost, high voltage MOSFET's to accomplish something similar? For example, the STN1NK60Z NMOS has a 600V breakdown voltage, a 1V threshold, and has a PMOS equivalent, that run only 30 cents each in bags of 100.

Something like this:

Screen Shot 2024-10-11 at 7.47.24 PM.png

VP and VK are incoming, logic signals (3.3V), that add a plate resistor and cathode resistor respectively. The NMOS MOSFET above is spec'd at 1.2 ohms with 3.3V VGS drive, so when 'on' should place R7 in parallel with R5 when VK is on. Such a scheme could also be used to add a cathode bypass capacitor, or LED, etc. I don't think Q3 needs to be rated for high voltage, as the drain shouldn't ever see another much above 1V.

Q2 needs to be level-shifted, and will only turn on with VGS at 3.3V below VB+, so when Q1 is turned on, it will pull ~1mA through R2 and R3 (if VB+ is about 250V), and will turn on with the drop across R2 thus adding R4 in parallel with R6. With Q1 off, the gate is pulled to VB+ thus turning Q2 off.
 
Both logic signals will cause a change in dc conditions of the tube so may well result in a thump in the output. Maybe ac couple them instead?

Do you just want to switch gain values or vary them smoothly?

Cheers

Ian
 
Do you just want to switch gain values or vary them smoothly?
Just to switch them. I'm thinking of adding another one (NMOS) on the output in parallel with R8 (as a mute), so I can turn that one on first, adjust the others, then turn it off (mute-adjust-unmute).

I tried this on LTSpice, switching R7 for a 10uF bypass capacitor, and see the gain jump at the point where Q3 is switched on which "adds in" the bypass cap (after settling):

Screen Shot 2024-10-12 at 11.52.19 AM.png

The natural question is: why do this? I'm trying to make a test fixture, where I can measure a tube under 4 different biasing conditions, to test suspect tubes to make sure they bias as expected, and I can listen for self-noise by tapping the output at the plate. I already made such a fixture, but it requires I use trim pots and adjust each plate and cathode resistor for each of the conditions, and it takes a long time per tube (plus adjusting a plate resistor when the tube is on is a miserable scratchy mess of noise).

If I use a cheap rotary encoder and a PIC to switch in the circuit elements by just turning a knob it would greatly speed things up and allow me to truly A/B different biasing schemes while listening.
 
The natural question is: why do this? I'm trying to make a test fixture, where I can measure a tube under 4 different biasing conditions, to test suspect tubes to make sure they bias as expected, and I can listen for self-noise by tapping the output at the plate.
Why do you need to change the anode load? Can't you just switch the grid bias voltage through 4 different options?
If you can specify exactly what it is you're expecting to test, there's probably a simpler way to accomplish it than what you're proposing.
 
Why do you need to change the anode load?
Different gain structure. I've found a few tubes that operate "correctly" with a 100K load (e.g. a standard Fender/Marshall/Vox value), but burst into dynamic oscillation with a 220K or 270K anode load (typical on higher gain amps like 5150's, Mesa Boogie Mark's, or SLO's. I typically see this on negative going peaks when measuring the plate with a scope, requiring either a larger grid-stopper or an anode bypass cap.

I'd like to test not only the DC biasing, but also the dynamic operation with an AC input.
 
In case it helps, here's what I've already tried:

I already have a test fixture that does part of this test: it's a standard Fender V1 gain stage (100K plate, 1K5 cathode, and 25uF bypass), with a 0.1uF coupling cap leading into 1M load resistance. The output is tapped from the 1M load resistor, and leads to a dual-BNC where I can connect a scope, and also connect to a power amp. I insert a tube, after warming up, I measure the plate and cathode voltages to see where the tube settled, and observe the plate voltage when rapping on the side of the tube, while also listening to the output through speakers to get an idea of the background noise and how microphonic the tube is under operating conditions.

I expanded the cathode resistance options with SPST switches, so I can disconnect the bypass cap, or raise the cathode resistance up to 2K7. The plate resistor is a 250K pot, so as I said, I can adjust it to other values, however I need to disconnect the speaker as it's a scratchy mess adjusting it due to the DC through the pot.

Lastly, I'll run a 100mV, 440Hz test sine wave into the grid and observe the output signal and make sure the gain is as expected.

What I also have found, is that some tubes appear to operate just find under these pretty standard conditions, some tubes start to misbehave when under higher gain conditions: for example, a Mesa operating point is a 270K plate resistor, 3K3 cathode, bypassed with 0.22uF. In some amps the 270k is bypassed with a 1n. The same tube that works fine in the first situation above will start to oscillate on the negative peaks of the output signal under the higher gain conditions. There's usually three things that will fix it: a) removing the cathode bypass, b) adding in the 1n plate bypass, or c) adding a large series R onto the grid connection (many high gain ams use 220K to 470k in this position). These are all just different ways to reduce AC gain. Many EH tubes run fine under these high gain conditions without adjustments, whereas (new) JJ's I've found need a lot of band-limiting to behave.

Some Marshalls will also squeal like banshees when the 10K cold clipper resistor (10K) is bypassed with a smaller 0.1uF. Other tubes test fine in this condition.

I'd like to be able to quickly run a tube through these various test conditions to make sure it's usable in a given circuit/amp, without having to troubleshoot the amp first if it's misbehaving, without having to a) wire up 4 or 5 separate sockets with each configuration, and b) having to stop and adjust trim pots. I'd like to quickly flip between 4 or 5 configurations, all while running live, so I can quickly check for problems with an unknown tube, and A/B between them. If the elements can be added and removed with logic signals, then it's easy to encode a sequence that I can use a single pot to rotate them through, because at that point it's just basic software to make it work.

I know that SPST switches will work, but I would need to flip them manually to set up each condition. I know that LDR's will work, but they are expensive, and have their own problems (like hugely varying on-resistance from unit to unit, which doesn't matter when in series with a 270K anode resistor, but can make a big difference when compared to an 820 ohm cathode resistor). LDR's really need to be driven from CCS's which also adds more to the cost. I know JFET's and depletion MOSFET's can be made to work, but they need supporting circuitry to make sure they can be turned off around a ground-referenced signals (usually at least a negative rail of -3 to -5V for the gate), and careful attention that the body diodes aren't turned on.

Hence I was wondering if enhancement MOSFET's can be made to work, because they are cheap, tolerant of high voltages, and need only a few resistors to bias correctly, and work well with standard 3.3V logic levels.
 
Back
Top