return to table of content

A modern 8 bit design, built using 1950s thermionic valves

082349872349872
22 replies
22h50m

When all the valves are glowing, I check the fire extinguisher is full, and run the code.

It wasn't until working with valve hardware that I finally grokked the original difference between a cold boot and a warm one.

kazinator
17 replies
13h52m

What?

Silicone hardware generates heat.

Neither silicone hardware nor tube hardware goes literally cold in a cold boot; just the power is cut for a moment, usually not long enough to lose a lot of heat.

cjs_ac
5 replies
10h19m

The difference is that for solid-state logic, the heat is purely a waste byproduct, whereas for thermionic valves, the heat is the energy used by the electrons to move between the electrodes, hence the name. If the valves are cold, you have to wait for them to warm up before they can do anything.

kazinator
4 replies
8h14m

All the same, "cold boot" doesn't refer to letting tubes cool down. If power is restored while the tubes are still hot, it's still a "cold boot".

The electrons are not moved by heat; they are moved by the electric potential between the electrodes. The heat goes into maintaining the cathode at a certain temperature, at which the electrons "boil off" in sufficient numbers, but that requires only a smidgeon of the energy. Though depending on it, tubes are incredibly wasteful of heat.

So you say silicon and other parts don't require heat? Check that data sheet again! If the part's operating range is from -40°C to 70°C, then that part requires heat. If the ambient temperature happens to be -100°C, you have to heat it, perhaps by installing a heating filament into the chassis.

E.g. check the TI datasheet for the NE5532 op-amps:

Free air operating temperature:

NE5532, NE5532A: 0 to 70°C.

SA5532, SA5532A: –40 to 85°C.

(That standard part is quite delicate there, only down to zero!)

Conversely, thermionic tubes for a hot environment could be built without heating filaments. If the ambient temperature is 500°C, and that happens to be quite enough for that tube's cathode, then it Just Works, like your NE5532 IC at 3°C.

tlb
1 replies
5h34m

Is this known to work? I would have thought that running a whole tube at high temperature would cause the grid to emit thermal electrons, creating a current between grid and plate. Even though the grid doesn't have the low-work-function coating that the cathode does, its surface area can be larger and it's usually more negative than the cathode so I'd expect substantial currents.

If this does work, you could save a lot of power by building heated, insulated enclosures for entire tube appliances rather than heating each cathode and cooling every tube.

tlb
0 replies
1h24m

Though I guess you could save even more power by using transistors.

Max-q
1 replies
7h9m

The valves need to be warmed up can still be the source of the names "cold boot" and "warm boot", even if we today have given them different meaning.

kazinator
0 replies
5h33m

The meanings we give them today go back almost 50 years.

Then the trail runs cold, pardon the pun.

According to Google n-gram searches, "cold reboot" and "warm reboot" didn't exist at all until the late 1970s.

Related terms like "cold boot" and "warm boot" come up, but only in references to footwear. Can't find any computer uses 1950-1970.

The "cold start" and "warm start" mostly come up in automotive, aviation or marine contexts, confounding the search. Likewise, not finding computer uses.

Not finding computer uses for "cold restart" and "warm restart", either.

All these terms take off as computer terms in the late 1970's.

By the way, an important feature of the warm reboot is (possibly) that data is still in memory (if you have the kind of machine whose memory is wiped when power is cut, not magnetic core). In machines with simple operating systems, you could recover your program or data from memory after a reset.

