When making vacuum tubes, the glass is actually the easy part: premade tube stock of almost any size is easily available.
Heating the end of such a tube softens the glass and allows surface tension to close it off.
I used a rotary vane pump to remove all the air from the tube and heated the middle, which the atmosphere crushed to create a sealed-off ampule.
Because glass is practically impermeable, it will retain that vacuum for a very long time, which can be shown by bringing it close to high-voltage AC (like a tesla coil):
This glow is due to residual air being ionized, but the fuzzy appearance indicates that the vacuum is good enough to work in a triode or similar device.
For those, the capacitive coupling trick won't work: I'll need to make electrodes that pass through the glass without letting air in.
This is a lot harder than it might appear.
Copper's red oxide bonds very well to glass. In fact, the bond is stronger than the bulk glass: when it breaks, there's always a thin layer of glass left stuck to the metal. Along with it's excellent electrical properties, it's seems like an ideal electrode material.
I tried sealing off the end of the tube like before, but this time with a .75mm wire inside:
... and it leaks.
Look under a microscope, the glass around the joint cracked as it cooled.
The culprit is thermal expansion: After the glass solidifies at below around 800 °C, it contracts by around 3 μm/m for each degree. During that same degree of cooling, the copper contracts by 17 μm/m.
Once it's down to room temperature, the metal is around 1% smaller than the glass around it. Since both the metal and glass are incompressible, the resulting stress builds up until something breaks.
There are some metals that are well matched to borosilicate glass, like tungsten (4.5) or molybdenum (5), but they are all rather exotic.
Steel wire is common, and while it's not really matched (CTE is around 11 μm/[m*K]), it's an improvement over copper. However, the carbon content of the metal produces carbon monoxide on contact with hot glass:
... but there's no reason the bulk metal has to be in contact with the glass. I had no luck plating the steel out of a copper sulfate solution: because the reaction is spontaneous, it always happens very fast and creates a fine metal power:
Fe (s) + CuSO4 (Aq) → Cu (s) + FeSO4 (Aq)
However, electroplating copper works fine in the presence of ammonia. The copper can dissolve as a tetra-amine complex, but the iron is completely insoluble under these conditions.
To create a plating, the copper has to be forced with electricity: I connected the negative lead of my power supply to the iron and the positive to a piece of sacrificial copper.
At 20 mA, this produced a nice coating in a few seconds:
Sealing this in glass created a bubble free seal (if it was done quickly), but it still failed during cooling:
Steel differs by ~7 μm/[m*K], and that's enough to break the glass.
However, this plated wire can work in soda lime glass, which has a CTE of around 10. This is the most common (and cheapest) type of glass, but I haven't been using it because of it's tendency to crack while cooling:
Large pieces need to annealed in a furnace over several hours.
... but I did adding a bead around the wire:
Instead of the wire breaking away from the glass, the two glass types broke apart. This actually made the problem worse because the bead is a lot bigger than the wire, so it expands and contracts more.
Ok, I lied about tungsten wire being exotic. Filament wire is quite common, and I happen to have some.
The snag is that it's 10 μm thick.
I'd say it's hair thin, but that would be an understatement by almost an order of magnitude (most of my hair is around 70 μm)
For the seal, this is a good thing: less metal means less expansion... but this size is nearly impossible to handle. I kept loosing bits of it until I started attaching bright-orange tape to the ends.
Like many metals, tungsten is flammable. At this size, my oxy-propane torch is able to burn through it in under a second. This made glassworking a rather frustrating experience.
I initially attempted to make something similar to a neon indicator by passing two wires through a single pinch... but invisible wire leads to invisible short circuits.
Sealing a single wire in each end worked fine:
... but I had to add glass tee-joint to attach the vacuum.
While the operating voltage is well above a thousand volts for a tube this size (filled with air), it does glow nicely:
In addition to the plasma, the leads are glowing white hot. They don't have any air to cool them, are very thin and have poor thermal conductivity. Tungsten is one of the few metals that can handle this, so I accidentally got a 2-in-1 lamp.
While it is an option, but I'd really rather avoid using this.
Thermal expansion is a factor of size, so the smaller the conductor the less of of a problem it will be. 10 μm wire is rare, but 10 μm foil is common: you probably have some in your kitchen.
I rolled out some wire into some thin (30 μm-ish) foil and tried sealing it glass:
The seal looks excellent, but it leaked horribly.
This technique supposedly works in soda-lime glass, where the CTE difference is smaller and the softening temperature is lower, but it's no good for borosilicate.
(... interestingly, the crack formed around the edge of the ribbon, not along the surface. I'll come back to this later.)
One of the weirder glass-to-metal seals is the houskeeper seal: attaching an thin walled copper tube inside a glass tube:
The hollow metal can easily stretch to release any stress from thermal expansion. However, manufacturing such a tube is difficult without a precision lathe.
A thin copper disk sealed to the end of a tube should also work because it's thickness is unconstrained: the disk can increase it's radius by stretching thinner.
For a long wire sealed inside a pinch, the metal's only options are to decrease it's density (very hard) or for it to pull more in from outside the glass (also very hard)... so stress builds up until the seal breaks.
Producing such foil is easy with a small rolling mill although a hammer would also work. It's important to periodically heat the copper to a red heat for a few seconds. This reforms the metal crystals and allows it be worked without cracking.
Once sealed, a hole can be punched in the foil, and a wire soldered through it. Because there's no limit on the size of that wire, such a feed-through could be made to handle thousands of amps.
It's also notable because it doesn't require anything fancy: just normal copper and a blowtorch. It also works with any type of glass because the coefficient-of-thermal-expansion doesn't matter.
... however, it's very frustrating to make. There isn't much margin between the temperature at which the glass will wet the copper and when the copper melts. Since the glass doesn't wick onto the metal it must be pressed on while providing even heat.
There's also no way to pass multiple wires into the same tube, which complicates the glassblowing.
Knife edge seals: borrowing another idea from houskeeper's work, the copper ribbon always breaks around the edges... so what they are ground down to a sharp point?
On paper, this makes it much easier for the glass to contract around the ribbon:
The glass around square corners must contract lengthwise along the seal, across the width of the ribbon and along its thickness. Since glass is incompressible, this can't happen and it breaks.
With tapered edges, there's much less stress across the width and the glass can slightly squish to accommodate the metal.
... but it it's not enough and the seal still breaks at the edge:
Back to the tungsten: Large diameter wire is quite exotic, but not unobtainable. I was able to find some for an only slightly unreasonable price.
Even .65 mm diameter tungsten has no problem being sealed through glass (after a quick sanding at 600 grit):
Under a microscope, the seal shows some small bubbles, but no separation or cracking.
Unlike the filament wire, this stuff can be easy be handled, bent and welded (even tungsten is no match for an electric arc)
TLDR; Tungsten wire (up to .7 mm) or copper disc seals work in borosilicate. Tungsten wire is expensive and hard to find, but is easy to seal. Copper seals use common materials but are much harder.
Put mercury or gallium into already cooled glass.
Gallium expands when it freezes, which is enough to break glass. Some alloys (gallium-indium-tin) stay liquid until almost -20 C which would be a much better choice.
Mercury stays liquid until -40, so this is very unlikely to happen
Both of these can form a vacuum tight seal to glass, but must be prevented from flowing into the tube or evaporating. I can't think of a good way to do this, but I'm sure it's possible.
Just glue it: no heat, no problem.
... but plastics aren't vacuum-tight. Molecules of gas can squeeze inbetween the polymer chains and slowly seep in.
This effect is why helium balloons will slowly deflate over time, and how strongly smelling chemicals (like ammonia) escape their bottles.
A glue sealed tube would work if constantly connected to a pump, but wouldn't be very practical.
Lots of sources recommend treating copper with either sodium borate (borax) or boric acid prior to bonding.
As a test, I used some 250 μm copper foil. I heated the metal to pre-oxidized it:
... and applied a saturated solution of sodium borate in water once it cooled: After using more heat to evaporate the solution, I sanded one side down to bare metal.
... and melted on two similar sized bits of scrap glass, making sure to push the glass down onto the copper.
The foil was allowed to cool in a tray of aluminum oxide and once it was down to room temperature, I pried off both blobs:
Both left a layer of glass on the metal, which indicates that the bond was stronger than the surrounding glass. The borated side was significantly harder to break off, which could indicate less internal stress?
... but that could just be because it's hard to perfectly repeat a bond made using a torch and a randomly shaped bit of glass.
However, the low viscosity liquid borax should help get a bond started, making it easier to do disk seals.
A low melting point borosilicate-glass paste made by adding extra borax to crushed glass should also work. Such a "solder glass" would avoid the risk of leaving a water-soluble layer inside the seal.
Also, the borax side seems to have more bubbles. This is probably because I didn't get it hot enough to fully dehydrate before adding the glass.
The capacitive glow discharge trick is handy for testing seals.
Hook the unfinished tube up to a vacuum pump and spray a gas over the suspect area: If it leaks, a small amount will be pulled into the tube and change the color.
As for the gas, I find the fluorinated refrigerant from a spray duster works well. Even a tiny amount will alter the color and intensity of the glow.
... but be careful: It's flammable and the fumes are awful. Only try this with good ventilation and away from highly flammable materials. (and watch for arcing around the high voltage source)
Also, thanks to hugo.coredump.cx for letting me borrow their nice macro lens.