thumb|300px|Analogy between a hydraulic circuit (left) and an electronic circuit (right)

Electronic–hydraulic analogies are the representation of electronic circuits by hydraulic circuits. Since electric current is invisible and the processes in play in electronics are often difficult to demonstrate, the various electronic components are represented by hydraulic equivalents. Electricity (as well as heat) was originally understood to be a kind of fluid, and the names of certain electric quantities (such as current) are derived from hydraulic equivalents.

The electronic–hydraulic analogy (derisively referred to as the drain-pipe theory by Oliver Lodge) is the most widely used analogy for "electron fluid" in a metal conductor. As with all analogies, it demands an intuitive and competent understanding of the baseline paradigms (electronics and hydraulics), and in the case of the hydraulic analogy for electronics, students often have an inadequate knowledge of hydraulics. Hydraulic ohms are the units of hydraulic impedance, which is defined as the ratio of pressure to volume flow rate. The pressure and volume flow variables are treated as phasors in this definition, so possess a phase as well as magnitude.

A slightly different paradigm is used in acoustics, where acoustic impedance is defined as a relationship between acoustic pressure and acoustic particle velocity. In this paradigm, a large cavity with a hole is analogous to a capacitor that stores compressional energy when the time-dependent pressure deviates from atmospheric pressure. A hole (or long tube) is analogous to an inductor that stores kinetic energy associated with the flow of air.

Hydraulic analogy with horizontal water flow

Voltage, current, and charge

In general, electric potential is equivalent to hydraulic head. This model assumes that the water is flowing horizontally, so that the force of gravity can be ignored. In this case, electric potential is equivalent to pressure. The voltage (or voltage drop or potential difference) is a difference in pressure between two points. Electric potential is usually measured in volts.

Electric current is equivalent to a hydraulic volume flow rate; that is, the volumetric quantity of flowing water over time. Usually measured in amperes.

A unit of electric charge is analogous to a unit volume of water.

Basic circuit elements

<gallery>

File:Electrionics Analogy - Pipe (Wire).svg|Conducting wire:&nbsp;a simple hose

File:Electrionics Analogy - Reduced Pipe (Resistor).svg|Resistor:&nbsp;a constricted pipe

File:1-1111 CU-solderfitting-type 5130-22.jpg|Node in Kirchhoff's junction rule:&nbsp;a pipe tee filled with flowing water

</gallery>

A relatively wide hose completely filled with water is equivalent to a conducting wire. A rigidly mounted pipe is equivalent to a trace on a circuit board. When comparing to a trace or wire, the hose or pipe should be thought of as having semi-permanent caps on the ends. Connecting one end of a wire to a circuit is equivalent to un-capping one end of the hose and attaching it to another. With few exceptions (such as a high-voltage power source), a wire with only one end attached to a circuit will do nothing; the hose remains capped on the free end, and thus adds nothing to the circuit.

A resistor is equivalent to a constriction in the bore of a pipe which requires more pressure to pass the same amount of water. All pipes have some resistance to flow, just as all wires and traces have some resistance to current.

A node (or junction) in Kirchhoff's junction rule is equivalent to a pipe tee. The net flow of water into a piping tee (filled with water) must equal the net flow out.

<gallery>

File:CapacitorHydraulicAnalogyAnimation.gif|Capacitor:&nbsp;a flexible diaphragm sealed inside a pipe

File:Pompe à palettes.gif|Inductor:&nbsp;a rotary vane pump with a heavy rotor, or a turbine placed in the current

File:Axial compressor.gif|Voltage or current source:&nbsp;a dynamic pump with feedback control

</gallery>

A capacitor is equivalent to a tank with one connection at each end and a rubber sheet dividing the tank in two lengthwise (a hydraulic accumulator). When water is forced into one pipe, equal water is simultaneously forced out of the other pipe, yet no water can penetrate the rubber diaphragm. Energy is stored by the stretching of the rubber. As more current flows "through" the capacitor, the back-pressure (voltage) becomes greater, thus current "leads" voltage in a capacitor. As the back-pressure from the stretched rubber approaches the applied pressure, the current becomes less and less. Thus capacitors "filter out" constant pressure differences and slowly varying, low-frequency pressure differences, while allowing rapid changes in pressure to pass through. <!--Don't understand the next paragraph-->

<!-- Note that the device described will pass all changes in pressure "through" equally well, regardless of rate of change, just as an electrical capacitor will. Any device in series must obey (electrical) Kirchhoff's Current Law, or its hydraulic equivalent.

Considering the "filter" action, a better and more exact analogy is the hydraulic accumulator "pressure tank", as described, but with a closed, pressurized air bladder and only one water connection. Such accumulators are commonly used in hydraulic power systems exactly for the purpose of damping out pressure surges and "hammers" due to valves opening and closing. -->

An inductor is equivalent to a rotary vane pump with a heavy rotor placed in the current. The mass of the rotor and the surface area of the vanes restricts the water's ability to rapidly change its rate of flow (current) through the pump due to the effects of inertia, but, given time, a constant flowing stream will pass mostly unimpeded through the pump, as the rotor turns at the same speed as the water flow. The mass of the rotor and the surface area of its vanes are analogous to inductance, and friction between its axle and the axle bearings corresponds to the resistance that accompanies any non-superconducting inductor.<br />An alternative inductor model is simply a long pipe, perhaps coiled into a spiral for convenience. This fluid-inertia device is used in real life as an essential component of a hydraulic ram. The inertia of the water flowing through the pipe produces the inductance effect; inductors "filter out" rapid changes in flow, while allowing slow variations in current to be passed through. The drag imposed by the walls of the pipe is somewhat analogous to parasitic resistance. In either model, the pressure difference (voltage) across the device must be present before the current will start moving, thus in inductors, voltage "leads" current. As the current increases, approaching the limits imposed by its own internal friction and of the current that the rest of the circuit can provide, the pressure drop across the device becomes lower and lower.

An ideal voltage source (ideal battery) or ideal current source is a dynamic pump with feedback control. A pressure meter on both sides shows that regardless of the current being produced, this kind of pump produces constant pressure difference. If one terminal is kept fixed at ground, another analogy is a large body of water at a high elevation, sufficiently large that the drawn water does not affect the water level. To create the analog of an ideal current source, use a positive displacement pump: A current meter (little paddle wheel) shows that when this kind of pump is driven at a constant speed, it maintains a constant speed of the little paddle wheel.

Other circuit elements

<gallery>

File:Electrionics Analogy - Valve (Diode, conducting).svg|A simple one-way ball-type check valve, in its "open" state acts as a diode in its conducting state

File:Electrionics Analogy - Pressure-activated valve (Transistor).svg|A pressure-actuated valve combined with a one-way check valve acts as a (field-effect) transistor

File:Electrionics Analogy - Valve (Diodes comparison).svg|Like a one-way check valve, a diode blocks current that flows the wrong way. Current that flows the right way goes through almost unchanged.

File:Electrionics Analogy - Example Circuit.svg|A simple A/C circuit consisting of an oscillating pump, a "diode" valve, and a "capacitor" tank. Any kind of motor could be used here to drive the pump, as long as it oscillates.

</gallery>

A diode is equivalent to a one-way check valve with a slightly leaky valve seat. As with a diode, a small pressure difference is needed before the valve opens. And like a diode, too much reverse bias can damage or destroy the valve assembly.

A transistor is a valve in which a diaphragm, controlled by a low-current signal (either constant current for a BJT or constant pressure for a FET), moves a plunger which affects the current through another section of pipe.

CMOS is a combination of two MOSFET transistors. As the input pressure changes, the pistons allow the output to connect to either zero or positive pressure.

A memristor is a needle valve operated by a flow meter. As water flows through in the forward direction, the needle valve restricts flow more; as water flows the other direction, the needle valve opens further, providing less resistance.

Practical application

On the basis of this analogy Johan van Veen developed around 1937 a method to compute tidal currents with an electric analogue. After the North Sea flood of 1953 in The Netherlands he elaborated this idea, which eventually lead to the analog computer Deltar, which was used to make the hydraulic computations for the closures in the framework of the Delta Works.

Principal equivalents

EM wave speed (velocity of propagation) is equivalent to the speed of sound in water. When a light switch is flipped, the electric wave travels very quickly through the wires.

Charge flow speed (drift velocity) is equivalent to the particle speed of water. The moving charges themselves move rather slowly.

DC is equivalent to a constant flow of water in a circuit of pipes.

Low frequency AC is equivalent to water oscillating back and forth in a pipe.

Higher-frequency AC and transmission lines is somewhat equivalent to sound being transmitted through the water pipes, though this does not properly mirror the cyclical reversal of alternating electric current. As described, the fluid flow conveys pressure fluctuations, but fluids do not reverse at high rates in hydraulic systems, which the above "low frequency" entry does accurately describe. A better concept (if sound waves are to be the phenomenon) is that of direct current with high-frequency "ripple" superimposed.

Inductive spark used in induction coils is similar to water hammer, caused by the inertia of water.

Equation examples

{| class="wikitable"

!type

!hydraulic

!electric

!thermal

!mechanical

|-

|quantity

|volume <math>V</math> [m<sup>3</sup>]

|charge <math>q</math> [C]

|heat <math>Q</math> [J]

|momentum <math>P</math> [Ns]

|-

|quantity flux

|Volumetric flow rate <math>\Phi_{V}</math> [m<sup>3</sup>/s]

|current <math>I</math> [A=C/s]

|heat transfer rate <math>\dot{Q}</math> [W=J/s]

|force <math>F</math> [N]

|-

|flux density

|velocity <math>v</math> [m/s]

|current density <math>j</math> [C/(m<sup>2</sup>·s) = A/m<sup>2</sup>]

|heat flux <math>\dot{Q}</math> [W/m<sup>2</sup>]

|stress <math> \sigma </math> [N/m<sup>2</sup> = Pa]

|-

|potential

|pressure <math>p</math> [Pa=J/m<sup>3</sup>=N/m<sup>2</sup>]

|potential <math>\phi</math> [V=J/C=W/A]

|temperature <math>T</math> [K]

|velocity <math>v</math> [m/s=J/Ns]

|-

|linear model

|Poiseuille's law <math> \Delta v = \frac{r^{2{8 \mu L} {\Delta p}</math>

|Ohm's law <math>j=-\sigma \nabla \phi</math>

|Fourier's law <math>\dot{Q}=\kappa \nabla T</math>

|dashpot <math> \sigma = c \Delta v </math>

|}

If the differential equations are equivalent in form, the dynamics of the systems they describe will be related. The example hydraulic equations approximately describe the relationship between a constant, laminar flow in a cylindrical pipe and the difference in pressure at each end, as long as the flow is not analyzed near the ends of the pipe. The example electric equations approximately describe the relationship between a current in a straight wire and the difference in electric potential (voltage). In these two cases, the states of both systems are well-approximated by the differential equations above, and so the states are related. The assumptions that make these differential equations good approximates are needed for this relationship. Any deviations from the assumptions (e.g. pipe or wire is not straight, flow or current is changing over time, other factors are influencing potential) can make the relationship fail to hold. The differential equations for hydraulics and electronics above are special cases of the Navier–Stokes equations and Maxwell's equations, respectively, and the two are not equivalent in form.

Limits to the analogy

If taken too far, the water analogy can create misconceptions. Negative transfer can occur when there is a mismatch between phenomena in the source (hydraulics) and the corresponding phenomena in the target (electronics).

</references>

  • Animation
  • Hydraulic Analogy for Inductive Electric Elements [https://www.researchgate.net/publication/295812753_Hydraulic_Analogy_for_Inductive_Electric_Elements]