(I think the timeline in the n-grams coincides with the explosion in microcomputing and reflects that: penetration of the jargon into mainstream writing. Nevertheless, the case doesn't seem to be good though for a vacuum tube origin of warm {start/restart/reboot}.)

tass
3 replies
13h27m

I imagine these terms could have changed over time, but consider that a warm boot might have meant power off and on with these old computers.

One difference is that the valves have more chance of burning out on a cold boot due to the temperature change.

kazinator
1 replies
9h48m

Filaments experience a high inrush current on startup because their resistance is lower when they are cold. That's why incandescent bulbs often burn out on powerup, rather than in the middle of a duty cycle.

Tube filaments last a good long time though, particularly in small signal tubes.

They do not shine like light bulb filaments; they glow red.

The circuit designer also has a say in it; tube filaments can be operated over a range of currents: you can run tubes hotter or colder. In a digital application, you'd probably want to go as cold as you can get away with for longer life.

Tubes have various modes of failure in addition to burned out filaments, like "gassing out", or the cathode emission decreasing, eroding the gain. Of course, abnormal conditions like parts melting from overcurrent.

Speaking of incandescent bulbs: those are victims of planned obsolescence. A bulb can easily be made that will last 50 years; it's just not profitable because you can't charge 50 times more for it than one that burns out in a year. Once everyone has 50 year bulbs, you're out of business.

ekidd
0 replies
7h31m

Once everyone has 50 year bulbs, you're out of business.

This seems to have been the issue with the expensive Philips Hue LED bulbs (the ZigBee ones). We installed ours close to a decade ago, and we took them with us when we moved to a new house. I don't think I've replaced a single one yet.

Philips seems to have de-emphasized that set of bulbs in favor of cheaper models, as far as I can tell?

jaystraw
0 replies
9h55m

in the music world, variacs are used to bring old tube amplifiers up to power slowly for that reason. not after being repaired or refurbished generally, but certainly when the amp's condition is unknown. the author of tfa said his new power supplies do that automatically, which is pretty neat.

01HNNWZ0MV43FF
3 replies
13h24m

Silicon. Silicone is the plastic used to make crummy kitchen utensils

klyrs
0 replies
2h17m

kazinator|7 years ago ... Love the irony of how silicon is used.

Common confusion; silicon is a metalloid, irony is metallic

Doxin
0 replies
11h54m

Silicone is a rubber made to make good kitchen utensils. The crummy plastic ones tend to be nylon or the like. Biggest tell is that silicone does not melt.

082349872349872
2 replies
12h51m

First boot in the morning was cold, and —the hardware having literally been cold— took minutes longer than subsequent, warm, boots.

kazinator
1 replies
10h17m

That wouldn't be on account of the tubes; tube filaments do not take minutes to heat up the cathodes.

Warm boots can save time by not repeating all the boostrapping steps. In a warm boot, you typically don't execute any power-on self-checks, for starters.

082349872349872
0 replies
6h18m

Maybe I'm misremembering (I was very young) or maybe I was with people who were too superstitious, but these tubes themselves were actually from the 1950s, and they did indeed take a significant amount of time before they decided the hardware was "warm enough" that one could let the software start doing its thing.

ahazred8ta
3 replies
20h2m

♫ "And when they turn the power on, it's sure to dim the lamps / At plus and minus 16 volts and fourteen hundred amps." -- Frank Hayes

JJMcJ
1 replies
18h33m

Telephone central exchanges used to have enormous lead acid battery (like automobile batteries, the starter motor not the EV kind) arrays if they lost power.

It was amazing to see the battery array discharge ammeter at 5000 amps when utility power went out.

_joel
0 replies
7h56m

some ISP's still do (or did, last time I was in one), at least one I worked for a few years back. Had a room full of lead acid batteries on shelves and another with a big spinning wheel to smooth out the flow.

cellularmitosis
15 replies
22h17m

200 amps

Something I’ve been curious about: is the current actually required for the thermionic effect, or just the heat?

Could you lower the current requirement by thermally insulating the tubes?

doe_eyes
4 replies
21h57m

They are insulated really well - by vacuum!

I'm actually surprised by the figure, though. A small tube requires about 300 mA at 6 V, and the trick is that you can connect the heaters in series instead of doing it all in parallel and pumping out a ton of amps at a very low voltage.

They could've done 10 tubes in series at a reasonably safe 60 VDC, and they'd only need 20 amps.

Back in that era, because both valves and relays were expensive, it was also common to use them more creatively than just constructing standard logic gates. You'd try to make a full adder or a flip-flop cell as an analog circuit, breaking the abstractions we're now used to - but also saving components.

hilbert42
2 replies
17h24m

"They could've done 10 tubes in series at a reasonably safe 60 VDC, and they'd only need 20 amps."

Thermionic vacuum tubes of this type usually have a specified maximum heater/cathode voltage rating which varies considerably according to design. Exceeding that rating and one risks a short between the heater and cathode. For these types of tubes heaters can safely operate up to 200V negative with respect to the cathode and about 100V positive.

In my post I suggested substituting a tube that's more common in the West—the 12AT7, it has the advantage of having a 'tapped' heater which means it can be wired in parallel mode to operate at 6.3V or in series mode at 12.6V. At 12.6V the current would be halved: https://en.wikipedia.org/wiki/12AT7 (pins 4 and 5, the tap on pin 9).

bregma
1 replies
8h6m

When I was in high school (many decades ago now) we had a vacuum tube tester with a switch that allowed you to select the heater voltage. We quickly discovered, devils that we were, that if you stuck a simple diode with a 1.5 V heater in the tester and cranked the voltage to max it would launch like a little rocket. Eye protection recommended.

hilbert42
0 replies
5h45m

"We quickly discovered, devils that we were, that if you stuck a simple diode with a 1.5 V heater in the tester and cranked the voltage to max it would launch like a little rocket."

Where I once worked we had several AVO Mk III valve testers† which we used in a nice little "demo" (for want of a better word) for both new employees and non-electronics types who'd occasionally wander into the engineering/electronics department.

We'd take a 7 or 9-pin miniature valve (preferability 9-pin) and place it under water and break the evacuating seal on its top, being evacuated the valve would instantly fill with water. Now with suitable settings on the AVO we'd get the water to boil with steam bubbling out of its top. This all happened whilst we nonchalantly went about our business pretending that nothing unusual was happening.

Sometimes the reaction from the newcomers/visitors was so funny that those of us who couldn't keep a straight face would quickly exit the lab and burst into hysterical laughter.

That was party trick number one, there were more: half fill a CRT with water by the same process and put it back into the monitor for some poor unsuspecting tech to discover. Another was our famous CO2-powered valve gun which we'd use to shoot 7-pin and 9-pin valves at high speed across the carpark aimed at the door of the electricians' department with whom we were continually at war. The valves would embed themselves in the wooden door up to the full length of their pins and rarely would the glass break. Electricians would come in next morning to find our little gifts awaiting them.

Yet another was the exploding electrolytic capacitor under one's seat. And there are many more to tell.

Believe it or not, we were quite a professional outfit and our work output was excellent. But it was the funniest and most enjoyable place I've ever worked at.

https://www.radiomuseum.org/r/avo_valve_tester_mk3_mk_3.html

userbinator
0 replies
18h20m

and the trick is that you can connect the heaters in series instead of doing it all in parallel and pumping out a ton of amps at a very low voltage.

Yes, this is what a lot of tube equipment did, as they are naturally high-voltage, low-current devices; here is one notable example:

https://en.wikipedia.org/wiki/All_American_Five

Ductapemaster
2 replies
21h53m

Current into a low-resistance "heater" element is used to produce the heat required for Thermionic Emission [0] in a vacuum tube. You only need the heater/emitter to be hot, and insulating the tubes would just spread the heat around to everything inside of it — at some extreme, making everything into an emitter, instead of elements that control the emission.

[0] https://en.wikipedia.org/wiki/Thermionic_emission

doe_eyes
1 replies
21h7m

This is not really accurate. To get meaningful emissions from normal electrodes, you need to heat them up to about 2000 °C. Vacuum tubes operate at 700 °C or something like that. The trick is that one electrode is doped with special rare-earth additives that greatly increase electron emissions. The same treatment isn't applied to the rest of the device. So, even if all internal components have the same temperature, a vacuum tube can still work (to some extent).

Ductapemaster
0 replies
20h52m

100% correct and I appreciate the additional details! I couldn't come up with a good analogy to explain you want the emitter as a separate and unique element from everything else involved in a tube — oversimplified in the process.

hilbert42
1 replies
16h14m

"Could you lower the current requirement by thermally insulating the tubes?"

The thermionic effect is very interesting, if the right material is used to coat the cathode then very large emissions can be had. Combinations of oxides such as barium, strontium and others can have both low work functions and high emissions. Currents in the region of over 100A/sq cm can be achieved.

Thus, valves/tubes could be designed to be much smaller and have much smaller currents. For a digital application such as this only a very small cathode current would be needed, this then would mean a much smaller heater could be used.

In the past, miniaturizing vacuum tubes was desirable but wasn't a major priority and further development was stopped when the transistor became available.

That said, in the 1950s portable tube radios were available that used much less heater power than their mains-operated counterparts, for example tubes like the 3V4. It has a directly-heated cathode and a filament/ heater voltage of 1.4V and current of only 100mA (in series mode it operates at 2.8V at only 50mA).

jhallenworld
0 replies
2h35m

The directly-heated cathode (meaning that the heater is the cathode) tubes have another advantage: they are nearly instant turn-on, no warm-up needed. Same as vacuum fluorescent displays.

Reminds me: there are new tubes based on VFD:

https://www.korgnutube.com/en (only 12mW heater power)

Very old 1920s tubes also used direct cathodes (but used a huge amount of heater power). If you look at the circuits, they had to jump through hoops to have the desired grid to cathode bias while at the same time providing the heater current. I think this would be easier for logic gates: set all of them to ground.

mrob
0 replies
21h52m

Perhaps the inside of the tube could be coated with a thin layer of gold using evaporative deposition before the grid/plate/filament/etc is added, like on spacesuit visors for IR reflection.

mannykannot
0 replies
21h32m

I did a quick search for the specs, and, if I am reading it right, Wikipedia [1] gives the filament current as being 350mA at 6.3V, a dissipation of 2.2W. As that current sums to 196A for the 560 tubes, I suspect this is what the 200A figure refers to.

As the tubes are at high vacuum, they are already well-insulated, so I imagine that most of the heat loss is via infra-red radiation. I have a very vague recollection that, in thermionic tubes, the anode has to be kept reasonably cool so that it is not emitting electrons itself. I would be surprised if there are any low-hanging fruit to be plucked here, especially given that vacuum tubes were important technology for a half-century.

[1] https://en.wikipedia.org/wiki/6N3P

creer
0 replies
20h17m

There are tubes made which share one heater. For an exotic example with a working web page, see this tube where two triodes and one pentode share the same one heater filament.

https://vinylsavor.blogspot.com/2021/11/tube-of-month-6bh11....

This one has two diodes and two triodes.

https://vinylsavor.blogspot.com/search/label/6AY11

And in this very design, they chose "6N3P valve contains 2 triodes around a single heater, halving the physical size and power requirements."

There may have been tubes made where the triode function can be pretty rough (sufficient for a digital circuit) and several of them could share one enclosure. In the tubes shown above, apparently the limit was the number of pins on the socket - but also that all these active elements do not share any pin.

Insulating the whole thing would run into issues like burning wire insulation.

an_aparallel
0 replies
21h2m

The high voltage from my understanding is to be able to handle the high inrush current to the heaters on power up, I believe after that the requirements are lower (parroting what I've read written by Eric Barbour on his metasonix vacuum tube synthesizers)

Prcmaker
0 replies
20h38m

Really it's both ways in terms of required current. The thermionic effect requires filament heat, which since being a filament, take some amount of current, often around half an amp, some more some less. A filament could, in theory, be run at any current though so long as the power through the filament stays the same and the voltage is kept low enough not to arc to adjacent parts. There is likely also a minimum current requirement (since you need a source for those free electrons), which often then implies some non-linearity at the low end.

As others have mentioned, the 200amps of this case could be reduced substantially by running filaments in series (can be done with 6.3v heaters as the error from a common 5v or 9v supply is more than if you pair them up and use a 12V supply) though this introduces the failure mode of old Christmas tree lights.

Source: I make vacuum tubes.

dang
7 replies
22h55m

[stub for offtopicness]

GaylordTuring
3 replies
22h59m

God dammit! I thought Valve had released a stationary computer. I was ready to open my wallet even before clicking the link ;(

Insanity
1 replies
22h56m

Ha, exact same reaction here!

artyom
0 replies
22h54m

Oh man how many of us are out there?

I wasn't disappointed about the actual article tho.

dang
0 replies
22h54m

I suppose we'd better change the title before the entire thread fills up with variations of this reaction!

dr_dshiv
1 replies
22h40m

Is that a joke? Because this is the most hackernews article ever

dang
0 replies
22h39m

Oh the article is thoroughly on topic! I mean the comments related to Valve the company. The thread was filling up with those before we changed the title. (Submitted title was "Valve.computer".)

Sometimes when there are too many offtopic comments like this I make a stub comment, move all the offtopic subthreads underneath it, and then collapse it.

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

artemonster
0 replies
22h56m

hl3 not confirmed :(

bentt
7 replies
21h16m

"But most important of all, is to have a lovely wife, who knows you're daft as a brush, and that life together is brilliant."

Hold out for the partner that cheers you on when you're doing what you love.

naikrovek
6 replies
20h38m

Hold out for the partner that cheers you on when you're doing what you love.

If only it were that easy. Those kinds of people are few and far between. I’m almost 50 and I don’t think I’ve ever even met a woman who has actively encouraged me about a single thing. I’ve been married twice and have 4 daughters.

kstenerud
1 replies
13h27m

You must advertise to potential mates who you are from the start, so that you naturally attract those who like your deal and chase away those who don't.

I met my second wife this way, and our 6 years together were the best of my life. She was killed by a Russian tank in Ukraine in January, and I miss her more than anything.

reneherse
0 replies
12h27m

I'm very sorry for your loss.

anonzzzies
1 replies
20h15m

Hence the hold out. I (50m) didn’t meet her until I was 30: until that time I dated and had few months relationships with a lot but it never felt quite right. Which became blatantly obvious when I met my wife.

shiroiushi
0 replies
17h14m

Same here, but it took me much longer than that. Partners like this are out there, but in my experience they're somewhat rare, plus you still have to deal with all the other compatibility/attraction issues present in dating (i.e., you might meet someone who's really lovely and supportive, but they're just not romantically interested in you, or the two of you just don't make a great couple for some reason).

One piece of advice I do have, though: hold out for someone who's a great partner who you really enjoy spending time with. Don't settle for someone who obviously isn't just because other people are pressuring you to "find someone".

maccard
0 replies
5h17m

If you've had 6 women close to you in your life and not one of them has supported you, the problem might be you and not them.

bentt
0 replies
15h45m

It's not easy. I missed once but struck gold the second time. I'm sorry you haven't felt supported. It's really hard when you don't feel like you can just be yourself.

orbat
1 replies
21h23m

Every one agrees that the Turner Prize is much more than just a display of virtue signalling by the cultural elite, and I have decided to enter the Valve.Computer for the prize.

Uh, what? Where did this sudden "virtue signaling" by the "cultural elite" stuff come from?

Grimblewald
0 replies
15h12m

read the wiki page on the turner prize for more information, but the prize is rather controversial.

cududa
1 replies
20h18m

Very cool. Couldn’t get the pictures to load in any higher res. Would love to see more of the detail

fanf2
0 replies
18h27m

Very hot.

ssdsa
0 replies
1h35m

It's really cool to design all those NOR gates using thermionic valves, as shown in the schematics in the middle of the article. I just wonder if using two regular diodes in the input paths of each NOR gate and another diode in the output path is a little bit of "cheating", since diodes are somewhat newer technology than thermionic valves.

salvagedcircuit
0 replies
16h32m

This guy is the right kind of crazy. This is truly what the internet was made for: sharing our outlandish, over-the-top projects with others. Awesome writeup!

poulpy123
0 replies
9h10m

I'm now wondering if someone ever tried to build a small computer/calculator with steam valves

nico
0 replies
22h34m

What a fascinating project. So cool

Thank you for making it happen and sharing it here

Super interesting read and very inspiring too

nicetryguy
0 replies
21h51m

Great for the winter! In all seriousness, amazing work. It's been tough to get tubes lately with the whole Ukraine situation sadly...

mikewarot
0 replies
10h11m

Having become accustomed to helping a friend fix old ham radio gear, 80 volts doesn't strike me as terribly dangerous.

In some of this stuff, over half of the power supplies output was dumped as heat in resistive divider networks just to bias things correctly and ensure operation. The filaments worked out to less than a fifth of the load in many cases.

Coming from a background of transistors and chips, it was wild to see so many 5 watt or more resistors in use.

lemonlime0x3C33
0 replies
6h21m

I was really hoping to see a picture of it in dim light with the valves glowing. Also I was not expecting to see such an adorable light house for ducks in the post. All around a great read :)

hilbert42
0 replies
17h48m

Now I'd truly love that computer as a talking point in say the rumpus room of my house, I could entertain my techie friends for hours. And it would take on extra importance in winter in keeping my house warm.

I've not used 6N3P tubes before but looking at the circuit it seems to me a 12AT7 (an old favorite of mine) would substitute in that circuit almost without alteration. Then again with a tweak or two either the higher gain 12AX7 or its lower gain cousin the 12AU7 would do.

cobbzilla
0 replies
18h2m

That’s some serious power draw. Truly impressive work!

Max-q
0 replies
7h3m

This is so interesting! Quite often, I'm thinking about how a modern design would perform with tubes. Back in the 40s and 50s, digital computers were new. Much of the design was inherited from tabulating machines. When I study the early IBM machines, they seem very complex. When we learned more during the 60s, and ended up with microprocessors in the 70s, the design had been optimized a lot. So I have been wondering how a "modern" design would perform on tubes.

This guy actually did it. What a fun project it must have been. Super interesting read.

One detail in the introduction that made me a bit puzzled: "The Valve.Computer is an 8 bit computer, with the usual 12 bit address and data buses". In an 8 bit CPU, we had "the usual 16 bit address bus and the 8 bit address bus".

FredPret
0 replies
22h46m

If Lawrence Pritchard Waterhouse had a blog an a large stock of valves, it'd be close to this