Pull Up resistor in the Voltage?

In summary, pull-up and pull-down resistors work by creating a voltage divider in a circuit, allowing for the maintenance of a desired voltage level. They are necessary when using logic gates and must be carefully selected to ensure the minimum logic 1 voltage is maintained and that the rise time is not slowed down too much. It is important to use proper calculations and math when working with pull-up and pull-down resistors to avoid any errors or malfunctions in the circuit.
  • #1
Muhammad Usman
52
3
Hi,

May be this is the most basic question, but I don't understand the concept of pull up resistor and how they maintain the voltage value. For example let's take an example of below circuit. There is 5 volts battery and then there is 10K resistor which is further connected with the Vout which is most probably the load.

upload_2018-10-29_12-14-14.png


If we replace the load (Vout) with the resistor and see the voltage or make the load 1000K ohm to get the 5 volts then the circuit will be something like this.

upload_2018-10-29_12-13-17.png

So if we use the KVL to find the voltage across the load resistor will not be 5 volts, it will be way way less so that's what I want to ask how this pull up resistor work or may be my understand is entirely wrong, Please can you help to understand the concept correctly.
 

Attachments

  • upload_2018-10-29_12-13-17.png
    upload_2018-10-29_12-13-17.png
    2.2 KB · Views: 767
  • upload_2018-10-29_12-14-14.png
    upload_2018-10-29_12-14-14.png
    10.3 KB · Views: 1,112
Last edited:
Engineering news on Phys.org
  • #2
You did something wrong with images, the ones that show have nothing to do with what you posted.

Pull-up and pull-down resistors can be typically easily explained in terms of a voltage divider, it is just a matter of finding out what is the other resistance.
 
  • Like
Likes Muhammad Usman
  • #3
Borek said:
You did something wrong with images, the ones that show have nothing to do with what you posted.

Pull-up and pull-down resistors can be typically easily explained in terms of a voltage divider, it is just a matter of finding out what is the other resistance.

Yes i got it i don't know i just pasted the snapshots
 
  • #4
Now its ok
 
  • #5
Muhammad Usman said:
Yes i got it i don't know i just pasted the snapshots

can you help to check now
 
  • #6
When using pull up resistors you cannot use an arbitrary small load. If the following circuit is a logic gate you have to ensure that the minimum logic 1 voltage can be maintained for that family of logic gates or they may not work correctly.

You also have to be careful that the capacitance of any load doesn't slow down the rise time too much. If it does then you may need to make sure any following logic has Schmitt trigger inputs (hysteresis).
 
  • #7
In short you have to reduce the value of the pull up resistor and increase the value of the load resistor. The pull up resistor cannot be too small either. The open collector/open drain can only sink so much current or the logic 0 level will rise out of spec.
 
  • #8
Muhammad Usman said:
So if we use the KVL to find the voltage across the load resistor will not be 5 volts, it will be way way less so that's what I want to ask how this pull up resistor work or may be my understand is entirely wrong, Please can you help to understand the concept correctly.

Did you not do the arithmetic ? Just looking at your circuit i can see Vout will be ~4.95 volts which is certainly not "way way less" than 5v.

Always check your intuition by using your math. Else your intuition never gets any better.
 
  • Like
Likes sophiecentaur and Muhammad Usman
  • #9
I just noticed that he has a 1M load. I miss read it as a 1K.
 
  • Like
Likes jim hardy
  • #10
jim hardy said:
Did you not do the arithmetic ? Just looking at your circuit i can see Vout will be ~4.95 volts which is certainly not "way way less" than 5v.

Always check your intuition by using your math. Else your intuition never gets any better.
what he said (very small).jpg
 

Attachments

  • what he said (very small).jpg
    what he said (very small).jpg
    3.3 KB · Views: 613
  • Like
Likes jim hardy
  • #11
CWatters said:
I just noticed that he has a 1M load. I miss read it as a 1K.
I did the same thing, Doh!

Great minds think alike make the same mistakes... o0)
 
  • Like
Likes dlgoff, CWatters, jim hardy and 1 other person
  • #12
