The analog (or analogue) switch, also called the bilateral switch, is an electronic component that behaves in a similar way to a relay, but has no moving parts. The switching element is normally a MOSFET transistor. The control input to the switch is a standard CMOS or TTL logic input, which is shifted by internal circuitry to a suitable voltage for switching the MOSFET. The result is that a logic 0 on the control input causes the MOSFET to have a high resistance, so that the switch is off, and a logic 1 on the input causes the MOSFET to have a low resistance, so that the switch is on. Analogue switches are usually manufactured as integrated circuits in packages containing multiple switches (typically two, four or eight). These include the 4016 and 4066 from the 4000 series.
Unlike a relay, however, the analogue switch does not provide electrical isolation between the analogue signal and the control signal. This means that it should not be used in high-voltage circuits where such isolation is desired. Also, since there is only a low current path between the input and output, the maximum current allowed through the switch may be smaller than that in a typical relay. There are also some constraints on the polarity and range of voltages of the signal being switched.
Important parameters of an analogue switch are:
on-resistance: the resistance of the MOSFET when switched on. This commonly ranges from 5 ohms to a few hundred ohms.