Level Shifting Between TTL and CMOS by nevdull
logic_families.png
logic family.jpg
There are two lines, called logic families,of analog IC's and while they can generally be interoperable "off the shelf," they work best with ICs of the same family and sometimes IC's of mixed logic families can require a voltage translation to get working correctly.  Often, though, our designs will have need to intermix different logic families.  This isn't always a problem when there is no inherent dependency on signaling between the logic IC's, and in some cases even signaling between them won't pose a problem.  However, in some cases, like when signaling between a CMOS IC and a TTL IC, there can be a problem because each logic family defines the valid range of voltage that make up a valid HIGH and valid LOW and the logic families don't agree on the range.

This instructable will briefly explain the two logic families of IC's you will most likely be encountering and using in your circuit designs and how to ensure that the HIGH or LOW output of the other is translated and interpreted correctly between a TTL and CMOS device.  This process is called voltage level shifting and is the subject of this instructable.

Turn the page and read up on the two logic families that you have probably already implemented in your designs.
 
Remove these adsRemove these ads by Signing Up

Step 1: TTL Integrated Circuits

ttl.jpg
TTL IC's -- members of the Bipolar Logic Family --  were first developed in the 1960's and are made with transistors, hence the name Transistor-Transistor Level (TTL) device.  The original line were 74xx series and have since been replaced with better performing TTL devices, such as the 74LSxx, 74ALSxx, and 74Fxx series.  The LS is a Low-power Schottky, ALS is an Advanced LS and F is Fast

The bipolar logic family, as the TTL series falls under have had consideral improvements, the first being the 74H which provided twice the speed of the original 74xx series, but at a cost of over twice the power consumption.  The next improvement was the74L which increased all the internal resistances, leading to a net improvement in power consumption, but increased the propagation delay.

A key improvement came with the 74S series which placed Schottky diodes across the base-to-collector junctions of the transistors.  Capacitive effects were reduced and yielded a speed increase of a factor of 5 with about a two-times increase in power consumption.  The above mentioned lines 74LSxx were derived from this series and reduced power consumption by about 1/3.  The 74ALSxx improved performance even further.  The 74F series, based on a new technology, reduced the propagation delays and even further reduced the size of the IC.
Idlemind says: Sep 3, 2011. 9:21 AM
Thank you for the informative instructable. I am currently taking an electronics class and we are covering TTL and CMOS.
westfw says: Oct 30, 2010. 11:11 PM
This is OK, I guess. But it's largely a decade or two out of date. You'd be hard-pressed to find either bipolar TTL (ANY of the bipolar ttl families) or 4000 series CMOS in any recently-published project. 74HC logic is pretty much the new standard.

Also, I think you're confusing two issues. One is that 5V TTL output levels (1 is > 2.7V as you say) are not necessarily compatible with CMOS input levels. This turned out to be rarely a problem, and more with supposedly "ttl compatible" devices that output ~3V than with actual TTL chips (which have an output pretty close to 5V, unless heavily loaded.) The other issue is that CMOS logic families can frequently operate off extended power supply levels., while TTL was strictly a 5V family. And there isn't any way that an HC part running on a 2V supply or a cmos microcontroller running at 1.8V is going to produce logic pulse compatible with other chips running at 5V, regardless of logic family. So there you MUST have level shifting.

The reason CMOS has taken over is power consumption. A small 74xx IC consumed as much power as a modern cmos microcontroller, and did a whole lot less.
MROHM says: Mar 1, 2011. 8:22 AM
(removed by author or community request)
westfw says: Mar 1, 2011. 12:20 PM
Forrest Mims has a RECENT design for a logic probe??
MROHM says: Mar 1, 2011. 7:19 PM
(removed by author or community request)
westfw says: Mar 3, 2011. 1:01 AM
OK; I'm just not sure it's new, as opposed to being a republication of an older circuit. I built a logic probe from a single 4009 chip, based on a design from Radio Electronics Magazine, circa 1975... Red for HIGH, Green for LOW, both LEDs off for no connection...
nevdull (author) says: Oct 31, 2010. 2:29 AM
The HEF and CD 4000 series are alive and well, if mouser/digikey/arrow/avnet inventory can say anything about it. Jameco also has a half page of original 7400 series IC's as well as 3/4 page of 4000 series IC's. My hunch is that people are still using them, even in modern designs.

I appreciate those two issues and they definitely are distinct problems. However, I don't touch on 1.8V ICs except with the maxim IC, which is powered at 5V anyway and intercepts all 1.8V signals. The main issue I discuss here between TTL and CMOS is that by their standards, there is a ~ 1V gap between what they each consider to be HIGH levels, and if a signal falls within that gap it is undefined and behavior is unpredictable.

Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!