HOME.


Daily Activities Log.

This page last updated Tuesday, November 16, 2021.

in, Remote sensing negative feedback.

What Happened to the Vacuum Tube Curve Tracer?

The long article which has been on this page for some time has now been turned into an equipment review. See the "NEW!" box on the front page.

Case Closed.

The equalizers Article.

This article will soon be removed from this page. A condensed version has been added to the equalizers article. The parametric equalizer which was breadboarded will remain on the breadboard for a few more days in case anyone would like to see some additional measurements. Now is the time to ask because the breadboard will soon be disassembled and the article on this page will be deleted.

Case soon to be closed.

This is my daily log page. It is what web users in their never ending assault on the English language have named a blog. I hate that word and that's the last time you will see it on my site. Instead of taking up bandwidth on the email list I will post my activities here so those who are interested can keep up and those who don't care don't have to be exposed to my more mundane writings, ravings, and rantings. I will report on things I am doing that may or may not become a part of the permanent site. Entries older than a certain number of weeks or months will be deleted. I haven't decided as yet on how long things will last here.

I often run projects in parallel so I won't jump from one to the other. At the beginning of each project there will be a centered heading with the title of the project followed by left justified dates for each entry concerning that project. The centered headings will help you jump from one project to the next. The date below the centered title will be the date I start a project. I will enter the entire project under that date in order going forward in time. When a project becomes mature it will either be given a page of its own on this site, or will be deleted as not important enough to warrant that honor.


HOME.


Remote sensing differential feedback.

Tuesday, November 16, 2021.

I am intrigued by the idea of remote sensing differential feedback in an audio amplifier. The idea is nothing new to me because I have known about power supplies in which provisions have been made to allow the feedback control circuits in the regulator to sense the voltage at the load rather than at the power supply terminals. I suspect applying this concept to audio amplifiers may be fraught with unexpected problems particularly as the speaker leads get longer. But I feel compelled to do some testing. My first step is to simulate the circuit. The schematic diagram below is one I developed in LTspice to test the concept.

Figure 1 Initial Version of Amplifier with Differential Negative Feedback.

Figure 2 Time Domain Response of the amplifier to a 1 kHz Sine Wave..

About the Voltages.

Using tube manual voltages I couldn't get tube manual output power. Since this is a simulation I can increase the voltages without fear of burning out anything. The 6550 model must not be exactly right.

As shown the amplifier requires 20 volts RMS for 50 watts output into 8 ohms. For high accuracy of gain it needs to be driven from a source with an output resistance of 1 or 2 k ohms. An amplifier with a low output impedance and a gain of 20 or so would do the job. If I were to build such an amplifier I might pare it with a preamp that will output 20 volts RMS without appreciable distortion. That means I could build the power amplifier as shown.

To Be Continued.

Finishing up the Equalizers Article.

Thursday, July 22, 2021.

When we last left our story King and Sargent Preston were searching for the lost little boy. Oops? That's something completely different. Now let's see. Where was I? Oh yes, I remember now.

I was designing a high gain amplifier that is required to make an equalizer work. That would be simple if this were the Fun With Transistors site. Even if I were restricted to discrete transistors it still wouldn't be all that a big deal. But I consider ICs to be just a different way of packaging transistors so there is no need to start a fun with integrated circuits website. However this is the Fun With Tubes site so the amplifier has to be constructed around vacuum tubes.

Note: After this section is finished, an edited version of it will be appended to the equalizers page thus completing it.

Friday, July 23, 2021. The Amplifier Designed by Circuit Simulation.

LT spice won't give you circuits out of the blue. You have to have some idea of what you want to do and I did.
  1. Even though it would be AC coupled it had to behave like an op amp so a differential input was a must.
  2. It had to have as much gain as possible with the minimum of tubes.
  3. Not only did it need high gain but bandwidth that would cover the audio band with a little to spare on each end.
  4. It had to be stable with feedback down to unity gain and even below.
  5. It must have a relatively low output impedance.

To satisfy number 1 a long tail pair with a current source in the cathodes seemed to be a natural. Especially since I have had plenty of experience with that particular configuration. A 12AX7 seemed to be the first choice because high gain was needed here.

To satisfy 2 and 3 a cascode amplifier came to mind. It can have more gain than a pentode without the division noise and with very little miller effect. In a cascode transconductance is where it's at and of all the 12A_7 tubes a 12AV7 has the highest.

The fewer stages an amplifier block has the easier it is to compensate on the high end. On the low end compensation gets easier if the number of RC coupling networks is kept to a minimum. I decided to try direct coupling from the long tail pair to the cascode amplifier.

Number 5 is easy, a cathode follower. Because the top plate of a cascode amplifier is at a higher voltage than the heater to cathode breakdown of most tubes, an RC coupler would have to be inserted here. For the follower I decided to round up the usual suspect and use a 12AU7. The other triode can be used in the other channel.

As it turned out I had to limit the gain to get enough bandwidth. This was done by reducing the resistance of the cascode's plate load. That gave me a good gain and bandwidth both of which I could live with.

Here is my starting version of the amplifier with the parametric circuit connected.

Figure 18 Initial Version of Parametric EQ with Tube Amplifier.

Saturday, July 24, 2021. The Optimized Circuit.

The initial version worked in simulation but there was a nasty 9 dB peak at about 2.5 Hz. A peak in this frequency range can greatly amplify turntable rumble and lead to a rather unpleasant sound. Even if you have sold or given away your LPs and turntable you probably have some tapes of some much loved LPs that were never released on CD. They will have rumble recorded into them and the last thing you want to do is boost it. The infrasonic peak had to go.

The simplest way to find component values that make an amplifier stable down into the infrasonic region is to make all coupling circuits time constants, except one, ridiculously long and the exception very short. Then you adjust the short one to get the frequency response you want. Next you work on each of the long time constants, one at a time, and make each one as short as possible without significantly affecting the overall frequency response. The long time constant circuits to be adjusted are C4 x R8, C5 x R5, and C10 x R25, or C10 x R11, but not both. All of this is much easier in a simulation than it is on the breadboard. (Note: When feedback is applied R25 is changed to 1 megohm and the feedback resistor is 10 k ohms. This resistor looks like a load to the amplifier and must be taken into account during the design process.) The one short time constant is C1 x (the effective resistance of R9). The effective resistance of R9 will be about 8 times its actual value of 100 k ohms. This is explained in the textbook and also on other pages on this site. Below you will find the updated schematic diagram of the amplifier alone with a plot of its open loop frequency response with the main points of interest called out in the table following the graph.

Figure 18 Final Version of Tube Amplifier.

The graph and table below can be obtained without slinging any solder.

Figure 19 Open Loop Gain vs Frequency of Figure 18.

Points of interest as picked from above graph using the cursor.
Point Name Frequency (Hz) Gain (dB) Phase (°)
Lower Gain Margin 0.2882 -16.67 0.0
Lower Phase Margin 0.9115 0.0 -47
Lower Half Power 365.8 52.10 -134.9
Peak Gain 948.4 55.12 -179.7
Upper Half Power 2.492 k 52.10 +134.7
Upper Phase Margin 1.610 Meg 0.0 +90.87
Upper Gain Margin 48.98 Meg -33.90 0.0

Monday, July 26, 2021. Adding negative feedback.

Many audiophiles would either laugh or cry at the frequency response curve. This even though the amplifier they love to listen to probably has a similar open loop response. What matters is the closed loop response, that is with negative feedback connected. So let's connect some up and see how it simulates. The easiest to understand is unity gain which is 0 dB. Here are the schematic and frequency graph.

Figure 20 Graph and Schematic of Tube Amplifier Set To Unity Gain.

Mid Band Gain = -0.03 dB.
Lower Half Power, f1 = 776.2 millihertz.
Upper Half Power, f2 = 743.3 kilohertz.
Minimum Gain at Low End = -9.24 dB @ 295.1 millihertz.

LTspice provides a means by which feedback can be connected without drawing a line half way around the circuit. The two points which are labeled "OUTPUT" are treated as connected together. Note that R25 is now 1 megohm and the load now consists of R11.

The extreme low frequency gain going back up to near zero can be accounted for. As the open loop gain drops off at the low end there isn't enough to support unity gain and the closed loop gain begins to fall. The open loop gain eventually gets so low that the amplifier becomes irrelevant. Signal is passed from the generator through R12 then R11 to the output. At frequencies lower than shown on the graph this becomes unity.

Wednesday, July 28, 2021.

We see in figure 18 that the peaks at mid band and high band go from -12 to +12 dB. Let's test our amplifier at plus and minus 10 dB and 20 dB to see how well it is likely to support the parametric circuit.

Figure 20A Closed Loop Frequency Response of Tube Amplifier.

Mid Band Gain = 9.94 dB.
Lower Half Power f1 = 2.238 Hz.
Upper Half Power f2 = 239.9 kHz.
Minimum Gain = 6.60 dB @ 295.1 millihertz.

Figure 20B Closed Loop Frequency Response of Tube Amplifier.

Mid Band Gain = -10.01 dB.
Half Power f1 = 436.5 millihertz.
Half Power f2 = 1.514 Megahertz.
Low End Peak = -8.45 dB @ 1.000 Hz.
Low End Minimum = -14.65 @ 288.4 millihertz.

Figure 20C Closed Loop Frequency Response of Tube Amplifier.

Mid Band Gain = 19.83 dB.
Half Power f1 = 7.244 Hz.
Half Power f2 = 95.50 kilohertz.
Low End Minimum = -5.62 dB @ 301.00 millihertz.

Figure 20D Closed Loop Frequency Response of Tube Amplifier.

Mid Band Gain = -20.02 dB.
No Frequency is 3 dB down from mid band gain.
Half Power f2 = 2.042 Megahertz.
Low End Peak = -17.59 dB @ 812.8 millihertz.
Low End minimum = -22.62 dB @ 281.8 millihertz.

Thursday, July 29, 2021. Now for the Parametric Circuit.

Figure 21 Parametric Circuit with Tubes.

With the original circuit there was a peak below 1 Hz. Changing C10 to 220 uf knocked it down.

Next step, build it on the breadboard.

DC comparison.

The schematic below is the amplifier as constructed on the breadboard.

Figure 22 Schematic of tube amplifier.

The alteration in the cathode of the cascode is totally practical. I don't have any 470 uf 100 volt capacitors. But I do have two 1000 uf 50 volt caps. So I made a slight modification to the circuit and the tube will never know the difference. For the DC measurements in the table below I grounded both inputs of the amplifier. (spoiler alert), Later when I ungrounded them I found that I had built an oscillator.

Figure 23 Photograph of amplifier built on breadboard.

LTspice Breadboard
Tube Vk (Vdc) Vg (Vdc) Vp Vdc) Vk (Vdc) Vg (Vdc) Vp Vdc)
U1 12AX7 0.7125 0.0 72.98 0.524 0.0 71.5
U2 12AX7 0.7125 0.0 72.98 0.524 0.0 74.3
U3 12AV7 75.07 72.90 131.7 77.9 74.3 133.4
U4 12AV7 131.7 127.5 245.6 133.4 128.3 247.6
U5 12AU7 17.17 15.61 105 16.45 14.95 107.1

Note:
In LTspice High B+ = 255 Vdc. On the Breadboard High B+ = 257.7 Vdc.
In LTspice B+2 = 208.0 Vdc. On the Breadboard B+2 = 207.1

The results presented in the table are really very good. In general the rule is don't expect accuracy any better than 10% when dealing with tubes. The values are considerably better than that.

Sunday, August 1, 2021. AC Comparison.

