electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

pull up and pull down resistors


Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> pull up and pull down resistors
Author Message
electtron



Joined: 07 Aug 2006
Posts: 29
Helped: 1


Post17 Aug 2006 11:53   

pull up and pull down resistors


Can anyone help me out in determining the resistance values of pull up and pull down resistors that are being used for input and output pins. What are all the considerations needed to be taken into account?
Back to top
yok



Joined: 27 Jul 2006
Posts: 188
Helped: 8


Post17 Aug 2006 12:09   

pull up and pull down resistors


Friend, that's depend on your logic circuit IO profile (TTL or CMOS), the idea state (High or Low state), selection of resistor for the reuired power dispassion.
Back to top
hr_rezaee



Joined: 06 Oct 2004
Posts: 893
Helped: 88
Location: Iran-Mashhad


Post17 Aug 2006 15:25   

pull up and pull down resistors


hi
10k is popular.
regards
Back to top
evl_inside



Joined: 10 Aug 2006
Posts: 51
Helped: 3
Location: Mars


Post17 Aug 2006 16:32   

Re: pull up and pull down resistors


it will largely depend on how much current and what voltage you are working on. But as hr_rezaee said 10k and 4.7k is popular for the purpose.

devil
Back to top
Kral



Joined: 28 Mar 2005
Posts: 1182
Helped: 187


Post17 Aug 2006 16:58   

Re: pull up and pull down resistors


electtron,
For input pins, the criterion depends on whether the input pin is being driven, or if it is an unused input that must be held at a known state.
.
If the input pin is unused, then the value is determined by noise considerations. To minimize power dissipation, use the highest value you can without getting excessive noise due to capacitive coupling from nearby noise sources.
.
If the input pin is used, and it is driven by an open drain or open collector device, then switching speed is the primary consideration. Determine the line capacitance C of the input path. Then the maximum value of R that you can use is determined by Vt= Vf(1-Exp(-t/RC)). The same considerations apply to output pullups or pulldowns. If you know the maximum allowable time t to reach a given threshold Vt, for a given steady-state (Final) voltage Vf, then R can be determined by solving the above equation for R:
.
R = -t/[C*ln((Vf-Vt)/Vf)]
.
Regards,
Kral
Back to top
giaosucan



Joined: 16 Aug 2006
Posts: 9


Post17 Aug 2006 18:01   

pull up and pull down resistors


I know some type of MCU such as 89c51 ,or PIC .89c51 has 4 port P0,P1,P2 and P3 .
Port P0 is open colletor device .therefore it needs to have a pull up resistor .I think 10K is popular.
Back to top
pfd001



Joined: 23 Jul 2005
Posts: 397
Helped: 34


Post18 Aug 2006 2:58   

pull up and pull down resistors


power consumption is an important issue
Back to top
yok



Joined: 27 Jul 2006
Posts: 188
Helped: 8


Post18 Aug 2006 15:43   

pull up and pull down resistors


Friend, as I written in my last lost, one of the parameter to be considered is power rating. I suggest you should refer to the datasheet for the voltage-current rating of the IO pin (sinking, sourcing, high-state, low-state voltage and current rating). From there apply P=VI to determine the require power rating of the resistor value.
Back to top
Google
AdSense
Google Adsense




Post18 Aug 2006 15:43   

Ads




Back to top
bauer



Joined: 21 Jun 2006
Posts: 212
Helped: 20


Post19 Aug 2006 3:00   

Re: pull up and pull down resistors


A pull-up resistor is used in the design of electronic logic circuits. Pull-up resistors may be found at inputs to logic systems so that a definite logic level is asserted if an external device is disconnected. Pull-up resistors may also be used at the interface between two different types of logic devices, possibly operating at different power supply voltages.
A circuit showing a pull-up resistor (R2) and a pull-down resistor (R1)
A circuit showing a pull-up resistor (R2) and a pull-down resistor (R1)

In bipolar logic families operating at 5 Vdc, a typical pull-up resistor value will be 1000-5000 Ω, based on the requirement to provide the required logic level current over the full operating range of temperature and supply voltage. For CMOS and MOS logic, much higher values of resistor can be used, several thousand to a million ohms, since the required leakage current at a logic input is small.

Pull-up resistors may be used at logic outputs where the logic device cannot source current, such as open-collector TTL logic devices. Such outputs are used for driving external devices, for a wire-OR function in combinatorial logic, or for a simple way of driving a logic bus with multiple devices connected to it. For example, the circuit shown on the right uses 5 V logic level inputs to actuate a relay. If the input is left unconnected, pulldown resistor R1 ensures that the input is pulled down to a logic low. The 7407 TTL device, an open collector buffer, simply outputs whatever it receives as input, but as an open collector device, the output is left effectively unconnected when outputting a "1". Pullup resistor R2 thus pulls the output all the way up to 12 V when the buffer outputs a "1", providing enough voltage to turn the power MOSFET all the way on and actuate the relay.

Pull-up resistors may be discrete devices mounted on the same circuit board as the logic devices. Many microcontrollers intended for embedded control applications have internal, programmable pull-up resistors for logic inputs so that minimal external components are needed.

Some disadvantages of pull-up resistors are the extra power consumed when inputs change state, and the reduced speed of a pull-up compared to an active current source. Certain logic families are susceptible to power supply transients introduced into logic inputs through pull-up resistors, which may force the use of a separate filtered power source for the pull-ups.



pull up and pull down resistors
Back to top
yok



Joined: 27 Jul 2006
Posts: 188
Helped: 8


Post19 Aug 2006 10:11   

pull up and pull down resistors


Bauer, a very good and detail explanation to the question posted. May I add some to your answer? One of the major problem with pull up/down resistor with open-collector I/O is high switching noise and long propagation delay.
Back to top
haytham



Joined: 06 Jun 2004
Posts: 225
Helped: 14
Location: Egypt


Post19 Aug 2006 10:57   

Re: pull up and pull down resistors


Hi
Typically in most of systems
PULLUP = around 10K
PULLDOWN = around 1K
Back to top
xxargs



Joined: 28 Jul 2002
Posts: 231
Helped: 44


Post19 Aug 2006 11:04   

Re: pull up and pull down resistors


bauer wrote:



...




pull up and pull down resistors

I maybe stupid - but I missing free wheel diode over the relay - or FET can act as diode in this case?

/xxargs
Back to top
hr_rezaee



Joined: 06 Oct 2004
Posts: 893
Helped: 88
Location: Iran-Mashhad


Post19 Aug 2006 19:21   

pull up and pull down resistors


hi
free wheel is not essential.
regards
Back to top
btbass



Joined: 20 Jul 2001
Posts: 1189
Helped: 113
Location: Oberon


Post19 Aug 2006 21:36   

pull up and pull down resistors


For pull ups, look at the leakage current of the pin.
For example, the MCLR pin of a pic micro is typically 5uA. Too high a pull up value will result in a voltage drop which might make the micro reset with a little noise on the line. The highest recommended value in this case is 33K.
Back to top
xxargs



Joined: 28 Jul 2002
Posts: 231
Helped: 44


Post20 Aug 2006 12:28   

Re: pull up and pull down resistors


hr_rezaee wrote:
hi
free wheel is not essential.
regards


Why? I can't see any DC path for inductance current from relay in case transitors break up DC-path.

In practical design you need free wheel diode or snubber circurits on all realys or coil or you will crash driver-transitor sooner or later depend of high voltage peak from inductance in all case transistor/switch break up relays current flow very fast.

(older car using this methode to make ignition voltage to spark plugs...)

For trustfully work under long time, you need free wheel diode or snubber circurits over the relay coil and IMHO essential part in design.
Back to top
neils_arm_strong



Joined: 05 Jan 2006
Posts: 274
Helped: 20


Post20 Aug 2006 15:20   

pull up and pull down resistors


The values of pull up and pull down depends on the fan out values.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> pull up and pull down resistors
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
pull up&pull down resistors (7)
The difference between weak pull down/pull up and strong pul (1)
pull up by nmos and pull down by pmos works?? (3)
pull-down and pull-up devices (1)
about pull-down resistor or pull-down current (1)
How to add pull-up /pull-down resistor for FPGA's IO ports (6)
Why PMOS for pull up and NMOS for pull down? (9)
Pull up/Pull down for Microcontroller (1)
Internal pull up/pull down in FPGA's (1)
Pull-Up Pull-Down (11)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS