Not understanding pull-down resistors and why they work

In summary, the purpose of a pull-down resistor is to keep a pin connected to a stable ground potential and provide a stable LOW voltage reading when a switch is open. However, electric noise can still affect the voltage reading at the pin. This is where the pull-down resistor comes in - it actively chooses the direction of the voltage and helps to dissipate any noise that may affect the circuit operation. While a high resistance can reduce power consumption, it can also make the circuit more susceptible to noise. Therefore, resistor values in the kilo-ohm range are commonly used.
  • #1
remedemic
19
0
basics4.gif


I'm understanding that their purpose is to keep the pin connected to a stable potential (the ground), thus giving it a stable LOW voltage reading when the switch is not closed, but wouldn't the electric noise still affect the voltage reading, since the point at the switch closest to the pin is still susceptible to electric noise?

Could someone explain to me where I'm going wrong?
 
Last edited:
Engineering news on Phys.org
  • #2
remedemic said:
I'm understanding that their purpose is to keep the pin connected to a stable potential (the ground), thus giving it a stable LOW voltage reading when the switch is not closed, but wouldn't the electric noise still affect the voltage reading, since the point at the switch closest to the pin is still susceptible to electric noise?
Without the pulldown you can think of it as a pencil balancing on its tip; only a small amount of force (noise) will tip it one way or the other. With the pulldown in place, you take an active choice and say that the pencil shall lie in a particular direction (GND). Whether or not the circuit is still susceptible to noise after the introduction of the pulldown resistor is a different subject.
 
  • #3
No, you are not wrong.

A resistor to ground is not as perfect as a real ground, but it is vastly better than nothing.

Closing the switch certainly pulls the gate input high, but opening it does not pull the input low without the resistor.

It is a design complication that the noise on the input should be low enough to not affect the circuit operation. It is a digital circuit, so relatively large noise levels would have no effect.

In practice, noise levels would be nowhere near large enough to affect circuit operation.
 
  • #4
Thank you gentlemen, that makes sense. I appreciate it!
 
  • #5
Also - in the circuit you have shown - what is the alternative? With no resistor - and no connection to ground, you have no voltage reference when the switch is open and this would be very noisy & you obviously can not connect the terminal directly to ground.

In general practice, all circuit elements should have a reference to something (voltage, ground etc) - an not be left "floating"
 
  • #6
Hi,
I want to ask some questions here to check my understanding.
When pull-down resistor is added, we still affect the noise. If so how is it improved?
With pull-down resistor R1, portential will be dissipated P = I^2*R1 , right?
 
  • #7
Im a bit unsure of what you mean, but let me try.

With the pull-down resistor, of course we are dissipating energy given the formula

[itex]P = \frac{V^{2}}{R}[/itex]
or
[itex]P = I^{2}\cdot R[/itex]

So of course, for a system containing lots of these pull downs, we would like to keep the power consumption as low as powerful (we want to be green right? ;) ). This means we would need to have a high resistance.

However, the problem with a high resistor is, as you say, noise. Now, noise is a completely different idea and is it only enters the scene when we do not deal with ideal circuits anymore.

When the switched is opened (the pin is having a ground potential) radiated EMI (Electromagnetic Inteference aka. noise) can make the potential of the pin go up or down. If it goes up, in order to get down to the ground potential again, current will have to flow through the resistor in order to lower the potential again. Now, if the resistance is very high, this will take a long time (and here by long time I mean microseconds perhaps). With a small resistance, a larger current will flow.

So high resistances will make the stuff more susceptible to noise, yes, but there is not much to do about it right there. The EMI will have to be removed by other means, like shielding.

Normally, resistor values in the kilo-ohm range are used.

I hope this helps.
 
  • Like
Likes 1 person
  • #8
Hi Runei,
I don't quite understand this part. Could you explain a bit more?
If it goes up, in order to get down to the ground potential again, current will have to flow through the resistor in order to lower the potential again.

When pull-down resistor is connected, the input voltage at the pin always zero as switch open and free noise?
When switch open and environment has noise, it will induce a voltage at the pin, right?
And the voltage doesn't depend on the value of resistor?
 
  • #9
basics4.gif


In the picture shown the switch is open. In an ideal environment the voltage at "1" will be 0. Thus, it will have the same potential as the ground.

If we are in a noisy environment, we have to imagine that there is a small capacitance in parallel with the resistor to ground. This is called a parasitic capacitance, since it is an unwanted but always present nuisance.

attachment.php?attachmentid=58994&stc=1&d=1369418281.png


When this capacitor is there, and we have incoming noise, the voltage may rise. Let's say the voltage suddenly rises to 1 volt because of incoming electromagnetic interference. Now there is a voltage across the resistor to ground, and current will flow. As the current flows, the capacitor will be discharged and return to 0 volts. The rate at which this happens depends on the capacitor value (very very small) and the resistor value. If the resistor value is very very high, then there will only be a small current flowing, and the potential will decrease more slowly, than if the resistor was small.

That is the first part of it. Now, the voltage rise (from the noise) is actually dependent on the resistor value.

attachment.php?attachmentid=58994&d=1369417994.png


If we imagine a new wire connecting to point "1". This wire is a "virtual" one, and is only there to signify the incoming noise. The noise is modeled as an incoming current that lasts for let's say 2 microseconds.

Now, if the resistor is small, more current will flow through the resistor, and the voltage at "1" after the incoming current is over is less than if the resistor had been big.

The conclusion of this is that a small resistor will help you against noise, but it will also increase power consumption.
 

Attachments

  • Untitled.png
    Untitled.png
    1.1 KB · Views: 637
  • Like
Likes 1 person
  • #10
Thank you for the prompt and thorough answer! :smile:
 

Related to Not understanding pull-down resistors and why they work

1. What is the purpose of a pull-down resistor?

A pull-down resistor is used in electronic circuits to ensure that a pin or input remains at a known state when no external input is present. This prevents the pin from floating or picking up random signals, which can cause errors in the circuit.

2. How does a pull-down resistor work?

A pull-down resistor is connected between the input pin and ground. When no external input is present, the resistor pulls the voltage at the pin to ground, keeping it at a known low state. When an external input is present, it can override the pull-down resistor and change the voltage at the pin.

3. What happens if a pull-down resistor is not used?

If a pull-down resistor is not used, the input pin may float and pick up stray signals, leading to errors in the circuit. It is important to use a pull-down resistor in circuits to ensure the stability and reliability of the input.

4. How do I choose the right value for a pull-down resistor?

The value of a pull-down resistor depends on the specific circuit and components being used. In general, a resistor with a higher value will provide stronger pull-down action, but may also draw more current. It is important to consult the circuit diagram and datasheets for the components to determine the appropriate value for the pull-down resistor.

5. Are pull-down resistors necessary in all electronic circuits?

No, pull-down resistors are not necessary in all electronic circuits. They are typically only used for inputs that require a known state, such as buttons or switches, to prevent floating signals. Other circuits, such as amplifiers or power supplies, may not require pull-down resistors.

Similar threads

Replies
80
Views
3K
Replies
46
Views
7K
Replies
37
Views
3K
  • Electrical Engineering
Replies
13
Views
2K
  • Electrical Engineering
Replies
9
Views
942
  • Electrical Engineering
Replies
12
Views
1K
  • Electrical Engineering
Replies
5
Views
2K
  • Electrical Engineering
Replies
14
Views
6K
  • Electrical Engineering
Replies
26
Views
5K
Replies
12
Views
3K
Back
Top