Wisconsin
Offline
God Member
Karma: 4
Posts: 994
I LOVE THIS STUFF!!!!
|
 |
« on: September 04, 2012, 08:13:58 am » |
Hello,
So my brother asked me a question a few days ago. What is the difference between TTL and CMOS? Well I was sorta able to answer, although my knowledge of those is only theory and not actual application specific. So what are the pros and cons between the two? Like, why would one choose CMOS over TTL, and vise versa?
|
|
|
|
|
Logged
|
Accelerate to 88 miles per hour.
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 270
Posts: 17050
Available for Design & Build services
|
 |
« Reply #1 on: September 04, 2012, 08:26:29 am » |
Difference is in the type of transistors used, MOSFETs vs BJTs.
Used to be that CMOS was low power, TTL was high speed.
Used to be that CMOS was more susceptible to electrostatic damage, TTL less so.
CMOS less power hungry than TTL, with CMOS power needs based on switching speeds, with TTL power usage more steady state.
Nowadays, CMOS used for a lot more stuff, using one vs the other more a matter of what functionality you want.
|
|
|
|
|
Logged
|
|
|
|
|
Wisconsin
Offline
God Member
Karma: 4
Posts: 994
I LOVE THIS STUFF!!!!
|
 |
« Reply #2 on: September 04, 2012, 09:46:23 am » |
By functionality, you mean if you want high speed or low power consumption, chow how much faster is TTL over CMOS?
|
|
|
|
|
Logged
|
Accelerate to 88 miles per hour.
|
|
|
|
Be Excellent To Each Other
Offline
God Member
Karma: 8
Posts: 857
|
 |
« Reply #3 on: September 04, 2012, 09:56:53 am » |
By functionality, you mean if you want high speed or low power consumption, chow how much faster is TTL over CMOS?
Anymore, you will not know unless you read the datasheet for the specific part. It's no longer true that CMOS is always slower than TTL because there are so many newer packages that were never made into TTL and that run at really high speeds. Read the datasheets for the parts in question. Propogation delays are usually on the top half of the first page, you won't have to go far into it. There are also some voltage differences and CMOS can be run at higher voltages. In fact, some packages run faster at higher voltages. Of course if you are running your system at 10V-15V to take advantage it better be all TTL or have level converters in it. Not all CMOS chips can be run at these voltages, check the datasheet. More information: http://www.allaboutcircuits.com/vol_4/chpt_3/10.htmlMore information still: http://www.kpsec.freeuk.com/components/74series.htmhttp://www.kpsec.freeuk.com/components/cmos.htm
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 270
Posts: 17050
Available for Design & Build services
|
 |
« Reply #4 on: September 04, 2012, 10:03:07 am » |
http://www.ti.com/lit/ds/symlink/sn74ls595.pdfhttp://www.ti.com/lit/ds/symlink/sn74hc595.pdfAn example - look at the tables for Tpd from SRCK to Qa-h. LS595, max is 18/25nS for High & low outputs HC595, max is 40nS. With 16 MHz clock of 62.5nS the slower part works. With 32MHZ clock of 31.25nS, the slower part would not. So choice of part depends on situation.
|
|
|
|
|
Logged
|
|
|
|
|
Wisconsin
Offline
God Member
Karma: 4
Posts: 994
I LOVE THIS STUFF!!!!
|
 |
« Reply #5 on: September 04, 2012, 10:45:27 am » |
Interesting, so is TTL being zoned out?
|
|
|
|
|
Logged
|
Accelerate to 88 miles per hour.
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26031
Solder is electric glue
|
 |
« Reply #6 on: September 04, 2012, 11:10:03 am » |
so is TTL being zoned out? No, it is not only about speed but drive capacity. In general you can get more current out of TTL, there are TTL devices that do not have the equivalent CMOS parts so functionality is an issue as well. The fastest TTL will still go faster than the fastest CMOS. It is just that the slowest CMOS is not as slow as it used to be.
|
|
|
|
|
Logged
|
|
|
|
|
Wisconsin
Offline
God Member
Karma: 4
Posts: 994
I LOVE THIS STUFF!!!!
|
 |
« Reply #7 on: September 04, 2012, 12:52:33 pm » |
Interesting What are some of the other more common factors? Just like a list that I could research on my own.
|
|
|
|
|
Logged
|
Accelerate to 88 miles per hour.
|
|
|
|
Austin, TX
Offline
Faraday Member
Karma: 42
Posts: 5248
CMiYC
|
 |
« Reply #8 on: September 04, 2012, 12:58:04 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15443
Measurement changes behavior
|
 |
« Reply #9 on: September 04, 2012, 12:59:33 pm » |
Interesting What are some of the other more common factors? Just like a list that I could research on my own.
Several factors help one decide which IC family type were best for any one specific application, power consumption per function, input noise immunity, Vcc operating voltage range, etc. TTL logic using npn/pnp transistors were 'king of the hill' for many decades for most applications, but gradually CMOS logic using mosfet transistors improved where they are the dominate tech used these days. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 270
Posts: 17050
Available for Design & Build services
|
 |
« Reply #10 on: September 04, 2012, 02:02:34 pm » |
Here's a good chart showing how the different logic families can play with each other. http://www.interfacebus.com/voltage_threshold.html
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 270
Posts: 17050
Available for Design & Build services
|
 |
« Reply #11 on: September 04, 2012, 02:08:46 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Wisconsin
Offline
God Member
Karma: 4
Posts: 994
I LOVE THIS STUFF!!!!
|
 |
« Reply #12 on: September 04, 2012, 02:56:56 pm » |
Oh that is a great read!
The chart of the logic voltage thresholds is quite intriguing. Especially the LowV one. Is that what the devices that take in 3.3v logic are or is that something totally different and unrelated?
|
|
|
|
|
Logged
|
Accelerate to 88 miles per hour.
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 270
Posts: 17050
Available for Design & Build services
|
 |
« Reply #13 on: September 04, 2012, 03:09:41 pm » |
For 3.3V devices, the levels are typically a factor of the supply voltage.
For ATMega328s: With Vcc = 3.3V: Low Input must be <= 0.3 x Vcc, = 0.99V High input must be >= 0.6 x Vcc = 1.98V
1V to 1.97V: input is not defined, may be seen as high or low.
With Vcc = 3V: Low output will not higher than 0.6V with 10mA load High output wil not be less than 2.3V with 10mA load
Numbers are from Section 29 of the '328 datasheet.
|
|
|
|
|
Logged
|
|
|
|
|
Wisconsin
Offline
God Member
Karma: 4
Posts: 994
I LOVE THIS STUFF!!!!
|
 |
« Reply #14 on: September 04, 2012, 03:25:33 pm » |
Okay so its pretty much unrelated. Thank you so much everybody!
If you remember anything or have anything more, feel free to throw it in here. Otherwise, thank you
|
|
|
|
|
Logged
|
Accelerate to 88 miles per hour.
|
|
|
|
|