Transmission gates

What is transmission gate?

A transmission gate, also known as an analog switch, is an electronic component designed to control the passage of signal levels from the input to the output. This solid-state switch comprises a PMOS transistor and an NMOS transistor to support both logic states (High and Low). By biasing the control gates complementarily, both transistors can either be turned on or off simultaneously. Usually, the transmission gates are bidirectional. This means the signal can flow from input to output and vice-versa.

Transmission gate symbol and schematic

To make a transmission gate, two MOS transistors (one PMOS and one NMOS) are arranged in parallel. There is an inverter placed between the gate terminals of the NMOS and PMOS transistors to provide complementary control voltages. This is because NMOS turns on when the gate is high while PMOS turns on when the gate is low. When the CONTROL signal is low (zero), both the NMOS and PMOS transistors are in a cutoff state, resulting in an open switch. Conversely, when CONTROL is high (one), both transistors are biased to conduct, effectively closing the switch.

transmission gate schematic 1 2 e1700900321951

Therefore, the transmission gate functions as a “closed” switch when CONTROL = 1 and operates as an “open” switch when CONTROL = 0, serving as a voltage-controlled switch. The symbol representing the gate of the PMOS FET is indicated by a bubble.

Transmission gate working principle

To grasp the functionality of a transmission gate, it’s essential to comprehend the operations of NMOS-only and PMOS-only switches/transmission gates separately. We will try to understand the behavior when the transistors are turned on. When transistors are turned off, the output becomes a High-Z node. High-Z means the input resistance of the node is very high (open circuit).

NMOS-only switch or transmission gate

nmos only tx gate 1 e1700913336446 qfvocjcca55yjnq9ghs2amwug6r9chg2klm1tkvk20

In the NMOS switch,  the gate is tied to VDD, and the body is tied to VSS to turn on the transistor. If a rising pulse is given at the input, we can see that the output is rising slowly to VDD – Vtn. Vtn is the threshold of the NMOS transistor. Ideally, it should rise fast and rise up to VDD. The waveform is rising slowly because the VGS of the NMOS is decreasing, which is increasing the channel resistance (Rds,on). This reduces the current to charge any parasitic capacitor (Cp) at the output. The current reduces to zero and Rds,on becomes infinite when the output reaches VDD-Vtn. This does not let output go above VDD-Vtn.

nmos only tx gate 1 1 e1700913295900 qfvobhqsorqhn98vk1iziweeorwkslat3fimmifazg

If a falling pulse is given at the input, we can see that the output is falling fast to VSS. The waveform is falling fast because the VGS of the NMOS is increasing, which is decreasing the channel resistance (Rds,on) rapidly. This increases the current to discharge any parasitic capacitor (Cp) at the output. The current discharge the parasitic capacitor to the input voltage level (VSS). 

So, we can observe that the NMOS behaves very well when there is a falling waveform at the input.

PMOS-only switch or transmission gate

pmos only tx gate 1 e1700913080860 qfvo5upnok0jzhfshlrkkbmudjpalywsbilqyqscac

In the PMOS switch,  the gate is tied to VSS, and the body is tied to VDD to turn on the transistor. If a falling pulse is given at the input, we can see that the output is falling slowly to Vtp. Vtp is the threshold of the PMOS transistor. Ideally, it should fall fast and fall up to VSS. The waveform is falling slowly because the VSG of the NMOS is decreasing, which is increasing the channel resistance (Rds,on). This reduces the current to charge any parasitic capacitor (Cp) at the output. The current reduces to zero and Rds,on becomes infinite when the output reaches Vtp. This does not let output go below Vtp.

pmos only tx gate 1 1 e1700913121682

If a rising pulse is given at the input, we can see that the output is rising fast to VDD. The waveform is rising fast because the VSG of the NMOS is increasing, which is decreasing the channel resistance (Rds,on) rapidly. This increases the current to charge any parasitic capacitor (Cp) at the output. The current charges the parasitic capacitor to the input voltage level (VDD). 

So, we can observe that the PMOS behaves very well when there is a rising waveform at the input.

NMOS and PMOS in parallel

nmos pmos tx gate 1 e1700916578825

When a rising input is given at the input of the transmission gate, NMOS’s output ceases to move beyond VDD-Vtn however PMOS supplies the necessary current to the parasitic capacitor to charge to VDD.

nmos pmos tx gate 1 1 e1700916634917

When a falling input is given at the input of the transmission gate, PMOS’s output ceases to move below Vtp however NMOS supplies the necessary current for the parasitic capacitor to discharge to VSS.

on channel resistance 1 e1700918001452 qfvrqc9c8pkzkcckz4mj5hd3o749mwaagjo582f9pg
The overall equivalent resistance (RTG=Rds,pmos||Rds,nmos) of the transmission gate (TG) remains consistently stable, exhibiting almost no dependency on the output voltage. In contrast, the separate equivalent resistances of the NMOS and PMOS transistors show significant reliance on Vin or Vout. This attribute of the CMOS transmission gate is inherently advantageous and desirable.

Transmission gate model for circuit analysis

circuit model 1 e1700919713779

A transmission gate can be modeled as a closed switch offering a minimum resistance RTG. When the transmission gate is opened, the switch can be assumed to be open. This model is used extensively in the modeling of Sample and Hold circuits in ADCs. RTG is actually a nonlinear resistor which is a major source of distortion is ADC. To solve it, Bootstrapped transmission gates are used to keep the RTG even more constant.

Transmission gate truth table and tristate buffer

transmission gate schematic 1 3 e1700920713939
Table 1 : Truth table of transmission gate
Control A B
0 0 High-Z
0 1 High-Z
1 0 0
1 1 1

The transmission gate opens the connection between A and B when Control is zero. That is why the output goes to High-Z mode, where the resistance of node B is very high. When control is high, the signal at A is allowed to move to B. Please note that the truth table of the transmission gate now consists of three states namely 0, 1, and High-Z. That is why a transmission gate is also called a Tristate buffer.

Transmission gate verilog code

				
					module gate_modeling(
  input A, ctrl,
  output B_bufif1,
  output B_bufif0
  );
  
  //transmission-gate with control signal
  bufif1(B_bufif1, A, ctrl);
  //transmission-gate with inverted control signal
  bufif0(B_bufif0, A, ctrl);

endmodule
				
			

Transmission gate multiplexer (MUX)

analog mux using TG 1 e1700588631131 qfp4ui58ipl5likhvr4u3wlinbeyiqhgbf7v4bjq8c

When the control signal S0 is in a low state, the upper transmission gate activates, allowing the passage of I0 through it. Simultaneously, the lower transmission gate deactivates disabling the passage of I1 through it. Consequently, the output becomes equal to I0.

Similarly, when the control signal S0 is in a high state, the upper transmission gate de-activates, cutting off the passage of I0 through it. Simultaneously, the lower transmission gate activates enabling the passage of I1 through it. Consequently, the output becomes equal to I1.

This transmission gate (in Fig 10) can transmit analog signals also.

TG MUX digital 1 e1700900035694 qfvep9urq1grtnp0zvdudcl7t137gh4fmvq6o3wwh4

To isolate the input from successive logic and increase the fan-out of the transmission gate, inverters can be added as shown in the above figure. Due to the addition of inverters, this transmission gate no longer supports analog signals. Now, it can only support digital signals.

Transmission gate applications

  1. Transmission gates serve as fundamental components in constructing logic circuits, including elements like a D Latch or D Flip-Flop.
  2. Transmission gates are used to sample and hold circuits in ADCs. The switch is closed when the sample capacitor is required to be charged to the input voltage. The switch is opened when the capacitor needs to hold the charge while the input is varying.
  3. Also, a transmission gate has the capability to isolate components from active signals during processes like hot insertion or removal.
  4. In security applications, these gates can be utilized to selectively prevent the transmission of crucial signals or data unless there is proper hardware-controlled authorization, adding an additional layer of security and control to the system.

Leave a Reply

Your email address will not be published. Required fields are marked *

Quick Calculators

RC circuit
Time Constant (s) =

Cutoff Frequency (Hz) =

Time Constant (s) =

Cutoff Frequency (Hz) =

Impedance magnitude (Ω) =

Resonant frequency (Hz) =

Topics