When setting up the analog discovery for some really serious work I found that when the signal generator is set to 10 millivolts and below there is a great deal of noise on it. In fact there was almost as much noise as signal. Surprisingly the signal didn't come out of the amplifier looking like that. The only thing I can conclude is that most of the noise is above the passband of the amplifier. However, the noisy signal is fed to channel 1 of the scope for phase readings. I don't think that readings could be very accurate with all of this noise. My solution is shown in figure 24 below.

Figure 24 Amplifier Test Setup.

The signal generator is set to 1 volt which is fed to channel 1 of the scope. After the 40 dB attenuator the signal is 10 millivolts which is what the amplifier needs. The only problem is that the gain of the amplifier comes out 40 dB lower than it actually is. I couldn't find a way to add an offset to the dB scale. I think this would be a very good addition to the software. Are you listening Digilant? The gain values given in the table below have been corrected by adding 40 dB to each one. You will note that although the simulation says the amplifier is stable at unity gain the measurements on the real amplifier make it clear that it is not. The gain is well above unity at zero phase on the high end.

Figure 25 Open Loop Gain of Breadboarded Amplifier.

Figure 26, Figure 19 Repeated for easy comparison. Open Loop Gain of Simulation.

Points of interest as picked from
above graph using the cursor.
Analog Discovery Graphs Read
Using Expanded Scales.
Point Name Frequency (Hz) Gain (dB) Phase (°) Frequency (Hz) Gain (dB) Phase (°)
Lower Gain Margin 0.2882 -16.67 0.0 1.0 -41 0.0
Lower Phase Margin 0.9115 0.0 -47 16 -0.0 81
Lower Half Power 365.8 52.10 -134.9 1.1k 35.9 -135
Peak Gain 948.4 55.12 -179.7 3.0k -38.9 180
Upper Half Power 2.492 k 52.10 +134.7 7.8k 35.9 +135
Upper Phase Margin 1.610 Meg 0.0 +90.87 105k +14 0.0
Upper Gain Margin 48.98 Meg -33.90 0.0 430k 0.0 -127

Actually, before I ran any graphs I connected up feedback resistors to make a unity gain inverting amplifier. I was surprised and disappointed to find that it was oscillating at about 100 kHz. LTspice did pretty well with the DC operating points but not so well with the gain and high frequency response.

A measurement of gain done manually, that is the old fashioned way, came out as 38.8 dB. That's only 1/10 dB off from the results given by the Analog Discovery. But it's pretty far off from the simulated value of 55.1 dB. That's not enough gain. The graph in figure 21 shows a decided fall off at low frequencies as opposed to the op amp IC version shown in figure 17. (Note: Figure 17 can be found near the bottom of the incomplete equalizers article.)

What to Do?

A little experimenting has shown that increasing the current in the cascode stage will increase the gain. Cascode stage gain can also be increased by increasing the plate load. I also plan to remove all frequency compensation including changing C1 back to a 0.1 uf. After I get the gain that the circuit needs to function properly I will recompensate it to be stable at unity gain. Or maybe I can make use of that infrasonic peak by moving it into the low audio band and adjusting its amplitude to be just right.

Tuesday, August 17, 2021.

I'll spare you the details of the struggles of the last 16 days. I spent many hours running the low frequency response of the real amplifier using the Analog Discovery Pro. A scan from 1 Hz to 1 kHz takes 6 minutes and 9 seconds. From 100 millihertz to 1 kHz takes approximately 45 minutes. From 10 millihertz to 1 kHz takes approximately 5 hours. Sixteen periods of each input frequency are required to obtain the data for display.

I decided that I might not live long enough to compensate an AC coupled amplifier. The alternative is to make it more like an op amp with direct coupling throughout. That turned out to be easier than I had thought. Here is the schematic at the current state of development.

I have spared you the gruesome details of getting from figure 22 to figure 27. Suffice it to say, it was not a straight line because it involved so much trial and error. It wasn't nearly as easy as I had thought it would be.

Figure 27, DC Coupled Amplifier, Closer to True Op Amp.

Thursday, September 02, 2021.

Meanwhile there was something else going on starting on August 17 I was not yet aware of. I think I discovered what it was on the 24th which would have been a week later. I went to upload some updated files only to get the message that the file could not be transferred. I had run into this before when I had forgotten the Angelfire rule and included a space in the file name. I checked but there were no imbedded spaces. Next I tried deleting the file from the server only to get the message can't delete files. My next approach was to go to the Angelfire sight and upload the updated file with their web shell. That was also a no go and I soon noticed the red text that explained it all. It seems they started an update of their operating system and migration of user files to a different server on the 17th. They said it should take about 10 days. Since it had only been 7 days I shrugged and continued working. It has now been 16 days since they started and I still can't upload anything. At this point I don't know when you will be able to read this text and see the updated figures. But I'll carry on because it can't last forever. Can it?

Some notes about the schematic. The breadboard looks much the same except for those two big ugly 1000 μF capacitors. As the schematic above shows the two resistors in the cathode of the cascode have been replaced by a single one and the cathode bypass capacitor is now a 100 μF 100 volt unit ordered while awaiting Angelfire to be reignited.

The 10 k ohm load resistor is shown on the left side of the schematic for my convenience when it comes to redrawing the schematic showing the application of feedback. The feedback resistor is a load on the output of the amplifier, any amplifier. Many student laboratory experiments meet with failure to correctly predict the gain because the loading of the feedback network is not taken into account. By placing the eventual feedback resistor as a load the amplifier has the same load in both open and closed loop modes.

The network consisting of the 330 kΩ resistor, 150 kΩ resistor, and the 100 kΩ pot, is both a level shifter and an attenuator. The level shifting is wanted, the attenuation is not. This was, and still is, common practice in tube op amp circuits because there is no PNP tube. Too bad. In this case the level shifting side effect became useful for the insertion of a lead/lag compensating network. This actually simplified the high frequency compensation of the amplifier although there were several false starts in this area before I arrived at this solution.

Figure 28, Open Loop Gain of DC Coupled Amplifier.

Remember to add 40 to the vertical scale of the top graph.

Friday, September 03, 2021.

My ability to upload files came back today. So it looks like Angelfire is finished with their update and migration. It does seem to be faster to connect to my FTP program. And now back to our story.

Above is the open loop response of the real amplifier taken with the Analog Discovery. The plot shows stability because the gain is already below unity at 1 MHz while the phase is about 25 degrees as it approaches zero. Also where the gain is unity, 0 dB, the phase is about 50 degrees. It is hoped that this is not enough to sustain oscillation.

The gain can be seen falling off below 10 Hz. Remember that zero on the scale is 40 dB of gain. The gain does not fall to zero, -infinite dB, below 1 Hz as would be the case with a capacitor coupled amplifier. The fall off is due to the cathode bypass capacitors on the cascode amplifier. Here is the graph of open loop frequency response from 10 millihertz to 100 hertz.

Figure 28-A,Graph Showing Amplifier Response Below 1 Hz.

Actually the run time exceeded the earlier time of 5 hours. It was approximately 7 and a half hours. The Analog Discovery's default value for number of data points is always the same regardless of how many decades are covered. The result of my choosing to cover one less decade was to put more points in each one. That made all the decades take longer, especially the first two which ran up the run time.

-20 on the scale is 20 on the amplifier. So the amplifier's gain is 20 dB for DC and very low frequencies but rolls up to 58 dB before the audio range is encountered. The slope is less than the maximum permissible 20 dB per decade. The phase never gets close to 90 degrees.

You may be wondering why the 47 kΩ and 22 μF filter doesn't cause a low frequency roll off. The 47 kΩ carries the sum of the two 12AX7 plate currents. The sum of the cathode currents is regulated by a current sink. The current through the 47 kΩ never changes. Removing the capacitor would probably have no effect but it is left in place so the circuit will look normal.

Closing the loop.

Here are the results of testing the real amplifier in closed loop configuration. First the schematic.

Figure 29,Schematic of DC Coupled Amplifier with negative feedback.

Now in rapid succession are the frequency graphs for gains of 20 dB, 10 dB, 0 dB, -10 dB, and -20 dB.

Figure 30A,Gain of +20 dB.

Figure 30B,Gain of +10 dB.

Figure 30C,Gain of 0 dB (unity).

Figure 30D,Gain of -10 dB.

Figure 30E,Gain of -20 dB.

Tuesday, September 21, 2021. Adding the parametric circuit to the tube amplifier.

In the intervening time I have been playing with the circuit and trying to decide where to go next. This page has too much useless detail to just be added to the equalizers page. But I do need to wind it up. Here is the schematic of the entire circuit.

Figure 31,Schematic of Complete Parametric Equalizer.

And here is the simulation of the circuit.

Figure 32,LTspice Simulation of the circuit of Figure 31.

FIGURE 33, IT'S THE REAL THING.

Thursday, September 23, 2021.

One thing you might notice is that grid return resistors have been eliminated. Well, silicon op amps don't have return resistors on the inputs. The external circuit is supposed to provide that function. The two 10 k ohm resistors do the job for the inverting input. The 100 k ohm resistor is to make sure to discharge any coupling capacitors that may be connected there. The noninverting input always needs a return to circuit common. It is provided by the lower frequency pot in the Wein bridge circuit. The original silicon circuit had a DC blocking capacitor between the Wein bridge and the noninverting input. There was a 680 k ohm resistor to ground to keep the input where it belonged. There was another 680 k across the upper part of the bridge. I suspect that they were using a bipolar input op amp IC and the output level changed as the frequency control was turned. With tubes we have no such problem. Look back to figure 21. Note that the lowest frequency peaks are 2 dB below all the others. This is because the 1 Meg ohm grid resistor is in parallel with R23 which represents the rheostat connected frequency pot. There is no such resistor across R22 which is the upper frequency pot. The dual pot is at maximum resistance for the lowest frequency and the 1 meg ohm resistor is significant compared to the Maximum resistance of R23. Note that in figure 32, all the peaks have very nearly the same amplitude.

Having a breadboarded version of the equalizer meant I could plug it into my stereo and listen to it. This is not possible with an LTspice simulation. I have been listening to The Brothers Four's Greatest Hits. The effect the equalizer has on normal music is not something you would want to listen to. But it is fun to play with.

Changing the Circuit For Different Applications.

Suppose you made a live recording and found when you got home that there was a peak or null at some obvious frequency. You could use this circuit to boost or cut that frequency. You can get a higher and more narrow peak by making the values of the two capacitors farther apart. This can only be carried so far before the circuit begins to oscillate.

Say you wanted to use it to knock down a bass peak in your speakers. You could modify the Wein bridge circuit to cover a range of 10 to 100 Hz. This can be done by increasing the value of the resistors in series with the two pots. The frequency can be lowered by increasing the values of the two capacitors while keeping them in the same ratio to one another. Making the bottom capacitor smaller or the upper one larger will increase the height of the peak but if you carry this too far you will wind up with an oscillator. You could also use the same modification to increase the low bass below the normal range of your speakers but you could run into the power limits of your amplifier or if you have a power house of an amplifier you could damage your speakers, so be careful.

Friday, September 24, 2021. The frequency pot.

The resonant frequency of a Wein bridge is given by,

f = 1/(2*π*R*sqrt(C1*C2))

Where both resistors have the same value. R is the value of the resistors and C1 is the top capacitor while C2 is the bottom capacitor. The frequency is proportional to 1/R. The 500 k ohm variable resistor (pot) in figure 31 gives a frequency of 68.1 Hz when set to maximum. Decreasing the pot's resistance increases the frequency. If a linear pot were to be used the first decade would be covered as the pot decreased from 500 k ohms to 50 k ohms. Assuming 300 degrees of pot rotation this would take place in 270 degrees and the rest of the frequency range in 30 degrees. What is needed here is a dual reverse audio taper pot. Some early TV sets used reverse audio taper for the contrast control but finding a dual one is probably impossible. For my breadboard circuit I wired a conventional audio taper pot backward which meant that the highest frequency was fully counter clockwise. If I were going to build this for daily use I would get some of those plastic gears used by kids to build robots and gear the frequency pot for reverse action so clockwise rotation would increase the frequency.

Conclusion.

If you have a recording studio with even a moderately priced mixer it has a parametric equalizer in every channel. If you have a very small recording setup you might find one channel of this circuit to be useful. Your need for it is likely to be altering the timbre of one voice or instrument so only one channel should be needed.

If you want it for your stereo entertainment system you should build two channels. If that's what you want I won't second guess you. For myself I find that playing with the controls for a few minutes to be amusing but it's not something I would install in my system and switch in every day. But as that comedian used to say "different strokes for different folks". What was his name?

One More Thing.

After I transplant this page to the equalizers article it will include verbal descriptions of all figures. The graphs and diagrams that appear on this page are overkill. I do this to demonstrate how the design process works, dead ends and all.

Case Closed.


HOME.


Protecting My Expensive Scope.

Saturday May 1, 2021.

In many areas I am an early adopter. One such is the Analog Discovery series of products. The latest one is the Analog Discovery Pro which has a list price of $1295. Because I had previously made a purchase from the website I received an email informing me of the introductory price of $295 off the list price. Hard to pass up something like that and I couldn't. I now have a 4 channel USB scope with built in function generator. The one catch is that its highest range is plus or minus 25 volts with protection to a maximum of plus or minus 50 volts. (5 volts/div with a grid of 5 div up and 5 div down from center.) Even when a times 10 probe is used this is marginal for use in tube circuits.

There are situations where a direct (X1) probe must be used to achieve a usable signal to noise ratio for some measurements. OK, so I'll end every tube circuit with a series DC blocking capacitor and a shunt resistor. But there is still a problem. That is the instant when the B plus supply is turned on and off. The Fluke supply I use for powering tube circuits rises to 90% of set voltage in about 200 ms. (0.2 seconds). The fall time is even faster because the connection to the regulator output is opened by the standby switch. (Note: When the Fluke is put into standby the output voltage of the regulator is reduced to about 100 volts regardless of a higher setting.) Simulations have shown that for a coupling capacitor of 0.1 μF with a 1 Meg Ω resistor to ground, there is a high probability of damage and if a 1 μF cap is used it will be goodbye $1300.

My first thought was to install a switch in my breadboard that could be wired in to any circuit to short the output to ground after the capacitor. But that means that I would have to make sure the switch was set to the ground position before turning on the power and always set it to ground before turning the power off. It would only take one moment of forgetfulness, and goodbye scope. The short out has to happen automatically on turn on and turn off.

I looked through my junk closet and found a 10,000 ohm plate relay that reliably closes with 1 mA of current. It seems as though I might contrive a completely passive circuit that will close on power on and power off and stay closed for about 1 second.

For those who may want to try to find a duplicate relay here are the data on it. It is a Sigma brand as later pictures will reveal.

Here is the pinout diagram along with the color of wires I have soldered to each terminal.

Here is a picture of the relay next to the adapter plate |I made to mount it in an octal tube socket cutout.

The difficulty is that the relay has mounting studs in the corners as you can see. These are not the same spacing as the octal tube socket mounting holes. Even if they were the relay would be at a 45 degree angle which would take up more space in a place where space is at a premium. Things were further complicated by the fact that the dimensions of the relay can were exactly the same as the tube socket mounting hole spacing. This is the reason for using standoffs to mount the relay to the adapter and the adapter to the chassis.

The picture above shows the relay with the adapter installed and the two below show the assembly mounted to the breadboard chassis.

Monday, May 17, 2021. A circuit that works.

Here is the circuit that works. The extremely sensitive relay I happen to have, made it possible without any amplifying components. If you are not able to track down a similar relay let me know what you are able to find and I'll see if I can develop a circuit, probably with a transistor, that will work as well. If you would rather design your own, go right ahead.

CUT = circuit under test. PSU = power supply unit.

How It Works.

We will begin with the B+ turned off and the relay open connecting the output of the CUT (circuit under test) to the scope. All capacitors are fully discharged. When the B+ is turned on the voltage usually comes up within a few tens of milliseconds. For the first instant of time just after B+ comes up, the voltage across all capacitors is zero. The full B+ voltage is applied across the series combination of the 18 k ohm resistor and the relay coil. The 2.2 μF capacitor briefly shorts out the three 22 k ohm resistors. The voltage across the relay coil is limited to 15 volts by the zener diode protection network consisting of two anti seriesed diodes. But even so the relay gets quite a jolt and closes quickly. This disconnects the output of the CUT from the scope and connects the output to a 10 k ohm resistor to ground.

Now all of the capacitors begin to charge. The shortest time constant is the 0.1 μF capacitor and the 10 k ohm resistor in series with the output resistance of the amplifier. Depending on the tube and circuit this could be as much as 80 k ohms. The charging current flows through the capacitor, the 10 k ohm resistor and the output resistance of the amplifier which are all in series. .Most of B+ will be dropped across the high output resistance of the amplifier. When the relay does open the voltage applied to the scope will be small. In cases where the output resistance is 10 k ohms or less the time constant will be so short that the 0.1 μF will have fully charged when the relay opens.

Meanwhile the 2.2 μF and 10 μF capacitors are also charging. The 2.2 is charging through the 18 k ohm resistor Which gives a longer time constant than the 0.1 cap and 20 k ohms. For a short time the 10 μF is charging through the 18 k ohm resistor but as the 2.2 cap charges the time constant becomes 10 μF times 84 k ohms. To calculate this on paper would require writing simultaneous differential equations which is not something I care to do. An easier way would be to simulate it with spice or test it on the breadboard.

After the 2.2 μF capacitor becomes mostly charged the only time constant left is the 10 μF and the 4 resistors, 3 22 k ohm and 1 18 k ohm, making 84 k ohms. By this time the zener diodes have begun to conduct taking the 10 k ohm relay coil out of the equation. As the capacitor charges exponentially the current falls. The relay drops out at about 0.55 mA disconnecting the 10 k ohm resistor and reconnecting the scope.

When B+ is turned off most Tube based power supplies become open circuits because the turn off means is to open a switch or relay. The only current path for discharging the capacitors would be the circuit itself. This may not be enough current to close the relay for a long enough time or even not at all. This is the reason for the 30 k ohm 25 watt resistor across the power supply. This must become part of the breadboard along with the relay and its associated components.

When the B+ is turned off the relay will close again and all the capacitors begin to discharge through the 30 k ohm resistor, the relay coil, and their own discharging resistors. The 0.1 μF capacitor is discharging through the 10 k ohm resistor in series with whatever resistance the CUT presents while being supplied with near zero voltage. By the time the relay opens the voltage applied to the scope input will be small.

The 2.2 μF capacitor will give the relay coil a little extra jolt to quickly close the contacts. It will discharge leaving the matter up to the 10 μF capacitor.

The 10 μF will discharge through the 30 k ohm, a total of 84 k ohms and near the end the relay coil. By the time the relay drops out the world is safe for oscilloscopes to remain connected.

Component Selection.

If you didn't wade through the paragraphs above I will make the point again here. The 30 k ohm high wattage resistor must be part of the breadboard along with the relay and its associated components. It is required to make the relay operate on B+ turn off. Use V2/R to calculate the wattage for your power supply. Also the maximum of your supply will determine the voltage rating of the 10 and 2.2 μF capacitors.

I have already discussed the relay. The 2.2 μF capacitor is a 630 volt standard poly plastic type available from Antique Electronic Supply and others. The 10 could be made up of 4 2.2 and 1 1.5 μF in parallel. In my case it is a motor run capacitor I acquired from either BG Micro or MPJA, I don't remember which. If you buy regularly from either of these suppliers you know that their email offers aren't around for very long. Truth to tell there is no reason for specifying a nonpolar cap. The voltage across the capacitor never reverses. I think that leakage is likely to become a problem with an electrolytic. Their leakage grows as they age. This would cause the relay's hold in time to be longer on turn on and shorter on turn off. Also the maximum voltage of your power supply may play into your selection. My Fluke goes up to 550 volts and my HP 712B to 500 volts. If your only supply is a Heath IP27 or the Eico equivalent then 450 volt capacitors would serve. Also the 30 k ohm 25 watt could be down sized to a 10 watt.

Ground and B-.

B- and B+ are the negative and positive ends of the voltage source that is your bench power supply, or power supply unit. When you connect it up to power a circuit on your breadboard B- is connected directly to circuit common, (ground), most of the time. But there may be times when you need to separate B- from common ground. I have such a case on my breadboard at the moment. I have designed, in LT Spice a high gain AC coupled amplifier with differential inputs similar to an op amp. For this I need -105, +105, and +255 volt sources. As I'm sure you have already guessed I have a string of 3 VR tubes, two 0C3s and a 0d3. Like any bench power supply worthy of the name it is completely floating and doesn't care if it is connected as negative ground, positive ground, or neither side at ground. My case is the latter. The relay circuit needs to sense what the power supply is doing which means that it must be connected from B- to B+. Like the power supply, the relay coil circuit is completely isolated from ground.

The contact circuit is another story. The 1 meg ohm and 10 k ohm resistors must be connected to the common ground of the CUT. On my solder breadboard ground is the metal chassis that the breadboard is built on. The triangular ground symbol is circuit common in modern electronics but in this case it is also chassis ground. Here is how to use the protection circuit with an amplifier circuit.

Schematic showing an oversimplified amplifier being used with the scope protection circuit.

Thursday, June 03, 2021.

Earlier I wrote, "…the relay gets quite a jolt and closes quickly." Not quickly enough as it turned out. I simply forgot that a relay takes a finite amount of time to close. Here is the proof.

Scope screenshot showing turn on traces..

Scope screenshot showing turn off traces..

Just for the record the yellow trace is the instantaneous power supply output voltage and the purple one is the voltage from the CUT output. The turn on transient would be bad enough with a peak of 60 volts with a little narrow spike to about 75 volts but the turn off transient is a roughly flat topped pulse of about -100 volts. Nice try but this one has to go in the failure column.

The second plan.

The next version must have two relays. One to turn high voltage on and off and the other to disconnect the scope input. The sequence of events must be this.

Turn on cycle. HV switch at the power supply end will remain on at all times.

  1. Relay A closes disconnecting scope and connecting a 10 k ohm resistor from CUT to ground.
  2. Delay greater than relay closure time.
  3. Relay B closes applying HV to CUT.
  4. Delay of 2 seconds, possibly adjustable.
  5. Relay A opens connecting output of CUT to scope.

HV remains on.

  1. Relay A closes disconnecting scope and connecting a 10 k ohm resistor from CUT to ground.
  2. Delay greater than relay closure time.
  3. Relay B opens removing HV from the CUT and connecting a 30 k ohm resistor across its HV terminals.
  4. Delay of 2 seconds, possibly adjustable.
  5. Relay A opens ready for next turn on cycle.

I was thinking that the only way to control these two relays would be with an Arduino. But now that I write down the steps I see the similarities between turn on and turn off. I did find another one of those Sigma plate relays but I'm not sure how robust the contacts might be. In any case I'm not going to try to mount anything in the breadboard chassis. I'm going to use an external control box that can be used with any breadboard.

I realize that leaving the HV turned on is a safety consideration. This can be somewhat mitigated by hard wiring the leads into the control box to prevent the hot ends from being unplugged in a moment of forgetfulness.

Saturday, June 19, 2021. A circuit design.

I did a lot of head scratching and came up with the following circuit.

I was getting ready to breadboard the circuit and arrive at the capacitor values when the KISS* center in by brain woke up and asked "what the hell do you think you are doing?" I quickly designed the circuit below. As with any circuit I am going to breadboard it but it seems almost foolproof.
* KISS = Keep It Simple, Stupid.

