Author Topic: confusion about pull down resistors  (Read 1410 times)

0 Members and 1 Guest are viewing this topic.

Offline engineheatTopic starter

  • Frequent Contributor
  • **
  • Posts: 267
  • Country: us
confusion about pull down resistors
« on: January 26, 2018, 01:28:56 am »
I get the idea behind pull up resistors. You want the pull up resistance to be much smaller than the input impedance of the pin, so that with voltage division, you'd still have an input voltage close to 5V at the pin input.

Here's how I understand it, X marks the voltage at the pin input

5V ----pull up resistance ----- X ------- input impedance ----

I'm a little unclear on pull down resistance, specifically how large the value should be. One source says pull down resistance should be much larger than input impedance, like this one:

http://www.resistorguide.com/pull-up-resistor_pull-down-resistor/
but the reason they gave is not intuitive.

Another source talked about current sinking/sourcing at the pin, which confused me. Other sources like Sparkfun only glossed over pull down.

Please advise on the appropriate value for pull down resistor, and briefly explain why.

Thanks
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: confusion about pull down resistors
« Reply #1 on: January 26, 2018, 01:47:16 am »
I can see why you are confused, the web page is just wrong.  There is a solid Vdd going to the pin when the switch is closed and the resistor value doesn't matter assuming you don't overload the power supply and there is NO chance of that with CMOS where the pin current is negligible and the only current is through the resistor.

This is fine for CMOS but, again, TTL is a different story.  The resistor needs to sink the pin current and still hold the pin below the threshold.  That takes a low value resistor and, for that reason, pull-down isn't usually used for TTL.  Nobody is using TTL so I'm not going to show the math.

Given that the CMOS current is negligible, the only current flowing through the switch goes through the resistor.  It still needs to be high enough to make the switch reliable.  I prefer a low value like 1k.

 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16615
  • Country: us
  • DavidH
Re: confusion about pull down resistors
« Reply #2 on: January 26, 2018, 04:19:10 am »
CMOS has essentially an infinite input resistance so the pull-down or pull-up resistance is limited by capacitance and how fast the rise or fall time needs to be.

TTL has an asymmetrical current driven input so its pull-up resistance is high and may be limited by capacitance but its pull-down resistance if used has to be very low.  Some of the last TTL families built on complementary bipolar processes had PNP inputs reducing the pull down current considerably but really it was never a problem.

« Last Edit: January 26, 2018, 04:20:58 am by David Hess »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19523
  • Country: gb
  • 0999
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: confusion about pull down resistors
« Reply #4 on: January 26, 2018, 11:24:57 am »
Pulldown R's often used to absorb leakage in CMOS designs, to prevent
an input or external transistor from turning on when driving pin is tri-
stated.

Examples of UP's driving external power switches -







Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf