Pull-up resistor
In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal. More specifically, a pull-up resistor or pull-down resistor ensures that a wire will have a high logic level or low logic level, respectively, in the absence of a driving signal. It is typically used in conjunction with components such as switches, transistors and connectors, that physically or electrically interrupt the connection of other components to a low impedance logic-level source, such as ground, positive supply voltage (V CC ), or an actively-driven logic circuit output and thus cause the inputs of those components to float (i.e. to have an... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal. More specifically, a pull-up resistor or pull-down resistor ensures that a wire will have a high logic level or low logic level, respectively, in the absence of a driving signal. It is typically used in conjunction with components such as switches, transistors and connectors, that physically or electrically interrupt the connection of other components to a low impedance logic-level source, such as ground, positive supply voltage (V CC ), or an actively-driven logic circuit output and thus cause the inputs of those components to float (i.e. to have an indeterminate voltage) — a condition which can lead to unpredictable and potentially damaging circuit behavior. For example, in the case of a switch which, when closed, connects a circuit to ground or positive supply voltage, without a PU or PD, when the switch is open, the circuit would be left floating. In such cases, a pull-up or pull-down resistor ensures stable, reliable, and safe operation of the circuit. Pull-up and pull-down resistors are implemented in various ways. Often they are provided as discrete devices, mounted on the same circuit board as the logic devices that use them. Many microcontrollers and FPGAs provide internal, programmable PU and PD resistors for their logic input pins to reduce the need for external components. ==Optimal resistance== A pull-up resistor must have an appropriate amount of resistance to be effective and not otherwise interfere with circuit operation. For this, it is assumed that the critical components have infinite or sufficiently high impedance, which is guaranteed, for example, for logic gates made from FETs. In this case, when the switch is open, the voltage drop across a pull-up resistor (with sufficiently low impedance) practically vanishes, and the circuit looks like a wire directly connected to positive supply voltage. On the other hand, when the switch is closed, the pull-up resistor must have sufficiently high impedance in comparison to the closed switch to not affect the connection to ground. Together, these two conditions can be used to derive an appropriate value for the impedance of the pull-up resistor. However, usually, only a lower bound is derived, assuming that the critical components do indeed have infinite impedance. A resistor with relatively low resistance (relative to the circuit it is in) is often called a "strong" pull-up or pull-down; when the circuit is open, it will pull the output high or low very quickly (just as the voltage changes in an RC circuit), but will draw more current. A resistor with relatively high resistance is called a "weak" pull-up or pull-down; when the circuit is open, it will pull the output high or low more slowly, but will draw less current. This current, which is essentially wasted energy, only flows when the switch is closed, and technically for a brief period after it is opened until the charge built up in the circuit has been discharged to ground. ==Applications== A pull-up resistor is often used in conjunction with a jumper or DIP switch to generate configuration information for an electronic system. The jumper is installed to generate a logic low, or removed to generate a logic high: File:Pull-up jumper.svg|Pull-up resistor used with optional jumper to generate configuration signal In cases where switching devices can only sink or source current, multiple outputs may be connected to a common PU or PD. This is commonly done to implement a wired-OR or wired-NOR function, or to allow multiple active switching devices (e.g., open-collector drivers) to transmit data on a shared bus. File:Pull-up wired or.svg|Wired-OR circuit using high-side switches and pull-down resistor File:Pull-up wired nor.svg|Wired-NOR circuit using low-side switches and pull-up resistor File:Pull-up bus.svg|Multiple open-collector drivers using shared pull-up resistor to transmit on shared bus A PD or PU resistor may be shared by two or more series-wired switches to implement a wired-AND or wired-NAND function. These circuits are often used to monitor safety interlock switches, asserting a logic high or low output state, respectively, only when all interlock switches are closed. File:Pull-up wired and.svg|Wired-AND circuit using series-wired switches and pull-down resistor File:Pull-up wired nand.svg|Wired-NAND circuit using series-wired switches and pull-up resistor Pull-up resistors may be used at logic outputs that cannot source sufficient current (e.g., open-collector TTL logic devices) to guarantee a valid logic high. In bipolar logic families operating at 5 VDC, a typical pull-up resistor value will be 1000–5000 Ω, which sources sufficient current to ensure a valid logic high voltage over the full operating ranges of temperature and supply voltage. For CMOS and MOS logic, higher resistance values can be used because logic outputs typically source more current than TTL. Pull-down resistors can be safely used with CMOS logic gates because the inputs are voltage-controlled. TTL logic inputs that are left unconnected inherently float high, and require less pull-down resistance to force the input low. A standard TTL input at logic "1" typically draws 40 μA, and a voltage level above 2.4 V, allowing a pull-up resistor of no more than 50 kohms; whereas the TTL input at logic "0" will be expected to sink 1.6 mA at a voltage below 0.8 V, requiring a pull-down resistor less than 500 ohms. Holding unused TTL inputs low consumes more current. For that reason, pull-up resistors are preferred in TTL circuits. ==See also== Rp (USB) - a specific type of pull-up resistor in USB-C connectors Rd (USB), Ra (USB) - specific types of pull-down resistors in USB-C connectors Three-state logic ==Further reading== Paul Horowitz and Winfield Hill, The Art of Electronics, 2nd edition, Cambridge University Press, Cambridge, England, 1989, ==References== de:Open circuit#Pull-up
Cite this
"Pull-up resistor". 1774854953. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1346168632 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy