Analogue Switches (Transmission Gates)
Analogue switches are electrical circuits which connect and disconnect analogue signals. When used in digital circuits (e.g. flip-flops) the same circuit made below from MOSFETs is normally called a transmission gate.
Apart from the the fact that analogue switches work with continuous voltages and digital buffers only work with discrete HIGHs or LOWs, one other big difference is that analogue switches allow bi-directional data flow, whilst digital buffers only allow uni-directional data flow. Digital buffers have a dedicated IN and OUT, whilst each side of an analogue switch can either be IN or OUT (IN/OUT).
When many analogue switches are combined so that one analogue signal can be routed to many different locations, it is called an analogue multiplexor. These are discussed on the Multiplexers And Demultiplexers page.
How Do Analogue Switches Work?
CMOS (MOSFETs) is the most popular IC process to make analogue switches from, however JFETs are used for special applications such as video switching due to the high bandwidth and signal quality requirements of the signal1.
The basic idea is to connect 1 N-channel and 1 P-channel MOSFET together in parallel, so their sources and drains are connected together (although because the substrates are not connected to the source, there is symmetry in the construction of the MOSFET and no actual difference between the source and drain, more on this below).
When the analogue switch is turned on, the resistance of each MOSFET depends on the analogue switch voltage. At low voltages, the N-channel MOSFETs resistance is very low and conducts most of the current. As the voltage rises, the P-channel MOSFETs resistance decreases whilst the N-channel increases, at the P-channel conducts most of the current. The graph below shows the resistance of each individual MOSFET, as well as the combined resistance seen by an external circuit. The combined resistance is the parallel resistance of both the N-channel and P-channel MOSFET.
Notice how in the above image the total (combined) resistance is not constant, nor linear! This non-linearity can cause signal degradation depending on the input and output impedances of the circuity connected to it. Generally speaking, the on resistance of the analogue switch is not an issue if driven from a suitable “stiff” source, and passed through to a high-impedance input such as an ADC (assuming you allow for enough settling time, the input capacitance of the ADC will form a low-pass RC circuit with the switch resistance).
Transmission Gates
A transmission gate (which can be abbreviated to just TG2) is used to describe the same MOSFET-in-parallel circuit as the analog switch above, but when used in a digital context. It is commonly used in the design of latches and flip-flops, and is an integral part of pass transistor logic (PTL).
When showing a transmission gate on a schematic, it is almost never drawn showing discrete MOSFETs. It is usually simplified in the form of a “single bow tie” or “double bow tie” symbol, as shown below. Sometimes, simplified MOSFET symbols are shown, in where no arrows are used to indicate NMOS from PMOS, but rather a “inverting bubble” is added to the gate of the PMOS MOSFET.
is the gate of the N-channel MOSFET, the gate of the P-channel. and are the two sides of the transmission gate.
Notice how the clock signal and it’s inverse are provided to the gates. This will enable the transmission gate when the clock is HIGH, and disable it when LOW. If you swap and you will invert the logic and instead enable the transmission gate when the clock is LOW. The clock signal is the most common signal provided to turn the transmission gate on and off.
To show a real-world use case for a transmission gate, this is the logic diagram for the Nexperia 74HC74
dual D-type flip-flop IC3:
Crosstalk
For analog switch ICs with more than one switch, the amount of channel-to-channel crosstalk becomes an important metric.
Switching Speeds
For switches with more than one pole, the IC manufacturers usually make sure there is a specified “break-before-make” period.
Power Consumption
The following values are considered a low-power switch:
- Iq = 25nA (typ), 40nA (max)
- Ileakage = 5nA (typ), 90nA (max)
Examples
Intersil ISL43L410
The Intersil ISL43L410
is a low on-resistance, low-voltage single-supply, DPDT analogue switch. One of its main selling points is it’s low power consumption with an (typ) and (max). Leakage current is (typ), (max).
This IC has the nice feature that the common net can be disconnected from both NC and NO at the same time. However, both switches cannot be switched from NC to NO independently, which might be a deal-breaker for some designs.
Maxim DS3690
The Maxim DS3690 (now Analog Devices) is a 26-channel transmission gate in a TQFN-56 package4. Each channel is independent (in the sense it’s not connected to any other channels, but it is switched with a shared control signal). It is designed for digital bus isolation when digital bus components are disabled or removed.
Footnotes
-
Analog Devices (2008, Oct.). MT-088: Analog Switches and Multiplexers Basics. Retrieved 2021-09-01, from https://www.analog.com/media/en/training-seminars/tutorials/MT-088.pdf. ↩
-
Electronics Tutorials. Transmission Gate. Retrieved 2023-04-22, from https://www.electronics-tutorials.ws/combination/transmission-gate.html. ↩
-
Nexperia (2023, Feb 9). 74HC74; 74HCT74 - Dual D-type flip-flop with set and reset; positive edge-trigger. Retrieved 2023-04-11 from https://assets.nexperia.com/documents/data-sheet/74HC_HCT74.pdf. ↩ ↩2
-
Maxim (2007, Oct). 3.3V 26-Channel, Three-Stateable Transmission Gate. Retrieved 2023-04-22, from https://www.analog.com/media/en/technical-documentation/data-sheets/DS3690T-DS3690TTRL.pdf. ↩ ↩2