Many moons ago I was part of a project where the objective was to build a digital audio preamp. There were 3 of us and we didn't specify what logic family we were going to work with. They used TTL for the power supply and audio processing and I used CMOS for the front panel functions (input, volume etc). It didn't function correctly. My bit didn't function at all.

We eventually worked out the malfunction was due to a difference in logic levels. TTL can output 2.7V for high where CMOS needs a minimum of 3.5V to "see" a high signal. Don't ask me what values I used for them but pull up resistors on the TTL outputs sorted it out. In this case pulling up from a 5V rail to 4V would have been fine, I think I did better than that. If I had needed to pull 2.7V up to 5.00V I would have had a lot more work to do.
 
  • Like
Likes berkeman
  • #13
Muhammad Usman said:
So if we use the KVL to find the voltage across the load resistor will not be 5 volts, it will be way way less
That quoted information, with the text 1000K, only makes sense if the load is 1000R, 1.000k or 1k. We are so used to being given unreliable information that it is hard to know where the misunderstanding lies.
Also, the upper case multiplier 'K' plays emphasis tricks with the sight reading mind. It should have been written as 'k' in lower case, or as 1M0.

Divider current would be 5 / (1000k + 10k) = 4.95 uA
The load voltage would be 1000k * 4.95 uA = 4.95 V
The voltage dropped across the pull-up resistor would be 10k * 4.95 uA = 49.5 mV.

So it appears the OP analysed the divider upside down.
 
  • #14
Worth noting - the "load" can be a CMOS gate - so even the 1M Ohm "model" is not accurate, it may be slightly capacitive and very low leakage (all current = heat) so when left floating with no pull up or down resistor then the V of the gate is undefined... and particularly susceptible to noise. ( Even 1M ohm internal resistance could probably be disturbed if close to a noisy circuit - PWM motor current anyone? )
Furthermore, different technologies may have different input stages, the "standard" way of using 10K input pull up/down resistors, helps to prevent errors when technologies are changed - or the application circuit is ported from one system to another, as the specific input details do not have to be reconsidered for every application.

Edit -> I skimmed over this TI note, seems to touch on some of these points.
 

1. What is a pull-up resistor and how does it work?

A pull-up resistor is a type of resistor used in electronic circuits to ensure that a signal line is in a known state when no input is present. It works by connecting the signal line to a voltage source (usually the positive supply voltage) through a resistor, providing a constant high logic level signal. This helps prevent the signal line from floating, which can cause unpredictable behavior in the circuit.

2. When should a pull-up resistor be used?

A pull-up resistor should be used whenever a signal line needs to be held at a constant high logic level, such as in digital circuits with open collector or open drain outputs. It can also be used in conjunction with a switch to ensure that the input is pulled high when the switch is open, and pulled low when the switch is closed.

3. What is the difference between a pull-up resistor and a pull-down resistor?

A pull-up resistor connects a signal line to a higher voltage, while a pull-down resistor connects the signal line to a lower voltage. The purpose of both is to ensure a known state when no input is present, but the choice between pull-up and pull-down depends on the specific circuit and the desired logic levels.

4. How do I calculate the value of a pull-up resistor?

The value of a pull-up resistor depends on the specific circuit and the desired logic levels. It can be calculated using Ohm's Law (R = V/I) where R is the resistance value, V is the voltage, and I is the current. It is also important to consider the maximum current that the signal line can handle and the power dissipation of the resistor.

5. Can I use a pull-up resistor with both digital and analog signals?

Yes, pull-up resistors can be used with both digital and analog signals. However, it is important to choose the appropriate resistor value for the specific signal and circuit to ensure that the signal remains at the desired logic level or voltage. In some cases, a pull-up resistor may not be necessary for analog signals as they may already have a defined voltage level.

Similar threads

  • Electrical Engineering
Replies
14
Views
812
  • Electrical Engineering
Replies
3
Views
762
  • Electrical Engineering
Replies
5
Views
1K
Replies
68
Views
4K
Replies
46
Views
7K
  • Electrical Engineering
Replies
3
Views
2K
Replies
10
Views
1K
Replies
6
Views
952
Replies
3
Views
1K
  • Electrical Engineering
Replies
10
Views
1K
Back
Top