I chose the series resistor to give an upper frequency cutoff of just over 400 kHz with a 100 pf capacitive load. If a particular circumstance requires, it can always be changed.

Sunday, July 11, 2021. Case not closed.

Construction.

There is a set of circuit boards that can be found on the web in many places. Instead of the connected pads that duplicate the breadboarding socket, which I have used many times, they have individual unconnected pads that are double sided and plated through. As such they are considerably more robust than the earlier boards. Their disadvantage is that the user must supply all point to point wiring. Their advantage is that the user can supply all point to point wiring.

As I have done before I made a representative drawing in MaxCAD of the board without components or wiring. The drawing is locked so none of the elements can be deleted. The file is also write protected to keep me from saving a component layout drawing over the blank board file.

Then I added the parts, diodes and resistors. In my set of shapes for diodes I made no distinction between PN diodes and Zener diodes. I should look into fixing that oversight.

The next step is wiring the board. I didn't see the letter designation of columns and numbers for rows until I placed the board under my digital microscope for soldering. Next time I'll put the board in the proper orientation so the letters and numbers will be right.

Final step is testing. The other three look exactly the same.

The only thing that could burn out some diodes would be a short in one of the large yellow capacitors. While that is within the realm of possibilities I have enough spare diodes and zeners to make replacements.

Wednesday, July 14, 2021. Lett's call it an overvoltage protector.

In the picture below you see the afore mentioned large yellow capacitors. I have decided to install the protection circuit on the breadboard I use most often.

Now For the Scope Test.

I might not have made myself clear. The scope I am protecting is the Analog Discovery Pro which has a rather frail maximum input voltage rating of +/- 25 volts. This is a USB scope although you would never know it from the price. The scope I used to make the test shown below is a standard bench top scope. The maximum input rating is 300 volts without the probes. When probes are used the maximum voltage is not 3000 volts but is the max rating of the probes. This is usually printed on the probe. In this case 600 volts. I am safe in making this experiment.

Here is the turn on,

and here is the turn off.

It now appears that as long as I wire my output through this test circuit the world is safe for USB scopes.

Case Closed.


HOME.


Adventures With a Network Analyzer.

Wednesday, September 16, 2020.

Several years ago when a company called "Syscomp Electronics Design Ltd." Came out with their CGR101 I couldn't wait to order one. It wasn't and isn't just another software oscilloscope. It was and is capable of plotting frequency response and displaying amplitude on a log-log graph and phase information on a log-lin graph. In other words a network analyzer, also known as a Bode, pronounced "Bodey" plotter. My first major use of it was to make and post impedance plots of speakers. The file dates are in late march of 2014. Good grief, was it that long ago?

I don't remember when they came out with a new and improved version the CGR201. I bought one and when it came in I gave it a brief test and put it away for the next time I would need it.

The need arose when I wanted to plot the frequency response of the real version of the Tone control circuits I had been simulating with LTspice. I got it out, connected everything up and ran a couple of plots. Then I started getting an error message. I don't remember the message exactly but it was something to the effect "…can't read START_FREQ no such location.". This sounds to me like a variable name in a program. So I downloaded the software again and installed it over the original version. While doing all of this the device was disconnected from the computer. After a little finagling to get the program to look on the right port to find the device it worked. I started plotting the tone control circuit I had wired on the breadboard. After a few plots I started getting the same error message. By this time it was late so I went to bed to sleep on it.

I tried reinstalling the program again but this time I uninstalled the old version and deleted the directory which the uninstall program had left behind. It worked at first but started giving the error message again. I set it aside and moved on to another project. When I came back to it a few days later I tried it several more times from a cold start. On every try it worked for about 20 minutes and then gave the message. Then I began to think in terms of assembly language programming and a name given to a memory location. I must have a hardware problem. I didn't test it for a long time so it may have been defective out of the box but I was sure it was much too late for any repairs covered by the warranty. I went back to the website to buy a new unit. After all, it's only money. But it was out of stock. I found that everything listed on the site was out of stock. I suppose the company has folded. Oh well, it happens.

I never throw anything away.

You've already seen the picture of the original device so you know I still have it. It came with an installation CD in the bottom of the plastic box. Insertion of the CD resulted in an error message, what else is new, "this program cannot be installed on this version of windows". I'm not one who gives up easily. I ran the install program as administrator and it ran and installed. The program balked but I ran it with troubleshoot program compatibility and selected Windows XP as the program it last ran under. If you ever need to do this the last step is easily missed because you are not directly prompted for it. Before closing the troubleshooting window be sure to check the box "Remember these settings". I checked it and now the old program runs just fine with the old hardware. For those who may be wondering the old program would not recognize the new hardware and vice versa. So now I can add a little more to the tone controls page in which I compare LTspice simulations with results from a breadboarded circuit.

Case Closed.

Friday, October 23, 2020.

Case Reopened.

While searching the Circuit Specialists site for an alternative to the Syscomp I found the Analog Discovery 2 from Digilent.com. It was listed as out of stock but it looked so interesting that I ordered it and settled down for a long wait. Early in October C S informed me that the price had gone up and asked if I wanted to cancel the order. I said no and it eventually came in. I downloaded the software and set about getting it to work.

I installed the software, plugged in the device and started the program. It is my normal MO to start a program and try to figure it out. My reason is that help files are generally useless because when you do a search for something they tell you about everything else instead of just answering the question you have asked. I have found that after I have an idea of how to do the basic things the help files are comprehensible and I can then take in the subtleties Here is what I saw.

This is the welcome screen. At first I wasn't sure the program and the device were talking to one another. I eventually determined that they were. After the fact I noticed in the lower right corner a box containing "Discovery 2" followed by the serial number. This is how you know it's working.

The Analog Discovery 2 comes with a 30 pin socket which fits onto a mating plug on one side of the device. The 30 wires that come out of the socket have female connectors, one on each wire. These will fit the pins on Arduino compatible devices but a number 22 gauge solid wire will fit nicely. I decided to connect the outputs of the on board signal generator to the inputs of the scope. I did this using one of the 5E boards which I had purchased when they were discussed on the list some time ago.

Saturday, October 24, 2020.

I selected "Waveform" from the menu on the left and this screen came up.

This picture is not of the first screen I saw. The information for only one channel was displayed and it filled the window. The green triangle followed by the words "Run All" was encouraging. Green is always good, right? Just to the right of this is another button labeled "Channels". Clicking it causes a drop down menu to appear which will show channel 1 checked and channel 2 not checked. Clicking on "Channel 2" will check it but the menu doesn't get out of your way. I know from my own experience in programming that this is an oversight by the programmer. After a user selects an option from the menu the programmer has to include a line of code that will tell the menu to "get off the screen". To overcome the forgetfulness of the programmer you must click the mouse in any area of the screen that is not a button, dialog box, or drop down list. After checking both channels you need to set them to be synchronized. To finish setting up the generator you should move again to the right where a drop down list will be showing "No Synchronization". Click on this and change it to "Synchronized". Note: Somehow the word "Disabled" inside the red boxes escaped my notice. Well, I do have a valid excuse.

To bring back the welcome menu click on the word "Welcome" almost in the top left corner of the window.

Sunday, October 25, 2020.

Next I clicked on "Oscilloscope" in the welcome menu and this screen came up.

The o'scope settings are on the right. The screen came up with both channels set to 1 V/div but I changed them both to 500 mV/div to get a larger display from a 2 volt peak to peak signal. But as you can see there was nothing. Not even an undeflected trace line. What could be wrong?

The signal generator and scope are two parts of the same system. I decided that testing them separately would be a good idea. I fired up my bench scope and connected its probes to the outputs of the Discovery's signal generator while leaving the Discovery's scope connected. There was nothing. I went back to look at the settings of the generator and everything looked right. Frustrated, I decided to leave it alone for a while and cool off. I can't think straight when I'm P O-ed. I make mistakes that compound on each other and make things worse.

Prior experience with software has taught me that an orderly shutdown is always best particularly if things aren't going well. So I clicked on the green arrow which changed to a red dot. The red frame just below the buttons changed to green and the word "Trig'd" appeared inside it. AND, the two sine waves appeared on the screen with a 90 degree phase difference as I had set it up. Not only that but the same two waves appeared on the screen of my benchtop scope. Well, it appears that green does not always indicate that things are running. Except for the rectangle in the top left corner of the scope screen.

Monday, October 26, 2020.

I am accustomed to using music players in which the triangle is used to indicate play and the double vertical bar for pause. The button shows what you will get if you press it. By this rule if you press the button when the green triangle is showing you will go into the play mode which some might interpret as showing the wave on the scope. Then after you press it a red dot indicates you will go into record mode if you press it. I'll leave it to the reader to decide what record mode for an oscilloscope might be. Pressing the round red button takes you back to the green triangle but the displayed wave remains on the screen.

OK, I'm being nit picking. The button does say "Run" and that's what you get when you click it. When it is running the button says "Stop" and that's what happens when you press it.

Testing the Network Analyzer.

The next thing I did was to wire up a simple RC low pass filter with a 0.1 uf capacitor and a 1500 ohm resistor.

And here is the circuit wired on a 5E board.

With everything connected up I clicked the green triangle and here's what I saw.

The phase shift should be 45 degrees and the amplitude 0.707 volts peak. I leave it to the reader to verify this. Without any rewiring it should be possible to do the network analysis (make a bode plot) of the circuit. Click "welcome" then "Network".

The gray area on the left is the cursor. I pressed print screen just after it arrived there. This program keeps scanning as long as you leave it running.

We see that the phase shift is 45 degrees at 1 kHz as it should be. The amplitude should be -3 db. That's pretty hard to read on a 10 dB/div scale. If I were still using the Syscomp that would be the end of it but with this software the user can change the scales of the graph as seen below.

With a scale of 1 dB/div it is clear that the amplitude is -3 dB at 1 kHz as it should be. And as I continue to learn the program I found that when the stop button is pressed the traces do not disappear but the cursor does. Also if the scale is changed to look at a small part of the graph as was done here there is no need to do a rescan.

Wednesday, October 28, 2020.

The learning continues. Scroll back up to the photograph showing the resistor and capacitor on the 5E board. That's the one just below the schematic diagram. Now scroll down to the scope display of the two sine waves just below the photo. Look not at the "oscilloscope screen" but at the row of 5 tabs just below the menu bar. The "Welcome" and "Help" tabs are there at program startup and are always present. Tabs are added as you make selections from the "Welcome" menu. On this occasion the first thing I did after starting the program was to accidentally click on the "Supplies" button. That placed the power supplies tab in the tab bar and I didn't yet know enough to remove it. To remove an unwanted tab just click on the X to the right of the word. The next thing I did that day was to set up the wave generator so that tab appears next. Then I looked at the waves on the oscilloscope which is the next tab. Scroll down again to the network analyzer screen. The next thing I did was to go back to the "Welcome" menu and select "Network" the network analyzer. In the graphic you can see that the "Network" tab has been added to the tabs bar. In the next graphic down with the expanded vertical scale the tab bar has changed. That is because I closed and later restarted the program between taking those two screen shots. I would have run the network analyzer with the default scale of -90 to +10 dB and then adjusted the scale to -9 to +1. Remember these graphics are screen shots taken while the program was running not the program itself. Clicking your mouse on buttons will have no effect or one you didn't expect.

Clicking on the word in a tab will allow you to edit or view that function. Clicking on the green triangle will set it to run mode, clicking on a red dot will stop it from running. Clicking on the X will remove the tab from the tab bar.

Now Let's Look at Something Useful.

How about a 3 band active tone control. Here is one built on a solder breadboard. The BNC adapter had been ordered but not come in when I made these plots.

And here is its frequency response as revealed by the Analog Discovery.

That seems to be about all I have for the moment. I've got a lot more to learn but there seems to be no escaping the PDF manual. There are still some unexplored items in the welcome menu. So I won't give you a case closed or a to be continued.

Conditionally To be continued.


HOME.


Winding I F coils.

Previously on Adventures in Coil Winding…

Our intrepid hero was given part of a Morris coil winder by Bill and bought another one on eBay to emulate Bill's setup. Then he felt overwhelmed by the complexity of the whole process and had doubts about going on with the project. After some consideration he found new confidence and decided to forge ahead. He assembled his coil winder powered by stepper motors and successfully wound a total of 12 coils. He also tested several solder fluxes and several methods of coil doping. Details can be seen at the page on winding IF transformers.

Wednesday, December 12, 2018. Making transformers from the coils.

I had ordered some polycarbonate rod from McMaster Car to support the coils. I thought I could make the square end pieces from sheet plastic I had on hand. It was only 0.09 inches thick so my plan was to glue two pieces of it together. In the past someone had recommended the use of silicon rubber to glue Plexiglas together but I found that the bond was not very strong. Crystal Clear Gorilla glue makes a strong bond but the pieces move on each other and it's hard to keep them lined up while placing a heavy object on top to clamp them together. It's best to glue first and cut and drill after. I found some 1/4 inch sheets at Home Depot which solved the glue up problem. Here is what they look like.

The 4 copper wires are for electrical connection and add no significant structural strength to the assembly. The polycarbonate rod is made slightly oversized and is a very snug fit in a 1/4 inch hole. The square end pieces had to be tapped onto the ends of the rod with a small hammer.

These transformers will use the same tin plated steel cans made by J. Ed. Earlier these were found to reduce the Q of coils inserted into them.

Table X, Q of coils as effected by Shield Can.
Coil # Q Shield
10 88 None
12 86 None
10 58.5 Tin Plated
Steel
12 58.2 Tin Plated
Steel
10 64 TPS Can Lined with
Copper Foil Tape
12 63 TPS Can Lined with
Copper Foil Tape

The transformers behave quite differently when in or out of the shield cans. That means that the coupling (distance between coils) must be adjusted in small increments and the transformer reinserted into the shield for the measurement. Also the can must be grounded to the system ground. We can take measurements from the scope screen shots below and learn something about the transformers.

Input impedance = VCH2 R / (VIN - VCH2

ZIN = 1.56 x 470 k ohms / (10 - 1.56) = 86.7 k ohms.

Insertion loss = 20 LOG (VCH2 / VCH1)
Measured at the same frequency.

Loss = 20 LOG(1.61 / 1.42) = 1.1 dB.

Because the output is slightly higher than the input the second transformer has insertion gain rather than insertion loss. Because of this it took two pictures to show everything.

Making the same calculations for transformer 2 as for 1 gives.

ZIN = 1.65 x 470 k ohms / (10 - 1.65) = 92.6 k ohms.

Gain = 20 LOG(1.74 / 1.65) = 0.5 dB.

I'm beginning to think that this coil winding business is more of a black art than a science. In the case of transformer 1 the slight asymmetry of the secondary voltage curve indicates over coupling. But if I pushed the coils any farther apart the loss factor began to climb. Perhaps I should have tried to achieve equal bandwidth in the two and losses be damned. But I didn't and the bobbins on which the coils are wound are glued to the polycarbonate rod with Crystal Clear Gorilla Glue. In the early part of the drying phase it behaves somewhat like rubber cement including the ability to roll off glue that is where you don't want it. But when it is fully dry it is much stronger than any rubber cement ever imagined. It might be called super industrial strength rubber cement.

I am returning Ed's transformers to him but all he will get back will be the original TPS cans and the trimmer capacitors. I have replaced his original wooden structure with plastic and the coils with ones wound with litz wire in a standard winding. This has added considerable value so I don't expect Ed to complain.

My next step is to try making the tin cans myself. I have all the necessary tools but the precision cutting required is likely to test my ability to cut a straight line on my band saw.

Stay Tuned.


HOME.


Musings upon building a tube analyzer.

Monday, January 15, 2018.

For some time I have been contemplating building some kind of tube tester, curve tracer, or analyzer. Over the years I have received a few emails asking if I have a design for a valve or tube tester. As the usage indicates some of these have come from Europe. The main problem with tubes is getting all of those pins connected to the correct voltage source.

It's easy with transistors which have only 3 leads. There are even devices you can get that don't care which leads go into which socket holes. It will figure out what kind of device you have connected and which socket connections go to which elements of the device. It's not nearly so easy with tubes.

A given tube may have anywhere from 7 to 10 connections.

Note. I get 10 connections from a 9 pin tube with a top cap. I have removed from consideration the 12 pin compactron and the very old 4, 5, and 6 pin tubes. I may include the old 7 pin socket for testing 807 tubes. I may also make adapters for these somewhat rare species.

The most difficult part of a home brew tube tester is how to set it up for each tube type. The service shop tube tester, which I have one of, used a chart in the form of a scroll which listed all known tubes and gave the settings of a number of controls on the tester. The user has no idea of what is being set, I include myself in that. He just sets each knob to the position indicated on the chart pushes the test button and reads good or bad on the meter. These switches have many wafers and the wiring is quite complicated. Duplicating this method is not practical for the home brewer.

After a lot of thought I have concluded that a system of relays driven by a small microprocessor is the only way to go. Let's make a list and see how many connections we need to make.

Sources.

  1. Filament or heater supply.
  2. Ground. For cathode and suppressor grid.
  3. Control grid bias.
  4. Screen grid supply.
  5. Plate supply.
  6. Open circuit.
Note: Some tubes have a pin that is indicated as "internal connection, do not use". This pin must be left open.

The most obvious way of making these connections is shown below.

Figure 1 Easy Circuit.

This circuit is simple to understand and simple to build. It would also be simple to program but for the number of outputs from the Arduino, 50, that are needed to control the relays for 9 pins and a top cap.

Figure 2 Another Circuit.

Another circuit looked like a saving of one relay per tube connection until I realized that it needed one more relay to provide the necessary open circuit. Also double throw relays are usually more expensive than single throw.

Figure 1 is the one to go with. For controlling the relays I intend to use one of those binary to 1 of 10 decoders or maybe 1 of 16 depending on what's available now. I have on hand a few Nixie display drivers that should do the job. This will only require 3 active bits. The 23 bit can be tied permanently low. Alright, 3 bits times 10 tube connections, Hmmm. Still too many bits. Well, let's use another Nixie driver to address the tube connections. That's 4 bits. Now we are getting somewhere. 4 bits to address the tube pin and 3 to tell it what to connect to. 7 bits is no problem. Each set of relay drivers will need its own 4 bit latch but I have them also.

If you are thinking that I must have been buying for a frequency counter at one time you are right. The ICs were a small part of the cost. Before I got started making the PC boards a Heathkit came out that cost less than I would have put into an enclosure, displays, board making material, etc.

Here is my idea for a programming panel.

Figure 3 Tube Connection Setup Panel.

The double circles are the symbols for the push button switches and the circles with lines radiating out from them symbolize indicator LEDs. The power up default will be for all pins to be open. A push of a button will set a particular pin to the intersecting source. The switch array will be scanned. The drivers will be through another Nixie driver which will use 4 bits. The state sense will use up 6 bits for a total of 17 bits. Oops. Looks like I need to rethink something. Let's see. The top row is the open state which will be binary 000. If I connect the set of open switches directly to the clear input of the latch for that tube pin without going through the processor that will reduce the number of sense inputs to 5 which now makes 16 bits for connection programming. Scanning and sensing the switch array in software should be a piece of cake.

Now that we have the tube properly connected what are we going to do with it? Every entry in a tube manual has a "Typical Operation" section where the operating point is completely specified. Plate voltage, plate current, and control grid voltage. In the same table are listed the plate resistance and amplification factor or transconductance whichever is applicable to the tube type. I would like an analog test in which the plate and screen voltage could be independently set and the control grid bias also set. Then the plate current would be read out on a meter, either digital or analog.

Then pressing another button would cause the plate resistance, amplification factor, and transconductance to be calculated based on measurements and read out on a single or multiple meters. Some processor time would be a great help with the measurement control and calculations. Since the 16 binary connections on the Arduino can work in either direction a 16 bit CMOS analog switch would need to be used to change between setup and measurement mode. The problem is how to tell the Arduino to run a different program based on the setting of a front panel switch. Perhaps the interrupt input can be used for that.

The ultimate addition would be to add scope outputs to the tester and curve tracing software. Modern DSOs have a way to dump the screen to a thumb drive. The screen image could then be transferred to a PC and a graphics program used to draw load lines on the curves. Or if you want to be a little more retro the image could be printed out and the load line be drawn with a pencil and straight edge.

The one remaining problem to be solved is the power supply for all of this. The low voltage for the Arduino and external logic is no problem. It's the plate supply that will deliver enough current to test a KT99, 6550, or 6146 that is going to add a lot of weight and volume to the tester. A connection for an external power supply would seem to be the answer. This is in direct conflict with the ease of use rule. "The harder something is to use the less often it will be used." That calls for a built in power supply. Then we run into another ease of use rule for a piece of test gear that is stored on a shelf and must be moved to the bench for use. "The heavier and larger it is the les often it will be moved for use." Perhaps a compromise is in order. Enough built in power supply for testing small receiving tubes but external power connections for testing audio output and some transmitting tubes. This is something I will have to weigh before starting the construction process.

If anyone has opinions on this feel free to start a thread on the FWT list. It's easy for one person working alone to miss something. Any input you may have would be appreciated.

To Be Continued.


HOME.


Spectrum Analyzer Impedance Buffer.

Monday, July 17, 2017.

Looks like it's been almost another month. I suspect you know how it is. You get to working on a project and it is so much fun that you don't want to stop and document it. Well, it happens. The power meter is finished and now lives on a page of its own. It also lives on my equipment shelf where it looks good. Even Sue likes its appearance. This permits my return to the blind fisherman's buoy. To make some tests on that project I need to use the spectrum analyzer but the input impedance is too low to do what I need. And so it goes.

That's right, I now own an RF spectrum analyzer. In February I decided to spring for it. Not a Keysite, not an Agilent, not even an old HP, but a Siglent. Probably made in China but isn't everything these days? It goes up to 2 GHz although I would have been quite happy with 200 MHz. It isn't useful for audio work because it only goes down to 9 kHz and the tracking generator is specified to go down to 100 kHz although it is usable down to 50 kHz. That makes it worthwhile having for receiver IF and RF stages and filter work. Its main limitation is that the input impedance is 50 ohms. Well I hear the manufacturer saying, it is intended for RF work. True. But when I need to sweep out an IF filter at 80 kHz a 50 ohm input impedance is a little low.

My mission then is to design and build a buffer amplifier that will have an input impedance equivalent to that of an oscilloscope so I can use a standard 10 meg ohm probe with it and a bandwidth wide enough to match my needs. Also I want it to be very compact and battery powered, no tubes, sorry.

I don't expect there will be huge demand for this circuit because there might be one other person on the FWT list who owns a spectrum analyzer. When I finally come up with a circuit you can duplicate I'll leave it up for a while. BTW, if anyone knows of a good spectrum analyzer that does audio frequencies please let me know.

Bandwidth?

When I started out I had no idea just how much bandwidth I could get with transistors on hand. I had to decide what would be the absolute minimum I could live with and the answer came back 30 MHz. What would I really like? 100 MHz came to mind. Anything above 100 would be chocolate sauce on the ice cream.

I started digging through my store of transistors and found a couple of dual FETs and a few BJTs all with Heath part numbers. They must be replacement parts for a Heathkit oscilloscope. As such they probably have some pretty respectable Ft values. So I thought up a circuit using one of the FETs and one BJT. It looked like I could get 30 MHz out of it but it wasn't all that far down at 100 so I decided to try for it. Here is the original circuit.

I tried adding series RCs to the emitter with smaller capacitors but couldn't get the curve right. Guess I need to sleep on it as it is getting late.

Tuesday, July 18, 2017.

I must admit that I was not using the best techniques for broadband work. The tracking generator in the analyzer has a 50 ohm output but I didn't have it terminated. In fact I was using cables with clip leads on the ends for both input and output.

Also, these socket breadboards are not the best for RF work. I do have a version I built that incorporates some features that should make it a little better. When I mounted the socket I put a piece of Plexiglas under it to cut down capacitance to the chassis. It has BNC connectors on the left and right and a lid that can be closed. There is no power supply which means that power must be introduced from the outside or in this case included inside, a 9 volt battery that sits inside with the circuit board. Eventually you will see a picture of it farther down this page. There is an older one WAY on down. It is just after the heading "Thursday, December 01, 2016"

I snapped a 50 ohm through termination on the left hand BNC and ran the shortest possible cable from the TG output to the breadboard input. Since the amplifier has a 51 ohm resistor in its output I just ran a cable from the right hand connector to the analyzer's input. Of course. Signals go in on the left and come out on the right. Right?

That was a much greater improvement than I had expected. Next I investigated the effect of changing the value of the source resistor in the FET source follower. A large value, 10 k ohms, gave more gain while a smaller value, 2.2 k ohms gave lower gain but better high frequency response. This is what I would expect. The wide dynamic range of the analyzer means that high frequencies are more important than gain.

Oscilloscope vertical amplifiers that I have seen schematics of show emitter followers between every stage no doubt to isolate the miller capacitance. I think I'll add an emitter follower between the source follower and the BJT common emitter stage.

Monday, August 14, 2017.

The blind fisherman's buoy is as good as I can get it with parts from China. Any improvement will require a considerable outlay of cash. I will have to consult the end user about that. Meanwhile I can get back to the impedance buffer for the spectrum analyzer.

I eventually came up with this circuit. It gives a really good looking sweep from 0 to 100 MHz as shown below.

To be continued.


HOME.


Modifying the HP334A RF Detector Circuit.

Tuesday, January 17, 2017.

Getting at the RF detector board turned out to be easier than I thought it would be. I did have to remove the main shield in order to get at it. It wasn't hard. Then there was a small shield around the board which was held to the rear panel by two screws and to another part of the internal shielding by two more screws. The circuit board was held to the rear panel by two screws. Just to make things interesting the HP designers had routed the output wire from the detector board through a hole in the detector board shield and the cable did not have removable connectors. The input cable did. So I had to work with the board and shield still connected to the main unit. It was difficult but not impossible.

Below is the unmodified detector circuit in figure 1 and the modifications drawn in by hand in figure 2.

Figure 1 Unmodified RF Detector in the HP 334A.

Figure 2 Modified RF Detector.

I replaced the diode on the board and also the spare which was held to the outside of the RF shield by two farnstock clips. I tacked on a 5.6 k ohm resistor to inject bias and reinstalled the board and shield. The resistor lead exited the shield through an extra hole which may have been put there for the purpose of biasing the diode. If so the hole would have been left in because there would have been a cost associated with removing it which over the production run would have been greater than the cost of leaving it in. At least that's my speculation. I used a shield mounting hole and screw to fasten a terminal strip to hold the two resistors and capacitor for biasing the diode and filtering the bias voltage to avoid adding noise from the power supply to the signal under test. See figure 8 under the heading "Low Distortion AM Detectors" below. I stole a bit of -24 volts from a nearby edge connector and I was ready to trial and error the resistor values. First I connected a substitution box between the power supply connection and the resistor lead coming out from the detector shield. I found a value that gave a minimum distortion reading at 100% modulation of my test generator and put a resistor of approximately 2/3 of the value to the detector and the filter cap that goes to ground. Then I tried the sub box between the negative lead of the capacitor and the negative power supply connection. This value came out larger than I had planned on for good filtering so I increased the value of the resistor going to the detector and found a new value for the other resistor. After several iterations of this procedure I found the following values. For the vertical resistor in figure 8 36 k ohms and for the horizontal resistor that connects to the voltage source 18 k ohms.

I put the whole thing back together and made some measurements. I was initially disappointed with the results. It was late and I was very tired and I probably read the wrong scale. Upon testing today I find satisfactory readings. I have flipped the axes of the chart so I can test at several different frequencies.

Signal source, SiglentDSG810.

Modified HP334A RF Detector.
Frequency (MHz) THD (%) @ 90% Mod THD (%) @ 60% Mod
0.54 0.147 0.098
0.8 0.165 0.122
1.2 0.182 0.140
1.6 0.190 0.150
2.0 0.197 0.161
3.9 0.242 0.218
7.2 0.274 0.234
14.3* 0.340 0.249
21.3* 0.430 0.257

* Using a Siglent SDG1025 which may have more distortion.

Wednesday, January 18, 2017.

There are no readings for 30% modulation because the meter was reading carrier leak through and noise.

Thursday, January 19, 2017.

I find it interesting that I was able to get better carrier frequency rejection in my test circuit than the HP engineers got in a device that was sold under the HP brand name. This is mainly due to the layout of the PC board. The three capacitors C1, C2, and C3 were all in the center of the board, parallel to each other, and close together. I found when setting up my test breadboard that putting the capacitors in close proximity allowed the carrier frequency to be coupled around the filter by parasitic capacitance.

But before I break my arm patting myself on the back I need to remember that the diode available to the HP engineers in 1965 was nothing close to the 1N6263. I'm sure they thought of adding a small amount of forward bias to the diode, after all they weren't stupid, but because in 65 every diode that came off the semiconductor line was different from all the others the bias would have needed to be adjustable and this would have added one more step to the final calibration procedure and probably one more piece of test equipment to the alignment station. For mass produced equipment economics drive the decision and it is likely that improving the filter was found to be economically unfeasible.

Case Closed.


HOME.


Low Distortion AM Detectors.

Wednesday, November 16, 2016.

This investigation was started when I received an email from John Wise who has developed a modification for the Williamson amplifier. At this time he is interested in building a low distortion AM transmitter. He sent me some references from the WWW in which a pentagrid converter is used as the modulator and the RF output is detected and the recovered audio sent back to the audio amplifier to apply negative feedback around the modulator and detector. The catch is, and there is always one, that if the detector is not perfectly linear the feedback might well make the distortion worse rather than better. My goal in the following is to test the basic voltage doubler AKA peak to peak detector with several different diode types including a vacuum tube with various combinations of source and load resistances to determine how they will perform.

Testing the test instrument.

The danger in such a project is that the instrument being used to generate the AM signal that is being fed to the detector may itself have some distortion. To measure the distortion of an AM signal generator it is necessary to detect, rectify, the AM signal and pass the recovered audio to a distortion analyzer. To test a detector you need a low distortion AM signal generator. To test the signal generator we need a linear detector. That's a catch 22 if there ever was one.

At some point we have to rely on Mr. Hewlett and Mr. Packard to provide us with a linear detector. The HP 334A harmonic distortion analyzer has a built in AM detector for testing AM signal generators and transmitters. That seems like a good place to start. It's getting late and there is something else I need to do or Sue will be very unhappy in the morning because the cable TV box is locked in some mode I can't get it out of. So it's a call to tech support then to bed.

Friday, November 25, 2016.

Let's begin by testing the HP-606B signal generator. It has a modulating signal output so we can look at the distortion of the internal sine wave oscillator. The internal oscillator has two selectable frequencies of 400 and 1000 Hz. I will test it on both frequencies.

Distortion of 606B internal modulation oscillator.
Frequency (Hz) Amplitude (Volts RMS). THD (%)
400 3.95 1.8
1000 3.85 0.68

We will use 1000 Hz as the modulating frequency and make measurements with the RF detector in the 334A.

606B with amplitude at 3 volts 90% modulation. Output unterminated. RF = 1.6 MHz.

Distortion = 1.23%.

Substituting the low distortion function generator for the internal oscillator in the 606 gives,

Distortion = 0.93%.

I'd call that a significant improvement.

When the RF amplitude is reduced to 1 volt the distortion goes up to 2.26%.

This indicates that the linearity of the detector in the 334A is dependent on input amplitude as expected.

Now we will test the function generator under the same conditions as the 606, 90% modulation and 1.6 MHz carrier frequency. Just one little problem. The maximum output amplitude of the FG is 20 V peak to peak (P-P).

The distortion is 1.6%. <-p> When the output amplitude of the 606 is adjusted to give the same recovered audio level as the FG the distortion is 1.46%. No. I didn't reverse those numbers. I just checked them again.

The 606 when modulated by an external low distortion audio generator does a little better than the FG but not by much.

Now here's a surprise. I didn't know if the RF input was terminated in 50 ohms or high Z. That sent me to the manual to read the specifications. The input is high Z which means that I was getting twice the output from the 606 as indicated on the meter. The wavelength at 1.6 MHz is 187.5 meters. For the metrically impaired that's 615.16feet. The 3 foot maximum cable length is not going to have any significant effect on the impedance. But that's not the surprise. It is that the distortion in the detector is specified at 30% modulation. I knew that 30 % was the standard for signal to noise ratio measurements and now I know it is also the standard for distortion measurements.

With both generators operating at 30% modulation and the levels matched as above the 606 read 0.325% and the digital function generator read 0.32%. The "distortion added" by the detector specification on the 334A at frequencies in the AM broadcast band and input levels between 3 and 8 volts RMS is 0.3%. Given the inherent precision of digital circuitry I think it is safe to assume that the distortion in the DFG is less than 0.1%. The 606 uses analog circuitry and vacuum tube to boot so it may run higher levels of distortion at higher percentages of modulation.

I think I can account for the seeming contradiction in the numbers above for 90 % modulation. When you connect a nonlinear element in the feedback loop of an amplifier the output is the inverse of the nonlinear function. The 606 and 334 have the same detector circuit so the modulation envelope of the 606 is being predistorted with the inverse of the detector function. Then the detector in the 334 gives an output which has better linearity than the original modulation envelope thus giving a lower distortion reading.

Thursday, December 01, 2016.

I think I can rely on getting low distortion figures from the digital function generator. So now I will breadboard a standard detector to see what distortion figures I can get and how, or if, I can alter them by some circuitry tricks.

One thing that is necessary when making distortion measurements is to be sure that the carrier frequency output from the detector is way down. 0.3% distortion means that the sum of the harmonics is 50 dB below the recovered audio fundamental level. The filter in the circuit below shows a theoretical attenuation of 91 dB at 1.6 MHz. .

Figure 1 Basic Detector With Filter.

As constructed on the shielded breadboard shown in the photograph below the -3 dB frequency is 9.5 kHz and the attenuation at 1.6 MHz is 98 dB. I'll take that. The top on the breadboard's lid was closed for the measurements.

Test conditions. Input voltage = 20 V p-p at 100% modulation. (10 volts p-p unmodulated carrier).
Carrier frequency = 1.6 MHz.
Modulating frequency 1000 Hz.

The residual noise measurements may seem strange. We are accustomed to thinking of the noise floor as being constant. It is but it's the gain of the analyzer that has changed. The modulation percentage of the function generator is set and the "set level" is adjusted for a reading of 100%, not to be confused with 100% modulation. Then the modulation percentage is set to zero and the range switch on the analyzer is cranked down to the lowest range which is 0.1%. So the reading in the first column of 0.008% is actually 0.008% of 90%. 0.011% is 0.011% of 60% and 0.021% is 0.021% of 30%. These numbers aren't quite consistent but remember we are not just pushing the limits of accuracy we have totally knocked them over. If we strictly follow the rules of measurement we wouldn't report a reading that is less than 0.03 that was read on a range setting of 0.1. Some may say that values can be read down to 1/10 scale but this is pushing very hard on the limits of accuracy.

THD Values for Figure 1.
Diode # Recovered Audio (V)
@ 100% Mod.
THD (%)
@ 90% Mod.
THD (%) @
60^% Mod.
THD (%) @
30^% Mod.
Residual (%)
No Mod.
-- 0.008 0.011 0.021
1N270 (1) 2.40 0.605 0.295 0.130
1N270 (2) 2.38 0.65 0.32 0.148
1N270 (3) 2.40 0.600 0.285 0.120
1N933 (1) 2.47 0.63 0.294 0.119
1N933 (2) 2.49 0.555 0.240 0.094
1N34A (1) 2.42 0.812 0.400 0.170
1N34A (2) 2.18 0.88 0.37 0.158
1N34A (3) 2.42 0.74 0.342 0.143
1N34A (4) 2.44 0.78 0.382 0.163
1N4148 (1) 2.55 0.58 0.194 0.076
1N4148 (2) 2.55 0.582 0.199 0.076
1N5819 (1)
Schottky
1.79 4.1 2.3 1.05
1N5819 (2)
Schottky
1.79 4.0 2.32 1.05

Well, that produced a few surprises. The 1N4148 silicon diode did much better than expected while the Schottky diode did much worse than anticipated. You may be wondering where I got some of these diodes. The germanium 1N270s came to me on a computer board I got from somewhere. There were originally 40 of them in 10 resistor-diode gates. The number is now down to 21. I have a plastic drawer full of the 1N933s also germanium. I don't remember where I came by them. The 1N34As are brand new. That seems to be the type that everyone is using in these linearizing detector circuits.

The older germanium type seem to be more closely matched while there is a lot of variation among the 1N34As. The Schottkys have good repeatability but they have a serious linearity problem. If the modulation percentage were to be limited to 90% the 1N4148s could be used but the voltage applied to the detector needs to be relatively high, 20 volts p-p at 100% modulation.

The oscilloscope tells the story.

Figure 2 Detector Input and Output with 90% Modulation.

Figure 3 Detector Input and Output with 100% Modulation.

Note: The channel two range is actually 1.5 volts per division. As you will observe on the right of the picture this channel is still set for the X10 probe when in reality the scope was connected to the output of the shielded breadboard by a length of Coaxial cable.

The silicon diode gives the most recovered audio and best linearity except at that last little bit near 100% modulation. I remember reading something about adding a little DC to bias the diode just short of conduction for use as a detector. I think I'll try it. But that's all for today.

Wednesday, December 07, 2016.

Figure 4 Modified Detector with Biased Diode.

All data below is for a 1N4148 silicon diode. The FG was set to 100% modulation and the bias adjusted for minimum distortion. Then distortion was measured at a few intervals concentrated just below 100%.

Some investigation which is not included showed that the optimum amount of bias is somewhat dependent on the percent modulation. The percentage change is small and when the bias is optimized at 100% modulation the distortion at 90%, 60%, and 30% modulation is still less than with no bias.

THD Values for Figure 4.
All Diodes = 1N4148
Bias = 15.00 V
Modulation (%) THD D1 (%) THD D2 (%) THD D3 (%) THD D4 (%)
100 0.803 0.810 0.795 0.795
98 0.603 0.630 0.620 0.620
96 0.540 0.545 0.540 0.540
94 0.485 0.495 0.485 0.490
92 0.445 0.450 0.445 0.440
90 0.410 0.415 0.401 0.405
60 0.174 0.177 0.174 0.172
30 0.0745 0.0730 0.0725 0.0705

I am amazed by the repeatability of these numbers. Or am I? Maybe the detector is not adding any significant distortion at each point and I am measuring the distortion of the function generator. Right now I have no way of knowing. I'm going to start experimenting with different detector circuits with the hope that I am able to find one that will give either consistent or better figures than the simple diode detector I have been experimenting with. As I think about I am not encouraged. The best EEs in the world worked on a detector for the HP334A and the best they could was a simple half wave diode detector. The only thing that gives me hope is that they would have been working to stay within a budget. I have no concerns about large quantity production costs and can try very complex circuits such as the phase locked loop. Now, what did I do with those NE561s I ordered 35 years ago.

Friday, December 09, 2016.

Well, I'm not quite ready for that just yet. I'm still perfecting the detector circuit itself. John Wise pointed out to me that the detector circuit in the 334A uses the diode in shunt rather than in series. So I modified the circuit accordingly and found that different values were required for the biasing resistors and the distortion was somewhat lower. When I put this article up as a permanent part of this site, and I will, I will leave out the false start with the series diode. But for the daily log it stays just to show that lab work doesn't always lead to the best circuit on the first try.

Figure 5 Detector with Shunt Diode and Bias.

Recovered audio for this detector at 100% modulation is 3.00 volts.

THD Values for Figure 5.
All Diodes = 1N4148
Bias = 12.00 V
Modulation (%) THD D1 (%) THD D2 (%) THD D3 (%) THD D4 (%) THD D4 (%)
With Values
Shown in Fig 6
THD D1 & D4 (%)
Doubler, Biased
15.9 V Fig 7
THD (%) 1N6263
Small Sig
Schottky
100 0.700 0.710 0.690 0.690 0.720 0.830 0.430
98 0.545 0.555 0.540 0.540 0.565 0.699 0.321
96 0.475 0.480 0.470 0.465 0.495 0.600 0.281
94 0.430 0.435 0.420 0.420 0.450 0.545 0.258
92 0.395 0.400 0.390 0.385 0.410 0.405 0.234
90 0.360 0.370 0.360 0.355 0.380 0.470 0.210
60 0.164 0.166 0.160 0.160 0.180 0.227 0.108
30 0.055 0.056 0.055 0.054 0.062 0.072 0.060

I found that the output of the function generator has a small DC offset and there doesn't appear to be any way to adjust it to zero except to add a small offset from the control panel. This was adding some extra bias which had to be made up when a DC blocking capacitor was used. I cannot account for the fact that all distortion levels are less than with the series diode but I'll take them.

Half Wave or Half Wave Doubler, That is the question.

Every AM transmitter circuit I saw used the voltage doubler. I suspect this circuit will give more distortion than the half wave rectifier but I'm going to keep an open mind and test the circuit on another day. I think I see the rationale for using a doubler but I also think it is unnecessary. It isn't needed for the extra voltage, there is plenty of RF voltage available. I assume that those who design such circuits are thinking that there is a possibility of asymmetric modulation and in that case the feedback loop needs to know the peak to peak voltage rather than the peak voltage on just one half of the RF cycles. If such asymmetrical modulation was taking place applying this information back to the audio amplifier in analog form would not correct the problem. The envelope would remain distorted and the detector might well make the distortion worse.

Actually I think it is difficult if not impossible to create asymmetrical amplitude modulation. Scope patterns can be deceiving. If some audio becomes mixed with the RF output it can give the appearance of modulation of only, say, the upper half of each wave and none or very little on the lower half of each wave. The audio cannot be transmitted through the ether along with the RF. At the reception point the audio is gone and the modulation envelope is once again symmetrical.

When I was at the university of Florida there was an EE student who was a couple of years ahead of me who thought that he could transmit stereo on AM by modulating the upper halves of each RF cycle with the left channel and the lower halves of each cycle with the right channel. He thought he had it until he tried to send the signal to a receiver across the room. He was seeing mixed audio and RF at the antenna connection but the audio part wasn't getting to the receiver. If such a transmitter had been possible receiving a monaural image would require the receiver to be equipped with a peak to peak detector. A common AA5 which uses a half wave detector would only reproduce one channel. As it turned out nobody had to worry about those things.

Saturday, December 10, 2016.

Before I move on I was wondering what would happen at a higher impedance level. So I changed the circuit as shown below.

Figure 6 High Impedance Detector Circuit.

I have added a column to the table above. I no longer see the need to plow through many different diodes when they all give pretty much the same results. The bias supply voltage for the new values is 15.00 volts. All the values are a little higher than they were but they are still less than when the diode was series connected.

I can't postpone it any longer. I must face the music and connect a voltage doubler circuit.

Tuesday, December 13, 2016.

Today I added the 7th column in the table above. It is for a voltage doubler aka peak to peak detector. The bias was set at 15.9 volts. The distortion is higher as one might expect. Such a detector might be necessary in a crystal set but as I stated above it seems unnecessary as used in the feedback loop of an AM transmitter.

Figure 7 Voltage Doubler With Bias..

Also I finally got hold of some small signal Schottky diodes. The ones I tried before were intended for use as rectifiers in switch mode power supplies. They had forward current ratings ranging from 1 to 30 amps and looked like rectifiers. It was tested in the circuit of figure 6 with one small mistake, a 220 k ohm was used in place of the 470 k ohm resistor. The diode and bias supply were turned around.

Wednesday, December 14, 2016.

In case you are confused by the entry above figure 8 below should clear things up.

Figure 8 Shunt Half Wave Schottky With Bias.

I think I have struck gold this time. I'm going to run 4 of these small signal Schottky diodes (1N6263).

THD Values for Figure 8.
All Diodes = 1N6263
Bias = 10.60 V
Modulation (%) THD D1 (%) THD D2 (%) THD D3 (%) THD D4 (%)
100 0.420 0.420 0.420 0.420
98 0.320 0.320 0.320 0.320
96 0.276 0.276 0.276 0.276
94 0.248 0.251 0.250 0.250
92 0.230 0.229 0.229 0.229
90 0.208 0.209 0.206 0.207
60 0.107 0.107 0.109 0.105
30 0.059 0.059 0.060 0.060

Wow! I am totally knocked out, blown away, and have had my socks knocked off. I see no reason to search any farther for a low distortion detector. These diodes are not at all expensive. At Jameco they cost $0.29 in single lots, $019 in lots of 10, and $013 in lots of 100.

I think I'll build an AM transmitter, at least on a solder breadboard, to see how it sounds. I doubt if I own an AM tuner that will give distortion figures this low but it should be enlightening to do some testing.

I am still curious about how vacuum diodes such as the 6H6 and 6AL5 will perform. I have some of each so it's just a matter of wiring a socket and plugging the wire ends into my shielded breadboard pictured above. I'm not quite ready to pronounce "case closed" but for those interested in the bottom line on low distortion detectors you have just read it.

Friday, December 16, 2016.

Thoughts About Detectors and Holidays.

The common uses for circuits like this are,

  1. Audio only detector, recovers the audio from an amplitude modulated radio signal in a receiver.
  2. AGC detector, recovers a DC level proportional to the average carrier level in a receiver.
  3. AC to DC converter in a voltmeter, starting with an AC input it recovers a DC level which is proportional to either the average, peak, or peak to peak, level of the AC input.

When bias is applied to linearize a diode detector the DC output is not zero when the AC input IS zero. This means that the circuit as shown is suitable only for number 1 above. A DC blocking capacitor must be present in the output circuit to prevent the DC level from upsetting the bias level on subsequent amplifier stages.

It is possible to remove the DC offset from the output if uses 2 or 3 are desired. There seems to be little point in using a highly linear detector for AGC.

As an AC to DC converter in a voltmeter linearity is absolutely necessary if printing special scales on the meter face is to be avoided. If the meter is to be entirely silicon based the offset can easily be removed by a simple op amp circuit. If all vacuum state is desired the whole circuit could be floated to remove the offset. These investigations will be performed after the Christmas and new year's holidays are passed.

The next two weeks are the busiest time of the year in most households and this one is no exception. As if Christmas and new year's weren't enough my birthday occurs three days before Christmas. Sue and I will be entertaining and visiting the homes of friends and family members. This is most likely to be the final entry in 2016.

Thursday, January 05, 2017. A digression.

And so it was. I'm back now and ready to face the new year, NOT! Well, I'll do the best I can.

While playing with my new Christmas toy, a hand held digital storage oscilloscope, I stumbled onto something. The math function has a number of functions that take the ch1 + ch2 from the analog scopes and add the other 3 functions from the small calculator plus FFT. After I got tired of playing with FFT I decided to see what the multiply and divide functions might do. I got the biggest surprise when I started with two triangular waves at a phase angle of 90 degrees and multiplied them.

The yellow and blue traces are the two waves and the pink or purple wave is the product. I haven't yet figured out exactly why it looks so much like a sine wave. There doesn't seem to be any way to get the calculated wave out of the scope for processing by other instruments. I may have to set up an analog multiplying circuit using a 595 four quadrant multiplier to see just how good a sine wave it is.

Thinking about it in the time domain I think each half cycle may be made up of two parabolas one a mirror image of the other and connected.

Thinking about it in the frequency domain I can't see how harmonics could be canceled leaving only the fundamental frequency.

If you have any thoughts I hope you will post them to the list rather than directly to me. It might start a good discussion.

End of Digression.

Monday, January 09, 2017. And Now, Back to our Story.

All that is left is to investigate the vacuum diode. Here is the schematic diagram of the circuit.

Figure 9 Biased Detector Using Vacuum Diode.

We will begin with the 6AL5 since the miniature version is more likely to be used by experimenters. Here are photographs showing the wiring of the socket and the tube in socket in breadboard.

THD Values for Figure 9.
All Tubes = 6AL5
Bias As Noted
Modulation (%) THD V1 (%)
Bias = 19 V
THD V2 (%)
Bias = 19 V
THD V3 (%)
Bias = 19 V
THD V4 (%)
Bias = 15
100 1.08 1.07 1.27 1.14
98 0.810 0.810 0.960 0.900
96 0.700 0.690 0.860 0.780
94 0.605 0.600 0.765 0.700
92 0.540 0.540 0.685 0.640
90 0.490 0.490 0.625 0.585
60 0.196 0.202 0.266 0.275
30 0.069 0.072 0.098 0.10
Tube Tester
Diode 1
2/3 Red 2/3 Red 3/4 Red 3/4 Red
Tube Tester
Diode 2
2/3 Red 1/2 Red 3/4 Red 3/4 Red

The meaning of the tube tester results is as follows. 2/3 Red means 2/3 of the way up the red part of the scale. 3/4 red means 3/4 of the way up the red part of the scale. It appears that an old weak tube will give less distortion than a new one. I knew there was a good reason not to throw away those used tubes.

Comparing results at 90% modulation between the 1N6263 and 6AL5 shows that the tube gives about 2.5 times the distortion even for the best case. Looks like the 6H6 will have to wait for another day.

Tuesday, January 10, 2017.

In searching my old tubes I found 9 6H6 tubes. One is an RCA and it looks to be the oldest of the lot. Another is a GE which although the black paint is shiny there is a paint chip. Several others are RCA and are labeled JRC-6H6 and on the next line VT-90. I selected two of these for the test below. V1 is the old RCA, V2 and V3 are the military VT-90s, and V4 is the GE.

THD Values for Figure 9.
All Tubes = 6H6
Bias As Noted
Modulation (%) THD V1 (%)
Bias = 8.0 V
THD V2 (%)
Bias = 9.5 V
THD V3 (%)
Bias = 7.0 V
THD V4 (%)
Bias = 25 V
100 1.28 1.35 1.54 2.79
98 1.00 1.10 1.35 2.50
96 0.905 0.945 1.22 2.20
94 0.810 0.860 1.13 1.98
92 0.745 0.780 1.05 1.81
90 0.685 0.720 1.01 1.67
60 0.320 0.330 0.540/td> 0.700
30 0.130 0.130 0.234 0.285
Tube Tester
Diode 1
2/3 Red 2/3 Red 2/3 Red 3/5 Red
Tube Tester
Diode 2
2/3 Red 2/3 Red 2/3 Red 3/5 Red

The results here contradict those for the 6AL5. It appears as if I pretested the tubes and ordered them from best to worst. I did nothing of the kind. The probability of that happening is small but not zero. The order in which the tubes were tested was just the luck of the draw.

I and others were curious about how tube diodes perform as detectors. Now we know. If someone who has heard about this page but not seen it should ask me "did you test tube diodes?" I can answer yes and they scored pretty low. And by the way I did some undocumented testing of the effect of reduced heater voltage. The effect was very small, not enough to be worth it.

Once again I want to point out that biasing the diodes can only be done when AC modulation is to be recovered. The bias adds a DC offset to the output which is blocked by the capacitors in an audio detector. If the circuit is to be used for converting AC to DC for measurement purposes or detecting the carrier level of a received radio signal some means must be found to remove the DC offset. That's easy to do with a silicon based op amp but somewhat difficult with tubes.

What Now?

For one thing I plan to look into modifying the detector circuit in my HP334A distortion analyzer. It may prove to be inaccessible without disassembling half of the unit. If so I will build a small box containing a diode and 9 volt battery to do the detecting.

Next I am going to build a low power AM transmitter that is similar to many that are posted on the www. Most of these use a 6BE6 as the modulator oscillator. That will be a separate article on this page. So as porky pig would say "a the a a the a a the a a that's all folks".

Case Closed.


HOME.


Filter Choke in the Negative Lead.

Monday, September 05, 2016.

Why would you want to connect a filter choke in the negative lead? We all have been taught to build circuits that look the same as the schematic diagram. All schematics show the choke in the positive lead.

Hammond makes a 20 henry 500 mA choke that would work nicely in a transmitter power supply for a pair of 813s or 4-250As. Such a power supply should be 2000 volts for the 813s or 2500 for the 4-250As. Just one little problem. If you read the fine print on the Hammond site you will be made aware that the maximum voltage between the winding and the frame is 800 volts. You put that choke in a 2 kV power supply and BANG! There goes a 50 dollar choke. Before you start thinking about ceramic insulators, read on.

The trick of course is to wire the choke in the negative lead as shown below.

The top diagram shows the conventional way of wiring a choke. The one below that shows how to put it in the negative lead. Notice there is only one ground point which is after the choke. The center tap of the transformer winding experiences a relatively small voltage. Even if a choke input filter is used simply by removing the capacitor on the left the voltage at the center tap should not exceed the breakdown ratings of the transformer.

The third diagram shows a trick that might be employed if the circuit has already been wired up. Reversing the diodes will of course reverse the polarity of the power supply so the ground point will have to be moved and connections to the powered circuit reversed. The reversed diodes alternative has been shown to keep someone from saying "you didn't show what happens if the diodes are reversed".

When I was a teen-aged ham operating 40 and 75 meters in Florida there was a case of a Globe King 500 that went off the air. A couple of weeks later it came back on and the owner reported that the filter choke had shorted to ground. He had solved the problem by mounting it on ceramic insulators. That presented a real hazard to whoever came into possession of it after he became a silent key. Placing the choke in the negative lead wouldn't have made it work because some point of the winding would still be shorted to ground. But it would have made it safer. At that time I didn't know enough to give him advice on the matter but even if I had I wouldn't have offered it because he wouldn't have taken it. He was well known among Florida hams for not taking kindly to any advice which he always interpreted as criticism and became highly offended. At my age at the time I stayed out of his way as much as I could. I never knew what happened to his equipment when he went silent but I and lots of others would sure have loved to have that Globe King even with its hot filter choke.

Case Closed.


HOME.


A New Radio with Old Tubes.

Monday, August 01, 2016.

I have had the idea of building a superhet radio around tubes that have only a 2 digit number for some time now. My first iteration will be with tetrodes and pentodes but I hope someday to build one entirely with early triodes. This action was precipitated by an offer from J. Ed to sell some 2.5 v two digit tubes. My plan is this.

35 - RF Amplifier.
24A - First Detector.
27 - Oscillator.
35 - IF Amplifier.
75 - First Audio and Second Detector.
47 - Audio Output.
80 - Rectifier.

I have used terminology from the early days of the superhet. Ever wondered why the diode detector is called the second detector in some radio data? In the early days the mixer was called the first detector.

There is no pentagrid converter in the two digit family so I will have to use a separate mixer and oscillator. The 35 is what we know today as a remote cutoff tube. The old manuals refer to it as a super control tetrode. I think the 75 was a late addition to the two digit group partly because of its relatively high number but mostly because it has a 6.3 volt heater.

I have ordered most of the parts or I already have them on hand but I had to order a special power transformer to get the 2.5 volt filament windings. Then a separate 6.3 volt transformer for the loan tube that requires that voltage. Also an output transformer. I haven't worked out the chassis layout yet. I'm going to wait until I have the transformers in hand before I do that. I think I'll use those old Meissner IF transformers. At least some of the passive parts will go with the tubes.

Friday, August 05, 2016.

Upon checking my parts on hand I found I had plenty of Hammond antenna and RF coils but no oscillator coils. I have corrected that oversight.

The three transformers came in today so all I need is an oscillator coil. I'm still working on the schematic diagram. I will post it here as soon as I have done all I can without breadboarding. I am anticipating the power supply, mixer, and oscillator, will require some circuit testing and modification.

Saturday, August 06, 2016.

The oscillator coils and 6 pin tube socket came in today. I also have done all I can on the schematic without breadboarding. I'll do the chassis layout next and get it drilled and punched. Since this is a "one of" the chassis will serve as a breadboard.

Figure 1 First Schematic of Radio.

Tuesday, August 09, 2016.

I had an assortment of 5 pin sockets but decided it would look best if all sockets were the same. To that end I have ordered some 5 pin ceramic sockets. They should be in shortly. Meantime here is a chassis layout.

Figure 2 First Chassis Layout of Radio.

This is for a 17 by 10 inch chassis. I haven't worked out in my mind as yet how I am going to do the dial. I haven't even decided between airplane or sliderule. Sliderule style is easier to make calibrations for but I think the airplane style will be easier to make.

To Be Continued.


HOME.


AM Radio Stations Heard.

Tuesday, May 03, 2016.

After Sue goes to bed and I have nothing to do I fire up the 5 tube superhet which now has transistor IF transformers doing the work of tube IF transformers. The receiver seems dead above about 1000. I think I need a small capacitor connected from primary to secondary of antenna coil as I often see in older radios that do not have a built in antenna. Here's the list of what I have heard so far.

Entries are nighttime unless otherwise noted.

610 WRUS Russellville KY. Local daytime.
620 WRJB
630 WLAG or WLAP
650 WSM Music City. Day and night
660 WFAN
670 WSCR Sports
700 WLW Cincinnati
720 WGN Chicago
750 WSB Atlanta
760 WJR Detroit
770 WABC New York
780 WBBM Chicago
830 WCCO
840 WHAS Louisville
860 Speaking French
870 WWL New Orleans
880 WCBS New York
890 WLS Chicago
930 WKCT Local. Bowling Green. Can see towers from kitchen window.
1000 WNBP
1020 KDKA Pittsburgh
1040 WHO Des Moines Iowa. I grew up listening to this one.
1120 KMOX St. Louis
1130 Speaking Spanish.
1340 Sports, local station
1450 sports, local station.

I have a lot of interference between about 1100 and 1500. It sounds like sync pulse buzz as in old analog TV. I think it's the internet data leaking out of my cable modem box which is in a plastic case. I need to string up a wire antenna that goes out away from the house. Now I am using a wire strung the length of the house in the attic.

Slim possibility of updates.



HOME.