Author Topic: Is it safe to connect inputs to VCC directly  (Read 8244 times)

0 Members and 1 Guest are viewing this topic.

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8248
  • Country: fi
Re: Is it safe to connect inputs to VCC directly
« Reply #50 on: February 05, 2020, 12:02:07 pm »
Again, please explain how MOSFET gates tied to Vdd/Vss are supposed to pass any current. Latch-up does not result in current passing through the gates.

It's the case of the inputs being connected to a different Vdd, with wrong power-up sequencing.

Some logic IC families specify in the datasheet that they are safe against inputting voltages on unpowered chip. That's an actual marketing argument.

Needless to say, this does not apply to most use cases, including the OP's.
 

Online wraper

  • Supporter
  • ****
  • Posts: 17064
  • Country: lv
Re: Is it safe to connect inputs to VCC directly
« Reply #51 on: February 05, 2020, 12:57:47 pm »
It's the case of the inputs being connected to a different Vdd
It's a completely different case from what was asked, doing so is simply stupid and those who do this should be burned on stake.
 
The following users thanked this post: Siwastaja

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8248
  • Country: fi
Re: Is it safe to connect inputs to VCC directly
« Reply #52 on: February 05, 2020, 01:47:55 pm »
Most of the "best practice" bullshit is based on mental copy-paste of something that usually is not related to the actual problem, often not even close, and given some engineering discipline, the disconnection is trivial to see.

It's a colossally bad idea to add random components because someone somewhere thinks that they are necessary in a completely different circuit, and to call that "good practice" is disgrace. Engineering just isn't that simple. Understanding the circuit is paramount.
 
The following users thanked this post: Heartbreaker

Offline tkamiya

  • Super Contributor
  • ***
  • Posts: 2178
  • Country: us
Re: Is it safe to connect inputs to VCC directly
« Reply #53 on: February 05, 2020, 01:50:45 pm »
imo,

That's a bunch of obvious but good points.  I think most folks (me too) do this without thinking.  Pick the closest low impedance (ie. power) point.  But taken literally, nothing stops folks from just daisy chaining empty input pins and just ground or pull up at one point.  That would be problematic.
 

Online MasterT

  • Frequent Contributor
  • **
  • Posts: 792
  • Country: ca
Re: Is it safe to connect inputs to VCC directly
« Reply #54 on: February 05, 2020, 01:51:48 pm »
If I asked, is it safe to apply 5.5V? Everyone would say, yes, DS specifies acceptable voltage level. But reliability numbers would fall from 10^-7 to 10^-6 or like that. So, from reliability point of view, increasing voltage (or using safety resistors) should be considered based on Acceptable failure rates. And this strongly depends on a market, cost of device, and things that difficult to estimate - brand name ratings. Nobody would care if led-blinking toy breaks down, OTOH, if a scope failed because someone save on single resistor - would you buy another one from this maker?
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8248
  • Country: fi
Re: Is it safe to connect inputs to VCC directly
« Reply #55 on: February 05, 2020, 01:56:46 pm »
If I asked, is it safe to apply 5.5V? Everyone would say, yes, DS specifies acceptable voltage level. But reliability numbers would fall from 10^-7 to 10^-6 or like that. So, from reliability point of view, increasing voltage (or using safety resistors) should be considered based on Acceptable failure rates. And this strongly depends on a market, cost of device, and things that difficult to estimate - brand name ratings. Nobody would care if led-blinking toy breaks down, OTOH, if a scope failed because someone save on single resistor - would you buy another one from this maker?

What does this comment has to do with this topic, though?

And what the heck is a "safety resistor"?

Do note that sprinkling resistors randomly without a reason won't increase reliability, and if they are in series with actual nets (instead of, say, on the side of the board unconnected), each resistor slightly decreases the reliability (not by much, of course). I would expect the scope manufacturer to only design in resistors that are needed or do good for the circuit, and don't put in any excess.
« Last Edit: February 05, 2020, 01:59:34 pm by Siwastaja »
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8010
  • Country: us
  • Retired, now restoring antique test equipment
Re: Is it safe to connect inputs to VCC directly
« Reply #56 on: February 05, 2020, 02:06:46 pm »
The specific reason to add (small) resistors at inactive input pins is to allow testing the device after it is soldered in the circuit.  It is a reasonable design rule.  By inactive, I mean inputs (e.g., enables) that are not exercised in operation.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1133
  • Country: us
Re: Is it safe to connect inputs to VCC directly
« Reply #57 on: February 05, 2020, 02:44:07 pm »
Ok, I did some searching and I can't find a good definitive answer.

Is it safe to connect to inputs of the 74-series CMOS logic directly to VCC instead of using pull-ups? What are realistic pros and cons?

I'm not interested in what may happen if device fails catastrophically and the input becomes an output and stuff like that.  I'm only interested in normal operation.

I'm also not interested in TTL logic. The devices will never be substituted on accident. Seriously, some people still make this argument.

I guess the question may be rephrased as: are there realistic use cases where it is not safe to connect inputs directly to VCC?

My answer is: Other than for reasons of testing,  there is no realistic use case for using a resistor pullup (versus a direct connection) to VCC.
I read this thread before answering.  The testing idea was not something I thought of, but it is an interesting idea.  For production, you would not want to waste lots of resistors for testing features used only during qualification and/or debug.
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2154
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: Is it safe to connect inputs to VCC directly
« Reply #58 on: February 05, 2020, 03:03:57 pm »
Ok, I did some searching and I can't find a good definitive answer.

Is it safe to connect to inputs of the 74-series CMOS logic directly to VCC instead of using pull-ups? What are realistic pros and cons?

I'm not interested in what may happen if device fails catastrophically and the input becomes an output and stuff like that.  I'm only interested in normal operation.

I'm also not interested in TTL logic. The devices will never be substituted on accident. Seriously, some people still make this argument.

I guess the question may be rephrased as: are there realistic use cases where it is not safe to connect inputs directly to VCC?

My answer is: Other than for reasons of testing,  there is no realistic use case for using a resistor pullup (versus a direct connection) to VCC.
I read this thread before answering.  The testing idea was not something I thought of, but it is an interesting idea.  For production, you would not want to waste lots of resistors for testing features used only during qualification and/or debug.

Unless you're really space-constrained, is it really an issue to have a couple of additional resistors sprinkled onto the board? Especially if they're not introducing another unique BOM item.
Everybody likes gadgets. Until they try to make them.
 

Offline 741

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)

Online MasterT

  • Frequent Contributor
  • **
  • Posts: 792
  • Country: ca
Re: Is it safe to connect inputs to VCC directly
« Reply #60 on: February 05, 2020, 03:20:13 pm »
If I asked, is it safe to apply 5.5V? Everyone would say, yes, DS specifies acceptable voltage level. But reliability numbers would fall from 10^-7 to 10^-6 or like that. So, from reliability point of view, increasing voltage (or using safety resistors) should be considered based on Acceptable failure rates. And this strongly depends on a market, cost of device, and things that difficult to estimate - brand name ratings. Nobody would care if led-blinking toy breaks down, OTOH, if a scope failed because someone save on single resistor - would you buy another one from this maker?

What does this comment has to do with this topic, though?

And what the heck is a "safety resistor"?

Do note that sprinkling resistors randomly without a reason won't increase reliability, and if they are in series with actual nets (instead of, say, on the side of the board unconnected), each resistor slightly decreases the reliability (not by much, of course). I would expect the scope manufacturer to only design in resistors that are needed or do good for the circuit, and don't put in any excess.
May be won't. Since you don't provide specific numbers to estimate reliability, and me nether, what I'm trying to say is that question has no sense w/o strictly confidential  manufacturer's reliability report for specific part number. How much failure rate goes up if not follow to recommended design rules.
 OP says, that doesn't need a highest military/ aerospace reliability marks. But consumer product is also demands reliability numbers not equal to zero.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 8010
  • Country: us
  • Retired, now restoring antique test equipment
Re: Is it safe to connect inputs to VCC directly
« Reply #61 on: February 05, 2020, 06:26:03 pm »
This question probably arises because of a real feature of original 7400-series TTL, which was actual TTL, using a multiple emitter input transistor instead of DTL diodes to do logic.  The breakdown voltage of the input structure was less than the smoke level of the rest of the circuit.  Therefore, with a direct pull-up to Vic, there was an unnecessary risk of damage if Vcc overshot on power-on.  The situation is different with later bipolar and CMOS families.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1133
  • Country: us
Re: Is it safe to connect inputs to VCC directly
« Reply #62 on: February 05, 2020, 07:03:36 pm »
Ok, I did some searching and I can't find a good definitive answer.

Is it safe to connect to inputs of the 74-series CMOS logic directly to VCC instead of using pull-ups? What are realistic pros and cons?

I'm not interested in what may happen if device fails catastrophically and the input becomes an output and stuff like that.  I'm only interested in normal operation.

I'm also not interested in TTL logic. The devices will never be substituted on accident. Seriously, some people still make this argument.

I guess the question may be rephrased as: are there realistic use cases where it is not safe to connect inputs directly to VCC?

My answer is: Other than for reasons of testing,  there is no realistic use case for using a resistor pullup (versus a direct connection) to VCC.
I read this thread before answering.  The testing idea was not something I thought of, but it is an interesting idea.  For production, you would not want to waste lots of resistors for testing features used only during qualification and/or debug.

Unless you're really space-constrained, is it really an issue to have a couple of additional resistors sprinkled onto the board? Especially if they're not introducing another unique BOM item.

A couple? No big deal. Ten? Dunno.  This boils down to designer's choices really.  There is no "correct" answer I suppose.
 

Online wraper

  • Supporter
  • ****
  • Posts: 17064
  • Country: lv
Re: Is it safe to connect inputs to VCC directly
« Reply #63 on: February 05, 2020, 07:12:58 pm »
Unless you're really space-constrained, is it really an issue to have a couple of additional resistors sprinkled onto the board? Especially if they're not introducing another unique BOM item.
Adding parts "just because" without any understanding or measurable evidence of any benefits is not a good design practice IMHO. Over-engineer here and there and result is simply worse, as minimum because of larger size and manufacturing price.

 

Online wraper

  • Supporter
  • ****
  • Posts: 17064
  • Country: lv
Re: Is it safe to connect inputs to VCC directly
« Reply #64 on: February 05, 2020, 07:15:51 pm »
There is no "correct" answer I suppose.
IMHO the correct answer is what isn't needed shouldn't be there. You'd better add some real ESD protection where it might help instead of sprinkling useless resistors.
 
The following users thanked this post: Siwastaja

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8248
  • Country: fi
Re: Is it safe to connect inputs to VCC directly
« Reply #65 on: February 12, 2020, 09:39:21 am »
Oh, there certainly is a correct answer. Except for some very specific cases for testing (then the designed would know what they need!), no one has provided any pointer for what the resistors are supposed to do in the circuit. If no such mechanism cannot be shown at all; even speculated; the correct answer is clear as day.

 

Offline graybeard

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: us
  • Consulting III-V RF/mixed signal/device engineer
    • Chris Grossman
Re: Is it safe to connect inputs to VCC directly
« Reply #66 on: February 12, 2020, 11:43:23 am »
But what does SCR latch-up has to do with connecting inputs to the VCC directly?

nothing

Offline graybeard

  • Frequent Contributor
  • **
  • Posts: 436
  • Country: us
  • Consulting III-V RF/mixed signal/device engineer
    • Chris Grossman
Re: Is it safe to connect inputs to VCC directly
« Reply #67 on: February 12, 2020, 11:46:45 am »
It is fine for CMOS to connect logic inputs to the chip power supply VCC.
« Last Edit: February 12, 2020, 03:46:58 pm by graybeard »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf