Computing Fluidly [Hackaday]

View Article on Hackaday

Computers come in many forms, depending on your definition. We’ve seen computers and computer gates built out of things as diverse as marbles, relays, and — of course — transistors. However, there are logic gate systems that use a property of moving fluids to form logic gates and a bistable element. That’s all the pieces you need to build a working computer.

It may sound far-fetched, but there have been general-purpose computers built using this technology. It is also used in specialized applications where fluids are already flowing, like shower heads, automotive transmissions, and in places where electronics are prone to misbehave. Many think the field will see a resurgence when we need to build logic at the molecular level for nanotech applications, too.

Basics

In its most basic form, a fluidic gate uses flow as a logic 1 and less flow to be a logic 0. Merging two streams together provides an OR gate. Using a supply stream that you can divert with a control stream provides a NOT function. Given enough inverters and OR gates, you can build everything else.

Charles Ahem’s 1966 Patent

However, the most effective fluidic logic gate is a bistable element sometimes known as a fluidic amplifier. This is analogous to an RS flip-flop. A supply flow feeds the device and two pressure ports provide inputs. If pressure appears on one port, the flow will continue out of one of two output ports. If pressure appears on the other port instead, the flow will continue out of the opposite port.

These flip-flops are designed in a Y shape with the control ports just before the branch. A smaller amount of pressure from the control ports makes the fluid “stick” to one wall or the other and, thus, prefer going on one side of the Y versus the other.

History

Nikola Tesla developed a fluidic diode in 1920. In 1949, an economist from New Zealand, Bill Phillips, wanted to model the economic processes of the United Kingdom and with computers difficult to access and not very powerful, he turned to a fluidic computer he built called MONIAC.

The computer used water tanks to represent different parts of the economy. The topmost tank was the treasury, and altering valve positions let you spend money at different rates and watch the effect. The prototype cost about £400 (about £15,000 pounds today) and was built from scrap. In total, somewhere around a dozen machines were eventually built, mostly by schools that appreciated how the model was understandable visually. There is a working replica in the New Zealand Reserve Bank as an exhibit that you can see in the video below.

In reality, though, using water to represent mathematical quantities wasn’t a new idea. In 1901, Arnold Emch proposed using particularly shaped weights to compute powers by measuring the amount of water displaced. Using water as an analogy for integration is also an old idea and “hydraulic calculators” were available in the 1930s to perform integration for specialized tasks and saw reasonably wide adoption in Russia up until the 1980s.

The idea came up again in 1957 when an Army lab realized that flue gasses could be directed down one of two pathways. And this led to the “fluidic amplifier” flip-flop that we mentioned above. Univac built a prototype FLODAC computer in 1964 to show how it might work.

Those amplifiers are what allow for what we think of as logic gates. Of course, they aren’t very fast, but they are very robust compared to, say, relays, or electronic devices that are sensitive to noise, static discharge, and vibration problems. Some experimental aircraft, like BAE’s MAGMA unmanned aerial vehicle, use fluidic thrust vectoring to control jet exhaust, something that might be hard to do with a 555. So even if your desktop computer’s water consumption will be limited to cooling, there are applications where it would be hard to do it any other way.

As we make tiny things where electrons don’t behave, we may see these methods get a new lease on life. Also, Rice and Harvard Universities have been using fluidics to build robots, and you can see what they are up to in the video below.

We’ve looked at water adders before. Turns out, you can make logic gates out of almost anything.