There are two families of logic devices called TTL and CMOS. For those who are new to these devices, TTL stands for transistor transistor logic devices and CMOS for complementary metal-oxide semiconductor devices. Bipolar junction transistors are the building blocks for TTL logic, whereas MOSFETs are the building blocks for CMOS logic. Usually, any combinational or sequential logic circuit can be built with either family or with a mix of the two families. However, to do so correctly, you need to understand the differences in the electronic characteristics of each family.
The two states of a digital device are defined by voltages occurring within specified acceptable ranges. For this comparison, we are presuming that both families are powered by a 5 V DC supply, however, CMOS unlike TTL, can be powered with a DC supply between 3 V and 18 V. For a TTL digital input, logic zero (0) or low (L) is defined as a value less than 0.8 V and a logic one (1) or high (H) is defined as a value greater than 2.0 V. The digital output of a TTL device typically ranges between 0 and 0.5 V for low and between 2.7 V and 5 V for high. The input voltage range 0.8 V to 2.0 V between the logic 0 and logic 1 states is a dead zone where the input state is undefined.
For a CMOS digital input, logic zero (0) or low (L) is defined as a value less than 1.5 V and logic high is defined as a value greater than 3.5 V. The digital output of a CMOS device typically ranges between 0 and 0.05 V for low and between 4.95 V and 5 V for high. The input voltage range 1.5 V to 3.5 V is a dead zone where the input state is undefined.
Besides understanding the voltage levels, it is important to know the input and output current characteristics of the devices when you are interfacing the digital devices. The important characteristics are the amount of current a device can source (produce) when the output is high and the amount of current the device can sink (draw) when the output is low. In the manufacturer data sheets for digital devices, these characteristics are usually labelled as IOHor high-level output current, for the sourcing capability and IOL or low-level output current for the sinking capability.
TTL logic switches between states by forward biasing one of the two output transistors. This output circuit is called a totem pole configuration, where two bipolar junction transistors are stacked between power and ground. When the upper transistor is forward biased and the bottom transistor is OFF, the output is high. The resistor, transistor, and diode drop the actual output voltage to a value typically about 3.4 V. When the lower transistor is forward biased and the top transistor is OFF, the output is low. The TTL device sources current when there is a high output and sinks current when the output is low. The value of the sink and source current depend on the TTL subfamily.
To get a full picture of this, read: How TTL works
When the output of a TTL device is connected to the input of another, the TTL device dissipates power continuously regardless of whether the output is high or low.
CMOS logic ICs utilize complementary pairs of p-type and n-type enhancement-mode MOS transistors at their outputs, thus the name complementary MOS (CMOS).
Making a reference to the CMOS output circuit above; if the input signal to this output stage is high the p-type transistor (top) is OFF, and the n-type transistor (bottom) is ON, so the output is pulled low. When the input is low, the top transistor is ON and the bottom transistor is OFF, so the output is pulled high. When the output is high, the device sources current; and when the output is low, the device sinks current if there is a load attached to the output. Since the MOSFET gates are insulated, CMOS devices consume power only when switching between states or when there is a load attached. Thus, a key difference between CMOS and TTL is that TTL devices require power continuously.
The following are reasons why CMOS is often recommended over TTL:
Key Limitations of CMOS include:
Related articles:
Related resource: Encyclopedia of Electronic Components for Your Project
The world of electronics is constantly evolving, allowing designers and manufacturers to push the boundaries…
PIC microcontrollers are fabricated by Microchip Technology. PIC16C84 and PIC16F84 are the two microcontrollers in…
The ADD instruction tells the microcontroller’s CPU to add the source byte to register A…
8-bit microprocessors are limited in their speed (the number of instructions that can be executed…
The 68HC11 (also abbreviated as 6811 or HC11) is an 8-bit microcontroller that was introduced…
Mutual exclusion typically imposes some conditions on access to a given resource by two or…
View Comments